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 |
Returns the email sending status of the Amazon SES account for the current region.
You can execute this operation no more than once per second.
Synopsis
- data GetAccountSendingEnabled = GetAccountSendingEnabled' {
- newGetAccountSendingEnabled :: GetAccountSendingEnabled
- data GetAccountSendingEnabledResponse = GetAccountSendingEnabledResponse' {
- enabled :: Maybe Bool
- httpStatus :: Int
- newGetAccountSendingEnabledResponse :: Int -> GetAccountSendingEnabledResponse
- getAccountSendingEnabledResponse_enabled :: Lens' GetAccountSendingEnabledResponse (Maybe Bool)
- getAccountSendingEnabledResponse_httpStatus :: Lens' GetAccountSendingEnabledResponse Int
Creating a Request
data GetAccountSendingEnabled Source #
See: newGetAccountSendingEnabled
smart constructor.
Instances
newGetAccountSendingEnabled :: GetAccountSendingEnabled Source #
Create a value of GetAccountSendingEnabled
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAccountSendingEnabledResponse Source #
Represents a request to return the email sending status for your Amazon SES account in the current AWS Region.
See: newGetAccountSendingEnabledResponse
smart constructor.
GetAccountSendingEnabledResponse' | |
|
Instances
Eq GetAccountSendingEnabledResponse Source # | |
Read GetAccountSendingEnabledResponse Source # | |
Show GetAccountSendingEnabledResponse Source # | |
Defined in Amazonka.SES.GetAccountSendingEnabled | |
Generic GetAccountSendingEnabledResponse Source # | |
NFData GetAccountSendingEnabledResponse Source # | |
Defined in Amazonka.SES.GetAccountSendingEnabled rnf :: GetAccountSendingEnabledResponse -> () # | |
type Rep GetAccountSendingEnabledResponse Source # | |
Defined in Amazonka.SES.GetAccountSendingEnabled type Rep GetAccountSendingEnabledResponse = D1 ('MetaData "GetAccountSendingEnabledResponse" "Amazonka.SES.GetAccountSendingEnabled" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "GetAccountSendingEnabledResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetAccountSendingEnabledResponse Source #
Create a value of GetAccountSendingEnabledResponse
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:enabled:GetAccountSendingEnabledResponse'
, getAccountSendingEnabledResponse_enabled
- Describes whether email sending is enabled or disabled for your Amazon
SES account in the current AWS Region.
$sel:httpStatus:GetAccountSendingEnabledResponse'
, getAccountSendingEnabledResponse_httpStatus
- The response's http status code.
Response Lenses
getAccountSendingEnabledResponse_enabled :: Lens' GetAccountSendingEnabledResponse (Maybe Bool) Source #
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
getAccountSendingEnabledResponse_httpStatus :: Lens' GetAccountSendingEnabledResponse Int Source #
The response's http status code.