recommendations
Creates, updates, deletes, gets or lists a recommendations resource.
Overview
| Name | recommendations |
| Type | Resource |
| Id | aws.codeguru_reviewer.recommendations |
Fields
The following fields are returned by SELECT queries:
- list_recommendations
| Name | Datatype | Description |
|---|---|---|
next_token | string | Pagination token. |
recommendation_summaries | array | List of recommendations for the requested code review. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_recommendations | select | code_review_arn, region | NextToken, MaxResults | Returns the list of all recommendations for a completed code review. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
code_review_arn | string | The Amazon Resource Name (ARN) of the CodeReview object. |
region | string | AWS region (default: us-east-1) |
MaxResults | integer | The maximum number of results that are returned per call. The default is 100. |
NextToken | string | Pagination token. |
SELECT examples
- list_recommendations
Returns the list of all recommendations for a completed code review.
SELECT
next_token,
recommendation_summaries
FROM aws.codeguru_reviewer.recommendations
WHERE code_review_arn = '{{ code_review_arn }}' -- required
AND region = '{{ region }}' -- required
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
;