« blib/lib/Paws/ECR/BatchGetImageResponse.pm
↑ Summary
blib/lib/Paws/ECR/CompleteLayerUploadResponse.pm »
| 1 | |||
| 2 | package Paws::ECR::CompleteLayerUpload; | ||
| 3 | use Moose; | ||
| 4 | has LayerDigests => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'layerDigests' , required => 1); | ||
| 5 | has RegistryId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'registryId' ); | ||
| 6 | has RepositoryName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'repositoryName' , required => 1); | ||
| 7 | has UploadId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'uploadId' , required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CompleteLayerUpload'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECR::CompleteLayerUploadResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::ECR::CompleteLayerUpload - Arguments for method CompleteLayerUpload on L<Paws::ECR> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CompleteLayerUpload on the | ||
| 25 | L<Amazon EC2 Container Registry|Paws::ECR> service. Use the attributes of this class | ||
| 26 | as arguments to method CompleteLayerUpload. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CompleteLayerUpload. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $api.ecr = Paws->service('ECR'); | ||
| 33 | my $CompleteLayerUploadResponse = $api . ecr->CompleteLayerUpload( | ||
| 34 | LayerDigests => [ 'MyLayerDigest', ... ], | ||
| 35 | RepositoryName => 'MyRepositoryName', | ||
| 36 | UploadId => 'MyUploadId', | ||
| 37 | RegistryId => 'MyRegistryId', # OPTIONAL | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $LayerDigest = $CompleteLayerUploadResponse->LayerDigest; | ||
| 42 | my $RegistryId = $CompleteLayerUploadResponse->RegistryId; | ||
| 43 | my $RepositoryName = $CompleteLayerUploadResponse->RepositoryName; | ||
| 44 | my $UploadId = $CompleteLayerUploadResponse->UploadId; | ||
| 45 | |||
| 46 | # Returns a L<Paws::ECR::CompleteLayerUploadResponse> object. | ||
| 47 | |||
| 48 | 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. | ||
| 49 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.ecr/CompleteLayerUpload> | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> LayerDigests => ArrayRef[Str|Undef] | ||
| 55 | |||
| 56 | The C<sha256> digest of the image layer. | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head2 RegistryId => Str | ||
| 61 | |||
| 62 | The AWS account ID associated with the registry to which to upload | ||
| 63 | layers. If you do not specify a registry, the default registry is | ||
| 64 | assumed. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> RepositoryName => Str | ||
| 69 | |||
| 70 | The name of the repository to associate with the image layer. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> UploadId => Str | ||
| 75 | |||
| 76 | The upload ID from a previous InitiateLayerUpload operation to | ||
| 77 | associate with the image layer. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head1 SEE ALSO | ||
| 83 | |||
| 84 | This class forms part of L<Paws>, documenting arguments for method CompleteLayerUpload in L<Paws::ECR> | ||
| 85 | |||
| 86 | =head1 BUGS and CONTRIBUTIONS | ||
| 87 | |||
| 88 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 89 | |||
| 90 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 91 | |||
| 92 | =cut | ||
| 93 |