Struct: s3.CompleteMultipartUploadOutput

import "../ibm-cos-sdk-go/service/s3"

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

Bucket *string `type:"string"`

The name of the bucket that contains the newly created object.

When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points (docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) in the Amazon S3 User Guide.

When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this action using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts (docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.

ETag *string `type:"string"`

Entity tag that identifies the newly created object’s data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.

Expiration *string `location:"header" locationName:"x-amz-expiration" type:"string"`

If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.

Key *string `min:"1" type:"string"`

The object key of the newly created object.

Location *string `type:"string"`

The URI that identifies the newly created object.

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.

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 CompleteMultipartUploadOutput’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).

VersionId *string `location:"header" locationName:"x-amz-version-id" type:"string"`

Version ID of the newly created object, in case the bucket has versioning turned on.

_ struct{} `type:"structure"`

Method Details

func (s CompleteMultipartUploadOutput) 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”.



8267
8268
8269
// File 'service/s3/api.go', line 8267

func (s CompleteMultipartUploadOutput) GoString() string { return s.String() }

func (s *CompleteMultipartUploadOutput) SetBucket(v string) *CompleteMultipartUploadOutput

SetBucket sets the Bucket field’s value.



8272
8273
8274
8275
// File 'service/s3/api.go', line 8272

func (s *CompleteMultipartUploadOutput) SetBucket(v string) *CompleteMultipartUploadOutput { s.Bucket = &v return s }

func (s *CompleteMultipartUploadOutput) SetETag(v string) *CompleteMultipartUploadOutput

SetETag sets the ETag field’s value.



8285
8286
8287
8288
// File 'service/s3/api.go', line 8285

func (s *CompleteMultipartUploadOutput) SetETag(v string) *CompleteMultipartUploadOutput { s.ETag = &v return s }

func (s *CompleteMultipartUploadOutput) SetExpiration(v string) *CompleteMultipartUploadOutput

SetExpiration sets the Expiration field’s value.



8291
8292
8293
8294
// File 'service/s3/api.go', line 8291

func (s *CompleteMultipartUploadOutput) SetExpiration(v string) *CompleteMultipartUploadOutput { s.Expiration = &v return s }

func (s *CompleteMultipartUploadOutput) SetKey(v string) *CompleteMultipartUploadOutput

SetKey sets the Key field’s value.



8297
8298
8299
8300
// File 'service/s3/api.go', line 8297

func (s *CompleteMultipartUploadOutput) SetKey(v string) *CompleteMultipartUploadOutput { s.Key = &v return s }

func (s *CompleteMultipartUploadOutput) SetLocation(v string) *CompleteMultipartUploadOutput

SetLocation sets the Location field’s value.



8303
8304
8305
8306
// File 'service/s3/api.go', line 8303

func (s *CompleteMultipartUploadOutput) SetLocation(v string) *CompleteMultipartUploadOutput { s.Location = &v return s }

func (s *CompleteMultipartUploadOutput) SetRequestCharged(v string) *CompleteMultipartUploadOutput

SetRequestCharged sets the RequestCharged field’s value.



8309
8310
8311
8312
// File 'service/s3/api.go', line 8309

func (s *CompleteMultipartUploadOutput) SetRequestCharged(v string) *CompleteMultipartUploadOutput { s.RequestCharged = &v return s }

func (s *CompleteMultipartUploadOutput) SetServerSideEncryption(v string) *CompleteMultipartUploadOutput

SetServerSideEncryption sets the ServerSideEncryption field’s value.



8321
8322
8323
8324
// File 'service/s3/api.go', line 8321

func (s *CompleteMultipartUploadOutput) SetServerSideEncryption(v string) *CompleteMultipartUploadOutput { s.ServerSideEncryption = &v return s }

func (s *CompleteMultipartUploadOutput) SetSSEKMSKeyId(v string) *CompleteMultipartUploadOutput

SetSSEKMSKeyId sets the SSEKMSKeyId field’s value.



8315
8316
8317
8318
// File 'service/s3/api.go', line 8315

func (s *CompleteMultipartUploadOutput) SetSSEKMSKeyId(v string) *CompleteMultipartUploadOutput { s.SSEKMSKeyId = &v return s }

func (s *CompleteMultipartUploadOutput) SetVersionId(v string) *CompleteMultipartUploadOutput

SetVersionId sets the VersionId field’s value.



8327
8328
8329
8330
// File 'service/s3/api.go', line 8327

func (s *CompleteMultipartUploadOutput) SetVersionId(v string) *CompleteMultipartUploadOutput { s.VersionId = &v return s }

func (s CompleteMultipartUploadOutput) 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”.



8258
8259
8260
// File 'service/s3/api.go', line 8258

func (s CompleteMultipartUploadOutput) String() string { return awsutil.Prettify(s) }