libZSservicesZSamazonka-sesZSamazonka-ses
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.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
Eq GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Read GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Show GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Generic GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Associated Types

type Rep GetSendQuota :: Type -> Type #

NFData GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Methods

rnf :: GetSendQuota -> () #

Hashable GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

AWSRequest GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Associated Types

type AWSResponse GetSendQuota #

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

type Rep GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

type Rep GetSendQuota = D1 ('MetaData "GetSendQuota" "Amazonka.SES.GetSendQuota" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "GetSendQuota'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetSendQuota Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

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

  • 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.

  • 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Read GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Show GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Generic GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Associated Types

type Rep GetSendQuotaResponse :: Type -> Type #

NFData GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

Methods

rnf :: GetSendQuotaResponse -> () #

type Rep GetSendQuotaResponse Source # 
Instance details

Defined in Amazonka.SES.GetSendQuota

type Rep GetSendQuotaResponse = D1 ('MetaData "GetSendQuotaResponse" "Amazonka.SES.GetSendQuota" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "GetSendQuotaResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxSendRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "sentLast24Hours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "max24HourSend") '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: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: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:httpStatus:GetSendQuotaResponse', getSendQuotaResponse_httpStatus - The response's http status code.

Response Lenses

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.

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.