Skip to content

DescribeBackups

Source: src/AWS/CloudHSMV2/DescribeBackups.ts

Runtime binding for the DescribeBackups operation (IAM action cloudhsm:DescribeBackups).

Lists the account’s CloudHSM cluster backups (or backups shared with the account when Shared is true), optionally filtered by backup id, cluster id or state — the observation half of backup-retention and disaster- recovery automation. Provide the implementation with Effect.provide(AWS.CloudHSMV2.DescribeBackupsHttp).

const describeBackups = yield* AWS.CloudHSMV2.DescribeBackups();
const page = yield* describeBackups({
Filters: { clusterIds: [clusterId], states: ["READY"] },
});