Class: Aws::Glacier::Types::UploadMultipartPartInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glacier::Types::UploadMultipartPartInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-glacier/types.rb
Overview
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
-
#account_id ⇒ String
The ‘AccountId` value is the AWS account ID of the account that owns the vault.
-
#body ⇒ IO
The data to upload.
-
#checksum ⇒ String
The SHA256 tree hash of the data being uploaded.
-
#range ⇒ String
Identifies the range of bytes in the assembled archive that will be uploaded in this part.
-
#upload_id ⇒ String
The upload ID of the multipart upload.
-
#vault_name ⇒ String
The name of the vault.
Instance Attribute Details
#account_id ⇒ 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.
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 |
#body ⇒ IO
The data to upload.
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 |
#checksum ⇒ String
The SHA256 tree hash of the data being uploaded.
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 |
#range ⇒ String
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/*.
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_id ⇒ String
The upload ID of the multipart upload.
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_name ⇒ String
The name of the vault.
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 |