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

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

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

  • maxResults :: Maybe Natural

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

  • codeReviewArn :: Text

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

Instances

Instances details
Eq ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Read ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

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

NFData ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Hashable ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

AWSRequest ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

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

type Rep ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

type Rep ListRecommendationFeedback = D1 ('MetaData "ListRecommendationFeedback" "Amazonka.CodeGuruReviewer.ListRecommendationFeedback" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "ListRecommendationFeedback'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "userIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "recommendationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "codeReviewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListRecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

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

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

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

Request Lenses

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.

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_maxResults :: Lens' ListRecommendationFeedback (Maybe Natural) Source #

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

Destructuring the Response

data ListRecommendationFeedbackResponse Source #

Constructors

ListRecommendationFeedbackResponse' 

Fields

Instances

Instances details
Eq ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Read ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Show ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Generic ListRecommendationFeedbackResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendationFeedback

Associated Types

type Rep ListRecommendationFeedbackResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" '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:

$sel:nextToken: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.