Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Enables or disables email sending for messages sent using a specific configuration set. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce on complaint rate) reach certain thresholds.
You can execute this operation no more than once per second.
- updateConfigurationSetSendingEnabled :: Text -> Bool -> UpdateConfigurationSetSendingEnabled
- data UpdateConfigurationSetSendingEnabled
- ucsseConfigurationSetName :: Lens' UpdateConfigurationSetSendingEnabled Text
- ucsseEnabled :: Lens' UpdateConfigurationSetSendingEnabled Bool
- updateConfigurationSetSendingEnabledResponse :: UpdateConfigurationSetSendingEnabledResponse
- data UpdateConfigurationSetSendingEnabledResponse
Creating a Request
updateConfigurationSetSendingEnabled Source #
Creates a value of UpdateConfigurationSetSendingEnabled
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucsseConfigurationSetName
- The name of the configuration set that you want to update.ucsseEnabled
- Describes whether email sending is enabled or disabled for the configuration set.
data UpdateConfigurationSetSendingEnabled Source #
Represents a request to enable or disable the email sending capabilities for a specific configuration set.
See: updateConfigurationSetSendingEnabled
smart constructor.
Request Lenses
ucsseConfigurationSetName :: Lens' UpdateConfigurationSetSendingEnabled Text Source #
The name of the configuration set that you want to update.
ucsseEnabled :: Lens' UpdateConfigurationSetSendingEnabled Bool Source #
Describes whether email sending is enabled or disabled for the configuration set.
Destructuring the Response
updateConfigurationSetSendingEnabledResponse :: UpdateConfigurationSetSendingEnabledResponse Source #
Creates a value of UpdateConfigurationSetSendingEnabledResponse
with the minimum fields required to make a request.
data UpdateConfigurationSetSendingEnabledResponse Source #
See: updateConfigurationSetSendingEnabledResponse
smart constructor.