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