amazonka-ses-1.4.5: Amazon Simple Email Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SES.GetSendQuota

Contents

Description

Returns the user's current sending limits.

This action is throttled at one request per second.

Synopsis

Creating a Request

getSendQuota :: GetSendQuota #

Creates a value of GetSendQuota with the minimum fields required to make a request.

data GetSendQuota #

See: getSendQuota smart constructor.

Instances

Eq GetSendQuota # 
Data GetSendQuota # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetSendQuota -> c GetSendQuota #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetSendQuota #

toConstr :: GetSendQuota -> Constr #

dataTypeOf :: GetSendQuota -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetSendQuota) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetSendQuota) #

gmapT :: (forall b. Data b => b -> b) -> GetSendQuota -> GetSendQuota #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetSendQuota -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetSendQuota -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetSendQuota -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetSendQuota -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetSendQuota -> m GetSendQuota #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetSendQuota -> m GetSendQuota #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetSendQuota -> m GetSendQuota #

Read GetSendQuota # 
Show GetSendQuota # 
Generic GetSendQuota # 

Associated Types

type Rep GetSendQuota :: * -> * #

Hashable GetSendQuota # 
NFData GetSendQuota # 

Methods

rnf :: GetSendQuota -> () #

AWSRequest GetSendQuota # 
ToQuery GetSendQuota # 
ToPath GetSendQuota # 
ToHeaders GetSendQuota # 
type Rep GetSendQuota # 
type Rep GetSendQuota = D1 (MetaData "GetSendQuota" "Network.AWS.SES.GetSendQuota" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" False) (C1 (MetaCons "GetSendQuota'" PrefixI False) U1)
type Rs GetSendQuota # 

Destructuring the Response

getSendQuotaResponse #

Creates a value of GetSendQuotaResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gsqrsMaxSendRate - The maximum number of emails that Amazon SES can accept from the user's account per second.
  • gsqrsSentLast24Hours - The number of emails sent during the previous 24 hours.
  • gsqrsMax24HourSend - The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.
  • gsqrsResponseStatus - -- | The response status code.

data GetSendQuotaResponse #

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

See: getSendQuotaResponse smart constructor.

Instances

Eq GetSendQuotaResponse # 
Data GetSendQuotaResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetSendQuotaResponse -> c GetSendQuotaResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetSendQuotaResponse #

toConstr :: GetSendQuotaResponse -> Constr #

dataTypeOf :: GetSendQuotaResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetSendQuotaResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetSendQuotaResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetSendQuotaResponse -> GetSendQuotaResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetSendQuotaResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetSendQuotaResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetSendQuotaResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetSendQuotaResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetSendQuotaResponse -> m GetSendQuotaResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetSendQuotaResponse -> m GetSendQuotaResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetSendQuotaResponse -> m GetSendQuotaResponse #

Read GetSendQuotaResponse # 
Show GetSendQuotaResponse # 
Generic GetSendQuotaResponse # 
NFData GetSendQuotaResponse # 

Methods

rnf :: GetSendQuotaResponse -> () #

type Rep GetSendQuotaResponse # 
type Rep GetSendQuotaResponse = D1 (MetaData "GetSendQuotaResponse" "Network.AWS.SES.GetSendQuota" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" False) (C1 (MetaCons "GetSendQuotaResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gsqrsMaxSendRate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))) (S1 (MetaSel (Just Symbol "_gsqrsSentLast24Hours") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double)))) ((:*:) (S1 (MetaSel (Just Symbol "_gsqrsMax24HourSend") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))) (S1 (MetaSel (Just Symbol "_gsqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

gsqrsMaxSendRate :: Lens' GetSendQuotaResponse (Maybe Double) #

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

gsqrsSentLast24Hours :: Lens' GetSendQuotaResponse (Maybe Double) #

The number of emails sent during the previous 24 hours.

gsqrsMax24HourSend :: Lens' GetSendQuotaResponse (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.

gsqrsResponseStatus :: Lens' GetSendQuotaResponse Int #

  • - | The response status code.