Skip to content

PutSuppressedDestination

Source: src/AWS/SES/PutSuppressedDestination.ts

Runtime binding for sesv2:PutSuppressedDestination.

Adds an email address to the account-level suppression list — the data-plane half of bounce/complaint handling: consume feedback events and suppress the offending address so SES never attempts it again. Account-level operation. Provide the implementation with Effect.provide(AWS.SES.PutSuppressedDestinationHttp).

// init — account-level binding, no resource argument
const suppress = yield* SES.PutSuppressedDestination();
// runtime
yield* suppress({
EmailAddress: "bouncing@example.com",
Reason: "BOUNCE",
});