Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

put_suppressed_destination

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