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 email sending for messages that use a particular configuration set in a specific Amazon Web Services Region.
Synopsis
- data PutConfigurationSetSendingOptions = PutConfigurationSetSendingOptions' {}
- newPutConfigurationSetSendingOptions :: Text -> PutConfigurationSetSendingOptions
- putConfigurationSetSendingOptions_sendingEnabled :: Lens' PutConfigurationSetSendingOptions (Maybe Bool)
- putConfigurationSetSendingOptions_configurationSetName :: Lens' PutConfigurationSetSendingOptions Text
- data PutConfigurationSetSendingOptionsResponse = PutConfigurationSetSendingOptionsResponse' {
- httpStatus :: Int
- newPutConfigurationSetSendingOptionsResponse :: Int -> PutConfigurationSetSendingOptionsResponse
- putConfigurationSetSendingOptionsResponse_httpStatus :: Lens' PutConfigurationSetSendingOptionsResponse Int
Creating a Request
data PutConfigurationSetSendingOptions Source #
A request to enable or disable the ability of Amazon SES to send emails that use a specific configuration set.
See: newPutConfigurationSetSendingOptions
smart constructor.
PutConfigurationSetSendingOptions' | |
|
Instances
newPutConfigurationSetSendingOptions Source #
:: Text |
|
-> PutConfigurationSetSendingOptions |
Create a value of PutConfigurationSetSendingOptions
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:sendingEnabled:PutConfigurationSetSendingOptions'
, putConfigurationSetSendingOptions_sendingEnabled
- If true
, email sending is enabled for the configuration set. If
false
, email sending is disabled for the configuration set.
$sel:configurationSetName:PutConfigurationSetSendingOptions'
, putConfigurationSetSendingOptions_configurationSetName
- The name of the configuration set to enable or disable email sending
for.
Request Lenses
putConfigurationSetSendingOptions_sendingEnabled :: Lens' PutConfigurationSetSendingOptions (Maybe Bool) Source #
If true
, email sending is enabled for the configuration set. If
false
, email sending is disabled for the configuration set.
putConfigurationSetSendingOptions_configurationSetName :: Lens' PutConfigurationSetSendingOptions Text Source #
The name of the configuration set to enable or disable email sending for.
Destructuring the Response
data PutConfigurationSetSendingOptionsResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutConfigurationSetSendingOptionsResponse
smart constructor.
PutConfigurationSetSendingOptionsResponse' | |
|
Instances
Eq PutConfigurationSetSendingOptionsResponse Source # | |
Read PutConfigurationSetSendingOptionsResponse Source # | |
Show PutConfigurationSetSendingOptionsResponse Source # | |
Generic PutConfigurationSetSendingOptionsResponse Source # | |
Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions type Rep PutConfigurationSetSendingOptionsResponse :: Type -> Type # | |
NFData PutConfigurationSetSendingOptionsResponse Source # | |
type Rep PutConfigurationSetSendingOptionsResponse Source # | |
Defined in Amazonka.SESV2.PutConfigurationSetSendingOptions type Rep PutConfigurationSetSendingOptionsResponse = D1 ('MetaData "PutConfigurationSetSendingOptionsResponse" "Amazonka.SESV2.PutConfigurationSetSendingOptions" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutConfigurationSetSendingOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutConfigurationSetSendingOptionsResponse Source #
Create a value of PutConfigurationSetSendingOptionsResponse
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:PutConfigurationSetSendingOptionsResponse'
, putConfigurationSetSendingOptionsResponse_httpStatus
- The response's http status code.
Response Lenses
putConfigurationSetSendingOptionsResponse_httpStatus :: Lens' PutConfigurationSetSendingOptionsResponse Int Source #
The response's http status code.