Skip to content

/AWS1/CL_S3_COPYOBJECTOUTPUT

CopyObjectOutput

CONSTRUCTOR

IMPORTING

Optional arguments:

IO_COPYOBJECTRESULT TYPE REF TO /AWS1/CL_S3_COPYOBJECTRESULT /AWS1/CL_S3_COPYOBJECTRESULT

Container for all response elements.

IV_EXPIRATION TYPE /AWS1/S3_EXPIRATION /AWS1/S3_EXPIRATION

If the object expiration is configured, the response includes this header.

This functionality is not supported for directory buckets.

IV_COPYSOURCEVERSIONID TYPE /AWS1/S3_COPYSOURCEVERSIONID /AWS1/S3_COPYSOURCEVERSIONID

Version ID of the source object that was copied.

This functionality is not supported when the source object is in a directory bucket.

IV_VERSIONID TYPE /AWS1/S3_OBJECTVERSIONID /AWS1/S3_OBJECTVERSIONID

Version ID of the newly created copy.

This functionality is not supported for directory buckets.

IV_SERVERSIDEENCRYPTION TYPE /AWS1/S3_SERVERSIDEENCRYPTION /AWS1/S3_SERVERSIDEENCRYPTION

The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256, aws:kms, aws:kms:dsse).

IV_SSECUSTOMERALGORITHM TYPE /AWS1/S3_SSECUSTOMERALGORITHM /AWS1/S3_SSECUSTOMERALGORITHM

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used.

This functionality is not supported for directory buckets.

IV_SSECUSTOMERKEYMD5 TYPE /AWS1/S3_SSECUSTOMERKEYMD5 /AWS1/S3_SSECUSTOMERKEYMD5

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key.

This functionality is not supported for directory buckets.

IV_SSEKMSKEYID TYPE /AWS1/S3_SSEKMSKEYID /AWS1/S3_SSEKMSKEYID

If present, indicates the ID of the KMS key that was used for object encryption.

IV_SSEKMSENCRYPTIONCONTEXT TYPE /AWS1/S3_SSEKMSENCCONTEXT /AWS1/S3_SSEKMSENCCONTEXT

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

IV_BUCKETKEYENABLED TYPE /AWS1/S3_BUCKETKEYENABLED /AWS1/S3_BUCKETKEYENABLED

Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).

IV_REQUESTCHARGED TYPE /AWS1/S3_REQUESTCHARGED /AWS1/S3_REQUESTCHARGED

RequestCharged


Queryable Attributes

CopyObjectResult

Container for all response elements.

Accessible with the following methods

Method Description
GET_COPYOBJECTRESULT() Getter for COPYOBJECTRESULT

Expiration

If the object expiration is configured, the response includes this header.

This functionality is not supported for directory buckets.

Accessible with the following methods

Method Description
GET_EXPIRATION() Getter for EXPIRATION, with configurable default
ASK_EXPIRATION() Getter for EXPIRATION w/ exceptions if field has no value
HAS_EXPIRATION() Determine if EXPIRATION has a value

CopySourceVersionId

Version ID of the source object that was copied.

This functionality is not supported when the source object is in a directory bucket.

Accessible with the following methods

Method Description
GET_COPYSOURCEVERSIONID() Getter for COPYSOURCEVERSIONID, with configurable default
ASK_COPYSOURCEVERSIONID() Getter for COPYSOURCEVERSIONID w/ exceptions if field has no
HAS_COPYSOURCEVERSIONID() Determine if COPYSOURCEVERSIONID has a value

VersionId

Version ID of the newly created copy.

This functionality is not supported for directory buckets.

Accessible with the following methods

Method Description
GET_VERSIONID() Getter for VERSIONID, with configurable default
ASK_VERSIONID() Getter for VERSIONID w/ exceptions if field has no value
HAS_VERSIONID() Determine if VERSIONID has a value

ServerSideEncryption

The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256, aws:kms, aws:kms:dsse).

Accessible with the following methods

Method Description
GET_SERVERSIDEENCRYPTION() Getter for SERVERSIDEENCRYPTION, with configurable default
ASK_SERVERSIDEENCRYPTION() Getter for SERVERSIDEENCRYPTION w/ exceptions if field has n
HAS_SERVERSIDEENCRYPTION() Determine if SERVERSIDEENCRYPTION has a value

SSECustomerAlgorithm

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used.

This functionality is not supported for directory buckets.

Accessible with the following methods

Method Description
GET_SSECUSTOMERALGORITHM() Getter for SSECUSTOMERALGORITHM, with configurable default
ASK_SSECUSTOMERALGORITHM() Getter for SSECUSTOMERALGORITHM w/ exceptions if field has n
HAS_SSECUSTOMERALGORITHM() Determine if SSECUSTOMERALGORITHM has a value

SSECustomerKeyMD5

If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key.

This functionality is not supported for directory buckets.

Accessible with the following methods

Method Description
GET_SSECUSTOMERKEYMD5() Getter for SSECUSTOMERKEYMD5, with configurable default
ASK_SSECUSTOMERKEYMD5() Getter for SSECUSTOMERKEYMD5 w/ exceptions if field has no v
HAS_SSECUSTOMERKEYMD5() Determine if SSECUSTOMERKEYMD5 has a value

SSEKMSKeyId

If present, indicates the ID of the KMS key that was used for object encryption.

Accessible with the following methods

Method Description
GET_SSEKMSKEYID() Getter for SSEKMSKEYID, with configurable default
ASK_SSEKMSKEYID() Getter for SSEKMSKEYID w/ exceptions if field has no value
HAS_SSEKMSKEYID() Determine if SSEKMSKEYID has a value

SSEKMSEncryptionContext

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

Accessible with the following methods

Method Description
GET_SSEKMSENCRYPTIONCONTEXT() Getter for SSEKMSENCRYPTIONCONTEXT, with configurable defaul
ASK_SSEKMSENCRYPTIONCONTEXT() Getter for SSEKMSENCRYPTIONCONTEXT w/ exceptions if field ha
HAS_SSEKMSENCRYPTIONCONTEXT() Determine if SSEKMSENCRYPTIONCONTEXT has a value

BucketKeyEnabled

Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).

Accessible with the following methods

Method Description
GET_BUCKETKEYENABLED() Getter for BUCKETKEYENABLED, with configurable default
ASK_BUCKETKEYENABLED() Getter for BUCKETKEYENABLED w/ exceptions if field has no va
HAS_BUCKETKEYENABLED() Determine if BUCKETKEYENABLED has a value

RequestCharged

RequestCharged

Accessible with the following methods

Method Description
GET_REQUESTCHARGED() Getter for REQUESTCHARGED, with configurable default
ASK_REQUESTCHARGED() Getter for REQUESTCHARGED w/ exceptions if field has no valu
HAS_REQUESTCHARGED() Determine if REQUESTCHARGED has a value