The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import type * as inspector2 from "@distilled.cloud/aws/inspector2"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import type * as Effect from "effect/Effect"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `inspector2:AssociateMember`. |
| 7 | * |
| 8 | * Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response |
| 9 | * indicates the association was successfully started, but doesn’t indicate whether it was |
| 10 | * completed. You can check if the association completed by using ListMembers for multiple |
| 11 | * accounts or GetMembers for a single account. |
| 12 | * |
| 13 | * Provide the implementation with |
| 14 | * `Effect.provide(AWS.Inspector2.AssociateMemberHttp)`. |
| 15 | * ### Organization & Members |
| 16 | * **Example:** Associate a Member Account |
| 17 | * ```typescript |
| 18 | * // init |
| 19 | * const associateMember = yield* AWS.Inspector2.AssociateMember(); |
| 20 | * |
| 21 | * // runtime |
| 22 | * yield* associateMember({ accountId }); |
| 23 | * ``` |
| 24 | * |
| 25 | * @binding |
| 26 | */ |
| 27 | export interface AssociateMember extends Binding.Service< |
| 28 | AssociateMember, |
| 29 | "AWS.Inspector2.AssociateMember", |
| 30 | () => Effect.Effect< |
| 31 | ( |
| 32 | request: inspector2.AssociateMemberRequest, |
| 33 | ) => Effect.Effect<inspector2.AssociateMemberResponse, inspector2.AssociateMemberError> |
| 34 | > |
| 35 | > {} |
| 36 | export const AssociateMember = Binding.Service<AssociateMember>("AWS.Inspector2.AssociateMember"); |