put_suppressed_destination

SESV2.Client.put_suppressed_destination(**kwargs)

Adds an email address to the suppression list for your account.

See also: AWS API Documentation

Request Syntax

response = client.put_suppressed_destination(
    EmailAddress='string',
    Reason='BOUNCE'|'COMPLAINT'
)
Parameters
  • EmailAddress (string) --

    [REQUIRED]

    The email address that should be added to the suppression list for your account.

  • Reason (string) --

    [REQUIRED]

    The factors that should cause the email address to be added to the suppression list for your account.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

    An HTTP 200 response if the request succeeds, or an error message if the request fails.

Exceptions

  • SESV2.Client.exceptions.BadRequestException
  • SESV2.Client.exceptions.TooManyRequestsException