GetSuppressedDestination
Source:
src/AWS/SES/GetSuppressedDestination.ts
Runtime binding for sesv2:GetSuppressedDestination.
Retrieves a specific address from the account-level suppression list —
check whether (and why) an address is suppressed before attempting a
send. Fails with the typed NotFoundException tag when the address is
not on the list. Account-level operation. Provide the implementation with
Effect.provide(AWS.SES.GetSuppressedDestinationHttp).
Suppression List
Section titled “Suppression List”// init — account-level binding, no resource argumentconst getSuppressed = yield* SES.GetSuppressedDestination();
// runtimeconst { SuppressedDestination } = yield* getSuppressed({ EmailAddress: "bouncing@example.com",});// SuppressedDestination.Reason — "BOUNCE" | "COMPLAINT"