Copyright | (c) 2013-2021 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 |
Enables or disables email sending for messages sent using a specific configuration set in a given AWS Region. 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) exceed certain thresholds.
You can execute this operation no more than once per second.
Synopsis
- data UpdateConfigurationSetSendingEnabled = UpdateConfigurationSetSendingEnabled' {}
- newUpdateConfigurationSetSendingEnabled :: Text -> Bool -> UpdateConfigurationSetSendingEnabled
- updateConfigurationSetSendingEnabled_configurationSetName :: Lens' UpdateConfigurationSetSendingEnabled Text
- updateConfigurationSetSendingEnabled_enabled :: Lens' UpdateConfigurationSetSendingEnabled Bool
- data UpdateConfigurationSetSendingEnabledResponse = UpdateConfigurationSetSendingEnabledResponse' {
- newUpdateConfigurationSetSendingEnabledResponse :: UpdateConfigurationSetSendingEnabledResponse
Creating a Request
data UpdateConfigurationSetSendingEnabled Source #
Represents a request to enable or disable the email sending capabilities for a specific configuration set.
See: newUpdateConfigurationSetSendingEnabled
smart constructor.
UpdateConfigurationSetSendingEnabled' | |
|
Instances
newUpdateConfigurationSetSendingEnabled Source #
:: Text |
|
-> Bool | |
-> UpdateConfigurationSetSendingEnabled |
Create a value of UpdateConfigurationSetSendingEnabled
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:configurationSetName:UpdateConfigurationSetSendingEnabled'
, updateConfigurationSetSendingEnabled_configurationSetName
- The name of the configuration set that you want to update.
$sel:enabled:UpdateConfigurationSetSendingEnabled'
, updateConfigurationSetSendingEnabled_enabled
- Describes whether email sending is enabled or disabled for the
configuration set.
Request Lenses
updateConfigurationSetSendingEnabled_configurationSetName :: Lens' UpdateConfigurationSetSendingEnabled Text Source #
The name of the configuration set that you want to update.
updateConfigurationSetSendingEnabled_enabled :: Lens' UpdateConfigurationSetSendingEnabled Bool Source #
Describes whether email sending is enabled or disabled for the configuration set.
Destructuring the Response
data UpdateConfigurationSetSendingEnabledResponse Source #
See: newUpdateConfigurationSetSendingEnabledResponse
smart constructor.
Instances
Eq UpdateConfigurationSetSendingEnabledResponse Source # | |
Read UpdateConfigurationSetSendingEnabledResponse Source # | |
Show UpdateConfigurationSetSendingEnabledResponse Source # | |
Generic UpdateConfigurationSetSendingEnabledResponse Source # | |
Defined in Amazonka.SES.UpdateConfigurationSetSendingEnabled type Rep UpdateConfigurationSetSendingEnabledResponse :: Type -> Type # | |
NFData UpdateConfigurationSetSendingEnabledResponse Source # | |
type Rep UpdateConfigurationSetSendingEnabledResponse Source # | |
Defined in Amazonka.SES.UpdateConfigurationSetSendingEnabled type Rep UpdateConfigurationSetSendingEnabledResponse = D1 ('MetaData "UpdateConfigurationSetSendingEnabledResponse" "Amazonka.SES.UpdateConfigurationSetSendingEnabled" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "UpdateConfigurationSetSendingEnabledResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newUpdateConfigurationSetSendingEnabledResponse :: UpdateConfigurationSetSendingEnabledResponse Source #
Create a value of UpdateConfigurationSetSendingEnabledResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.