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”.



8116
8117
8118
// File 'service/s3/api.go', line 8116

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

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

SetBucket sets the Bucket field's value.



8121
8122
8123
8124
// File 'service/s3/api.go', line 8121

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.



8134
8135
8136
8137
// File 'service/s3/api.go', line 8134

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.



8140
8141
8142
8143
// File 'service/s3/api.go', line 8140

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.



8146
8147
8148
8149
// File 'service/s3/api.go', line 8146

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.



8152
8153
8154
8155
// File 'service/s3/api.go', line 8152

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.



8158
8159
8160
8161
// File 'service/s3/api.go', line 8158

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.



8170
8171
8172
8173
// File 'service/s3/api.go', line 8170

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.



8164
8165
8166
8167
// File 'service/s3/api.go', line 8164

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.



8176
8177
8178
8179
// File 'service/s3/api.go', line 8176

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”.



8107
8108
8109
// File 'service/s3/api.go', line 8107

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