このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Create a copy of an object that is already stored in Amazon S3.

Inputs

フィールド

種類

説明

region [required]

enum

default: us-east-1

sourceBucket [required]

string

Source bucket name of the object to copy.

sourceKey [required]

string

Source key name of the object to copy.

destinationKey [required]

string

Destination key name of the object to copy.

destinationBucket

string

Destination bucket name of the object to copy. If not defined, the destination bucket is the same as the source bucket.

expectedSourceBucketOwner

string

The account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request fails with an HTTP 403 (Access Denied) error.

expectedBucketOwner

string

The account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request fails with an HTTP 403 (Access Denied) error.

Outputs

Expand All

フィールド

種類

説明

copyObjectResult

object

Container for all response elements.

ETag

string

Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.

LastModified

date-time

Creation date of the object.

ChecksumCRC32

string

The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

ChecksumCRC32C

string

The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

ChecksumSHA1

string

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

ChecksumSHA256

string

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

versionId

string

Version ID of the newly created copy. This functionality is not supported for directory buckets.

amzRequestId [required]

string