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

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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)


2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2324

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

#bodyIO

The data to upload.

Returns:

  • (IO)


2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2324

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

#checksumString

The SHA256 tree hash of the data being uploaded.

Returns:

  • (String)


2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2324

class UploadMultipartPartInput < Struct.new(
  :account_id,
  :vault_name,
  :upload_id,
  :checksum,
  :range,
  :body)
  SENSITIVE = []
  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)


2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2324

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

#upload_idString

The upload ID of the multipart upload.

Returns:

  • (String)


2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2324

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

#vault_nameString

The name of the vault.

Returns:

  • (String)


2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2324

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