PinpointEmail / Client / put_account_sending_attributes

put_account_sending_attributes#

PinpointEmail.Client.put_account_sending_attributes(**kwargs)#

Enable or disable the ability of your account to send email.

See also: AWS API Documentation

Request Syntax

response = client.put_account_sending_attributes(
    SendingEnabled=True|False
)
Parameters:

SendingEnabled (boolean) –

Enables or disables your account’s ability to send email. Set to true to enable email sending, or set to false to disable email sending.

Note

If AWS paused your account’s ability to send email, you can’t use this operation to resume your account’s ability to send email.

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.TooManyRequestsException

  • PinpointEmail.Client.exceptions.BadRequestException