Skip to content

DeliveryOptions

Source code in docs_src/capo_sesv2/types/delivery_options.py
class DeliveryOptions(TypedDict, closed=True):
    tls_policy: NotRequired["capo_sesv2.types.tls_policy.TlsPolicy"]
    """<p>Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is <code>REQUIRE</code>, messages are only delivered if a TLS connection can be established. If the value is <code>OPTIONAL</code>, messages can be delivered in plain text if a TLS connection can't be established.</p>"""
    sending_pool_name: NotRequired["capo_sesv2.types.pool_name.PoolName"]
    """<p>The name of the dedicated IP pool to associate with the configuration set.</p>"""
    max_delivery_seconds: NotRequired[
        "capo_sesv2.types.max_delivery_seconds.MaxDeliverySeconds"
    ]
    """<p>The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes). </p>"""
    shared_pool_delivery_mode: NotRequired[
        "capo_sesv2.types.shared_pool_delivery_mode.SharedPoolDeliveryMode"
    ]
    """<p>The shared pool delivery mode for email that you send with the configuration set from shared IP addresses. This setting overrides the shared pool delivery mode of your account. Can be one of the following:</p> <ul> <li> <p> <code>GLOBAL</code> – Amazon SES delivers from your sending Region first and, when it improves your deliverability, also uses Amazon SES shared IP addresses with established sending history in other Amazon Web Services Regions within the same Amazon Web Services partition.</p> </li> <li> <p> <code>REGIONAL</code> – Amazon SES delivers your email only from shared IP addresses in your sending Region.</p> </li> <li> <p> <code>ACCOUNT</code> – The configuration set uses the shared pool delivery mode of your account.</p> </li> </ul> <p>If you don't specify a value, the configuration set uses the shared pool delivery mode of your account.</p>"""

max_delivery_seconds instance-attribute

max_delivery_seconds: NotRequired[MaxDeliverySeconds]

The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).

sending_pool_name instance-attribute

sending_pool_name: NotRequired[PoolName]

The name of the dedicated IP pool to associate with the configuration set.

shared_pool_delivery_mode instance-attribute

shared_pool_delivery_mode: NotRequired[SharedPoolDeliveryMode]

The shared pool delivery mode for email that you send with the configuration set from shared IP addresses. This setting overrides the shared pool delivery mode of your account. Can be one of the following:

  • GLOBAL – Amazon SES delivers from your sending Region first and, when it improves your deliverability, also uses Amazon SES shared IP addresses with established sending history in other Amazon Web Services Regions within the same Amazon Web Services partition.

  • REGIONAL – Amazon SES delivers your email only from shared IP addresses in your sending Region.

  • ACCOUNT – The configuration set uses the shared pool delivery mode of your account.

If you don't specify a value, the configuration set uses the shared pool delivery mode of your account.

tls_policy instance-attribute

tls_policy: NotRequired[TlsPolicy]

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is REQUIRE, messages are only delivered if a TLS connection can be established. If the value is OPTIONAL, messages can be delivered in plain text if a TLS connection can't be established.