Class AWS::Glacier::Vault
In: lib/aws/glacier/vault.rb
Parent: Resource

@attr_reader [String] arn

@attr_reader [Integer] size_in_bytes

@attr_reader [Integer] number_of_archives

@attr_reader [Time] creation_date

@attr_reader [Time] last_inventory_date

Methods

Attributes

name  [R]  @return [String]

Public Class methods

@param [String] name @param [Hash] options @option options [String] :account_id

Public Instance methods

@param [String,SNS::Topic] topic The SNS topic ARN string or an

  SNS::Topic object to send event notifications to.

@param [Array<String>] events An array of one or more events for

  which you want Amazon Glacier to send notifications.
  Valid values include:
  * 'ArchiveRetrievalCompleted'
  * 'InventoryRetrievalCompleted'

@return [VaultNotificationConfiguration]

Deletes the current vault. You can only delete an empty vault. @return [nil]

@return [Boolean] Returns `true` if the vault exists.

Sets the notification configuration for this vault. If you pass a `nil` value, the notification configuration will be deleted @param [VaultNotificationConfiguration] cfg

Protected Instance methods

[Validate]