| 1 | import * as serverless from "@distilled.cloud/aws/redshift-serverless"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeServerlessAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ConvertRecoveryPointToSnapshot } from "./ConvertRecoveryPointToSnapshot.ts"; |
| 5 | |
| 6 | export const ConvertRecoveryPointToSnapshotHttp = Layer.effect( |
| 7 | ConvertRecoveryPointToSnapshot, |
| 8 | makeServerlessAccountHttpBinding({ |
| 9 | tag: "AWS.RedshiftServerless.ConvertRecoveryPointToSnapshot", |
| 10 | operation: serverless.convertRecoveryPointToSnapshot, |
| 11 | actions: [ |
| 12 | "redshift-serverless:ConvertRecoveryPointToSnapshot", |
| 13 | "redshift-serverless:TagResource", |
| 14 | ], |
| 15 | }), |
| 16 | ); |