Glacier¶
-
class
glacier.
vault
¶ Example:
resources = storage_connector.read_resources( service="glacier", resource_type="vault") for resource in resources: resource.load() print(resource.urn) print(resource.creation_date) print(resource.last_inventory_date) print(resource.number_of_archives) print(resource.size_in_bytes) print(resource.vault_arn) print(resource.vault_name)
-
creation_date
¶ The Universal Coordinated Time (UTC) date when the vault was created. This value should be a string in the ISO 8601 date format, for example
2012-03-20T17:03:43.221Z
.
-
last_inventory_date
¶ The Universal Coordinated Time (UTC) date when Amazon S3 Glacier completed the last vault inventory. This value should be a string in the ISO 8601 date format, for example
2012-03-20T17:03:43.221Z
.
-
number_of_archives
¶ The number of archives in the vault as of the last inventory date. This field will return
null
if an inventory has not yet run on the vault, for example if you just created the vault.
-
size_in_bytes
¶ Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example if you just created the vault.
-
vault_arn
¶ The Amazon Resource Name (ARN) of the vault.
-
vault_name
¶ The name of the vault.
-