| 1 | import type * as chatbot from "@distilled.cloud/aws/chatbot"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `chatbot:DeleteMicrosoftTeamsUserIdentity`. |
| 7 | * |
| 8 | * Unlinks a Microsoft Teams user identity from its AWS user identity — the |
| 9 | * write half of identity offboarding automation. Provide the implementation |
| 10 | * with `Effect.provide(AWS.Chatbot.DeleteMicrosoftTeamsUserIdentityHttp)`. |
| 11 | * ### Microsoft Teams Identity Management |
| 12 | * **Example:** Unlink a Teams user identity |
| 13 | * ```typescript |
| 14 | * const deleteMicrosoftTeamsUserIdentity = |
| 15 | * yield* AWS.Chatbot.DeleteMicrosoftTeamsUserIdentity(); |
| 16 | * yield* deleteMicrosoftTeamsUserIdentity({ |
| 17 | * ChatConfigurationArn: configurationArn, |
| 18 | * UserId: "0a1b2c3d-4e5f-1a2b-3c4d-0a1b2c3d4e5f", |
| 19 | * }); |
| 20 | * ``` |
| 21 | * |
| 22 | * @binding |
| 23 | */ |
| 24 | export interface DeleteMicrosoftTeamsUserIdentity extends Binding.Service< |
| 25 | DeleteMicrosoftTeamsUserIdentity, |
| 26 | "AWS.Chatbot.DeleteMicrosoftTeamsUserIdentity", |
| 27 | () => Effect.Effect< |
| 28 | ( |
| 29 | request: chatbot.DeleteMicrosoftTeamsUserIdentityRequest, |
| 30 | ) => Effect.Effect< |
| 31 | chatbot.DeleteMicrosoftTeamsUserIdentityResult, |
| 32 | chatbot.DeleteMicrosoftTeamsUserIdentityError |
| 33 | > |
| 34 | > |
| 35 | > {} |
| 36 | |
| 37 | export const DeleteMicrosoftTeamsUserIdentity = |
| 38 | Binding.Service<DeleteMicrosoftTeamsUserIdentity>( |
| 39 | "AWS.Chatbot.DeleteMicrosoftTeamsUserIdentity", |
| 40 | ); |