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