ConfigService / Paginator / DescribeConfigRuleEvaluationStatus

DescribeConfigRuleEvaluationStatus#

class ConfigService.Paginator.DescribeConfigRuleEvaluationStatus#
paginator = client.get_paginator('describe_config_rule_evaluation_status')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from ConfigService.Client.describe_config_rule_evaluation_status().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ConfigRuleNames=[
        'string',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ConfigRuleNames (list) –

    The name of the Config managed rules for which you want status information. If you do not specify any names, Config returns status information for all Config managed rules that you use.

    • (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 NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'ConfigRulesEvaluationStatus': [
        {
            'ConfigRuleName': 'string',
            'ConfigRuleArn': 'string',
            'ConfigRuleId': 'string',
            'LastSuccessfulInvocationTime': datetime(2015, 1, 1),
            'LastFailedInvocationTime': datetime(2015, 1, 1),
            'LastSuccessfulEvaluationTime': datetime(2015, 1, 1),
            'LastFailedEvaluationTime': datetime(2015, 1, 1),
            'FirstActivatedTime': datetime(2015, 1, 1),
            'LastDeactivatedTime': datetime(2015, 1, 1),
            'LastErrorCode': 'string',
            'LastErrorMessage': 'string',
            'FirstEvaluationStarted': True|False,
            'LastDebugLogDeliveryStatus': 'string',
            'LastDebugLogDeliveryStatusReason': 'string',
            'LastDebugLogDeliveryTime': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • ConfigRulesEvaluationStatus (list) –

      Status information about your Config managed rules.

      • (dict) –

        Status information for your Config Managed rules and Config Custom Policy rules. The status includes information such as the last time the rule ran, the last time it failed, and the related error for the last failure.

        This action does not return status information about Config Custom Lambda rules.

        • ConfigRuleName (string) –

          The name of the Config rule.

        • ConfigRuleArn (string) –

          The Amazon Resource Name (ARN) of the Config rule.

        • ConfigRuleId (string) –

          The ID of the Config rule.

        • LastSuccessfulInvocationTime (datetime) –

          The time that Config last successfully invoked the Config rule to evaluate your Amazon Web Services resources.

        • LastFailedInvocationTime (datetime) –

          The time that Config last failed to invoke the Config rule to evaluate your Amazon Web Services resources.

        • LastSuccessfulEvaluationTime (datetime) –

          The time that Config last successfully evaluated your Amazon Web Services resources against the rule.

        • LastFailedEvaluationTime (datetime) –

          The time that Config last failed to evaluate your Amazon Web Services resources against the rule.

        • FirstActivatedTime (datetime) –

          The time that you first activated the Config rule.

        • LastDeactivatedTime (datetime) –

          The time that you last turned off the Config rule.

        • LastErrorCode (string) –

          The error code that Config returned when the rule last failed.

        • LastErrorMessage (string) –

          The error message that Config returned when the rule last failed.

        • FirstEvaluationStarted (boolean) –

          Indicates whether Config has evaluated your resources against the rule at least once.

          • true - Config has evaluated your Amazon Web Services resources against the rule at least once.

          • false - Config has not finished evaluating your Amazon Web Services resources against the rule at least once.

        • LastDebugLogDeliveryStatus (string) –

          The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either Successful or Failed.

        • LastDebugLogDeliveryStatusReason (string) –

          The reason Config was not able to deliver a debug log. This is for the last failed attempt to retrieve a debug log for your Config Custom Policy rules.

        • LastDebugLogDeliveryTime (datetime) –

          The time Config last attempted to deliver a debug log for your Config Custom Policy rules.