| 1 | import * as cloudfront from "@distilled.cloud/aws/cloudfront"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeDistributionScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListInvalidations } from "./ListInvalidations.ts"; |
| 5 | |
| 6 | export const ListInvalidationsHttp = Layer.effect( |
| 7 | ListInvalidations, |
| 8 | makeDistributionScopedHttpBinding({ |
| 9 | tag: "AWS.CloudFront.ListInvalidations", |
| 10 | operation: cloudfront.listInvalidations, |
| 11 | actions: ["cloudfront:ListInvalidations"], |
| 12 | }), |
| 13 | ); |