Module Smaws_Client_ConfigService.DeleteConfigRule

val request : Smaws_Lib.Context.t -> delete_config_rule_request -> (unit, [> Smaws_Lib.Protocols.AwsJson.error | `NoSuchConfigRuleException of no_such_config_rule_exception | `ResourceInUseException of resource_in_use_exception ]) Stdlib.result

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.