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