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