amazonka-config-1.4.5: Amazon Config 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.Config.DeleteConfigRule

Contents

Description

Deletes the specified AWS Config rule and all of its evaluation results.

AWS Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException .

You can check the state of a rule by using the DescribeConfigRules request.

Synopsis

Creating a Request

deleteConfigRule Source #

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

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

data DeleteConfigRule Source #

See: deleteConfigRule smart constructor.

Instances

Eq DeleteConfigRule Source # 
Data DeleteConfigRule Source # 

Methods

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

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

toConstr :: DeleteConfigRule -> Constr #

dataTypeOf :: DeleteConfigRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteConfigRule Source # 
Show DeleteConfigRule Source # 
Generic DeleteConfigRule Source # 
Hashable DeleteConfigRule Source # 
ToJSON DeleteConfigRule Source # 
NFData DeleteConfigRule Source # 

Methods

rnf :: DeleteConfigRule -> () #

AWSRequest DeleteConfigRule Source # 
ToPath DeleteConfigRule Source # 
ToHeaders DeleteConfigRule Source # 
ToQuery DeleteConfigRule Source # 
type Rep DeleteConfigRule Source # 
type Rep DeleteConfigRule = D1 (MetaData "DeleteConfigRule" "Network.AWS.Config.DeleteConfigRule" "amazonka-config-1.4.5-4BEmfDxyecaImBS3zasUBg" True) (C1 (MetaCons "DeleteConfigRule'" PrefixI True) (S1 (MetaSel (Just Symbol "_dcrConfigRuleName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteConfigRule Source # 

Request Lenses

dcrConfigRuleName :: Lens' DeleteConfigRule Text Source #

The name of the AWS Config rule that you want to delete.

Destructuring the Response

deleteConfigRuleResponse :: DeleteConfigRuleResponse Source #

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

data DeleteConfigRuleResponse Source #

See: deleteConfigRuleResponse smart constructor.

Instances

Eq DeleteConfigRuleResponse Source # 
Data DeleteConfigRuleResponse Source # 

Methods

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

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

toConstr :: DeleteConfigRuleResponse -> Constr #

dataTypeOf :: DeleteConfigRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteConfigRuleResponse Source # 
Show DeleteConfigRuleResponse Source # 
Generic DeleteConfigRuleResponse Source # 
NFData DeleteConfigRuleResponse Source # 
type Rep DeleteConfigRuleResponse Source # 
type Rep DeleteConfigRuleResponse = D1 (MetaData "DeleteConfigRuleResponse" "Network.AWS.Config.DeleteConfigRule" "amazonka-config-1.4.5-4BEmfDxyecaImBS3zasUBg" False) (C1 (MetaCons "DeleteConfigRuleResponse'" PrefixI False) U1)