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
5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 | |