API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see

We welcome your feedback on this new version of the documentation. Send your comments to


import ""

type CompleteMultipartUploadInput struct { AccountId *string `location:"uri" locationName:"accountId" type:"string" required:"true"` ArchiveSize *string `location:"header" locationName:"x-amz-archive-size" type:"string"` Checksum *string `location:"header" locationName:"x-amz-sha256-tree-hash" type:"string"` UploadId *string `location:"uri" locationName:"uploadId" type:"string" required:"true"` VaultName *string `location:"uri" locationName:"vaultName" type:"string" required:"true"` }

Provides options to complete a multipart upload operation. This informs Amazon Glacier that all the archive parts have been uploaded and Amazon Glacier can now assemble the archive from the uploaded parts. After assembling and saving the archive to the vault, Amazon Glacier returns the URI path of the newly created archive resource.


Type: *string

The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

AccountId is a required field


Type: *string

The total size, in bytes, of the entire archive. This value should be the sum of all the sizes of the individual parts that you uploaded.


Type: *string

The SHA256 tree hash of the entire archive. It is the tree hash of SHA256 tree hash of the individual parts. If the value you specify in the request does not match the SHA256 tree hash of the final assembled archive as computed by Amazon Glacier, Amazon Glacier returns an error and the request fails.


Type: *string

The upload ID of the multipart upload.

UploadId is a required field


Type: *string

The name of the vault.

VaultName is a required field



func (s CompleteMultipartUploadInput) GoString() string

GoString returns the string representation


func (s *CompleteMultipartUploadInput) SetAccountId(v string) *CompleteMultipartUploadInput

SetAccountId sets the AccountId field's value.


func (s *CompleteMultipartUploadInput) SetArchiveSize(v string) *CompleteMultipartUploadInput

SetArchiveSize sets the ArchiveSize field's value.


func (s *CompleteMultipartUploadInput) SetChecksum(v string) *CompleteMultipartUploadInput

SetChecksum sets the Checksum field's value.


func (s *CompleteMultipartUploadInput) SetUploadId(v string) *CompleteMultipartUploadInput

SetUploadId sets the UploadId field's value.


func (s *CompleteMultipartUploadInput) SetVaultName(v string) *CompleteMultipartUploadInput

SetVaultName sets the VaultName field's value.


func (s CompleteMultipartUploadInput) String() string

String returns the string representation


func (s *CompleteMultipartUploadInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: