amazonka-cloudwatch-events-1.4.3: Amazon CloudWatch Events 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.CloudWatchEvents.DeleteRule

Contents

Description

Deletes a rule. You must remove all targets from a rule using RemoveTargets before you can delete the rule.

Note: When you delete a rule, incoming events might still continue to match to the deleted rule. Please allow a short period of time for changes to take effect.

Synopsis

Creating a Request

deleteRule Source #

Arguments

:: Text

drName

-> DeleteRule 

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

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

data DeleteRule Source #

Container for the parameters to the DeleteRule operation.

See: deleteRule smart constructor.

Instances

Eq DeleteRule Source # 
Data DeleteRule Source # 

Methods

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

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

toConstr :: DeleteRule -> Constr #

dataTypeOf :: DeleteRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRule Source # 
Show DeleteRule Source # 
Generic DeleteRule Source # 

Associated Types

type Rep DeleteRule :: * -> * #

Hashable DeleteRule Source # 
ToJSON DeleteRule Source # 
NFData DeleteRule Source # 

Methods

rnf :: DeleteRule -> () #

AWSRequest DeleteRule Source # 
ToQuery DeleteRule Source # 
ToPath DeleteRule Source # 
ToHeaders DeleteRule Source # 

Methods

toHeaders :: DeleteRule -> [Header] #

type Rep DeleteRule Source # 
type Rep DeleteRule = D1 (MetaData "DeleteRule" "Network.AWS.CloudWatchEvents.DeleteRule" "amazonka-cloudwatch-events-1.4.3-IHyxd2qH8lKKuF6VPGR0vl" True) (C1 (MetaCons "DeleteRule'" PrefixI True) (S1 (MetaSel (Just Symbol "_drName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteRule Source # 

Request Lenses

drName :: Lens' DeleteRule Text Source #

The name of the rule to be deleted.

Destructuring the Response

deleteRuleResponse :: DeleteRuleResponse Source #

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

data DeleteRuleResponse Source #

See: deleteRuleResponse smart constructor.

Instances

Eq DeleteRuleResponse Source # 
Data DeleteRuleResponse Source # 

Methods

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

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

toConstr :: DeleteRuleResponse -> Constr #

dataTypeOf :: DeleteRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRuleResponse Source # 
Show DeleteRuleResponse Source # 
Generic DeleteRuleResponse Source # 
NFData DeleteRuleResponse Source # 

Methods

rnf :: DeleteRuleResponse -> () #

type Rep DeleteRuleResponse Source # 
type Rep DeleteRuleResponse = D1 (MetaData "DeleteRuleResponse" "Network.AWS.CloudWatchEvents.DeleteRule" "amazonka-cloudwatch-events-1.4.3-IHyxd2qH8lKKuF6VPGR0vl" False) (C1 (MetaCons "DeleteRuleResponse'" PrefixI False) U1)