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