SecurityAgent / Paginator / ListIntegratedResources
ListIntegratedResources¶
- class SecurityAgent.Paginator.ListIntegratedResources¶
paginator = client.get_paginator('list_integrated_resources')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
SecurityAgent.Client.list_integrated_resources().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( agentSpaceId='string', integrationId='string', resourceType='CODE_REPOSITORY', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
agentSpaceId (string) –
[REQUIRED]
Unique identifier of the agent space
integrationId (string) – Filter integrated resources by a specific integration
resourceType (string) – Filter integrated resources by resource type
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
{ 'integratedResourceSummaries': [ { 'integrationId': 'string', 'resource': { 'githubRepository': { 'name': 'string', 'providerResourceId': 'string', 'owner': 'string', 'accessType': 'PRIVATE'|'PUBLIC' } }, 'capabilities': { 'github': { 'leaveComments': True|False, 'remediateCode': True|False } } }, ], 'NextToken': 'string' }
Response Structure
(dict) –
integratedResourceSummaries (list) –
List of integrated resources
(dict) –
Summary information about an integrated resource
integrationId (string) –
Unique identifier of the integration
resource (dict) –
The integrated resource details
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
githubRepository. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
githubRepository (dict) –
Metadata for a GitHub repository resource
name (string) –
Name of the resource e.g. repository name, etc
providerResourceId (string) –
Unique resource identifier from the vendor
owner (string) –
Owner of the repository
accessType (string) –
Access / Visibility Type of the integrated resource
capabilities (dict) –
Capabilities of the integrated resource
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
github. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
github (dict) –
Capabilities for GitHub repositories
leaveComments (boolean) –
Post code review comments on pull requests
remediateCode (boolean) –
Create pull requests with automated fixes
NextToken (string) –
A token to resume pagination.