Glacier.ServiceResource.
vaults
¶A collection of Vault resources.A Vault Collection will include all resources by default, and extreme caution should be taken when performing actions on all resources.
all
()¶Creates an iterable of all Vault resources in the collection.
See also: AWS API Documentation
Request Syntax
vault_iterator = glacier.vaults.all()
glacier.Vault
)filter
(**kwargs)¶Creates an iterable of all Vault resources in the collection filtered by kwargs passed to method. A Vault collection will include all resources by default if no filters are provided, and extreme caution should be taken when performing actions on all resources.
See also: AWS API Documentation
Request Syntax
vault_iterator = glacier.vaults.filter(
marker='string',
limit='string'
)
list(glacier.Vault
)
A list of Vault resources
limit
(**kwargs)¶Creates an iterable up to a specified amount of Vault resources in the collection.
See also: AWS API Documentation
Request Syntax
vault_iterator = glacier.vaults.limit(
count=123
)
glacier.Vault
)page_size
(**kwargs)¶Creates an iterable of all Vault resources in the collection, but limits the number of items returned by each service call by the specified amount.
See also: AWS API Documentation
Request Syntax
vault_iterator = glacier.vaults.page_size(
count=123
)
glacier.Vault
)