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