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.Types.RecommendationFeedback

Description

 
Synopsis

Documentation

data RecommendationFeedback Source #

Information about the recommendation feedback.

See: newRecommendationFeedback smart constructor.

Constructors

RecommendationFeedback' 

Fields

Instances

Instances details
Eq RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Read RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Show RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Generic RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Associated Types

type Rep RecommendationFeedback :: Type -> Type #

NFData RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Methods

rnf :: RecommendationFeedback -> () #

Hashable RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

FromJSON RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

type Rep RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

type Rep RecommendationFeedback = D1 ('MetaData "RecommendationFeedback" "Amazonka.CodeGuruReviewer.Types.RecommendationFeedback" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RecommendationFeedback'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Reaction])))) :*: (S1 ('MetaSel ('Just "codeReviewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdatedTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newRecommendationFeedback :: RecommendationFeedback Source #

Create a value of RecommendationFeedback 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:recommendationId:RecommendationFeedback', recommendationFeedback_recommendationId - The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

$sel:userId:RecommendationFeedback', recommendationFeedback_userId - The ID of the user that made the API call.

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:reactions:RecommendationFeedback', recommendationFeedback_reactions - List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.

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

$sel:createdTimeStamp:RecommendationFeedback', recommendationFeedback_createdTimeStamp - The time at which the feedback was created.

$sel:lastUpdatedTimeStamp:RecommendationFeedback', recommendationFeedback_lastUpdatedTimeStamp - The time at which the feedback was last updated.

recommendationFeedback_recommendationId :: Lens' RecommendationFeedback (Maybe Text) Source #

The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

recommendationFeedback_userId :: Lens' RecommendationFeedback (Maybe Text) Source #

The ID of the user that made the API call.

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.

recommendationFeedback_reactions :: Lens' RecommendationFeedback (Maybe [Reaction]) Source #

List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.