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 |
Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific Amazon Web Services Region.
Synopsis
- data PutConfigurationSetReputationOptions = PutConfigurationSetReputationOptions' {}
- newPutConfigurationSetReputationOptions :: Text -> PutConfigurationSetReputationOptions
- putConfigurationSetReputationOptions_reputationMetricsEnabled :: Lens' PutConfigurationSetReputationOptions (Maybe Bool)
- putConfigurationSetReputationOptions_configurationSetName :: Lens' PutConfigurationSetReputationOptions Text
- data PutConfigurationSetReputationOptionsResponse = PutConfigurationSetReputationOptionsResponse' {
- httpStatus :: Int
- newPutConfigurationSetReputationOptionsResponse :: Int -> PutConfigurationSetReputationOptionsResponse
- putConfigurationSetReputationOptionsResponse_httpStatus :: Lens' PutConfigurationSetReputationOptionsResponse Int
Creating a Request
data PutConfigurationSetReputationOptions Source #
A request to enable or disable tracking of reputation metrics for a configuration set.
See: newPutConfigurationSetReputationOptions
smart constructor.
PutConfigurationSetReputationOptions' | |
|
Instances
newPutConfigurationSetReputationOptions Source #
:: Text |
|
-> PutConfigurationSetReputationOptions |
Create a value of PutConfigurationSetReputationOptions
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:reputationMetricsEnabled:PutConfigurationSetReputationOptions'
, putConfigurationSetReputationOptions_reputationMetricsEnabled
- If true
, tracking of reputation metrics is enabled for the
configuration set. If false
, tracking of reputation metrics is
disabled for the configuration set.
$sel:configurationSetName:PutConfigurationSetReputationOptions'
, putConfigurationSetReputationOptions_configurationSetName
- The name of the configuration set.
Request Lenses
putConfigurationSetReputationOptions_reputationMetricsEnabled :: Lens' PutConfigurationSetReputationOptions (Maybe Bool) Source #
If true
, tracking of reputation metrics is enabled for the
configuration set. If false
, tracking of reputation metrics is
disabled for the configuration set.
putConfigurationSetReputationOptions_configurationSetName :: Lens' PutConfigurationSetReputationOptions Text Source #
The name of the configuration set.
Destructuring the Response
data PutConfigurationSetReputationOptionsResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutConfigurationSetReputationOptionsResponse
smart constructor.
PutConfigurationSetReputationOptionsResponse' | |
|
Instances
Eq PutConfigurationSetReputationOptionsResponse Source # | |
Read PutConfigurationSetReputationOptionsResponse Source # | |
Show PutConfigurationSetReputationOptionsResponse Source # | |
Generic PutConfigurationSetReputationOptionsResponse Source # | |
Defined in Amazonka.SESV2.PutConfigurationSetReputationOptions type Rep PutConfigurationSetReputationOptionsResponse :: Type -> Type # | |
NFData PutConfigurationSetReputationOptionsResponse Source # | |
type Rep PutConfigurationSetReputationOptionsResponse Source # | |
Defined in Amazonka.SESV2.PutConfigurationSetReputationOptions type Rep PutConfigurationSetReputationOptionsResponse = D1 ('MetaData "PutConfigurationSetReputationOptionsResponse" "Amazonka.SESV2.PutConfigurationSetReputationOptions" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutConfigurationSetReputationOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutConfigurationSetReputationOptionsResponse Source #
:: Int |
|
-> PutConfigurationSetReputationOptionsResponse |
Create a value of PutConfigurationSetReputationOptionsResponse
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:httpStatus:PutConfigurationSetReputationOptionsResponse'
, putConfigurationSetReputationOptionsResponse_httpStatus
- The response's http status code.
Response Lenses
putConfigurationSetReputationOptionsResponse_httpStatus :: Lens' PutConfigurationSetReputationOptionsResponse Int Source #
The response's http status code.