Skip to content

DeleteSuppressedDestination

Source: src/AWS/SES/DeleteSuppressedDestination.ts

Runtime binding for sesv2:DeleteSuppressedDestination.

Removes an email address from the account-level suppression list — e.g. after a recipient re-subscribes or a bounce is resolved. 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.DeleteSuppressedDestinationHttp).

// init — account-level binding, no resource argument
const unsuppress = yield* SES.DeleteSuppressedDestination();
// runtime
yield* unsuppress({ EmailAddress: "resubscribed@example.com" }).pipe(
Effect.catchTag("NotFoundException", () => Effect.void),
);