amazonka-ses-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SES.GetSendQuota

Description

Provides the sending limits for the Amazon SES account.

You can execute this operation no more than once per second.

Synopsis

Creating a Request

data GetSendQuota Source #

See: newGetSendQuota smart constructor.

Constructors

GetSendQuota' 

Instances

Instances details
ToHeaders GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

ToPath GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

ToQuery GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

AWSRequest GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Associated Types

type AWSResponse GetSendQuota #

Generic GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Associated Types

type Rep GetSendQuota :: Type -> Type #

Read GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Show GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

NFData GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Methods

rnf :: GetSendQuota -> () #

Eq GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Hashable GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

type AWSResponse GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

type Rep GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

type Rep GetSendQuota = D1 ('MetaData "GetSendQuota" "Amazonka.SES.GetSendQuota" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "GetSendQuota'" 'PrefixI 'False) (U1 :: Type -> Type))

newGetSendQuota :: GetSendQuota Source #

Create a value of GetSendQuota with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data GetSendQuotaResponse Source #

Represents your Amazon SES daily sending quota, maximum send rate, and the number of emails you have sent in the last 24 hours.

See: newGetSendQuotaResponse smart constructor.

Constructors

GetSendQuotaResponse' 

Fields

  • max24HourSend :: Maybe Double

    The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.

  • maxSendRate :: Maybe Double

    The maximum number of emails that Amazon SES can accept from the user's account per second.

    The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate.

  • sentLast24Hours :: Maybe Double

    The number of emails sent during the previous 24 hours.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Associated Types

type Rep GetSendQuotaResponse :: Type -> Type #

Read GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Show GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

NFData GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Methods

rnf :: GetSendQuotaResponse -> () #

Eq GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

type Rep GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

type Rep GetSendQuotaResponse = D1 ('MetaData "GetSendQuotaResponse" "Amazonka.SES.GetSendQuota" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "GetSendQuotaResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "max24HourSend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "maxSendRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "sentLast24Hours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetSendQuotaResponse Source #

Create a value of GetSendQuotaResponse 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:max24HourSend:GetSendQuotaResponse', getSendQuotaResponse_max24HourSend - The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.

$sel:maxSendRate:GetSendQuotaResponse', getSendQuotaResponse_maxSendRate - The maximum number of emails that Amazon SES can accept from the user's account per second.

The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate.

$sel:sentLast24Hours:GetSendQuotaResponse', getSendQuotaResponse_sentLast24Hours - The number of emails sent during the previous 24 hours.

$sel:httpStatus:GetSendQuotaResponse', getSendQuotaResponse_httpStatus - The response's http status code.

Response Lenses

getSendQuotaResponse_max24HourSend :: Lens' GetSendQuotaResponse (Maybe Double) Source #

The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.

getSendQuotaResponse_maxSendRate :: Lens' GetSendQuotaResponse (Maybe Double) Source #

The maximum number of emails that Amazon SES can accept from the user's account per second.

The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate.

getSendQuotaResponse_sentLast24Hours :: Lens' GetSendQuotaResponse (Maybe Double) Source #

The number of emails sent during the previous 24 hours.