| 1 | import * as iam from "@distilled.cloud/aws/iam"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeIamHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetContextKeysForPrincipalPolicy } from "./GetContextKeysForPrincipalPolicy.ts"; |
| 5 | |
| 6 | export const GetContextKeysForPrincipalPolicyHttp = Layer.effect( |
| 7 | GetContextKeysForPrincipalPolicy, |
| 8 | makeIamHttpBinding({ |
| 9 | capability: "GetContextKeysForPrincipalPolicy", |
| 10 | iamActions: ["iam:GetContextKeysForPrincipalPolicy"], |
| 11 | operation: iam.getContextKeysForPrincipalPolicy, |
| 12 | }), |
| 13 | ); |