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

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

Network.AWS.SES.ListReceiptRuleSets

Contents

Description

Lists the receipt rule sets that exist under your AWS account. If there are additional receipt rule sets to be retrieved, you will receive a NextToken that you can provide to the next call to ListReceiptRuleSets to retrieve the additional entries.

For information about managing receipt rule sets, see the Amazon SES Developer Guide .

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

Synopsis

Creating a Request

listReceiptRuleSets :: ListReceiptRuleSets #

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

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

  • lrrsNextToken - A token returned from a previous call to ListReceiptRuleSets to indicate the position in the receipt rule set list.

data ListReceiptRuleSets #

Represents a request to list the receipt rule sets that exist under your AWS account. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide .

See: listReceiptRuleSets smart constructor.

Instances
Eq ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Data ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Methods

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

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

toConstr :: ListReceiptRuleSets -> Constr #

dataTypeOf :: ListReceiptRuleSets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Show ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Generic ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Associated Types

type Rep ListReceiptRuleSets :: Type -> Type #

Hashable ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

AWSRequest ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Associated Types

type Rs ListReceiptRuleSets :: Type #

ToHeaders ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

ToPath ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

ToQuery ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

NFData ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Methods

rnf :: ListReceiptRuleSets -> () #

type Rep ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

type Rep ListReceiptRuleSets = D1 (MetaData "ListReceiptRuleSets" "Network.AWS.SES.ListReceiptRuleSets" "amazonka-ses-1.6.1-GyciVs3kElCGWDMAMMcZl5" True) (C1 (MetaCons "ListReceiptRuleSets'" PrefixI True) (S1 (MetaSel (Just "_lrrsNextToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs ListReceiptRuleSets # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Request Lenses

lrrsNextToken :: Lens' ListReceiptRuleSets (Maybe Text) #

A token returned from a previous call to ListReceiptRuleSets to indicate the position in the receipt rule set list.

Destructuring the Response

listReceiptRuleSetsResponse #

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

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

  • lrrsrsRuleSets - The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
  • lrrsrsNextToken - A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.
  • lrrsrsResponseStatus - -- | The response status code.

data ListReceiptRuleSetsResponse #

A list of receipt rule sets that exist under your AWS account.

See: listReceiptRuleSetsResponse smart constructor.

Instances
Eq ListReceiptRuleSetsResponse # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Data ListReceiptRuleSetsResponse # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Methods

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

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

toConstr :: ListReceiptRuleSetsResponse -> Constr #

dataTypeOf :: ListReceiptRuleSetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListReceiptRuleSetsResponse # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Show ListReceiptRuleSetsResponse # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Generic ListReceiptRuleSetsResponse # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

Associated Types

type Rep ListReceiptRuleSetsResponse :: Type -> Type #

NFData ListReceiptRuleSetsResponse # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

type Rep ListReceiptRuleSetsResponse # 
Instance details

Defined in Network.AWS.SES.ListReceiptRuleSets

type Rep ListReceiptRuleSetsResponse = D1 (MetaData "ListReceiptRuleSetsResponse" "Network.AWS.SES.ListReceiptRuleSets" "amazonka-ses-1.6.1-GyciVs3kElCGWDMAMMcZl5" False) (C1 (MetaCons "ListReceiptRuleSetsResponse'" PrefixI True) (S1 (MetaSel (Just "_lrrsrsRuleSets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ReceiptRuleSetMetadata])) :*: (S1 (MetaSel (Just "_lrrsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lrrsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lrrsrsRuleSets :: Lens' ListReceiptRuleSetsResponse [ReceiptRuleSetMetadata] #

The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.

lrrsrsNextToken :: Lens' ListReceiptRuleSetsResponse (Maybe Text) #

A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ListReceiptRuleSets to retrieve up to 100 receipt rule sets at a time.