Skip to content

SESV2Client.put_configuration_set_suppression_options

rboto-sesv2==0.4.0 · Service index · Types

Model summary (excerpt): 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.

Install and imports

python -m pip install "rboto[sesv2]==0.4.0"
from rboto import SESV2Client
from collections.abc import Sequence
from rboto_sesv2.types import (
    PutConfigurationSetSuppressionOptionsOutput,
    SuppressionListReason,
    SuppressionListScope,
    SuppressionValidationOptions,
)

Signature

async def put_configuration_set_suppression_options(
    *,
    configuration_set_name: str,
    suppression_scope: SuppressionListScope | None = None,
    suppressed_reasons: Sequence[SuppressionListReason] | None = None,
    validation_options: SuppressionValidationOptions | None = None,
) -> PutConfigurationSetSuppressionOptionsOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
configuration_set_name Yes The name of the configuration set to change the suppression list preferences for.
suppression_scope No 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 No 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...
validation_options No An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.

Output

PutConfigurationSetSuppressionOptionsOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

No fields.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

PutConfigurationSetSuppressionOptionsOutput, SuppressionListReason, SuppressionListScope, SuppressionValidationOptions

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_sesv2.exceptions:

BadRequestError, NotFoundError, TooManyRequestsError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model