Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DeleteConfigRule' | |
|
Instances
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:
$sel:configRuleName: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.
Instances
Eq DeleteConfigRuleResponse Source # | |
Defined in Amazonka.Config.DeleteConfigRule | |
Read DeleteConfigRuleResponse Source # | |
Show DeleteConfigRuleResponse Source # | |
Defined in Amazonka.Config.DeleteConfigRule showsPrec :: Int -> DeleteConfigRuleResponse -> ShowS # show :: DeleteConfigRuleResponse -> String # showList :: [DeleteConfigRuleResponse] -> ShowS # | |
Generic DeleteConfigRuleResponse Source # | |
Defined in Amazonka.Config.DeleteConfigRule type Rep DeleteConfigRuleResponse :: Type -> Type # | |
NFData DeleteConfigRuleResponse Source # | |
Defined in Amazonka.Config.DeleteConfigRule rnf :: DeleteConfigRuleResponse -> () # | |
type Rep DeleteConfigRuleResponse Source # | |
newDeleteConfigRuleResponse :: DeleteConfigRuleResponse Source #
Create a value of DeleteConfigRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.