SecurityAgent / Client / list_code_reviews
list_code_reviews¶
- SecurityAgent.Client.list_code_reviews(**kwargs)¶
Returns a paginated list of code review summaries for the specified agent space.
See also: AWS API Documentation
Request Syntax
response = client.list_code_reviews( maxResults=123, nextToken='string', agentSpaceId='string' )
- Parameters:
maxResults (integer) – The maximum number of results to return in a single call.
nextToken (string) – A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
agentSpaceId (string) –
[REQUIRED]
The unique identifier of the agent space to list code reviews for.
- Return type:
dict
- Returns:
Response Syntax
{ 'codeReviewSummaries': [ { 'codeReviewId': 'string', 'agentSpaceId': 'string', 'title': 'string', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
Output for the ListCodeReviews operation.
codeReviewSummaries (list) –
The list of code review summaries.
(dict) –
Contains summary information about a code review.
codeReviewId (string) –
The unique identifier of the code review.
agentSpaceId (string) –
The unique identifier of the agent space that contains the code review.
title (string) –
The title of the code review.
createdAt (datetime) –
The date and time the code review was created, in UTC format.
updatedAt (datetime) –
The date and time the code review was last updated, in UTC format.
nextToken (string) –
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.