1import type * as macie2 from "@distilled.cloud/aws/macie2";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `macie2:GetMember`.
7 *
8 * Retrieves information about an account that's associated with an Amazon Macie administrator account.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.Macie2.GetMemberHttp)`.
12 * ### Organization & Members
13 * **Example:** Read a Member's Status
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const getMember = yield* AWS.Macie2.GetMember();
17 *
18 * // runtime
19 * const { relationshipStatus } = yield* getMember({ id: accountId });
20 * ```
21 *
22 * @binding
23 */
24export interface GetMember extends Binding.Service<
25 GetMember,
26 "AWS.Macie2.GetMember",
27 () => Effect.Effect<
28 (
29 request: macie2.GetMemberRequest,
30 ) => Effect.Effect<macie2.GetMemberResponse, macie2.GetMemberError>
31 >
32> {}
33export const GetMember = Binding.Service<GetMember>("AWS.Macie2.GetMember");