Struct: s3.PutObjectOutput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Structure Field Summary collapse
-
ETag *string
Entity tag for the uploaded object.
-
Expiration *string
If the expiration is configured for the object (see PutBucketLifecycleConfiguration (docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html)), 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 x-amz-server-side-encryption has a valid value of aws:kms or aws:kms:dsse, this header 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 of the object.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetETag(string) *PutObjectOutput
operation
SetETag sets the ETag field’s value.
-
SetExpiration(string) *PutObjectOutput
operation
SetExpiration sets the Expiration field’s value.
-
SetRequestCharged(string) *PutObjectOutput
operation
SetRequestCharged sets the RequestCharged field’s value.
-
SetServerSideEncryption(string) *PutObjectOutput
operation
SetServerSideEncryption sets the ServerSideEncryption field’s value.
-
SetSSECustomerAlgorithm(string) *PutObjectOutput
operation
SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field’s value.
-
SetSSECustomerKeyMD5(string) *PutObjectOutput
operation
SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field’s value.
-
SetSSEKMSKeyId(string) *PutObjectOutput
operation
SetSSEKMSKeyId sets the SSEKMSKeyId field’s value.
-
SetVersionId(string) *PutObjectOutput
operation
SetVersionId sets the VersionId field’s value.
-
String() string
operation
String returns the string representation.
Structure Field Details
ETag *string
`location:"header" locationName:"ETag" type:"string"`
Entity tag for the uploaded object.
Expiration *string
`location:"header" locationName:"x-amz-expiration" type:"string"`
If the expiration is configured for the object (see PutBucketLifecycleConfiguration (docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html)), the response includes this header. It includes the expiry-date and rule-id key-value pairs that provide information about object expiration. The value of the rule-id is URL encoded.
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 x-amz-server-side-encryption has a valid value of aws:kms or aws:kms:dsse, this header 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 PutObjectOutput’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 of the object.
_ struct{}
`type:"structure"`
Method Details
func (s PutObjectOutput) 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”.
21259 21260 21261 |
// File 'service/s3/api.go', line 21259
|
func (s *PutObjectOutput) SetETag(v string) *PutObjectOutput
SetETag sets the ETag field’s value.
21264 21265 21266 21267 |
// File 'service/s3/api.go', line 21264
|
func (s *PutObjectOutput) SetExpiration(v string) *PutObjectOutput
SetExpiration sets the Expiration field’s value.
21270 21271 21272 21273 |
// File 'service/s3/api.go', line 21270
|
func (s *PutObjectOutput) SetRequestCharged(v string) *PutObjectOutput
SetRequestCharged sets the RequestCharged field’s value.
21276 21277 21278 21279 |
// File 'service/s3/api.go', line 21276
|
func (s *PutObjectOutput) SetServerSideEncryption(v string) *PutObjectOutput
SetServerSideEncryption sets the ServerSideEncryption field’s value.
21300 21301 21302 21303 |
// File 'service/s3/api.go', line 21300
|
func (s *PutObjectOutput) SetSSECustomerAlgorithm(v string) *PutObjectOutput
SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field’s value.
21282 21283 21284 21285 |
// File 'service/s3/api.go', line 21282
|
func (s *PutObjectOutput) SetSSECustomerKeyMD5(v string) *PutObjectOutput
SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field’s value.
21288 21289 21290 21291 |
// File 'service/s3/api.go', line 21288
|
func (s *PutObjectOutput) SetSSEKMSKeyId(v string) *PutObjectOutput
SetSSEKMSKeyId sets the SSEKMSKeyId field’s value.
21294 21295 21296 21297 |
// File 'service/s3/api.go', line 21294
|
func (s *PutObjectOutput) SetVersionId(v string) *PutObjectOutput
SetVersionId sets the VersionId field’s value.
21306 21307 21308 21309 |
// File 'service/s3/api.go', line 21306
|
func (s PutObjectOutput) 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”.
21250 21251 21252 |
// File 'service/s3/api.go', line 21250
|