PinpointEmail / Client / put_configuration_set_sending_options

put_configuration_set_sending_options#

PinpointEmail.Client.put_configuration_set_sending_options(**kwargs)#

Enable or disable email sending for messages that use a particular configuration set in a specific AWS 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 that you want 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

  • PinpointEmail.Client.exceptions.NotFoundException

  • PinpointEmail.Client.exceptions.TooManyRequestsException

  • PinpointEmail.Client.exceptions.BadRequestException