Skip to content

SESV2Client.put_account_suppression_attributes

rboto-sesv2==0.4.0 · Service index · Types

Model summary (excerpt): Change the settings for the account-level suppression list.

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 (
    PutAccountSuppressionAttributesOutput,
    SuppressionListReason,
    SuppressionValidationAttributes,
)

Signature

async def put_account_suppression_attributes(
    *,
    suppressed_reasons: Sequence[SuppressionListReason] | None = None,
    validation_attributes: SuppressionValidationAttributes | None = None,
) -> PutAccountSuppressionAttributesOutput: ...

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)
suppressed_reasons No 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...
validation_attributes No An object that contains additional suppression attributes for your account.

Output

PutAccountSuppressionAttributesOutput.

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.

PutAccountSuppressionAttributesOutput, SuppressionListReason, SuppressionValidationAttributes

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, TooManyRequestsError.

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

Service guide · Pinned model