amazonka-config-1.3.3: Amazon Config SDK.

Copyright(c) 2013-2015 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 request for the rule, you will receive a ResourceInUseException.

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

See: AWS API Reference for DeleteConfigRule.

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:

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.