The best way to control Claude Code, Codex and more from any computer or phone

main
ts 16 lines 710 Bytes
Raw
1 import * as backup from "@distilled.cloud/aws/backup";
2 import * as Layer from "effect/Layer";
3 import { makeBackupVaultHttpBinding } from "./BindingHttp.ts";
4 import { GetRecoveryPointRestoreMetadata } from "./GetRecoveryPointRestoreMetadata.ts";
5
6 export const GetRecoveryPointRestoreMetadataHttp = Layer.effect(
7 GetRecoveryPointRestoreMetadata,
8 makeBackupVaultHttpBinding({
9 tag: "AWS.Backup.GetRecoveryPointRestoreMetadata",
10 operation: backup.getRecoveryPointRestoreMetadata,
11 actions: ["backup:GetRecoveryPointRestoreMetadata"],
12 // Recovery-point actions authorize on the recovery point ARN (the
13 // underlying resource's snapshot ARN), not the vault ARN.
14 wildcardIam: true,
15 }),
16 );