« blib/lib/Paws/SageMaker/CreateDomainResponse.pm
↑ Summary
blib/lib/Paws/SageMaker/CreateEndpoint.pm »
| 1 | |||
| 2 | package Paws::SageMaker::CreateEdgePackagingJob; | ||
| 3 | use Moose; | ||
| 4 | has CompilationJobName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has EdgePackagingJobName => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has ModelName => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has ModelVersion => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has OutputConfig => (is => 'ro', isa => 'Paws::SageMaker::EdgeOutputConfig', required => 1); | ||
| 9 | has ResourceKey => (is => 'ro', isa => 'Str'); | ||
| 10 | has RoleArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 11 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::Tag]'); | ||
| 12 | |||
| 13 | use MooseX::ClassAttribute; | ||
| 14 | |||
| 15 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateEdgePackagingJob'); | ||
| 16 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 17 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::SageMaker::CreateEdgePackagingJob - Arguments for method CreateEdgePackagingJob on L<Paws::SageMaker> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method CreateEdgePackagingJob on the | ||
| 29 | L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class | ||
| 30 | as arguments to method CreateEdgePackagingJob. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEdgePackagingJob. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $api.sagemaker = Paws->service('SageMaker'); | ||
| 37 | $api . sagemaker->CreateEdgePackagingJob( | ||
| 38 | CompilationJobName => 'MyEntityName', | ||
| 39 | EdgePackagingJobName => 'MyEntityName', | ||
| 40 | ModelName => 'MyEntityName', | ||
| 41 | ModelVersion => 'MyEdgeVersion', | ||
| 42 | OutputConfig => { | ||
| 43 | S3OutputLocation => 'MyS3Uri', # max: 1024 | ||
| 44 | KmsKeyId => 'MyKmsKeyId', # max: 2048; OPTIONAL | ||
| 45 | PresetDeploymentConfig => 'MyString', # OPTIONAL | ||
| 46 | PresetDeploymentType => | ||
| 47 | 'GreengrassV2Component', # values: GreengrassV2Component; OPTIONAL | ||
| 48 | }, | ||
| 49 | RoleArn => 'MyRoleArn', | ||
| 50 | ResourceKey => 'MyKmsKeyId', # OPTIONAL | ||
| 51 | Tags => [ | ||
| 52 | { | ||
| 53 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 54 | Value => 'MyTagValue', # max: 256 | ||
| 55 | |||
| 56 | }, | ||
| 57 | ... | ||
| 58 | ], # OPTIONAL | ||
| 59 | ); | ||
| 60 | |||
| 61 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 62 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateEdgePackagingJob> | ||
| 63 | |||
| 64 | =head1 ATTRIBUTES | ||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> CompilationJobName => Str | ||
| 68 | |||
| 69 | The name of the SageMaker Neo compilation job that will be used to | ||
| 70 | locate model artifacts for packaging. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> EdgePackagingJobName => Str | ||
| 75 | |||
| 76 | The name of the edge packaging job. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 B<REQUIRED> ModelName => Str | ||
| 81 | |||
| 82 | The name of the model. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 B<REQUIRED> ModelVersion => Str | ||
| 87 | |||
| 88 | The version of the model. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head2 B<REQUIRED> OutputConfig => L<Paws::SageMaker::EdgeOutputConfig> | ||
| 93 | |||
| 94 | Provides information about the output location for the packaged model. | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | =head2 ResourceKey => Str | ||
| 99 | |||
| 100 | The CMK to use when encrypting the EBS volume the edge packaging job | ||
| 101 | runs on. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | =head2 B<REQUIRED> RoleArn => Str | ||
| 106 | |||
| 107 | The Amazon Resource Name (ARN) of an IAM role that enables Amazon | ||
| 108 | SageMaker to download and upload the model, and to contact SageMaker | ||
| 109 | Neo. | ||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | =head2 Tags => ArrayRef[L<Paws::SageMaker::Tag>] | ||
| 114 | |||
| 115 | Creates tags for the packaging job. | ||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | =head1 SEE ALSO | ||
| 121 | |||
| 122 | This class forms part of L<Paws>, documenting arguments for method CreateEdgePackagingJob in L<Paws::SageMaker> | ||
| 123 | |||
| 124 | =head1 BUGS and CONTRIBUTIONS | ||
| 125 | |||
| 126 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 127 | |||
| 128 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 129 | |||
| 130 | =cut | ||
| 131 |