Class: Aws::Glacier::Types::DeleteArchiveInput

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 DeleteArchiveInput data as a hash:

{
  account_id: "string", # required
  vault_name: "string", # required
  archive_id: "string", # required
}

Provides options for deleting an archive from an Amazon Glacier vault.

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)


474
475
476
477
478
479
# File 'lib/aws-sdk-glacier/types.rb', line 474

class DeleteArchiveInput < Struct.new(
  :account_id,
  :vault_name,
  :archive_id)
  include Aws::Structure
end

#archive_idString

The ID of the archive to delete.

Returns:

  • (String)


474
475
476
477
478
479
# File 'lib/aws-sdk-glacier/types.rb', line 474

class DeleteArchiveInput < Struct.new(
  :account_id,
  :vault_name,
  :archive_id)
  include Aws::Structure
end

#vault_nameString

The name of the vault.

Returns:

  • (String)


474
475
476
477
478
479
# File 'lib/aws-sdk-glacier/types.rb', line 474

class DeleteArchiveInput < Struct.new(
  :account_id,
  :vault_name,
  :archive_id)
  include Aws::Structure
end