Assurance / Paginator / ListControls
ListControls¶
- class Assurance.Paginator.ListControls¶
paginator = client.get_paginator('list_controls')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Assurance.Client.list_controls().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( environmentArn='string', framework='string', frameworkVersion='string', controlGroupId='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.
controlGroupId (string) –
[REQUIRED]
The control group whose controls the operation returns.
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.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'controls': [ { 'type': 'MANAGED'|'CUSTOM', 'controlId': 'string', 'title': 'string', 'description': 'string', 'workflowType': 'automated-scan'|'document'|'hybrid', 'status': 'ACTIVE'|'PENDING'|'PRE_PROD' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
controls (list) –
The leaf controls in the requested control group, for this page of results.
(dict) –
A summary of a leaf control returned by
ListControls, including identity and display attributes. To retrieve requirements and control intents, useGetControlorBatchGetControl.type (string) –
The type of the control.
controlId (string) –
The control identifier. Optional. If omitted, the operation applies to the full framework.
title (string) –
The human-readable title of the control.
description (string) –
A description of the control.
workflowType (string) –
How AWS Assurance evaluates the control. Applies only to leaf controls. Valid values:
automated-scan– Evaluates the configuration of your AWS resources.document– Evaluates the evidence documents that you provide.hybrid– Evaluates both resource configuration and evidence documents.
status (string) –
The lifecycle status of the control.
NextToken (string) –
A token to resume pagination.