Struct: s3.CopyObjectOutput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
CopyObjectResult *CopyObjectResult
Container for all response elements.
-
CopySourceVersionId *string
Version of the copied object in the destination bucket.
-
Expiration *string
If the object expiration is configured, the response includes this header.
-
RequestCharged *string
If present, indicates that the requester was successfully charged for the request.
-
SSECustomerAlgorithm *string
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
-
SSECustomerKeyMD5 *string
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
-
SSEKMSKeyId *string
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
-
ServerSideEncryption *string
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms, aws:kms:dsse).
-
VersionId *string
Version ID of the newly created copy.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetCopyObjectResult(*CopyObjectResult) *CopyObjectOutput
operation
SetCopyObjectResult sets the CopyObjectResult field's value.
-
SetCopySourceVersionId(string) *CopyObjectOutput
operation
SetCopySourceVersionId sets the CopySourceVersionId field's value.
-
SetExpiration(string) *CopyObjectOutput
operation
SetExpiration sets the Expiration field's value.
-
SetRequestCharged(string) *CopyObjectOutput
operation
SetRequestCharged sets the RequestCharged field's value.
-
SetServerSideEncryption(string) *CopyObjectOutput
operation
SetServerSideEncryption sets the ServerSideEncryption field's value.
-
SetSSECustomerAlgorithm(string) *CopyObjectOutput
operation
SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
-
SetSSECustomerKeyMD5(string) *CopyObjectOutput
operation
SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
-
SetSSEKMSKeyId(string) *CopyObjectOutput
operation
SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
-
SetVersionId(string) *CopyObjectOutput
operation
SetVersionId sets the VersionId field's value.
-
String() string
operation
String returns the string representation.
Structure Field Details
CopyObjectResult *CopyObjectResult
`type:"structure"`
Container for all response elements.
CopySourceVersionId *string
`location:"header" locationName:"x-amz-copy-source-version-id" type:"string"`
Version of the copied object in the destination bucket.
Expiration *string
`location:"header" locationName:"x-amz-expiration" type:"string"`
If the object expiration is configured, the response includes this header.
RequestCharged *string
`location:"header" locationName:"x-amz-request-charged" type:"string" enum:"RequestCharged"`
If present, indicates that the requester was successfully charged for the request.
SSECustomerAlgorithm *string
`location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
SSECustomerKeyMD5 *string
`location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
SSEKMSKeyId *string
`location:"header" locationName:"x-amz-server-side-encryption-aws-kms-key-id" type:"string" sensitive:"true"`
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
SSEKMSKeyId is a sensitive parameter and its value will be replaced with “sensitive” in string returned by CopyObjectOutput's String and GoString methods.
ServerSideEncryption *string
`location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms, aws:kms:dsse).
VersionId *string
`location:"header" locationName:"x-amz-version-id" type:"string"`
Version ID of the newly created copy.
_ struct{}
`type:"structure" payload:"CopyObjectResult"`
Method Details
func (s CopyObjectOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
8924 8925 8926 |
// File 'service/s3/api.go', line 8924
|
func (s *CopyObjectOutput) SetCopyObjectResult(v *CopyObjectResult) *CopyObjectOutput
SetCopyObjectResult sets the CopyObjectResult field's value.
8929 8930 8931 8932 |
// File 'service/s3/api.go', line 8929
|
func (s *CopyObjectOutput) SetCopySourceVersionId(v string) *CopyObjectOutput
SetCopySourceVersionId sets the CopySourceVersionId field's value.
8935 8936 8937 8938 |
// File 'service/s3/api.go', line 8935
|
func (s *CopyObjectOutput) SetExpiration(v string) *CopyObjectOutput
SetExpiration sets the Expiration field's value.
8941 8942 8943 8944 |
// File 'service/s3/api.go', line 8941
|
func (s *CopyObjectOutput) SetRequestCharged(v string) *CopyObjectOutput
SetRequestCharged sets the RequestCharged field's value.
8947 8948 8949 8950 |
// File 'service/s3/api.go', line 8947
|
func (s *CopyObjectOutput) SetServerSideEncryption(v string) *CopyObjectOutput
SetServerSideEncryption sets the ServerSideEncryption field's value.
8971 8972 8973 8974 |
// File 'service/s3/api.go', line 8971
|
func (s *CopyObjectOutput) SetSSECustomerAlgorithm(v string) *CopyObjectOutput
SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
8953 8954 8955 8956 |
// File 'service/s3/api.go', line 8953
|
func (s *CopyObjectOutput) SetSSECustomerKeyMD5(v string) *CopyObjectOutput
SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
8959 8960 8961 8962 |
// File 'service/s3/api.go', line 8959
|
func (s *CopyObjectOutput) SetSSEKMSKeyId(v string) *CopyObjectOutput
SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
8965 8966 8967 8968 |
// File 'service/s3/api.go', line 8965
|
func (s *CopyObjectOutput) SetVersionId(v string) *CopyObjectOutput
SetVersionId sets the VersionId field's value.
8977 8978 8979 8980 |
// File 'service/s3/api.go', line 8977
|
func (s CopyObjectOutput) String() string
String returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
8915 8916 8917 |
// File 'service/s3/api.go', line 8915
|