Struct rusoto_glacier::CompleteMultipartUploadInput[][src]

pub struct CompleteMultipartUploadInput {
    pub account_id: String,
    pub archive_size: Option<String>,
    pub checksum: Option<String>,
    pub upload_id: String,
    pub vault_name: String,
}

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.

Fields

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.

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.

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.

The upload ID of the multipart upload.

The name of the vault.

Trait Implementations

impl Default for CompleteMultipartUploadInput
[src]

Returns the "default value" for a type. Read more

impl Debug for CompleteMultipartUploadInput
[src]

Formats the value using the given formatter. Read more

impl Clone for CompleteMultipartUploadInput
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CompleteMultipartUploadInput
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations