ConfigService / Paginator / DescribeComplianceByConfigRule
DescribeComplianceByConfigRule#
- class ConfigService.Paginator.DescribeComplianceByConfigRule#
- paginator = client.get_paginator('describe_compliance_by_config_rule') - paginate(**kwargs)#
- Creates an iterator that will paginate through responses from - ConfigService.Client.describe_compliance_by_config_rule().- See also: AWS API Documentation - Request Syntax - response_iterator = paginator.paginate( ConfigRuleNames=[ 'string', ], ComplianceTypes=[ 'COMPLIANT'|'NON_COMPLIANT'|'NOT_APPLICABLE'|'INSUFFICIENT_DATA', ], PaginationConfig={ 'MaxItems': 123, 'StartingToken': 'string' } ) - Parameters:
- ConfigRuleNames (list) – - Specify one or more Config rule names to filter the results by rule. - (string) – 
 
- ComplianceTypes (list) – - Filters the results by compliance. - (string) – 
 
- PaginationConfig (dict) – - A dictionary that provides parameters to control pagination. - MaxItems (integer) – - The total number of items to return. If the total number of items available is more than the value specified in max-items then a - NextTokenwill be provided in the output that you can use to resume pagination.
- StartingToken (string) – - A token to specify where to start paginating. This is the - NextTokenfrom a previous response.
 
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'ComplianceByConfigRules': [ { 'ConfigRuleName': 'string', 'Compliance': { 'ComplianceType': 'COMPLIANT'|'NON_COMPLIANT'|'NOT_APPLICABLE'|'INSUFFICIENT_DATA', 'ComplianceContributorCount': { 'CappedCount': 123, 'CapExceeded': True|False } } }, ], } - Response Structure - (dict) – - ComplianceByConfigRules (list) – - Indicates whether each of the specified Config rules is compliant. - (dict) – - Indicates whether an Config rule is compliant. A rule is compliant if all of the resources that the rule evaluated comply with it. A rule is noncompliant if any of these resources do not comply. - ConfigRuleName (string) – - The name of the Config rule. 
- Compliance (dict) – - Indicates whether the Config rule is compliant. - ComplianceType (string) – - Indicates whether an Amazon Web Services resource or Config rule is compliant. - A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules. - A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply. - Config returns the - INSUFFICIENT_DATAvalue when no evaluation results are available for the Amazon Web Services resource or Config rule.- For the - Compliancedata type, Config supports only- COMPLIANT,- NON_COMPLIANT, and- INSUFFICIENT_DATAvalues. Config does not support the- NOT_APPLICABLEvalue for the- Compliancedata type.
- ComplianceContributorCount (dict) – - The number of Amazon Web Services resources or Config rules that cause a result of - NON_COMPLIANT, up to a maximum number.- CappedCount (integer) – - The number of Amazon Web Services resources or Config rules responsible for the current compliance of the item. 
- CapExceeded (boolean) – - Indicates whether the maximum count is reached.