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 the ability of your account to send email.
Synopsis
- data PutAccountSendingAttributes = PutAccountSendingAttributes' {}
- newPutAccountSendingAttributes :: PutAccountSendingAttributes
- putAccountSendingAttributes_sendingEnabled :: Lens' PutAccountSendingAttributes (Maybe Bool)
- data PutAccountSendingAttributesResponse = PutAccountSendingAttributesResponse' {
- httpStatus :: Int
- newPutAccountSendingAttributesResponse :: Int -> PutAccountSendingAttributesResponse
- putAccountSendingAttributesResponse_httpStatus :: Lens' PutAccountSendingAttributesResponse Int
Creating a Request
data PutAccountSendingAttributes Source #
A request to change the ability of your account to send email.
See: newPutAccountSendingAttributes
smart constructor.
PutAccountSendingAttributes' | |
|
Instances
newPutAccountSendingAttributes :: PutAccountSendingAttributes Source #
Create a value of PutAccountSendingAttributes
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:PutAccountSendingAttributes'
, putAccountSendingAttributes_sendingEnabled
- Enables or disables your account's ability to send email. Set to true
to enable email sending, or set to false
to disable email sending.
If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
Request Lenses
putAccountSendingAttributes_sendingEnabled :: Lens' PutAccountSendingAttributes (Maybe Bool) Source #
Enables or disables your account's ability to send email. Set to true
to enable email sending, or set to false
to disable email sending.
If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
Destructuring the Response
data PutAccountSendingAttributesResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newPutAccountSendingAttributesResponse
smart constructor.
PutAccountSendingAttributesResponse' | |
|
Instances
Eq PutAccountSendingAttributesResponse Source # | |
Read PutAccountSendingAttributesResponse Source # | |
Show PutAccountSendingAttributesResponse Source # | |
Generic PutAccountSendingAttributesResponse Source # | |
NFData PutAccountSendingAttributesResponse Source # | |
Defined in Amazonka.SESV2.PutAccountSendingAttributes rnf :: PutAccountSendingAttributesResponse -> () # | |
type Rep PutAccountSendingAttributesResponse Source # | |
Defined in Amazonka.SESV2.PutAccountSendingAttributes type Rep PutAccountSendingAttributesResponse = D1 ('MetaData "PutAccountSendingAttributesResponse" "Amazonka.SESV2.PutAccountSendingAttributes" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "PutAccountSendingAttributesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutAccountSendingAttributesResponse Source #
Create a value of PutAccountSendingAttributesResponse
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:PutAccountSendingAttributesResponse'
, putAccountSendingAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
putAccountSendingAttributesResponse_httpStatus :: Lens' PutAccountSendingAttributesResponse Int Source #
The response's http status code.