| 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.PutRecommendationFeedback
Description
Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
Synopsis
- data PutRecommendationFeedback = PutRecommendationFeedback' {
- codeReviewArn :: Text
- recommendationId :: Text
- reactions :: [Reaction]
- newPutRecommendationFeedback :: Text -> Text -> PutRecommendationFeedback
- putRecommendationFeedback_codeReviewArn :: Lens' PutRecommendationFeedback Text
- putRecommendationFeedback_recommendationId :: Lens' PutRecommendationFeedback Text
- putRecommendationFeedback_reactions :: Lens' PutRecommendationFeedback [Reaction]
- data PutRecommendationFeedbackResponse = PutRecommendationFeedbackResponse' {
- httpStatus :: Int
- newPutRecommendationFeedbackResponse :: Int -> PutRecommendationFeedbackResponse
- putRecommendationFeedbackResponse_httpStatus :: Lens' PutRecommendationFeedbackResponse Int
Creating a Request
data PutRecommendationFeedback Source #
See: newPutRecommendationFeedback smart constructor.
Constructors
| PutRecommendationFeedback' | |
Fields
| |
Instances
newPutRecommendationFeedback Source #
Arguments
| :: Text | |
| -> Text | |
| -> PutRecommendationFeedback |
Create a value of PutRecommendationFeedback 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:
PutRecommendationFeedback, putRecommendationFeedback_codeReviewArn - The Amazon Resource Name (ARN) of the
CodeReview
object.
PutRecommendationFeedback, putRecommendationFeedback_recommendationId - The recommendation ID that can be used to track the provided
recommendations and then to collect the feedback.
PutRecommendationFeedback, putRecommendationFeedback_reactions - List for storing reactions. Reactions are utf-8 text code for emojis. If
you send an empty list it clears all your feedback.
Request Lenses
putRecommendationFeedback_codeReviewArn :: Lens' PutRecommendationFeedback Text Source #
The Amazon Resource Name (ARN) of the CodeReview object.
putRecommendationFeedback_recommendationId :: Lens' PutRecommendationFeedback Text Source #
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
putRecommendationFeedback_reactions :: Lens' PutRecommendationFeedback [Reaction] Source #
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
Destructuring the Response
data PutRecommendationFeedbackResponse Source #
See: newPutRecommendationFeedbackResponse smart constructor.
Constructors
| PutRecommendationFeedbackResponse' | |
Fields
| |
Instances
newPutRecommendationFeedbackResponse Source #
Arguments
| :: Int | |
| -> PutRecommendationFeedbackResponse |
Create a value of PutRecommendationFeedbackResponse 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:httpStatus:PutRecommendationFeedbackResponse', putRecommendationFeedbackResponse_httpStatus - The response's http status code.
Response Lenses
putRecommendationFeedbackResponse_httpStatus :: Lens' PutRecommendationFeedbackResponse Int Source #
The response's http status code.