« blib/lib/Paws/SageMaker/CreateImageResponse.pm
↑ Summary
blib/lib/Paws/SageMaker/CreateImageVersionResponse.pm »
| 1 | |||
| 2 | package Paws::SageMaker::CreateImageVersion; | ||
| 3 | use Moose; | ||
| 4 | has BaseImage => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ClientToken => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has ImageName => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateImageVersion'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::CreateImageVersionResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::SageMaker::CreateImageVersion - Arguments for method CreateImageVersion on L<Paws::SageMaker> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method CreateImageVersion on the | ||
| 24 | L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class | ||
| 25 | as arguments to method CreateImageVersion. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateImageVersion. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $api.sagemaker = Paws->service('SageMaker'); | ||
| 32 | my $CreateImageVersionResponse = $api . sagemaker->CreateImageVersion( | ||
| 33 | BaseImage => 'MyImageBaseImage', | ||
| 34 | ClientToken => 'MyClientToken', | ||
| 35 | ImageName => 'MyImageName', | ||
| 36 | |||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $ImageVersionArn = $CreateImageVersionResponse->ImageVersionArn; | ||
| 41 | |||
| 42 | # Returns a L<Paws::SageMaker::CreateImageVersionResponse> object. | ||
| 43 | |||
| 44 | 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. | ||
| 45 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateImageVersion> | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> BaseImage => Str | ||
| 51 | |||
| 52 | The registry path of the container image to use as the starting point | ||
| 53 | for this version. The path is an Amazon Container Registry (ECR) URI in | ||
| 54 | the following format: | ||
| 55 | |||
| 56 | C<E<lt>acct-idE<gt>.dkr.ecr.E<lt>regionE<gt>.amazonaws.com/E<lt>repo-name[:tag] | ||
| 57 | or [@digest]E<gt>> | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> ClientToken => Str | ||
| 62 | |||
| 63 | A unique ID. If not specified, the Amazon Web Services CLI and Amazon | ||
| 64 | Web Services SDKs, such as the SDK for Python (Boto3), add a unique | ||
| 65 | value to the call. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> ImageName => Str | ||
| 70 | |||
| 71 | The C<ImageName> of the C<Image> to create a version of. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method CreateImageVersion in L<Paws::SageMaker> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |