class Aws::S3::Types::UploadPartCopyRequest


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyRequest AWS API Documentation
@return [String]
HTTP status code ‘403 Forbidden` (access denied).
bucket is owned by a different account, the request fails with the
The account ID of the expected source bucket owner. If the source
@!attribute [rw] expected_source_bucket_owner
@return [String]
fails with the HTTP status code `403 Forbidden` (access denied).
destination bucket is owned by a different account, the request
The account ID of the expected destination bucket owner. If the
@!attribute [rw] expected_bucket_owner
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html<br><br><br><br>in the *Amazon S3 User Guide*.
Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
requests. For information about downloading objects from Requester
request. Bucket owners need not specify this parameter in their
Confirms that the requester knows that they will be charged for the
@!attribute [rw] request_payer
@return [String]
to ensure that the encryption key was transmitted without error.
RFC 1321. Amazon S3 uses this header for a message integrity check
Specifies the 128-bit MD5 digest of the encryption key according to
@!attribute [rw] copy_source_sse_customer_key_md5
@return [String]
header must be one that was used when the source object was created.
to decrypt the source object. The encryption key provided in this
Specifies the customer-provided encryption key for Amazon S3 to use
@!attribute [rw] copy_source_sse_customer_key
@return [String]
(for example, AES256).
Specifies the algorithm to use when decrypting the source object
@!attribute [rw] copy_source_sse_customer_algorithm
@return [String]
to ensure that the encryption key was transmitted without error.
RFC 1321. Amazon S3 uses this header for a message integrity check
Specifies the 128-bit MD5 digest of the encryption key according to
@!attribute [rw] sse_customer_key_md5
@return [String]
upload request.
be the same encryption key specified in the initiate multipart
`x-amz-server-side-encryption-customer-algorithm` header. This must
key must be appropriate for use with the algorithm specified in the
it is discarded; Amazon S3 does not store the encryption key. The
in encrypting data. This value is used to store the object and then
Specifies the customer-provided encryption key for Amazon S3 to use
@!attribute [rw] sse_customer_key
@return [String]
example, AES256).
Specifies the algorithm to use to when encrypting the object (for
@!attribute [rw] sse_customer_algorithm
@return [String]
copied.
Upload ID identifying the multipart upload whose part is being
@!attribute [rw] upload_id
@return [Integer]
1 and 10,000.
Part number of part being copied. This is a positive integer between
@!attribute [rw] part_number
@return [String]
Object key for which the multipart upload was initiated.
@!attribute [rw] key
@return [String]
a range only if the source object is greater than 5 MB.
that you want to copy the first 10 bytes of the source. You can copy
zero-based byte offsets to copy. For example, bytes=0-9 indicates
must use the form bytes=first-last, where the first and last are the
The range of bytes to copy from the source object. The range value
@!attribute [rw] copy_source_range
@return [Time]
time.
Copies the object if it hasn’t been modified since the specified
@!attribute [rw] copy_source_if_unmodified_since
@return [String]
specified ETag.
Copies the object if its entity tag (ETag) is different than the
@!attribute [rw] copy_source_if_none_match
@return [Time]
Copies the object if it has been modified since the specified time.
@!attribute [rw] copy_source_if_modified_since
@return [String]
tag.
Copies the object if its entity tag (ETag) matches the specified
@!attribute [rw] copy_source_if_match
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html<br><br><br><br>version of the source object.
If you don’t specify a version ID, Amazon S3 copies the latest
`awsexamplebucket/reports/january.pdf?versionId=QUpfdndhfd8438MNFDN93jdnJFkdmqnh893`).
‘?versionId=<version-id>` to the value (for example,
To copy a specific version of an object, append
The value must be URL-encoded.
`arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`.
`us-west-2`, use the URL encoding of
outpost `my-outpost` owned by account `123456789012` in Region
For example, to copy the object `reports/january.pdf` through
`arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/object/<key>`.
specify the ARN of the object as accessed in the format
Alternatively, for objects accessed through Amazon S3 on Outposts,
</note>
Services Region.
the source and destination buckets are in the same Amazon Web
<note markdown=“1”> Amazon S3 supports copy operations using access points only when
The value must be URL encoded.
`arn:aws:s3:us-west-2:123456789012:accesspoint/my-access-point/object/reports/january.pdf`.
Region `us-west-2`, use the URL encoding of
access point `my-access-point` owned by account `123456789012` in
For example, to copy the object `reports/january.pdf` through
`arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key>`.
point, in the format
Resource Name (ARN) of the object as accessed through the access
* For objects accessed through access points, specify the Amazon
URL-encoded.
`awsexamplebucket/reports/january.pdf`. The value must be
from the bucket `awsexamplebucket`, use
slash (/). For example, to copy the object `reports/january.pdf`
of the source bucket and key of the source object, separated by a
* For objects not accessed through an access point, specify the name
the source object through an [access point]:
value in one of two formats, depending on whether you want to access
Specifies the source object for the copy operation. You specify the
@!attribute [rw] copy_source
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html<br>[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html<br><br><br><br>[What is S3 on Outposts] in the *Amazon S3 User Guide*.
the bucket name. For more information about S3 on Outposts ARNs, see
Services SDKs, you provide the Outposts access point ARN in place of
When you use this action with S3 on Outposts through the Amazon Web
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
takes the form `
requests to the S3 on Outposts hostname. The S3 on Outposts hostname
When you use this action with Amazon S3 on Outposts, you must direct
[Using access points] in the *Amazon S3 User Guide*.
bucket name. For more information about access point ARNs, see
Services SDKs, you provide the access point ARN in place of the
When using this action with an access point through the Amazon Web
AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
takes the form
requests to the access point hostname. The access point hostname
When using this action with an access point, you must direct
The bucket name.
@!attribute [rw] bucket