put_email_identity_feedback_attributes

put_email_identity_feedback_attributes(**kwargs)

Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.

If the value is true , you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email.

You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).

See also: AWS API Documentation

Request Syntax

response = client.put_email_identity_feedback_attributes(
    EmailIdentity='string',
    EmailForwardingEnabled=True|False
)
Parameters
  • EmailIdentity (string) --

    [REQUIRED]

    The email identity.

  • EmailForwardingEnabled (boolean) --

    Sets the feedback forwarding configuration for the identity.

    If the value is true , you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email.

    You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).

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.NotFoundException
  • SESV2.Client.exceptions.TooManyRequestsException
  • SESV2.Client.exceptions.BadRequestException