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

Contents

Description

Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.

For information about setting up rule sets, see the Amazon SES Developer Guide .

This action is throttled at one request per second.

Synopsis

Creating a Request

cloneReceiptRuleSet #

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

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

  • cRuleSetName - The name of the rule set to create. The name must: * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-). * Start and end with a letter or number. * Contain less than 64 characters.
  • cOriginalRuleSetName - The name of the rule set to clone.

data CloneReceiptRuleSet #

Represents a request to create a receipt rule set by cloning an existing one. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide .

See: cloneReceiptRuleSet smart constructor.

Instances

Eq CloneReceiptRuleSet # 
Data CloneReceiptRuleSet # 

Methods

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

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

toConstr :: CloneReceiptRuleSet -> Constr #

dataTypeOf :: CloneReceiptRuleSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CloneReceiptRuleSet # 
Show CloneReceiptRuleSet # 
Generic CloneReceiptRuleSet # 
Hashable CloneReceiptRuleSet # 
NFData CloneReceiptRuleSet # 

Methods

rnf :: CloneReceiptRuleSet -> () #

AWSRequest CloneReceiptRuleSet # 
ToQuery CloneReceiptRuleSet # 
ToPath CloneReceiptRuleSet # 
ToHeaders CloneReceiptRuleSet # 
type Rep CloneReceiptRuleSet # 
type Rep CloneReceiptRuleSet = D1 (MetaData "CloneReceiptRuleSet" "Network.AWS.SES.CloneReceiptRuleSet" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" False) (C1 (MetaCons "CloneReceiptRuleSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cRuleSetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cOriginalRuleSetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CloneReceiptRuleSet # 

Request Lenses

cRuleSetName :: Lens' CloneReceiptRuleSet Text #

The name of the rule set to create. The name must: * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-). * Start and end with a letter or number. * Contain less than 64 characters.

cOriginalRuleSetName :: Lens' CloneReceiptRuleSet Text #

The name of the rule set to clone.

Destructuring the Response

cloneReceiptRuleSetResponse #

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

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

data CloneReceiptRuleSetResponse #

An empty element returned on a successful request.

See: cloneReceiptRuleSetResponse smart constructor.

Instances

Eq CloneReceiptRuleSetResponse # 
Data CloneReceiptRuleSetResponse # 

Methods

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

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

toConstr :: CloneReceiptRuleSetResponse -> Constr #

dataTypeOf :: CloneReceiptRuleSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CloneReceiptRuleSetResponse # 
Show CloneReceiptRuleSetResponse # 
Generic CloneReceiptRuleSetResponse # 
NFData CloneReceiptRuleSetResponse # 
type Rep CloneReceiptRuleSetResponse # 
type Rep CloneReceiptRuleSetResponse = D1 (MetaData "CloneReceiptRuleSetResponse" "Network.AWS.SES.CloneReceiptRuleSet" "amazonka-ses-1.4.5-3falpmOnSQqGxdmHFkoFDA" True) (C1 (MetaCons "CloneReceiptRuleSetResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_crsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

crsResponseStatus :: Lens' CloneReceiptRuleSetResponse Int #

  • - | The response status code.