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 the publishing of reputation metrics for emails sent using a specific configuration set in a given AWS Region. Reputation metrics include bounce and complaint rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you can create alarms when bounce or complaint rates exceed certain thresholds.
You can execute this operation no more than once per second.
Synopsis
- data UpdateConfigurationSetReputationMetricsEnabled = UpdateConfigurationSetReputationMetricsEnabled' {}
- newUpdateConfigurationSetReputationMetricsEnabled :: Text -> Bool -> UpdateConfigurationSetReputationMetricsEnabled
- updateConfigurationSetReputationMetricsEnabled_configurationSetName :: Lens' UpdateConfigurationSetReputationMetricsEnabled Text
- updateConfigurationSetReputationMetricsEnabled_enabled :: Lens' UpdateConfigurationSetReputationMetricsEnabled Bool
- data UpdateConfigurationSetReputationMetricsEnabledResponse = UpdateConfigurationSetReputationMetricsEnabledResponse' {
- newUpdateConfigurationSetReputationMetricsEnabledResponse :: UpdateConfigurationSetReputationMetricsEnabledResponse
Creating a Request
data UpdateConfigurationSetReputationMetricsEnabled Source #
Represents a request to modify the reputation metric publishing settings for a configuration set.
See: newUpdateConfigurationSetReputationMetricsEnabled
smart constructor.
UpdateConfigurationSetReputationMetricsEnabled' | |
|
Instances
newUpdateConfigurationSetReputationMetricsEnabled Source #
:: Text |
|
-> Bool |
|
-> UpdateConfigurationSetReputationMetricsEnabled |
Create a value of UpdateConfigurationSetReputationMetricsEnabled
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:UpdateConfigurationSetReputationMetricsEnabled'
, updateConfigurationSetReputationMetricsEnabled_configurationSetName
- The name of the configuration set that you want to update.
$sel:enabled:UpdateConfigurationSetReputationMetricsEnabled'
, updateConfigurationSetReputationMetricsEnabled_enabled
- Describes whether or not Amazon SES will publish reputation metrics for
the configuration set, such as bounce and complaint rates, to Amazon
CloudWatch.
Request Lenses
updateConfigurationSetReputationMetricsEnabled_configurationSetName :: Lens' UpdateConfigurationSetReputationMetricsEnabled Text Source #
The name of the configuration set that you want to update.
updateConfigurationSetReputationMetricsEnabled_enabled :: Lens' UpdateConfigurationSetReputationMetricsEnabled Bool Source #
Describes whether or not Amazon SES will publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
Destructuring the Response
data UpdateConfigurationSetReputationMetricsEnabledResponse Source #
See: newUpdateConfigurationSetReputationMetricsEnabledResponse
smart constructor.
Instances
newUpdateConfigurationSetReputationMetricsEnabledResponse :: UpdateConfigurationSetReputationMetricsEnabledResponse Source #
Create a value of UpdateConfigurationSetReputationMetricsEnabledResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.