describe_config_rules
¶
describe_config_rules(
*,
config_overrides: Optional[ConfigServiceClientConfig] = None,
config_rule_names: Optional[ConfigRuleNames] = None,
filters: Optional[DescribeConfigRulesFilters] = None,
next_token: Optional[String] = None,
) -> DescribeConfigRulesResponse
Returns details about your Config rules.
Parameters:
-
config_rule_names(Optional[ConfigRuleNames], default:None) –The names of the Config rules for which you want details. If you do not specify any names, Config returns details for all your rules.
-
filters(Optional[DescribeConfigRulesFilters], default:None) –Returns a list of Detective or Proactive Config rules. By default, this API returns an unfiltered list. For more information on Detective or Proactive Config rules, see Evaluation Mode in the Config Developer Guide.
-
next_token(Optional[String], default:None) –The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
Raises:
-
InvalidNextTokenException–The specified next token is not valid. Specify the
nextTokenstring that was returned in the previous response to get the next page of results. -
InvalidParameterValueException–One or more of the specified parameters are not valid. Verify that your parameters are valid and try again.
-
NoSuchConfigRuleException–The Config rule in the request is not valid. Verify that the rule is an Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.
-
UnknownServiceError–The service returned an error code this client does not model.