| 1 | import * as kendra from "@distilled.cloud/aws/kendra"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeKendraIndexHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { DescribePrincipalMapping } from "./DescribePrincipalMapping.ts"; |
| 5 | |
| 6 | export const DescribePrincipalMappingHttp = Layer.effect( |
| 7 | DescribePrincipalMapping, |
| 8 | makeKendraIndexHttpBinding({ |
| 9 | tag: "AWS.Kendra.DescribePrincipalMapping", |
| 10 | operation: kendra.describePrincipalMapping, |
| 11 | actions: ["kendra:DescribePrincipalMapping"], |
| 12 | subResources: ["data-source/*"], |
| 13 | }), |
| 14 | ); |