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 |
Obtain information about the email-sending status and capabilities of your Amazon Pinpoint account in the current AWS Region.
Synopsis
- data GetAccount = GetAccount' {
- newGetAccount :: GetAccount
- data GetAccountResponse = GetAccountResponse' {}
- newGetAccountResponse :: Int -> GetAccountResponse
- getAccountResponse_enforcementStatus :: Lens' GetAccountResponse (Maybe Text)
- getAccountResponse_dedicatedIpAutoWarmupEnabled :: Lens' GetAccountResponse (Maybe Bool)
- getAccountResponse_sendQuota :: Lens' GetAccountResponse (Maybe SendQuota)
- getAccountResponse_productionAccessEnabled :: Lens' GetAccountResponse (Maybe Bool)
- getAccountResponse_sendingEnabled :: Lens' GetAccountResponse (Maybe Bool)
- getAccountResponse_httpStatus :: Lens' GetAccountResponse Int
Creating a Request
data GetAccount Source #
A request to obtain information about the email-sending capabilities of your Amazon Pinpoint account.
See: newGetAccount
smart constructor.
Instances
newGetAccount :: GetAccount Source #
Create a value of GetAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAccountResponse Source #
A list of details about the email-sending capabilities of your Amazon Pinpoint account in the current AWS Region.
See: newGetAccountResponse
smart constructor.
GetAccountResponse' | |
|
Instances
newGetAccountResponse Source #
Create a value of GetAccountResponse
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:enforcementStatus:GetAccountResponse'
, getAccountResponse_enforcementStatus
- The reputation status of your Amazon Pinpoint account. The status can be
one of the following:
HEALTHY
– There are no reputation-related issues that currently impact your account.PROBATION
– We've identified some issues with your Amazon Pinpoint account. We're placing your account under review while you work on correcting these issues.SHUTDOWN
– Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed.
$sel:dedicatedIpAutoWarmupEnabled:GetAccountResponse'
, getAccountResponse_dedicatedIpAutoWarmupEnabled
- Indicates whether or not the automatic warm-up feature is enabled for
dedicated IP addresses that are associated with your account.
$sel:sendQuota:GetAccountResponse'
, getAccountResponse_sendQuota
- An object that contains information about the per-day and per-second
sending limits for your Amazon Pinpoint account in the current AWS
Region.
$sel:productionAccessEnabled:GetAccountResponse'
, getAccountResponse_productionAccessEnabled
- Indicates whether or not your account has production access in the
current AWS Region.
If the value is false
, then your account is in the sandbox. When
your account is in the sandbox, you can only send email to verified
identities. Additionally, the maximum number of emails you can send in a
24-hour period (your sending quota) is 200, and the maximum number of
emails you can send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When
your account has production access, you can send email to any address.
The sending quota and maximum sending rate for your account vary based
on your specific use case.
$sel:sendingEnabled:GetAccountResponse'
, getAccountResponse_sendingEnabled
- Indicates whether or not email sending is enabled for your Amazon
Pinpoint account in the current AWS Region.
$sel:httpStatus:GetAccountResponse'
, getAccountResponse_httpStatus
- The response's http status code.
Response Lenses
getAccountResponse_enforcementStatus :: Lens' GetAccountResponse (Maybe Text) Source #
The reputation status of your Amazon Pinpoint account. The status can be one of the following:
HEALTHY
– There are no reputation-related issues that currently impact your account.PROBATION
– We've identified some issues with your Amazon Pinpoint account. We're placing your account under review while you work on correcting these issues.SHUTDOWN
– Your account's ability to send email is currently paused because of an issue with the email sent from your account. When you correct the issue, you can contact us and request that your account's ability to send email is resumed.
getAccountResponse_dedicatedIpAutoWarmupEnabled :: Lens' GetAccountResponse (Maybe Bool) Source #
Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.
getAccountResponse_sendQuota :: Lens' GetAccountResponse (Maybe SendQuota) Source #
An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint account in the current AWS Region.
getAccountResponse_productionAccessEnabled :: Lens' GetAccountResponse (Maybe Bool) Source #
Indicates whether or not your account has production access in the current AWS Region.
If the value is false
, then your account is in the sandbox. When
your account is in the sandbox, you can only send email to verified
identities. Additionally, the maximum number of emails you can send in a
24-hour period (your sending quota) is 200, and the maximum number of
emails you can send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When
your account has production access, you can send email to any address.
The sending quota and maximum sending rate for your account vary based
on your specific use case.
getAccountResponse_sendingEnabled :: Lens' GetAccountResponse (Maybe Bool) Source #
Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region.
getAccountResponse_httpStatus :: Lens' GetAccountResponse Int Source #
The response's http status code.