Skip to content

SESV2Client.create_tenant

rboto-sesv2==0.4.0 · Service index · Types

Model summary (excerpt): Create a tenant. Tenants are logical containers that group related SES resources together. Each tenant can have its own set of resources like email identities, configuration sets, and templates, along with reputation metrics and sending status. This helps isolate and manage email sending for different customers or business units within your Amazon SES API v2 account. You can optionally specify...

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 (
    CreateTenantOutput,
    Tag,
    TenantSuppressionAttributes,
)

Signature

async def create_tenant(
    *,
    tenant_name: str,
    tags: Sequence[Tag] | None = None,
    suppression_attributes: TenantSuppressionAttributes | None = None,
) -> CreateTenantOutput: ...

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)
tenant_name Yes The name of the tenant to create. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only.
tags No An array of objects that define the tags (keys and values) to associate with the tenant
suppression_attributes No An object that contains information about the suppression list preferences for the tenant. Use this to configure tenant-level suppression at creation time.

Output

CreateTenantOutput.

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

Field Type Presence References
tenant_name str | None Always present —
tenant_id str | None Always present —
tenant_arn str | None Always present —
created_timestamp str | None Always present —
tags list[TagOutput] | None Always present TagOutput
sending_status SendingStatusOutput | None Always present SendingStatusOutput
suppression_attributes TenantSuppressionAttributesOutput | None Always present TenantSuppressionAttributesOutput

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

CreateTenantOutput, Tag, TenantSuppressionAttributes

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