Assurance / Client / list_control_groups
list_control_groups¶
- Assurance.Client.list_control_groups(**kwargs)¶
Lists the control groups in a framework version. Each entry is a summary without the group’s child controls. To get the controls in a group, call
ListControlswith the group’scontrolId.See also: AWS API Documentation
Request Syntax
response = client.list_control_groups( environmentArn='string', framework='string', frameworkVersion='string', maxResults=123, nextToken='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.
maxResults (integer) – The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the
nextTokenvalue from the response to get the next page.nextToken (string) – The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
- 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) –
The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
Exceptions
Assurance.Client.exceptions.ValidationExceptionAssurance.Client.exceptions.InternalServerExceptionAssurance.Client.exceptions.ThrottlingExceptionAssurance.Client.exceptions.AccessDeniedExceptionAssurance.Client.exceptions.ResourceNotFoundException