The best way to control Claude Code, Codex and more from any computer or phone

main
ts 38 lines 1.31 KB
Raw
1 import type * as sesv2 from "@distilled.cloud/aws/sesv2";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
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 */
27 export interface GetBlacklistReports extends Binding.Service<
28 GetBlacklistReports,
29 "AWS.SES.GetBlacklistReports",
30 () => Effect.Effect<
31 (
32 request: sesv2.GetBlacklistReportsRequest,
33 ) => Effect.Effect<sesv2.GetBlacklistReportsResponse, sesv2.GetBlacklistReportsError>
34 >
35 > {}
36 export const GetBlacklistReports = Binding.Service<GetBlacklistReports>(
37 "AWS.SES.GetBlacklistReports",
38 );