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

Description

Returns the list of all recommendations for a completed code review.

Synopsis

Creating a Request

data ListRecommendations Source #

See: newListRecommendations smart constructor.

Constructors

ListRecommendations' 

Fields

Instances

Instances details
ToHeaders ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

ToPath ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

ToQuery ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

AWSRequest ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

Associated Types

type AWSResponse ListRecommendations #

Generic ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

Associated Types

type Rep ListRecommendations :: Type -> Type #

Read ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

Show ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

NFData ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

Methods

rnf :: ListRecommendations -> () #

Eq ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

Hashable ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

type AWSResponse ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

type Rep ListRecommendations Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

type Rep ListRecommendations = D1 ('MetaData "ListRecommendations" "Amazonka.CodeGuruReviewer.ListRecommendations" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "ListRecommendations'" '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 "codeReviewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListRecommendations Source #

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

ListRecommendations, listRecommendations_nextToken - Pagination token.

ListRecommendations, listRecommendations_codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.

Request Lenses

listRecommendations_maxResults :: Lens' ListRecommendations (Maybe Natural) Source #

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

listRecommendations_codeReviewArn :: Lens' ListRecommendations Text Source #

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

Destructuring the Response

data ListRecommendationsResponse Source #

See: newListRecommendationsResponse smart constructor.

Constructors

ListRecommendationsResponse' 

Fields

Instances

Instances details
Generic ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

Associated Types

type Rep ListRecommendationsResponse :: Type -> Type #

Read ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

Show ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

NFData ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

Eq ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

type Rep ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.ListRecommendations

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

newListRecommendationsResponse Source #

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

ListRecommendations, listRecommendationsResponse_nextToken - Pagination token.

$sel:recommendationSummaries:ListRecommendationsResponse', listRecommendationsResponse_recommendationSummaries - List of recommendations for the requested code review.

$sel:httpStatus:ListRecommendationsResponse', listRecommendationsResponse_httpStatus - The response's http status code.

Response Lenses