| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SES.GetAccountSendingEnabled
Description
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.
Constructors
| GetAccountSendingEnabled' | |
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.
Constructors
| GetAccountSendingEnabledResponse' | |
Fields
| |
Instances
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:
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.