| 1 | import * as identitystore from "@distilled.cloud/aws/identitystore"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeIdentityStoreHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { CreateUser } from "./CreateUser.ts"; |
| 5 | |
| 6 | export const CreateUserHttp = Layer.effect( |
| 7 | CreateUser, |
| 8 | makeIdentityStoreHttpBinding({ |
| 9 | tag: "AWS.IdentityCenter.CreateUser", |
| 10 | operation: identitystore.createUser, |
| 11 | actions: ["identitystore:CreateUser"], |
| 12 | }), |
| 13 | ); |