Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

put_configuration_set_delivery_options

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