leeroybrun / glacier-vault-remove

Remove all archives stored inside an Amazon Glacier vault, even if you have a huge number of them.
379 stars 50 forks source link

List all vaults if there are more than 10 #43

Closed Pawka closed 4 years ago

Pawka commented 4 years ago

By default list_vaults method returns only 10 vaults. If there are more vaults - those were not listed.

Response object contains Marker value if there are more than 10 vaults in the account. The Marker value should be provided as parameter to list_vaults method to retrieve list of further vaults. Such requests needs to be repeated until Marker is not present in the response.

leeroybrun commented 4 years ago

Great, thanks!