Assurance / Paginator / ListControlResources
ListControlResources¶
- class Assurance.Paginator.ListControlResources¶
paginator = client.get_paginator('list_control_resources')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Assurance.Client.list_control_resources().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( environmentArn='string', framework='string', frameworkVersion='string', controlId='string', project='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
environmentArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of this governance environment.
framework (string) –
[REQUIRED]
The name of the compliance framework.
frameworkVersion (string) –
[REQUIRED]
The version of the compliance framework.
controlId (string) –
[REQUIRED]
The identifier of the control.
project (string) – Optional project scope. When provided, only resources that match the project’s resource filters are considered. When omitted, all of the environment’s resources are considered.
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
{ 'resources': [ { 'resourceIdentifier': 'string', 'resourceType': 'string', 'accountId': 'string', 'region': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
resources (list) –
The discovered resources that are in scope for the control.
(dict) –
A resource that is in scope for an environment, project, or control, as returned by
ListDiscoveredResourcesandListControlResources.resourceIdentifier (string) –
The identifier (typically the ARN) of the resource.
resourceType (string) –
The resource type, in lowercase
service:typeform (for example,s3:bucket). This is the form thatresourcetype:filters use.accountId (string) –
The AWS account the resource belongs to.
region (string) –
The AWS Region that the resource is in. The value is
globalfor global resources such as IAM.
NextToken (string) –
A token to resume pagination.