Skip to content

SESV2Client.create_contact_list

rboto-sesv2==0.4.0 · Service index · Types

Model summary (excerpt): Creates a contact 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 (
    CreateContactListOutput,
    Tag,
    Topic,
)

Signature

async def create_contact_list(
    *,
    contact_list_name: str,
    topics: Sequence[Topic] | None = None,
    description: str | None = None,
    tags: Sequence[Tag] | None = None,
) -> CreateContactListOutput: ...

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)
contact_list_name Yes The name of the contact list.
topics No An interest group, theme, or label within a list. A contact list can have multiple topics.
description No A description of what the contact list is about.
tags No The tags associated with a contact list.

Output

CreateContactListOutput.

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.

CreateContactListOutput, Tag, Topic

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:

AlreadyExistsError, BadRequestError, LimitExceededError, TooManyRequestsError.

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

Service guide · Pinned model