Struct: s3.PutObjectInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
ACL *string
The canned ACL to apply to the object.
-
Body io.ReadSeeker
Object data.
-
Bucket *string
The bucket name to which the PUT action was initiated.
-
CacheControl *string
Can be used to specify caching behavior along the request/reply chain.
-
ContentDisposition *string
Specifies presentational information for the object.
-
ContentEncoding *string
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.
-
ContentLanguage *string
The language the content is in.
-
ContentLength *int64
Size of the body in bytes.
-
ContentMD5 *string
The base64-encoded 128-bit MD5 digest of the message (without the headers) according to RFC 1864.
-
ContentType *string
A standard MIME type describing the format of the contents.
-
Expires *time.Time
The date and time at which the object is no longer cacheable.
-
GrantFullControl *string
Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
-
GrantRead *string
Allows grantee to read the object data and its metadata.
-
GrantReadACP *string
Allows grantee to read the object ACL.
-
GrantWriteACP *string
Allows grantee to write the ACL for the applicable object.
-
Key *string
Object key for which the PUT action was initiated.
-
Metadata map[string]*string
A map of metadata to store with the object in S3.
-
ObjectLockLegalHoldStatus *string
Specifies whether a legal hold will be applied to this object.
-
ObjectLockMode *string
The Object Lock mode that you want to apply to this object.
-
ObjectLockRetainUntilDate *time.Time
The date and time when you want this object's Object Lock to expire.
-
RequestPayer *string
Confirms that the requester knows that they will be charged for the request.
-
RetentionExpirationDate *time.Time
Date on which it will be legal to delete or modify the object.
-
RetentionLegalHoldId *string
A single legal hold to apply to the object.
-
RetentionPeriod *int64
Retention period to store on the object in seconds.
-
SSECustomerAlgorithm *string
Specifies the algorithm to use to when encrypting the object (for example, AES256).
-
SSECustomerKey *string
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
-
SSECustomerKeyMD5 *string
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
-
SSEKMSKeyId *string
If x-amz-server-side-encryption has a valid value of aws:kms or aws:kms:dsse, this header specifies the ID (Key ID, Key ARN, or Key Alias) 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).
-
StorageClass *string
By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects.
-
Tagging *string
The tag-set for the object.
-
WebsiteRedirectLocation *string
If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetACL(string) *PutObjectInput
operation
SetACL sets the ACL field's value.
-
SetBody(io.ReadSeeker) *PutObjectInput
operation
SetBody sets the Body field's value.
-
SetBucket(string) *PutObjectInput
operation
SetBucket sets the Bucket field's value.
-
SetCacheControl(string) *PutObjectInput
operation
SetCacheControl sets the CacheControl field's value.
-
SetContentDisposition(string) *PutObjectInput
operation
SetContentDisposition sets the ContentDisposition field's value.
-
SetContentEncoding(string) *PutObjectInput
operation
SetContentEncoding sets the ContentEncoding field's value.
-
SetContentLanguage(string) *PutObjectInput
operation
SetContentLanguage sets the ContentLanguage field's value.
-
SetContentLength(int64) *PutObjectInput
operation
SetContentLength sets the ContentLength field's value.
-
SetContentMD5(string) *PutObjectInput
operation
SetContentMD5 sets the ContentMD5 field's value.
-
SetContentType(string) *PutObjectInput
operation
SetContentType sets the ContentType field's value.
-
SetExpires(time.Time) *PutObjectInput
operation
SetExpires sets the Expires field's value.
-
SetGrantFullControl(string) *PutObjectInput
operation
SetGrantFullControl sets the GrantFullControl field's value.
-
SetGrantRead(string) *PutObjectInput
operation
SetGrantRead sets the GrantRead field's value.
-
SetGrantReadACP(string) *PutObjectInput
operation
SetGrantReadACP sets the GrantReadACP field's value.
-
SetGrantWriteACP(string) *PutObjectInput
operation
SetGrantWriteACP sets the GrantWriteACP field's value.
-
SetKey(string) *PutObjectInput
operation
SetKey sets the Key field's value.
-
SetMetadata(map[string]*string) *PutObjectInput
operation
SetMetadata sets the Metadata field's value.
-
SetObjectLockLegalHoldStatus(string) *PutObjectInput
operation
SetObjectLockLegalHoldStatus sets the ObjectLockLegalHoldStatus field's value.
-
SetObjectLockMode(string) *PutObjectInput
operation
SetObjectLockMode sets the ObjectLockMode field's value.
-
SetObjectLockRetainUntilDate(time.Time) *PutObjectInput
operation
SetObjectLockRetainUntilDate sets the ObjectLockRetainUntilDate field's value.
-
SetRequestPayer(string) *PutObjectInput
operation
SetRequestPayer sets the RequestPayer field's value.
-
SetRetentionExpirationDate(time.Time) *PutObjectInput
operation
SetRetentionExpirationDate sets the RetentionExpirationDate field's value.
-
SetRetentionLegalHoldId(string) *PutObjectInput
operation
SetRetentionLegalHoldId sets the RetentionLegalHoldId field's value.
-
SetRetentionPeriod(int64) *PutObjectInput
operation
SetRetentionPeriod sets the RetentionPeriod field's value.
-
SetServerSideEncryption(string) *PutObjectInput
operation
SetServerSideEncryption sets the ServerSideEncryption field's value.
-
SetSSECustomerAlgorithm(string) *PutObjectInput
operation
SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
-
SetSSECustomerKey(string) *PutObjectInput
operation
SetSSECustomerKey sets the SSECustomerKey field's value.
-
SetSSECustomerKeyMD5(string) *PutObjectInput
operation
SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
-
SetSSEKMSKeyId(string) *PutObjectInput
operation
SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
-
SetStorageClass(string) *PutObjectInput
operation
SetStorageClass sets the StorageClass field's value.
-
SetTagging(string) *PutObjectInput
operation
SetTagging sets the Tagging field's value.
-
SetWebsiteRedirectLocation(string) *PutObjectInput
operation
SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
ACL *string
`location:"header" locationName:"x-amz-acl" type:"string" enum:"ObjectCannedACL"`
The canned ACL to apply to the object. For more information, see Canned ACL (docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL).
This action is not supported by Amazon S3 on Outposts.
Body io.ReadSeeker
`type:"blob"`
Object data.
Bucket *string
`location:"uri" locationName:"Bucket" type:"string" required:"true"`
The bucket name to which the PUT action was initiated.
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 Amazon Web Services 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 you use 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 you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? (docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide.
Bucket is a required field
CacheControl *string
`location:"header" locationName:"Cache-Control" type:"string"`
Can be used to specify caching behavior along the request/reply chain. For more information, see www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 (www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9).
ContentDisposition *string
`location:"header" locationName:"Content-Disposition" type:"string"`
Specifies presentational information for the object. For more information, see www.rfc-editor.org/rfc/rfc6266#section-4 (www.rfc-editor.org/rfc/rfc6266#section-4).
ContentEncoding *string
`location:"header" locationName:"Content-Encoding" type:"string"`
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. For more information, see www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding (www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding).
ContentLanguage *string
`location:"header" locationName:"Content-Language" type:"string"`
The language the content is in.
ContentLength *int64
`location:"header" locationName:"Content-Length" type:"long"`
Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. For more information, see www.rfc-editor.org/rfc/rfc9110.html#name-content-length (www.rfc-editor.org/rfc/rfc9110.html#name-content-length).
ContentMD5 *string
`location:"header" locationName:"Content-MD5" type:"string"`
The base64-encoded 128-bit MD5 digest of the message (without the headers) according to RFC 1864. This header can be used as a message integrity check to verify that the data is the same data that was originally sent. Although it is optional, we recommend using the Content-MD5 mechanism as an end-to-end integrity check. For more information about REST request authentication, see REST Authentication (docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html).
ContentType *string
`location:"header" locationName:"Content-Type" type:"string"`
A standard MIME type describing the format of the contents. For more information, see www.rfc-editor.org/rfc/rfc9110.html#name-content-type (www.rfc-editor.org/rfc/rfc9110.html#name-content-type).
Expires *time.Time
`location:"header" locationName:"Expires" type:"timestamp"`
The date and time at which the object is no longer cacheable. For more information, see www.rfc-editor.org/rfc/rfc7234#section-5.3 (www.rfc-editor.org/rfc/rfc7234#section-5.3).
GrantFullControl *string
`location:"header" locationName:"x-amz-grant-full-control" type:"string"`
Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
This action is not supported by Amazon S3 on Outposts.
GrantRead *string
`location:"header" locationName:"x-amz-grant-read" type:"string"`
Allows grantee to read the object data and its metadata.
This action is not supported by Amazon S3 on Outposts.
GrantReadACP *string
`location:"header" locationName:"x-amz-grant-read-acp" type:"string"`
Allows grantee to read the object ACL.
This action is not supported by Amazon S3 on Outposts.
GrantWriteACP *string
`location:"header" locationName:"x-amz-grant-write-acp" type:"string"`
Allows grantee to write the ACL for the applicable object.
This action is not supported by Amazon S3 on Outposts.
Key *string
`location:"uri" locationName:"Key" min:"1" type:"string" required:"true"`
Object key for which the PUT action was initiated.
Key is a required field
Metadata map[string]*string
`location:"headers" locationName:"x-amz-meta-" type:"map"`
A map of metadata to store with the object in S3.
ObjectLockLegalHoldStatus *string
`location:"header" locationName:"x-amz-object-lock-legal-hold" type:"string" enum:"ObjectLockLegalHoldStatus"`
Specifies whether a legal hold will be applied to this object. For more information about S3 Object Lock, see Object Lock (docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html).
ObjectLockMode *string
`location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"ObjectLockMode"`
The Object Lock mode that you want to apply to this object.
ObjectLockRetainUntilDate *time.Time
`location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"iso8601"`
The date and time when you want this object's Object Lock to expire.
RequestPayer *string
`location:"header" locationName:"x-amz-request-payer" type:"string" enum:"RequestPayer"`
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination Amazon S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see Downloading Objects in Requester Pays Buckets (docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) in the Amazon S3 User Guide.
RetentionExpirationDate *time.Time
`location:"header" locationName:"Retention-Expiration-Date" type:"timestamp"`
Date on which it will be legal to delete or modify the object. This field can only be specified if Retention-Directive is REPLACE. You can only specify this or the Retention-Period header. If both are specified a 400 error will be returned. If neither is specified the bucket's DefaultRetention period will be used.
RetentionLegalHoldId *string
`location:"header" locationName:"Retention-Legal-Hold-ID" type:"string"`
A single legal hold to apply to the object. This field can only be specified if Retention-Directive is REPLACE. A legal hold is a character long string of max length 64. The object cannot be overwritten or deleted until all legal holds associated with the object are removed.
RetentionPeriod *int64
`location:"header" locationName:"Retention-Period" type:"integer"`
Retention period to store on the object in seconds. If this field and Retention-Expiration-Date are specified a 400 error is returned. If neither is specified the bucket's DefaultRetention period will be used. 0 is a legal value assuming the bucket's minimum retention period is also 0.
SSECustomerAlgorithm *string
`location:"header" locationName:"x-amz-server-side-encryption-customer-algorithm" type:"string"`
Specifies the algorithm to use to when encrypting the object (for example, AES256).
SSECustomerKey *string
`marshal-as:"blob" location:"header" locationName:"x-amz-server-side-encryption-customer-key" type:"string" sensitive:"true"`
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header.
SSECustomerKey is a sensitive parameter and its value will be replaced with “sensitive” in string returned by PutObjectInput's String and GoString methods.
SSECustomerKeyMD5 *string
`location:"header" locationName:"x-amz-server-side-encryption-customer-key-MD5" type:"string"`
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
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 (Key ID, Key ARN, or Key Alias) of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object. If you specify x-amz-server-side-encryption:aws:kms or x-amz-server-side-encryption:aws:kms:dsse, but do not providex-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the Amazon Web Services managed key (aws/s3) to protect the data. If the KMS key does not exist in the same account that's issuing the command, you must use the full ARN and not just the ID.
SSEKMSKeyId is a sensitive parameter and its value will be replaced with “sensitive” in string returned by PutObjectInput'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).
StorageClass *string
`location:"header" locationName:"x-amz-storage-class" type:"string" enum:"StorageClass"`
By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The STANDARD storage class provides high durability and high availability. Depending on performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses the OUTPOSTS Storage Class. For more information, see Storage Classes (docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) in the Amazon S3 User Guide.
Tagging *string
`location:"header" locationName:"x-amz-tagging" type:"string"`
The tag-set for the object. The tag-set must be encoded as URL Query parameters. (For example, “Key1=Value1”)
WebsiteRedirectLocation *string
`location:"header" locationName:"x-amz-website-redirect-location" type:"string"`
If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata. For information about object metadata, see Object Key and Metadata (docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html).
In the following example, the request header sets the redirect to an object (anotherPage.html) in the same bucket:
x-amz-website-redirect-location: /anotherPage.html
In the following example, the request header sets the object redirect to another website:
x-amz-website-redirect-location: www.example.com/
For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 (docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html) and How to Configure Website Page Redirects (docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
_ struct{}
`locationName:"PutObjectRequest" type:"structure" payload:"Body"`
Method Details
func (s PutObjectInput) 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”.
20167 20168 20169 |
// File 'service/s3/api.go', line 20167
|
func (s *PutObjectInput) SetACL(v string) *PutObjectInput
SetACL sets the ACL field's value.
20194 20195 20196 20197 |
// File 'service/s3/api.go', line 20194
|
func (s *PutObjectInput) SetBody(v io.ReadSeeker) *PutObjectInput
SetBody sets the Body field's value.
20200 20201 20202 20203 |
// File 'service/s3/api.go', line 20200
|
func (s *PutObjectInput) SetBucket(v string) *PutObjectInput
SetBucket sets the Bucket field's value.
20206 20207 20208 20209 |
// File 'service/s3/api.go', line 20206
|
func (s *PutObjectInput) SetCacheControl(v string) *PutObjectInput
SetCacheControl sets the CacheControl field's value.
20219 20220 20221 20222 |
// File 'service/s3/api.go', line 20219
|
func (s *PutObjectInput) SetContentDisposition(v string) *PutObjectInput
SetContentDisposition sets the ContentDisposition field's value.
20225 20226 20227 20228 |
// File 'service/s3/api.go', line 20225
|
func (s *PutObjectInput) SetContentEncoding(v string) *PutObjectInput
SetContentEncoding sets the ContentEncoding field's value.
20231 20232 20233 20234 |
// File 'service/s3/api.go', line 20231
|
func (s *PutObjectInput) SetContentLanguage(v string) *PutObjectInput
SetContentLanguage sets the ContentLanguage field's value.
20237 20238 20239 20240 |
// File 'service/s3/api.go', line 20237
|
func (s *PutObjectInput) SetContentLength(v int64) *PutObjectInput
SetContentLength sets the ContentLength field's value.
20243 20244 20245 20246 |
// File 'service/s3/api.go', line 20243
|
func (s *PutObjectInput) SetContentMD5(v string) *PutObjectInput
SetContentMD5 sets the ContentMD5 field's value.
20249 20250 20251 20252 |
// File 'service/s3/api.go', line 20249
|
func (s *PutObjectInput) SetContentType(v string) *PutObjectInput
SetContentType sets the ContentType field's value.
20255 20256 20257 20258 |
// File 'service/s3/api.go', line 20255
|
func (s *PutObjectInput) SetExpires(v time.Time) *PutObjectInput
SetExpires sets the Expires field's value.
20261 20262 20263 20264 |
// File 'service/s3/api.go', line 20261
|
func (s *PutObjectInput) SetGrantFullControl(v string) *PutObjectInput
SetGrantFullControl sets the GrantFullControl field's value.
20267 20268 20269 20270 |
// File 'service/s3/api.go', line 20267
|
func (s *PutObjectInput) SetGrantRead(v string) *PutObjectInput
SetGrantRead sets the GrantRead field's value.
20273 20274 20275 20276 |
// File 'service/s3/api.go', line 20273
|
func (s *PutObjectInput) SetGrantReadACP(v string) *PutObjectInput
SetGrantReadACP sets the GrantReadACP field's value.
20279 20280 20281 20282 |
// File 'service/s3/api.go', line 20279
|
func (s *PutObjectInput) SetGrantWriteACP(v string) *PutObjectInput
SetGrantWriteACP sets the GrantWriteACP field's value.
20285 20286 20287 20288 |
// File 'service/s3/api.go', line 20285
|
func (s *PutObjectInput) SetKey(v string) *PutObjectInput
SetKey sets the Key field's value.
20291 20292 20293 20294 |
// File 'service/s3/api.go', line 20291
|
func (s *PutObjectInput) SetMetadata(v map[string]*string) *PutObjectInput
SetMetadata sets the Metadata field's value.
20297 20298 20299 20300 |
// File 'service/s3/api.go', line 20297
|
func (s *PutObjectInput) SetObjectLockLegalHoldStatus(v string) *PutObjectInput
SetObjectLockLegalHoldStatus sets the ObjectLockLegalHoldStatus field's value.
20303 20304 20305 20306 |
// File 'service/s3/api.go', line 20303
|
func (s *PutObjectInput) SetObjectLockMode(v string) *PutObjectInput
SetObjectLockMode sets the ObjectLockMode field's value.
20309 20310 20311 20312 |
// File 'service/s3/api.go', line 20309
|
func (s *PutObjectInput) SetObjectLockRetainUntilDate(v time.Time) *PutObjectInput
SetObjectLockRetainUntilDate sets the ObjectLockRetainUntilDate field's value.
20315 20316 20317 20318 |
// File 'service/s3/api.go', line 20315
|
func (s *PutObjectInput) SetRequestPayer(v string) *PutObjectInput
SetRequestPayer sets the RequestPayer field's value.
20321 20322 20323 20324 |
// File 'service/s3/api.go', line 20321
|
func (s *PutObjectInput) SetRetentionExpirationDate(v time.Time) *PutObjectInput
SetRetentionExpirationDate sets the RetentionExpirationDate field's value.
20327 20328 20329 20330 |
// File 'service/s3/api.go', line 20327
|
func (s *PutObjectInput) SetRetentionLegalHoldId(v string) *PutObjectInput
SetRetentionLegalHoldId sets the RetentionLegalHoldId field's value.
20333 20334 20335 20336 |
// File 'service/s3/api.go', line 20333
|
func (s *PutObjectInput) SetRetentionPeriod(v int64) *PutObjectInput
SetRetentionPeriod sets the RetentionPeriod field's value.
20339 20340 20341 20342 |
// File 'service/s3/api.go', line 20339
|
func (s *PutObjectInput) SetServerSideEncryption(v string) *PutObjectInput
SetServerSideEncryption sets the ServerSideEncryption field's value.
20376 20377 20378 20379 |
// File 'service/s3/api.go', line 20376
|
func (s *PutObjectInput) SetSSECustomerAlgorithm(v string) *PutObjectInput
SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value.
20345 20346 20347 20348 |
// File 'service/s3/api.go', line 20345
|
func (s *PutObjectInput) SetSSECustomerKey(v string) *PutObjectInput
SetSSECustomerKey sets the SSECustomerKey field's value.
20351 20352 20353 20354 |
// File 'service/s3/api.go', line 20351
|
func (s *PutObjectInput) SetSSECustomerKeyMD5(v string) *PutObjectInput
SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value.
20364 20365 20366 20367 |
// File 'service/s3/api.go', line 20364
|
func (s *PutObjectInput) SetSSEKMSKeyId(v string) *PutObjectInput
SetSSEKMSKeyId sets the SSEKMSKeyId field's value.
20370 20371 20372 20373 |
// File 'service/s3/api.go', line 20370
|
func (s *PutObjectInput) SetStorageClass(v string) *PutObjectInput
SetStorageClass sets the StorageClass field's value.
20382 20383 20384 20385 |
// File 'service/s3/api.go', line 20382
|
func (s *PutObjectInput) SetTagging(v string) *PutObjectInput
SetTagging sets the Tagging field's value.
20388 20389 20390 20391 |
// File 'service/s3/api.go', line 20388
|
func (s *PutObjectInput) SetWebsiteRedirectLocation(v string) *PutObjectInput
SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value.
20394 20395 20396 20397 |
// File 'service/s3/api.go', line 20394
|
func (s PutObjectInput) 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”.
20158 20159 20160 |
// File 'service/s3/api.go', line 20158
|
func (s *PutObjectInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 |
// File 'service/s3/api.go', line 20172
|