@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 15 lines 600 Bytes
Raw
1 import * as cloudhsm from "@distilled.cloud/aws/cloudhsm-v2";
2 import * as Layer from "effect/Layer";
3 import { makeCloudHsmHttpBinding } from "./BindingHttp.ts";
4 import { CopyBackupToRegion } from "./CopyBackupToRegion.ts";
5
6 export const CopyBackupToRegionHttp = Layer.effect(
7 CopyBackupToRegion,
8 makeCloudHsmHttpBinding({
9 tag: "AWS.CloudHSMV2.CopyBackupToRegion",
10 operation: cloudhsm.copyBackupToRegion,
11 // TagResource lets the copy carry the source backup's user tags into
12 // the destination region.
13 actions: ["cloudhsm:CopyBackupToRegion", "cloudhsm:TagResource"],
14 }),
15 );