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