amazonka-ses-1.6.0: 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.DescribeReceiptRule

Contents

Description

Returns the details of the specified receipt rule.

For information about setting up receipt rules, see the Amazon SES Developer Guide .

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

Synopsis

Creating a Request

describeReceiptRule Source #

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

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

  • drrRuleSetName - The name of the receipt rule set that the receipt rule belongs to.
  • drrRuleName - The name of the receipt rule.

data DescribeReceiptRule Source #

Represents a request to return the details of a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide .

See: describeReceiptRule smart constructor.

Instances

Eq DescribeReceiptRule Source # 
Data DescribeReceiptRule Source # 

Methods

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

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

toConstr :: DescribeReceiptRule -> Constr #

dataTypeOf :: DescribeReceiptRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeReceiptRule Source # 
Show DescribeReceiptRule Source # 
Generic DescribeReceiptRule Source # 
Hashable DescribeReceiptRule Source # 
NFData DescribeReceiptRule Source # 

Methods

rnf :: DescribeReceiptRule -> () #

AWSRequest DescribeReceiptRule Source # 
ToHeaders DescribeReceiptRule Source # 
ToPath DescribeReceiptRule Source # 
ToQuery DescribeReceiptRule Source # 
type Rep DescribeReceiptRule Source # 
type Rep DescribeReceiptRule = D1 * (MetaData "DescribeReceiptRule" "Network.AWS.SES.DescribeReceiptRule" "amazonka-ses-1.6.0-Gb8e1E6FgybCfuSzgoBDRc" False) (C1 * (MetaCons "DescribeReceiptRule'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_drrRuleSetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_drrRuleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DescribeReceiptRule Source # 

Request Lenses

drrRuleSetName :: Lens' DescribeReceiptRule Text Source #

The name of the receipt rule set that the receipt rule belongs to.

drrRuleName :: Lens' DescribeReceiptRule Text Source #

The name of the receipt rule.

Destructuring the Response

describeReceiptRuleResponse Source #

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

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

  • drrrsRule - A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy.
  • drrrsResponseStatus - -- | The response status code.

data DescribeReceiptRuleResponse Source #

Represents the details of a receipt rule.

See: describeReceiptRuleResponse smart constructor.

Instances

Eq DescribeReceiptRuleResponse Source # 
Data DescribeReceiptRuleResponse Source # 

Methods

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

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

toConstr :: DescribeReceiptRuleResponse -> Constr #

dataTypeOf :: DescribeReceiptRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeReceiptRuleResponse Source # 
Show DescribeReceiptRuleResponse Source # 
Generic DescribeReceiptRuleResponse Source # 
NFData DescribeReceiptRuleResponse Source # 
type Rep DescribeReceiptRuleResponse Source # 
type Rep DescribeReceiptRuleResponse = D1 * (MetaData "DescribeReceiptRuleResponse" "Network.AWS.SES.DescribeReceiptRule" "amazonka-ses-1.6.0-Gb8e1E6FgybCfuSzgoBDRc" False) (C1 * (MetaCons "DescribeReceiptRuleResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_drrrsRule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ReceiptRule))) (S1 * (MetaSel (Just Symbol "_drrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

drrrsRule :: Lens' DescribeReceiptRuleResponse (Maybe ReceiptRule) Source #

A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy.