SES / Client / put_configuration_set_delivery_options

put_configuration_set_delivery_options#

SES.Client.put_configuration_set_delivery_options(**kwargs)#

Adds or updates the delivery options for a configuration set.

See also: AWS API Documentation

Request Syntax

response = client.put_configuration_set_delivery_options(
    ConfigurationSetName='string',
    DeliveryOptions={
        'TlsPolicy': 'Require'|'Optional'
    }
)
Parameters:
  • ConfigurationSetName (string) –

    [REQUIRED]

    The name of the configuration set that you want to specify the delivery options for.

  • DeliveryOptions (dict) –

    Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).

    • TlsPolicy (string) –

      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.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    An HTTP 200 response if the request succeeds, or an error message if the request fails.

Exceptions

  • SES.Client.exceptions.ConfigurationSetDoesNotExistException

  • SES.Client.exceptions.InvalidDeliveryOptionsException