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_sending_options

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