Class: Aws::Glacier::Types::UploadMultipartPartInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-glacier/types.rb

Overview

Note:

When making an API call, you may pass UploadMultipartPartInput data as a hash:

{
  account_id: "string", # required
  vault_name: "string", # required
  upload_id: "string", # required
  checksum: "string",
  range: "string",
  body: "data",
}

Provides options to upload a part of an archive in a multipart upload operation.

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

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.

Returns:

  • (String)


2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'lib/aws-sdk-glacier/types.rb', line 2713

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#bodyIO

The data to upload.

Returns:

  • (IO)


2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'lib/aws-sdk-glacier/types.rb', line 2713

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#checksumString

The SHA256 tree hash of the data being uploaded.

Returns:

  • (String)


2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'lib/aws-sdk-glacier/types.rb', line 2713

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#rangeString

Identifies the range of bytes in the assembled archive that will be uploaded in this part. Amazon Glacier uses this information to assemble the archive in the proper sequence. The format of this header follows RFC 2616. An example header is Content-Range:bytes 0-4194303/*.

Returns:

  • (String)


2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'lib/aws-sdk-glacier/types.rb', line 2713

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#upload_idString

The upload ID of the multipart upload.

Returns:

  • (String)


2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'lib/aws-sdk-glacier/types.rb', line 2713

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end

#vault_nameString

The name of the vault.

Returns:

  • (String)


2713
2714
2715
2716
2717
2718
2719
2720
2721
# File 'lib/aws-sdk-glacier/types.rb', line 2713

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  include Aws::Structure
end