| 1 | import * as route53 from "@distilled.cloud/aws/route-53"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeRoute53AccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetChange } from "./GetChange.ts"; |
| 5 | |
| 6 | export const GetChangeHttp = Layer.effect( |
| 7 | GetChange, |
| 8 | makeRoute53AccountHttpBinding({ |
| 9 | tag: "AWS.Route53.GetChange", |
| 10 | operation: route53.getChange, |
| 11 | actions: ["route53:GetChange"], |
| 12 | // Change ids are minted at runtime by ChangeResourceRecordSets and |
| 13 | // unknowable at deploy time. |
| 14 | resources: ["arn:aws:route53:::change/*"], |
| 15 | }), |
| 16 | ); |