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.ListRecommendationFeedback

Description

Returns a list of RecommendationFeedbackSummary objects that contain customer recommendation feedback for all CodeGuru Reviewer users.

Synopsis

Creating a Request

data ListRecommendationFeedback Source #

See: newListRecommendationFeedback smart constructor.

Constructors

ListRecommendationFeedback' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results that are returned per call. The default is 100.

  • nextToken :: Maybe Text

    If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • recommendationIds :: Maybe (NonEmpty Text)

    Used to query the recommendation feedback for a given recommendation.

  • userIds :: Maybe (NonEmpty Text)

    An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use this ID to query the recommendation feedback for a code review from that user.

    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.

  • codeReviewArn :: Text

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

Instances

Instances details
ToHeaders ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

ToPath ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

ToQuery ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

AWSRequest ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Generic ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Associated Types

type Rep ListRecommendationFeedback :: Type -> Type #

Read ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Show ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

NFData ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Eq ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Hashable ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

type AWSResponse ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

type Rep ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

type Rep ListRecommendationFeedback = D1 ('MetaData "ListRecommendationFeedback" "Amazonka.CodeGuruReviewer.ListRecommendationFeedback" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "ListRecommendationFeedback'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "recommendationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "userIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "codeReviewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListRecommendationFeedback Source #

Create a value of ListRecommendationFeedback 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:maxResults:ListRecommendationFeedback', listRecommendationFeedback_maxResults - The maximum number of results that are returned per call. The default is 100.

ListRecommendationFeedback, listRecommendationFeedback_nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

$sel:recommendationIds:ListRecommendationFeedback', listRecommendationFeedback_recommendationIds - Used to query the recommendation feedback for a given recommendation.

$sel:userIds:ListRecommendationFeedback', listRecommendationFeedback_userIds - An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use this ID to query the recommendation feedback for a code review from that user.

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.

ListRecommendationFeedback, listRecommendationFeedback_codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.

Request Lenses

listRecommendationFeedback_maxResults :: Lens' ListRecommendationFeedback (Maybe Natural) Source #

The maximum number of results that are returned per call. The default is 100.

listRecommendationFeedback_nextToken :: Lens' ListRecommendationFeedback (Maybe Text) Source #

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

listRecommendationFeedback_recommendationIds :: Lens' ListRecommendationFeedback (Maybe (NonEmpty Text)) Source #

Used to query the recommendation feedback for a given recommendation.

listRecommendationFeedback_userIds :: Lens' ListRecommendationFeedback (Maybe (NonEmpty Text)) Source #

An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use this ID to query the recommendation feedback for a code review from that user.

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.

Destructuring the Response

data ListRecommendationFeedbackResponse Source #

Constructors

ListRecommendationFeedbackResponse' 

Fields

Instances

Instances details
Generic ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Associated Types

type Rep ListRecommendationFeedbackResponse :: Type -> Type #

Read ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Show ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

NFData ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Eq ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

type Rep ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

type Rep ListRecommendationFeedbackResponse = D1 ('MetaData "ListRecommendationFeedbackResponse" "Amazonka.CodeGuruReviewer.ListRecommendationFeedback" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "ListRecommendationFeedbackResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recommendationFeedbackSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecommendationFeedbackSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRecommendationFeedbackResponse Source #

Create a value of ListRecommendationFeedbackResponse 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:

ListRecommendationFeedback, listRecommendationFeedbackResponse_nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

$sel:recommendationFeedbackSummaries:ListRecommendationFeedbackResponse', listRecommendationFeedbackResponse_recommendationFeedbackSummaries - Recommendation feedback summaries corresponding to the code review ARN.

$sel:httpStatus:ListRecommendationFeedbackResponse', listRecommendationFeedbackResponse_httpStatus - The response's http status code.

Response Lenses

listRecommendationFeedbackResponse_nextToken :: Lens' ListRecommendationFeedbackResponse (Maybe Text) Source #

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.