1import type * as sesv2 from "@distilled.cloud/aws/sesv2";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `sesv2:ListSuppressedDestinations`.
7 *
8 * Lists the addresses on the account-level suppression list, optionally
9 * filtered by reason and date range. Account-level operation. Provide the
10 * implementation with
11 * `Effect.provide(AWS.SES.ListSuppressedDestinationsHttp)`.
12 * ### Suppression List
13 * **Example:** List Bounce-Suppressed Addresses
14 * ```typescript
15 * // init — account-level binding, no resource argument
16 * const listSuppressed = yield* SES.ListSuppressedDestinations();
17 *
18 * // runtime
19 * const { SuppressedDestinationSummaries } = yield* listSuppressed({
20 * Reasons: ["BOUNCE"],
21 * });
22 * ```
23 *
24 * @binding
25 */
26export interface ListSuppressedDestinations extends Binding.Service<
27 ListSuppressedDestinations,
28 "AWS.SES.ListSuppressedDestinations",
29 () => Effect.Effect<
30 (
31 request?: sesv2.ListSuppressedDestinationsRequest,
32 ) => Effect.Effect<
33 sesv2.ListSuppressedDestinationsResponse,
34 sesv2.ListSuppressedDestinationsError
35 >
36 >
37> {}
38export const ListSuppressedDestinations =
39 Binding.Service<ListSuppressedDestinations>(
40 "AWS.SES.ListSuppressedDestinations",
41 );