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