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 |
Describes the customer feedback for a CodeGuru Reviewer recommendation.
Synopsis
- data DescribeRecommendationFeedback = DescribeRecommendationFeedback' {
- userId :: Maybe Text
- codeReviewArn :: Text
- recommendationId :: Text
- newDescribeRecommendationFeedback :: Text -> Text -> DescribeRecommendationFeedback
- describeRecommendationFeedback_userId :: Lens' DescribeRecommendationFeedback (Maybe Text)
- describeRecommendationFeedback_codeReviewArn :: Lens' DescribeRecommendationFeedback Text
- describeRecommendationFeedback_recommendationId :: Lens' DescribeRecommendationFeedback Text
- data DescribeRecommendationFeedbackResponse = DescribeRecommendationFeedbackResponse' {}
- newDescribeRecommendationFeedbackResponse :: Int -> DescribeRecommendationFeedbackResponse
- describeRecommendationFeedbackResponse_recommendationFeedback :: Lens' DescribeRecommendationFeedbackResponse (Maybe RecommendationFeedback)
- describeRecommendationFeedbackResponse_httpStatus :: Lens' DescribeRecommendationFeedbackResponse Int
Creating a Request
data DescribeRecommendationFeedback Source #
See: newDescribeRecommendationFeedback
smart constructor.
DescribeRecommendationFeedback' | |
|
Instances
newDescribeRecommendationFeedback Source #
Create a value of DescribeRecommendationFeedback
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:userId:DescribeRecommendationFeedback'
, describeRecommendationFeedback_userId
- Optional parameter to describe the feedback for a given user. If this is
not supplied, it defaults to the user making the request.
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.
$sel:codeReviewArn:DescribeRecommendationFeedback'
, describeRecommendationFeedback_codeReviewArn
- The Amazon Resource Name (ARN) of the
CodeReview
object.
$sel:recommendationId:DescribeRecommendationFeedback'
, describeRecommendationFeedback_recommendationId
- The recommendation ID that can be used to track the provided
recommendations and then to collect the feedback.
Request Lenses
describeRecommendationFeedback_userId :: Lens' DescribeRecommendationFeedback (Maybe Text) Source #
Optional parameter to describe the feedback for a given user. If this is not supplied, it defaults to the user making the request.
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.
describeRecommendationFeedback_codeReviewArn :: Lens' DescribeRecommendationFeedback Text Source #
The Amazon Resource Name (ARN) of the CodeReview object.
describeRecommendationFeedback_recommendationId :: Lens' DescribeRecommendationFeedback Text Source #
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
Destructuring the Response
data DescribeRecommendationFeedbackResponse Source #
See: newDescribeRecommendationFeedbackResponse
smart constructor.
DescribeRecommendationFeedbackResponse' | |
|
Instances
newDescribeRecommendationFeedbackResponse Source #
Create a value of DescribeRecommendationFeedbackResponse
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:recommendationFeedback:DescribeRecommendationFeedbackResponse'
, describeRecommendationFeedbackResponse_recommendationFeedback
- The recommendation feedback given by the user.
$sel:httpStatus:DescribeRecommendationFeedbackResponse'
, describeRecommendationFeedbackResponse_httpStatus
- The response's http status code.
Response Lenses
describeRecommendationFeedbackResponse_recommendationFeedback :: Lens' DescribeRecommendationFeedbackResponse (Maybe RecommendationFeedback) Source #
The recommendation feedback given by the user.
describeRecommendationFeedbackResponse_httpStatus :: Lens' DescribeRecommendationFeedbackResponse Int Source #
The response's http status code.