SESV2 / Client / put_configuration_set_sending_options

put_configuration_set_sending_options#

SESV2.Client.put_configuration_set_sending_options(**kwargs)#

Enable or disable email sending for messages that use a particular configuration set in a specific Amazon Web Services Region.

See also: AWS API Documentation

Request Syntax

response = client.put_configuration_set_sending_options(
    ConfigurationSetName='string',
    SendingEnabled=True|False
)
Parameters:
  • ConfigurationSetName (string) –

    [REQUIRED]

    The name of the configuration set to enable or disable email sending for.

  • SendingEnabled (boolean) – If true, email sending is enabled for the configuration set. If false, email sending is disabled for the configuration set.

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

  • SESV2.Client.exceptions.NotFoundException

  • SESV2.Client.exceptions.TooManyRequestsException

  • SESV2.Client.exceptions.BadRequestException