1import type * as guardduty from "@distilled.cloud/aws/guardduty";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `guardduty:DeclineInvitations`.
7 *
8 * Declines membership invitations from the given administrator account ids.
9 * Account-level operation — invoked with the caller's request as-is.
10 * Provide the implementation with
11 * `Effect.provide(AWS.GuardDuty.DeclineInvitationsHttp)`.
12 * ### Administrator & Invitations
13 * **Example:** Decline Invitations
14 * ```typescript
15 * // init
16 * // init — account-level binding, no resource argument
17 * const declineInvitations = yield* AWS.GuardDuty.DeclineInvitations();
18 *
19 * // runtime
20 * yield* declineInvitations({ AccountIds: ["111122223333"] });
21 * ```
22 *
23 * @binding
24 */
25export interface DeclineInvitations extends Binding.Service<
26 DeclineInvitations,
27 "AWS.GuardDuty.DeclineInvitations",
28 () => Effect.Effect<
29 (
30 request?: guardduty.DeclineInvitationsRequest,
31 ) => Effect.Effect<
32 guardduty.DeclineInvitationsResponse,
33 guardduty.DeclineInvitationsError
34 >
35 >
36> {}
37export const DeclineInvitations = Binding.Service<DeclineInvitations>(
38 "AWS.GuardDuty.DeclineInvitations",
39);