put_configuration_set_suppression_options
¶
put_configuration_set_suppression_options(
configuration_set_name: ConfigurationSetName,
*,
config_overrides: Optional[SESv2ClientConfig] = 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/se_sv2.py
5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 | |