SES / Client / update_configuration_set_reputation_metrics_enabled

update_configuration_set_reputation_metrics_enabled#

SES.Client.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 Amazon Web Services 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 to update.

  • Enabled (boolean) –

    [REQUIRED]

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

Returns:

None

Exceptions

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': {
        '...': '...',
    },
}