put_configuration_set_suppression_options
async
¶
put_configuration_set_suppression_options(
configuration_set_name: ConfigurationSetName,
*,
config_overrides: Optional[AsyncSESv2ClientConfig] = None,
suppression_scope: Optional[SuppressionListScope] = None,
suppressed_reasons: Optional[SuppressionListReasons] = None,
validation_options: Optional[SuppressionValidationOptions] = None,
) -> PutConfigurationSetSuppressionOptionsResponse
Specify the suppression list preferences for a configuration set. You can also use this operation to specify a SuppressionScope to override the suppression scope of the tenant or account for emails sent using this configuration set.
Parameters:
-
configuration_set_name(ConfigurationSetName) –The name of the configuration set to change the suppression list preferences for.
-
suppression_scope(Optional[SuppressionListScope], default:None) –The suppression scope for the configuration set. This overrides the tenant or account suppression scope for emails sent using this configuration set. Can be one of the following:
-
TENANT– Use the tenant's suppression list. -
ACCOUNT– Use the account-level suppression list.
-
-
suppressed_reasons(Optional[SuppressionListReasons], default:None) –A list that contains the reasons that email addresses are automatically added to the suppression list for your account or for a specific tenant. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant when a message sent to that address results in a hard bounce.
-
-
validation_options(Optional[SuppressionValidationOptions], default:None) –An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.
Raises:
-
BadRequestException–The input you provided is invalid.
-
NotFoundException–The resource you attempted to access doesn't exist.
-
TooManyRequestsException–Too many requests have been made to the operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sesv2/_services/async_se_sv2.py
5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 | |