PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::S3::UploadPartCopy; use Moose; has Bucket => (is => 'ro', isa => 'Str', uri_name => 'Bucket', traits => ['ParamInURI'], required => 1); has CopySource => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source', traits => ['ParamInHeader'], required => 1); has CopySourceIfMatch => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-if-match', traits => ['ParamInHeader']); has CopySourceIfModifiedSince => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-if-modified-since', traits => ['ParamInHeader']); has CopySourceIfNoneMatch => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-if-none-match', traits => ['ParamInHeader']); has CopySourceIfUnmodifiedSince => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-if-unmodified-since', traits => ['ParamInHeader']); has CopySourceRange => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-range', traits => ['ParamInHeader']); has CopySourceSSECustomerAlgorithm => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-server-side-encryption-customer-algorithm', traits => ['ParamInHeader']); has CopySourceSSECustomerKey => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-server-side-encryption-customer-key', traits => ['ParamInHeader']); has CopySourceSSECustomerKeyMD5 => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-server-side-encryption-customer-key-MD5', traits => ['ParamInHeader']); has ExpectedBucketOwner => (is => 'ro', isa => 'Str', header_name => 'x-amz-expected-bucket-owner', traits => ['ParamInHeader']); has ExpectedSourceBucketOwner => (is => 'ro', isa => 'Str', header_name => 'x-amz-source-expected-bucket-owner', traits => ['ParamInHeader']); has Key => (is => 'ro', isa => 'Str', uri_name => 'Key', traits => ['ParamInURI'], required => 1); has PartNumber => (is => 'ro', isa => 'Int', query_name => 'partNumber', traits => ['ParamInQuery'], required => 1); has RequestPayer => (is => 'ro', isa => 'Str', header_name => 'x-amz-request-payer', traits => ['ParamInHeader']); has SSECustomerAlgorithm => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-algorithm', traits => ['ParamInHeader']); has SSECustomerKey => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key', traits => ['ParamInHeader']); has SSECustomerKeyMD5 => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key-MD5', traits => ['ParamInHeader']); has UploadId => (is => 'ro', isa => 'Str', query_name => 'uploadId', traits => ['ParamInQuery'], required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'UploadPartCopy'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{Bucket}/{Key+}'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3::UploadPartCopyOutput'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::S3::UploadPartCopy - Arguments for method UploadPartCopy on L =head1 DESCRIPTION This class represents the parameters used for calling the method UploadPartCopy on the L service. Use the attributes of this class as arguments to method UploadPartCopy. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UploadPartCopy. =head1 SYNOPSIS my $s3 = Paws->service('S3'); # To upload a part by copying data from an existing object as data source # The following example uploads a part of a multipart upload by copying data # from an existing object as data source. my $UploadPartCopyOutput = $s3->UploadPartCopy( 'Bucket' => 'examplebucket', 'CopySource' => '/bucketname/sourceobjectkey', 'Key' => 'examplelargeobject', 'PartNumber' => 1, 'UploadId' => 'exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--' ); # Results: my $CopyPartResult = $UploadPartCopyOutput->CopyPartResult; # Returns a L object. # To upload a part by copying byte range from an existing object as data source # The following example uploads a part of a multipart upload by copying a # specified byte range from an existing object as data source. my $UploadPartCopyOutput = $s3->UploadPartCopy( 'Bucket' => 'examplebucket', 'CopySource' => '/bucketname/sourceobjectkey', 'CopySourceRange' => 'bytes=1-100000', 'Key' => 'examplelargeobject', 'PartNumber' => 2, 'UploadId' => 'exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--' ); # Results: my $CopyPartResult = $UploadPartCopyOutput->CopyPartResult; # Returns a L object. 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. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 B Bucket => Str The bucket name. When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form I-I.s3-accesspoint.I.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) in the I. When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form I-I.I.s3-outposts.I.amazonaws.com. When using this action using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the I. =head2 B CopySource => Str Specifies the source object for the copy operation. You specify the value in one of two formats, depending on whether you want to access the source object through an access point (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html): =over =item * For objects not accessed through an access point, specify the name of the source bucket and key of the source object, separated by a slash (/). For example, to copy the object C from the bucket C, use C. The value must be URL encoded. =item * For objects accessed through access points, specify the Amazon Resource Name (ARN) of the object as accessed through the access point, in the format CRegionE:Eaccount-idE:accesspoint/Eaccess-point-nameE/object/EkeyE>. For example, to copy the object C through access point C owned by account C<123456789012> in Region C, use the URL encoding of C. The value must be URL encoded. Amazon S3 supports copy operations using access points only when the source and destination buckets are in the same AWS Region. Alternatively, for objects accessed through Amazon S3 on Outposts, specify the ARN of the object as accessed in the format CRegionE:Eaccount-idE:outpost/Eoutpost-idE/object/EkeyE>. For example, to copy the object C through outpost C owned by account C<123456789012> in Region C, use the URL encoding of C. The value must be URL encoded. =back To copy a specific version of an object, append Cversion-idE> to the value (for example, C). If you don't specify a version ID, Amazon S3 copies the latest version of the source object. =head2 CopySourceIfMatch => Str Copies the object if its entity tag (ETag) matches the specified tag. =head2 CopySourceIfModifiedSince => Str Copies the object if it has been modified since the specified time. =head2 CopySourceIfNoneMatch => Str Copies the object if its entity tag (ETag) is different than the specified ETag. =head2 CopySourceIfUnmodifiedSince => Str Copies the object if it hasn't been modified since the specified time. =head2 CopySourceRange => Str The range of bytes to copy from the source object. The range value must use the form bytes=first-last, where the first and last are the zero-based byte offsets to copy. For example, bytes=0-9 indicates that you want to copy the first 10 bytes of the source. You can copy a range only if the source object is greater than 5 MB. =head2 CopySourceSSECustomerAlgorithm => Str Specifies the algorithm to use when decrypting the source object (for example, AES256). =head2 CopySourceSSECustomerKey => Str Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created. =head2 CopySourceSSECustomerKeyMD5 => Str Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error. =head2 ExpectedBucketOwner => Str The account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP C<403 (Access Denied)> error. =head2 ExpectedSourceBucketOwner => Str The account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP C<403 (Access Denied)> error. =head2 B Key => Str Object key for which the multipart upload was initiated. =head2 B PartNumber => Int Part number of part being copied. This is a positive integer between 1 and 10,000. =head2 RequestPayer => Str Valid values are: C<"requester"> =head2 SSECustomerAlgorithm => Str Specifies the algorithm to use to when encrypting the object (for example, AES256). =head2 SSECustomerKey => Str Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must be appropriate for use with the algorithm specified in the C header. This must be the same encryption key specified in the initiate multipart upload request. =head2 SSECustomerKeyMD5 => Str Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error. =head2 B UploadId => Str Upload ID identifying the multipart upload whose part is being copied. =head1 SEE ALSO This class forms part of L, documenting arguments for method UploadPartCopy in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut