| 1 | import * as synthetics from "@distilled.cloud/aws/synthetics"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeSyntheticsCanaryHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { StartCanary } from "./StartCanary.ts"; |
| 5 | |
| 6 | export const StartCanaryHttp = Layer.effect( |
| 7 | StartCanary, |
| 8 | makeSyntheticsCanaryHttpBinding({ |
| 9 | tag: "AWS.Synthetics.StartCanary", |
| 10 | operation: synthetics.startCanary, |
| 11 | actions: ["synthetics:StartCanary"], |
| 12 | }), |
| 13 | ); |