class AWS::Glacier::Archive
Attributes
archive_id[R]
@return [String]
id[R]
@return [String]
vault[R]
@return [Vault]
Public Class Methods
new(vault, archive_id, options = {})
click to toggle source
@param [Vault] vault @param [String] #archive_id @param [Hash] options @option options [String] :account_id
Calls superclass method
# File lib/aws/glacier/archive.rb, line 23 def initialize vault, archive_id, options = {} @vault = vault @archive_id = archive_id super end
Public Instance Methods
delete()
click to toggle source
Deletes the current archive. @return [nil]
# File lib/aws/glacier/archive.rb, line 39 def delete client.delete_archive(resource_options) nil end
Protected Instance Methods
resource_identifiers()
click to toggle source
# File lib/aws/glacier/archive.rb, line 46 def resource_identifiers [ [:vault_name, vault.name], [:archive_id, archive_id], [:account_id, account_id], ] end