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 S3 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)


2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2308

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)


2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2308

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)


2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2308

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 S3 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)


2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2308

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)


2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2308

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)


2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 2308

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