Struct: s3.CreateMultipartUploadInput
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
ACL *string
The canned ACL to apply to the object.
-
Bucket *string
The name of the bucket to which to initiate the upload.
-
CacheControl *string
Specifies 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.
-
ContentType *string
A standard MIME type describing the format of the object data.
-
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 multipart upload is to be initiated.
-
Metadata map[string]*string
A map of metadata to store with the object in S3.
-
ObjectLockLegalHoldStatus *string
Specifies whether you want to apply a Legal Hold to the uploaded object.
-
ObjectLockMode *string
Specifies the Object Lock mode that you want to apply to the uploaded object.
-
ObjectLockRetainUntilDate *time.Time
Specifies the date and time when you want the Object Lock to expire.
-
RequestPayer *string
Confirms that the requester knows that they will be charged for the request.
-
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
Specifies the ID (Key ID, Key ARN, or Key Alias) of the symmetric encryption customer managed key to use for object encryption.
-
ServerSideEncryption *string
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
-
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) *CreateMultipartUploadInput
operation
SetACL sets the ACL field’s value.
-
SetBucket(string) *CreateMultipartUploadInput
operation
SetBucket sets the Bucket field’s value.
-
SetCacheControl(string) *CreateMultipartUploadInput
operation
SetCacheControl sets the CacheControl field’s value.
-
SetContentDisposition(string) *CreateMultipartUploadInput
operation
SetContentDisposition sets the ContentDisposition field’s value.
-
SetContentEncoding(string) *CreateMultipartUploadInput
operation
SetContentEncoding sets the ContentEncoding field’s value.
-
SetContentLanguage(string) *CreateMultipartUploadInput
operation
SetContentLanguage sets the ContentLanguage field’s value.
-
SetContentType(string) *CreateMultipartUploadInput
operation
SetContentType sets the ContentType field’s value.
-
SetExpires(time.Time) *CreateMultipartUploadInput
operation
SetExpires sets the Expires field’s value.
-
SetGrantFullControl(string) *CreateMultipartUploadInput
operation
SetGrantFullControl sets the GrantFullControl field’s value.
-
SetGrantRead(string) *CreateMultipartUploadInput
operation
SetGrantRead sets the GrantRead field’s value.
-
SetGrantReadACP(string) *CreateMultipartUploadInput
operation
SetGrantReadACP sets the GrantReadACP field’s value.
-
SetGrantWriteACP(string) *CreateMultipartUploadInput
operation
SetGrantWriteACP sets the GrantWriteACP field’s value.
-
SetKey(string) *CreateMultipartUploadInput
operation
SetKey sets the Key field’s value.
-
SetMetadata(map[string]*string) *CreateMultipartUploadInput
operation
SetMetadata sets the Metadata field’s value.
-
SetObjectLockLegalHoldStatus(string) *CreateMultipartUploadInput
operation
SetObjectLockLegalHoldStatus sets the ObjectLockLegalHoldStatus field’s value.
-
SetObjectLockMode(string) *CreateMultipartUploadInput
operation
SetObjectLockMode sets the ObjectLockMode field’s value.
-
SetObjectLockRetainUntilDate(time.Time) *CreateMultipartUploadInput
operation
SetObjectLockRetainUntilDate sets the ObjectLockRetainUntilDate field’s value.
-
SetRequestPayer(string) *CreateMultipartUploadInput
operation
SetRequestPayer sets the RequestPayer field’s value.
-
SetServerSideEncryption(string) *CreateMultipartUploadInput
operation
SetServerSideEncryption sets the ServerSideEncryption field’s value.
-
SetSSECustomerAlgorithm(string) *CreateMultipartUploadInput
operation
SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field’s value.
-
SetSSECustomerKey(string) *CreateMultipartUploadInput
operation
SetSSECustomerKey sets the SSECustomerKey field’s value.
-
SetSSECustomerKeyMD5(string) *CreateMultipartUploadInput
operation
SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field’s value.
-
SetSSEKMSKeyId(string) *CreateMultipartUploadInput
operation
SetSSEKMSKeyId sets the SSEKMSKeyId field’s value.
-
SetStorageClass(string) *CreateMultipartUploadInput
operation
SetStorageClass sets the StorageClass field’s value.
-
SetTagging(string) *CreateMultipartUploadInput
operation
SetTagging sets the Tagging field’s value.
-
SetWebsiteRedirectLocation(string) *CreateMultipartUploadInput
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.
This action is not supported by Amazon S3 on Outposts.
Bucket *string
`location:"uri" locationName:"Bucket" type:"string" required:"true"`
The name of the bucket to which to initiate the upload
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"`
Specifies caching behavior along the request/reply chain.
ContentDisposition *string
`location:"header" locationName:"Content-Disposition" type:"string"`
Specifies presentational information for the object.
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.
ContentLanguage *string
`location:"header" locationName:"Content-Language" type:"string"`
The language the content is in.
ContentType *string
`location:"header" locationName:"Content-Type" type:"string"`
A standard MIME type describing the format of the object data.
Expires *time.Time
`location:"header" locationName:"Expires" type:"timestamp"`
The date and time at which the object is no longer cacheable.
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 multipart upload is to be 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 you want to apply a Legal Hold to the uploaded object.
ObjectLockMode *string
`location:"header" locationName:"x-amz-object-lock-mode" type:"string" enum:"ObjectLockMode"`
Specifies the Object Lock mode that you want to apply to the uploaded object.
ObjectLockRetainUntilDate *time.Time
`location:"header" locationName:"x-amz-object-lock-retain-until-date" type:"timestamp" timestampFormat:"iso8601"`
Specifies the date and time when you want the 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.
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 CreateMultipartUploadInput’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"`
Specifies the ID (Key ID, Key ARN, or Key Alias) of the symmetric encryption customer managed key to use for object encryption. All GET and PUT requests for an object protected by KMS will fail if they’re not made via SSL or using SigV4. For information about configuring any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication (docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version) in the Amazon S3 User Guide.
SSEKMSKeyId is a sensitive parameter and its value will be replaced with “sensitive” in string returned by CreateMultipartUploadInput’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).
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.
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.
_ struct{}
`locationName:"CreateMultipartUploadRequest" type:"structure"`
Method Details
func (s CreateMultipartUploadInput) 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”.
9605 9606 9607 |
// File 'service/s3/api.go', line 9605
|
func (s *CreateMultipartUploadInput) SetACL(v string) *CreateMultipartUploadInput
SetACL sets the ACL field’s value.
9632 9633 9634 9635 |
// File 'service/s3/api.go', line 9632
|
func (s *CreateMultipartUploadInput) SetBucket(v string) *CreateMultipartUploadInput
SetBucket sets the Bucket field’s value.
9638 9639 9640 9641 |
// File 'service/s3/api.go', line 9638
|
func (s *CreateMultipartUploadInput) SetCacheControl(v string) *CreateMultipartUploadInput
SetCacheControl sets the CacheControl field’s value.
9651 9652 9653 9654 |
// File 'service/s3/api.go', line 9651
|
func (s *CreateMultipartUploadInput) SetContentDisposition(v string) *CreateMultipartUploadInput
SetContentDisposition sets the ContentDisposition field’s value.
9657 9658 9659 9660 |
// File 'service/s3/api.go', line 9657
|
func (s *CreateMultipartUploadInput) SetContentEncoding(v string) *CreateMultipartUploadInput
SetContentEncoding sets the ContentEncoding field’s value.
9663 9664 9665 9666 |
// File 'service/s3/api.go', line 9663
|
func (s *CreateMultipartUploadInput) SetContentLanguage(v string) *CreateMultipartUploadInput
SetContentLanguage sets the ContentLanguage field’s value.
9669 9670 9671 9672 |
// File 'service/s3/api.go', line 9669
|
func (s *CreateMultipartUploadInput) SetContentType(v string) *CreateMultipartUploadInput
SetContentType sets the ContentType field’s value.
9675 9676 9677 9678 |
// File 'service/s3/api.go', line 9675
|
func (s *CreateMultipartUploadInput) SetExpires(v time.Time) *CreateMultipartUploadInput
SetExpires sets the Expires field’s value.
9681 9682 9683 9684 |
// File 'service/s3/api.go', line 9681
|
func (s *CreateMultipartUploadInput) SetGrantFullControl(v string) *CreateMultipartUploadInput
SetGrantFullControl sets the GrantFullControl field’s value.
9687 9688 9689 9690 |
// File 'service/s3/api.go', line 9687
|
func (s *CreateMultipartUploadInput) SetGrantRead(v string) *CreateMultipartUploadInput
SetGrantRead sets the GrantRead field’s value.
9693 9694 9695 9696 |
// File 'service/s3/api.go', line 9693
|
func (s *CreateMultipartUploadInput) SetGrantReadACP(v string) *CreateMultipartUploadInput
SetGrantReadACP sets the GrantReadACP field’s value.
9699 9700 9701 9702 |
// File 'service/s3/api.go', line 9699
|
func (s *CreateMultipartUploadInput) SetGrantWriteACP(v string) *CreateMultipartUploadInput
SetGrantWriteACP sets the GrantWriteACP field’s value.
9705 9706 9707 9708 |
// File 'service/s3/api.go', line 9705
|
func (s *CreateMultipartUploadInput) SetKey(v string) *CreateMultipartUploadInput
SetKey sets the Key field’s value.
9711 9712 9713 9714 |
// File 'service/s3/api.go', line 9711
|
func (s *CreateMultipartUploadInput) SetMetadata(v map[string]*string) *CreateMultipartUploadInput
SetMetadata sets the Metadata field’s value.
9717 9718 9719 9720 |
// File 'service/s3/api.go', line 9717
|
func (s *CreateMultipartUploadInput) SetObjectLockLegalHoldStatus(v string) *CreateMultipartUploadInput
SetObjectLockLegalHoldStatus sets the ObjectLockLegalHoldStatus field’s value.
9723 9724 9725 9726 |
// File 'service/s3/api.go', line 9723
|
func (s *CreateMultipartUploadInput) SetObjectLockMode(v string) *CreateMultipartUploadInput
SetObjectLockMode sets the ObjectLockMode field’s value.
9729 9730 9731 9732 |
// File 'service/s3/api.go', line 9729
|
func (s *CreateMultipartUploadInput) SetObjectLockRetainUntilDate(v time.Time) *CreateMultipartUploadInput
SetObjectLockRetainUntilDate sets the ObjectLockRetainUntilDate field’s value.
9735 9736 9737 9738 |
// File 'service/s3/api.go', line 9735
|
func (s *CreateMultipartUploadInput) SetRequestPayer(v string) *CreateMultipartUploadInput
SetRequestPayer sets the RequestPayer field’s value.
9741 9742 9743 9744 |
// File 'service/s3/api.go', line 9741
|
func (s *CreateMultipartUploadInput) SetServerSideEncryption(v string) *CreateMultipartUploadInput
SetServerSideEncryption sets the ServerSideEncryption field’s value.
9778 9779 9780 9781 |
// File 'service/s3/api.go', line 9778
|
func (s *CreateMultipartUploadInput) SetSSECustomerAlgorithm(v string) *CreateMultipartUploadInput
SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field’s value.
9747 9748 9749 9750 |
// File 'service/s3/api.go', line 9747
|
func (s *CreateMultipartUploadInput) SetSSECustomerKey(v string) *CreateMultipartUploadInput
SetSSECustomerKey sets the SSECustomerKey field’s value.
9753 9754 9755 9756 |
// File 'service/s3/api.go', line 9753
|
func (s *CreateMultipartUploadInput) SetSSECustomerKeyMD5(v string) *CreateMultipartUploadInput
SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field’s value.
9766 9767 9768 9769 |
// File 'service/s3/api.go', line 9766
|
func (s *CreateMultipartUploadInput) SetSSEKMSKeyId(v string) *CreateMultipartUploadInput
SetSSEKMSKeyId sets the SSEKMSKeyId field’s value.
9772 9773 9774 9775 |
// File 'service/s3/api.go', line 9772
|
func (s *CreateMultipartUploadInput) SetStorageClass(v string) *CreateMultipartUploadInput
SetStorageClass sets the StorageClass field’s value.
9784 9785 9786 9787 |
// File 'service/s3/api.go', line 9784
|
func (s *CreateMultipartUploadInput) SetTagging(v string) *CreateMultipartUploadInput
SetTagging sets the Tagging field’s value.
9790 9791 9792 9793 |
// File 'service/s3/api.go', line 9790
|
func (s *CreateMultipartUploadInput) SetWebsiteRedirectLocation(v string) *CreateMultipartUploadInput
SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field’s value.
9796 9797 9798 9799 |
// File 'service/s3/api.go', line 9796
|
func (s CreateMultipartUploadInput) 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”.
9596 9597 9598 |
// File 'service/s3/api.go', line 9596
|
func (s *CreateMultipartUploadInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 |
// File 'service/s3/api.go', line 9610
|