| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Config.DeleteConfigRule
Description
Deletes the specified Config rule and all of its evaluation results.
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.
Creating a Request
data DeleteConfigRule Source #
See: newDeleteConfigRule smart constructor.
Constructors
| DeleteConfigRule' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteConfigRule |
Create a value of DeleteConfigRule with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteConfigRule, deleteConfigRule_configRuleName - The name of the Config rule that you want to delete.
Request Lenses
deleteConfigRule_configRuleName :: Lens' DeleteConfigRule Text Source #
The name of the Config rule that you want to delete.
Destructuring the Response
data DeleteConfigRuleResponse Source #
See: newDeleteConfigRuleResponse smart constructor.
Constructors
| DeleteConfigRuleResponse' | |
Instances
newDeleteConfigRuleResponse :: DeleteConfigRuleResponse Source #
Create a value of DeleteConfigRuleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.