Skip to content

ListRecoveryPointsByResource

Source: src/AWS/Backup/ListRecoveryPointsByResource.ts

Runtime binding for the ListRecoveryPointsByResource operation (IAM action backup:ListRecoveryPointsByResource).

Lists the recovery points for a specific protected resource by its ARN — find the newest recovery point to restore from. Provide the implementation with Effect.provide(AWS.Backup.ListRecoveryPointsByResourceHttp).

const listRecoveryPointsByResource =
yield* AWS.Backup.ListRecoveryPointsByResource();
const page = yield* listRecoveryPointsByResource({
ResourceArn: tableArn,
MaxResults: 10,
});