| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeGuruReviewer.ListRecommendations
Description
Returns the list of all recommendations for a completed code review.
Synopsis
- data ListRecommendations = ListRecommendations' {}
- newListRecommendations :: Text -> ListRecommendations
- listRecommendations_maxResults :: Lens' ListRecommendations (Maybe Natural)
- listRecommendations_nextToken :: Lens' ListRecommendations (Maybe Text)
- listRecommendations_codeReviewArn :: Lens' ListRecommendations Text
- data ListRecommendationsResponse = ListRecommendationsResponse' {}
- newListRecommendationsResponse :: Int -> ListRecommendationsResponse
- listRecommendationsResponse_nextToken :: Lens' ListRecommendationsResponse (Maybe Text)
- listRecommendationsResponse_recommendationSummaries :: Lens' ListRecommendationsResponse (Maybe [RecommendationSummary])
- listRecommendationsResponse_httpStatus :: Lens' ListRecommendationsResponse Int
Creating a Request
data ListRecommendations Source #
See: newListRecommendations smart constructor.
Constructors
| ListRecommendations' | |
Fields
| |
Instances
newListRecommendations Source #
Arguments
| :: Text | |
| -> ListRecommendations |
Create a value of ListRecommendations with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:ListRecommendations', listRecommendations_maxResults - The maximum number of results that are returned per call. The default is
100.
ListRecommendations, listRecommendations_nextToken - Pagination token.
ListRecommendations, listRecommendations_codeReviewArn - The Amazon Resource Name (ARN) of the
CodeReview
object.
Request Lenses
listRecommendations_maxResults :: Lens' ListRecommendations (Maybe Natural) Source #
The maximum number of results that are returned per call. The default is 100.
listRecommendations_nextToken :: Lens' ListRecommendations (Maybe Text) Source #
Pagination token.
listRecommendations_codeReviewArn :: Lens' ListRecommendations Text Source #
The Amazon Resource Name (ARN) of the CodeReview object.
Destructuring the Response
data ListRecommendationsResponse Source #
See: newListRecommendationsResponse smart constructor.
Constructors
| ListRecommendationsResponse' | |
Fields
| |
Instances
newListRecommendationsResponse Source #
Create a value of ListRecommendationsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListRecommendations, listRecommendationsResponse_nextToken - Pagination token.
$sel:recommendationSummaries:ListRecommendationsResponse', listRecommendationsResponse_recommendationSummaries - List of recommendations for the requested code review.
$sel:httpStatus:ListRecommendationsResponse', listRecommendationsResponse_httpStatus - The response's http status code.
Response Lenses
listRecommendationsResponse_nextToken :: Lens' ListRecommendationsResponse (Maybe Text) Source #
Pagination token.
listRecommendationsResponse_recommendationSummaries :: Lens' ListRecommendationsResponse (Maybe [RecommendationSummary]) Source #
List of recommendations for the requested code review.
listRecommendationsResponse_httpStatus :: Lens' ListRecommendationsResponse Int Source #
The response's http status code.