Assurance / Paginator / ListControlGroups

ListControlGroups

class Assurance.Paginator.ListControlGroups
paginator = client.get_paginator('list_control_groups')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Assurance.Client.list_control_groups().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    environmentArn='string',
    framework='string',
    frameworkVersion='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • framework (string) –

    [REQUIRED]

    The name of the compliance framework.

  • frameworkVersion (string) –

    [REQUIRED]

    The version of the compliance framework.

  • 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

{
    'controlGroups': [
        {
            'type': 'MANAGED'|'CUSTOM',
            'controlId': 'string',
            'framework': 'string',
            'frameworkVersion': 'string',
            'title': 'string',
            'description': 'string',
            'status': 'ACTIVE'|'PENDING'|'PRE_PROD'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • controlGroups (list) –

      The control groups in the framework version, for this page of results.

      • (dict) –

        Summary view of a control group, without its child controls. Use ListControls with the group’s controlId to retrieve the controls within a group.

        • type (string) –

          The type of the control group.

        • controlId (string) –

          The control identifier. Optional. If omitted, the operation applies to the full framework.

        • framework (string) –

          The name of the compliance framework.

        • frameworkVersion (string) –

          The version of the compliance framework.

        • title (string) –

          The human-readable title of the control group.

        • description (string) –

          A description of the control group.

        • status (string) –

          The lifecycle status of the control group.

    • NextToken (string) –

      A token to resume pagination.