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 Source #

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

data GetSendQuota Source #

See: getSendQuota smart constructor.

Instances

Eq GetSendQuota Source # 
Data GetSendQuota Source # 

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 Source # 
Show GetSendQuota Source # 
Generic GetSendQuota Source # 

Associated Types

type Rep GetSendQuota :: * -> * #

Hashable GetSendQuota Source # 
NFData GetSendQuota Source # 

Methods

rnf :: GetSendQuota -> () #

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

Destructuring the Response

getSendQuotaResponse Source #

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 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: getSendQuotaResponse smart constructor.

Instances

Eq GetSendQuotaResponse Source # 
Data GetSendQuotaResponse Source # 

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 Source # 
Show GetSendQuotaResponse Source # 
Generic GetSendQuotaResponse Source # 
NFData GetSendQuotaResponse Source # 

Methods

rnf :: GetSendQuotaResponse -> () #

type Rep GetSendQuotaResponse Source # 
type Rep GetSendQuotaResponse = D1 (MetaData "GetSendQuotaResponse" "Network.AWS.SES.GetSendQuota" "amazonka-ses-1.4.5-DhIaquVYmXCGGNLt54jVqA" 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) Source #

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

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

The number of emails sent during the previous 24 hours.

gsqrsMax24HourSend :: 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.

gsqrsResponseStatus :: Lens' GetSendQuotaResponse Int Source #

  • - | The response status code.