Skip to content

DescribeVault

Source: src/AWS/Glacier/DescribeVault.ts

Runtime binding for the DescribeVault operation (IAM action glacier:DescribeVault on the vault ARN).

Reads the bound Vault’s description — archive count, total size in bytes, and last inventory date (both as of the last nightly inventory). Provide the implementation with Effect.provide(AWS.Glacier.DescribeVaultHttp).

const describeVault = yield* AWS.Glacier.DescribeVault(vault);
const { NumberOfArchives, SizeInBytes } = yield* describeVault();