amazonka-codeguru-reviewer-2.0: Amazon CodeGuru Reviewer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Show PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

NFData PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Eq PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Hashable PutRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

type AWSResponse 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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]))))

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:

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_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
Generic PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Associated Types

type Rep PutRecommendationFeedbackResponse :: Type -> Type #

Read PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Show PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

NFData PutRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.PutRecommendationFeedback

Eq 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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