libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.PinpointEmail.GetAccount

Description

Obtain information about the email-sending status and capabilities of your Amazon Pinpoint account in the current AWS Region.

Synopsis

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.

Constructors

GetAccount' 

Instances

Instances details
Eq GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Read GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Show GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Generic GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Associated Types

type Rep GetAccount :: Type -> Type #

NFData GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Methods

rnf :: GetAccount -> () #

Hashable GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

AWSRequest GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Associated Types

type AWSResponse GetAccount #

ToHeaders GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Methods

toHeaders :: GetAccount -> [Header] #

ToPath GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

ToQuery GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

type Rep GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

type Rep GetAccount = D1 ('MetaData "GetAccount" "Amazonka.PinpointEmail.GetAccount" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "GetAccount'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetAccount Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

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.

Constructors

GetAccountResponse' 

Fields

  • enforcementStatus :: Maybe Text

    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.
  • dedicatedIpAutoWarmupEnabled :: Maybe Bool

    Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.

  • sendQuota :: Maybe 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.

  • productionAccessEnabled :: Maybe Bool

    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.

  • sendingEnabled :: Maybe Bool

    Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetAccountResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Read GetAccountResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Show GetAccountResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Generic GetAccountResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Associated Types

type Rep GetAccountResponse :: Type -> Type #

NFData GetAccountResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

Methods

rnf :: GetAccountResponse -> () #

type Rep GetAccountResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.GetAccount

type Rep GetAccountResponse = D1 ('MetaData "GetAccountResponse" "Amazonka.PinpointEmail.GetAccount" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "GetAccountResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enforcementStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dedicatedIpAutoWarmupEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sendQuota") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SendQuota)))) :*: (S1 ('MetaSel ('Just "productionAccessEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "sendingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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.