update_configuration_set_reputation_metrics_enabled

update_configuration_set_reputation_metrics_enabled(**kwargs)

Enables or disables the publishing of reputation metrics for emails sent using a specific configuration set in a given AWS Region. Reputation metrics include bounce and complaint rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you can create alarms when bounce or complaint rates exceed certain thresholds.

You can execute this operation no more than once per second.

See also: AWS API Documentation

Request Syntax

response = client.update_configuration_set_reputation_metrics_enabled(
    ConfigurationSetName='string',
    Enabled=True|False
)
Parameters
  • ConfigurationSetName (string) --

    [REQUIRED]

    The name of the configuration set that you want to update.

  • Enabled (boolean) --

    [REQUIRED]

    Describes whether or not Amazon SES will publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.

Returns

None

Exceptions

  • SES.Client.exceptions.ConfigurationSetDoesNotExistException

Examples

Set the reputationMetricsEnabled flag for a specific configuration set.

response = client.update_configuration_set_reputation_metrics_enabled(
    ConfigurationSetName='foo',
    Enabled=True,
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}