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 |
Returns a list of RecommendationFeedbackSummary objects that contain customer recommendation feedback for all CodeGuru Reviewer users.
Synopsis
- data ListRecommendationFeedback = ListRecommendationFeedback' {}
- newListRecommendationFeedback :: Text -> ListRecommendationFeedback
- listRecommendationFeedback_maxResults :: Lens' ListRecommendationFeedback (Maybe Natural)
- listRecommendationFeedback_nextToken :: Lens' ListRecommendationFeedback (Maybe Text)
- listRecommendationFeedback_recommendationIds :: Lens' ListRecommendationFeedback (Maybe (NonEmpty Text))
- listRecommendationFeedback_userIds :: Lens' ListRecommendationFeedback (Maybe (NonEmpty Text))
- listRecommendationFeedback_codeReviewArn :: Lens' ListRecommendationFeedback Text
- data ListRecommendationFeedbackResponse = ListRecommendationFeedbackResponse' {}
- newListRecommendationFeedbackResponse :: Int -> ListRecommendationFeedbackResponse
- listRecommendationFeedbackResponse_nextToken :: Lens' ListRecommendationFeedbackResponse (Maybe Text)
- listRecommendationFeedbackResponse_recommendationFeedbackSummaries :: Lens' ListRecommendationFeedbackResponse (Maybe [RecommendationFeedbackSummary])
- listRecommendationFeedbackResponse_httpStatus :: Lens' ListRecommendationFeedbackResponse Int
Creating a Request
data ListRecommendationFeedback Source #
See: newListRecommendationFeedback
smart constructor.
ListRecommendationFeedback' | |
|
Instances
newListRecommendationFeedback Source #
Create a value of ListRecommendationFeedback
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:ListRecommendationFeedback'
, listRecommendationFeedback_maxResults
- The maximum number of results that are returned per call. The default is
100.
ListRecommendationFeedback
, listRecommendationFeedback_nextToken
- If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged.
$sel:recommendationIds:ListRecommendationFeedback'
, listRecommendationFeedback_recommendationIds
- Used to query the recommendation feedback for a given recommendation.
$sel:userIds:ListRecommendationFeedback'
, listRecommendationFeedback_userIds
- An Amazon Web Services user's account ID or Amazon Resource Name (ARN).
Use this ID to query the recommendation feedback for a code review from
that user.
The UserId
is an IAM principal that can be specified as an Amazon Web
Services account ID or an Amazon Resource Name (ARN). For more
information, see
Specifying a Principal
in the Amazon Web Services Identity and Access Management User Guide.
ListRecommendationFeedback
, listRecommendationFeedback_codeReviewArn
- The Amazon Resource Name (ARN) of the
CodeReview
object.
Request Lenses
listRecommendationFeedback_maxResults :: Lens' ListRecommendationFeedback (Maybe Natural) Source #
The maximum number of results that are returned per call. The default is 100.
listRecommendationFeedback_nextToken :: Lens' ListRecommendationFeedback (Maybe Text) Source #
If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged.
listRecommendationFeedback_recommendationIds :: Lens' ListRecommendationFeedback (Maybe (NonEmpty Text)) Source #
Used to query the recommendation feedback for a given recommendation.
listRecommendationFeedback_userIds :: Lens' ListRecommendationFeedback (Maybe (NonEmpty Text)) Source #
An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use this ID to query the recommendation feedback for a code review from that user.
The UserId
is an IAM principal that can be specified as an Amazon Web
Services account ID or an Amazon Resource Name (ARN). For more
information, see
Specifying a Principal
in the Amazon Web Services Identity and Access Management User Guide.
listRecommendationFeedback_codeReviewArn :: Lens' ListRecommendationFeedback Text Source #
The Amazon Resource Name (ARN) of the CodeReview object.
Destructuring the Response
data ListRecommendationFeedbackResponse Source #
See: newListRecommendationFeedbackResponse
smart constructor.
ListRecommendationFeedbackResponse' | |
|
Instances
newListRecommendationFeedbackResponse Source #
Create a value of ListRecommendationFeedbackResponse
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:
ListRecommendationFeedback
, listRecommendationFeedbackResponse_nextToken
- If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged.
$sel:recommendationFeedbackSummaries:ListRecommendationFeedbackResponse'
, listRecommendationFeedbackResponse_recommendationFeedbackSummaries
- Recommendation feedback summaries corresponding to the code review ARN.
$sel:httpStatus:ListRecommendationFeedbackResponse'
, listRecommendationFeedbackResponse_httpStatus
- The response's http status code.
Response Lenses
listRecommendationFeedbackResponse_nextToken :: Lens' ListRecommendationFeedbackResponse (Maybe Text) Source #
If nextToken
is returned, there are more results available. The value
of nextToken
is a unique pagination token for each page. Make the call
again using the returned token to retrieve the next page. Keep all other
arguments unchanged.
listRecommendationFeedbackResponse_recommendationFeedbackSummaries :: Lens' ListRecommendationFeedbackResponse (Maybe [RecommendationFeedbackSummary]) Source #
Recommendation feedback summaries corresponding to the code review ARN.
listRecommendationFeedbackResponse_httpStatus :: Lens' ListRecommendationFeedbackResponse Int Source #
The response's http status code.