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:GetBlacklistReports`.
7 *
8 * Retrieves, per dedicated-IP address, the list of anti-spam blacklists (RBLs)
9 * that IP currently appears on, with the observation time. Useful for a
10 * reputation dashboard over the account's dedicated IPs. Account-level
11 * operation. Provide the implementation with
12 * `Effect.provide(AWS.SES.GetBlacklistReportsHttp)`.
13 * ### Deliverability Insights
14 * **Example:** Check Blacklist Status for Dedicated IPs
15 * ```typescript
16 * // init — account-level binding, no resource argument
17 * const getBlacklists = yield* SES.GetBlacklistReports();
18 *
19 * // runtime — the dedicated IP addresses to check
20 * const { BlacklistReport } = yield* getBlacklists({
21 * BlacklistItemNames: ["192.0.2.1"],
22 * });
23 * ```
24 *
25 * @binding
26 */
27export interface GetBlacklistReports extends Binding.Service<
28 GetBlacklistReports,
29 "AWS.SES.GetBlacklistReports",
30 () => Effect.Effect<
31 (
32 request: sesv2.GetBlacklistReportsRequest,
33 ) => Effect.Effect<
34 sesv2.GetBlacklistReportsResponse,
35 sesv2.GetBlacklistReportsError
36 >
37 >
38> {}
39export const GetBlacklistReports = Binding.Service<GetBlacklistReports>(
40 "AWS.SES.GetBlacklistReports",
41);