SESV2 / Client / put_account_suppression_attributes
put_account_suppression_attributes¶
- SESV2.Client.put_account_suppression_attributes(**kwargs)¶
Change the settings for the account-level suppression list.
See also: AWS API Documentation
Request Syntax
response = client.put_account_suppression_attributes( SuppressedReasons=[ 'BOUNCE'|'COMPLAINT', ], ValidationAttributes={ 'ConditionThreshold': { 'ConditionThresholdEnabled': 'ENABLED'|'DISABLED', 'OverallConfidenceThreshold': { 'ConfidenceVerdictThreshold': 'MEDIUM'|'HIGH'|'MANAGED' } } } )
- Parameters:
SuppressedReasons (list) –
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
COMPLAINT– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.BOUNCE– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
(string) –
The reason that the address was added to the suppression list for your account. The value can be one of the following:
COMPLAINT– Amazon SES added an email address to the suppression list for your account because a message sent to that address results in a complaint.BOUNCE– Amazon SES added an email address to the suppression list for your account because a message sent to that address results in a hard bounce.
ValidationAttributes (dict) –
An object that contains additional suppression attributes for your account.
ConditionThreshold (dict) – [REQUIRED]
Specifies the condition threshold settings for account-level suppression.
ConditionThresholdEnabled (string) – [REQUIRED]
Indicates whether Auto Validation is enabled for suppression. Set to
ENABLEDto enable the Auto Validation feature, or set toDISABLEDto disable it.OverallConfidenceThreshold (dict) –
The overall confidence threshold used to determine suppression decisions.
ConfidenceVerdictThreshold (string) – [REQUIRED]
The confidence level threshold for suppression decisions.
- 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.TooManyRequestsExceptionSESV2.Client.exceptions.BadRequestException