Assurance / Client / list_frameworks
list_frameworks¶
- Assurance.Client.list_frameworks(**kwargs)¶
Lists frameworks by type, with optional pagination. When
typeis omitted, the operation returns both MANAGED and CUSTOM frameworks.See also: AWS API Documentation
Request Syntax
response = client.list_frameworks( type='MANAGED'|'CUSTOM', environmentArn='string', maxResults=123, nextToken='string' )
- Parameters:
type (string) – The optional filter. Values are MANAGED, CUSTOM, or omit for both.
environmentArn (string) –
[REQUIRED]
The ARN of this governance environment.
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
{ 'frameworks': [ { 'type': 'MANAGED'|'CUSTOM', 'framework': 'string', 'environment': 'string', 'frameworkVersion': 'string', 'title': 'string', 'status': 'ACTIVE'|'PENDING'|'PRE_PROD' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
frameworks (list) –
The list of compliance frameworks.
(dict) –
Summary of a framework resource.
type (string) –
The type of the compliance framework.
framework (string) –
The name of the compliance framework.
environment (string) –
The name of the governance environment the framework belongs to.
frameworkVersion (string) –
The framework version.
title (string) –
The human-readable title of the framework.
status (string) –
The lifecycle status of the framework.
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