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
)
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.
{}
Response Structure
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