Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns the list of all recommendations for a completed code review.
Synopsis
- data ListRecommendations = ListRecommendations' {}
- newListRecommendations :: Text -> ListRecommendations
- listRecommendations_nextToken :: Lens' ListRecommendations (Maybe Text)
- listRecommendations_maxResults :: Lens' ListRecommendations (Maybe Natural)
- 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.
ListRecommendations' | |
|
Instances
newListRecommendations Source #
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:nextToken:ListRecommendations'
, listRecommendations_nextToken
- Pagination token.
$sel:maxResults:ListRecommendations'
, listRecommendations_maxResults
- The maximum number of results that are returned per call. The default is
100.
$sel:codeReviewArn:ListRecommendations'
, listRecommendations_codeReviewArn
- The Amazon Resource Name (ARN) of the
CodeReview
object.
Request Lenses
listRecommendations_nextToken :: Lens' ListRecommendations (Maybe Text) Source #
Pagination token.
listRecommendations_maxResults :: Lens' ListRecommendations (Maybe Natural) Source #
The maximum number of results that are returned per call. The default is 100.
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.
ListRecommendationsResponse' | |
|
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:
$sel:nextToken: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.