ConfigService / Paginator / DescribeConformancePackStatus

DescribeConformancePackStatus#

class ConfigService.Paginator.DescribeConformancePackStatus#
paginator = client.get_paginator('describe_conformance_pack_status')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

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

    Comma-separated list of conformance pack names.

    • (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

{
    'ConformancePackStatusDetails': [
        {
            'ConformancePackName': 'string',
            'ConformancePackId': 'string',
            'ConformancePackArn': 'string',
            'ConformancePackState': 'CREATE_IN_PROGRESS'|'CREATE_COMPLETE'|'CREATE_FAILED'|'DELETE_IN_PROGRESS'|'DELETE_FAILED',
            'StackArn': 'string',
            'ConformancePackStatusReason': 'string',
            'LastUpdateRequestedTime': datetime(2015, 1, 1),
            'LastUpdateCompletedTime': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • ConformancePackStatusDetails (list) –

      A list of ConformancePackStatusDetail objects.

      • (dict) –

        Status details of a conformance pack.

        • ConformancePackName (string) –

          Name of the conformance pack.

        • ConformancePackId (string) –

          ID of the conformance pack.

        • ConformancePackArn (string) –

          Amazon Resource Name (ARN) of comformance pack.

        • ConformancePackState (string) –

          Indicates deployment status of conformance pack.

          Config sets the state of the conformance pack to:

          • CREATE_IN_PROGRESS when a conformance pack creation is in progress for an account.

          • CREATE_COMPLETE when a conformance pack has been successfully created in your account.

          • CREATE_FAILED when a conformance pack creation failed in your account.

          • DELETE_IN_PROGRESS when a conformance pack deletion is in progress.

          • DELETE_FAILED when a conformance pack deletion failed in your account.

        • StackArn (string) –

          Amazon Resource Name (ARN) of CloudFormation stack.

        • ConformancePackStatusReason (string) –

          The reason of conformance pack creation failure.

        • LastUpdateRequestedTime (datetime) –

          Last time when conformation pack creation and update was requested.

        • LastUpdateCompletedTime (datetime) –

          Last time when conformation pack creation and update was successful.