Skip to content

SESV2Client.send_bulk_email

rboto-sesv2==0.4.0 · Service index · Types

Model summary (excerpt): Composes an email message to multiple destinations.

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 (
    BulkEmailContent,
    BulkEmailEntry,
    ConfigurationOverrides,
    MessageTag,
    SendBulkEmailOutput,
)

Signature

async def send_bulk_email(
    *,
    default_content: BulkEmailContent,
    bulk_email_entries: Sequence[BulkEmailEntry],
    from_email_address: str | None = None,
    from_email_address_identity_arn: str | None = None,
    reply_to_addresses: Sequence[str] | None = None,
    feedback_forwarding_email_address: str | None = None,
    feedback_forwarding_email_address_identity_arn: str | None = None,
    default_email_tags: Sequence[MessageTag] | None = None,
    configuration_set_name: str | None = None,
    endpoint_id: str | None = None,
    tenant_name: str | None = None,
    configuration_overrides: ConfigurationOverrides | None = None,
) -> SendBulkEmailOutput: ...

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)
default_content Yes An object that contains the body of the message. You can specify a template message.
bulk_email_entries Yes The list of bulk email entry objects.
from_email_address No The email address to use as the "From" address for the email. The address that you specify has to be verified.
from_email_address_identity_arn No This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FromEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use...
reply_to_addresses No The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
feedback_forwarding_email_address No The address that you want bounce and complaint notifications to be sent to.
feedback_forwarding_email_address_identity_arn No This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FeedbackForwardingEmailAddress parameter. For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes...
default_email_tags No A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendBulkEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
configuration_set_name No The name of the configuration set to use when sending the email.
endpoint_id No The ID of the multi-region endpoint (global-endpoint).
tenant_name No The name of the tenant through which this bulk email will be sent. The email sending operation will only succeed if all referenced resources (identities, configuration sets, and templates) are associated with this tenant.
configuration_overrides No An object that overrides, for the messages in this request only, settings that would otherwise apply to them. The overrides apply to every message in the request. Each setting that you don't override keeps the value that already applies.

Output

SendBulkEmailOutput.

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
bulk_email_entry_results list[BulkEmailEntryResultOutput] Always present BulkEmailEntryResultOutput

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

BulkEmailContent, BulkEmailEntry, ConfigurationOverrides, MessageTag, SendBulkEmailOutput

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:

AccountSuspendedError, BadRequestError, LimitExceededError, MailFromDomainNotVerifiedError, MessageRejectedError, NotFoundError, SendingPausedError, TooManyRequestsError.

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

Service guide · Pinned model