libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data PutRecommendationFeedback Source #

See: newPutRecommendationFeedback smart constructor.

Constructors

PutRecommendationFeedback' 

Fields

  • codeReviewArn :: Text

    The Amazon Resource Name (ARN) of the CodeReview object.

  • recommendationId :: Text

    The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.

  • reactions :: [Reaction]

    List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.

Instances

Instances details
Eq PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Read PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Show PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Generic PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Associated Types

type Rep PutRecommendationFeedback :: Type -> Type #

NFData PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Hashable PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

ToJSON PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

AWSRequest PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

ToHeaders PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

ToPath PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

ToQuery PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

type Rep PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

type Rep PutRecommendationFeedback = D1 ('MetaData "PutRecommendationFeedback" "Amazonka.CodeGuruReviewer.PutRecommendationFeedback" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "PutRecommendationFeedback'" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeReviewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "reactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Reaction]))))
type AWSResponse PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

newPutRecommendationFeedback Source #

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:

$sel:codeReviewArn:PutRecommendationFeedback', putRecommendationFeedback_codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.

$sel:recommendationId:PutRecommendationFeedback', putRecommendationFeedback_recommendationId - The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.

$sel:reactions: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_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

Instances details
Eq PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Read PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Show PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Generic PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Associated Types

type Rep PutRecommendationFeedbackResponse :: Type -> Type #

NFData PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

type Rep PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

type Rep PutRecommendationFeedbackResponse = D1 ('MetaData "PutRecommendationFeedbackResponse" "Amazonka.CodeGuruReviewer.PutRecommendationFeedback" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "PutRecommendationFeedbackResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutRecommendationFeedbackResponse Source #

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