libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
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.DevOpsGuru.ListRecommendations

Description

Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRecommendations Source #

See: newListRecommendations smart constructor.

Constructors

ListRecommendations' 

Fields

  • locale :: Maybe Locale

    A locale that specifies the language to use for recommendations.

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

  • insightId :: Text

    The ID of the requested insight.

Instances

Instances details
Eq ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Read ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Show ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Generic ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Associated Types

type Rep ListRecommendations :: Type -> Type #

NFData ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Methods

rnf :: ListRecommendations -> () #

Hashable ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

ToJSON ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

AWSPager ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

AWSRequest ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Associated Types

type AWSResponse ListRecommendations #

ToHeaders ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

ToPath ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

ToQuery ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

type Rep ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

type Rep ListRecommendations = D1 ('MetaData "ListRecommendations" "Amazonka.DevOpsGuru.ListRecommendations" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "ListRecommendations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Locale)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "insightId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListRecommendations Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

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:locale:ListRecommendations', listRecommendations_locale - A locale that specifies the language to use for recommendations.

$sel:nextToken:ListRecommendations', listRecommendations_nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

$sel:insightId:ListRecommendations', listRecommendations_insightId - The ID of the requested insight.

Request Lenses

listRecommendations_locale :: Lens' ListRecommendations (Maybe Locale) Source #

A locale that specifies the language to use for recommendations.

listRecommendations_nextToken :: Lens' ListRecommendations (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

Destructuring the Response

data ListRecommendationsResponse Source #

See: newListRecommendationsResponse smart constructor.

Constructors

ListRecommendationsResponse' 

Fields

Instances

Instances details
Eq ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Read ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Show ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Generic ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

Associated Types

type Rep ListRecommendationsResponse :: Type -> Type #

NFData ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

type Rep ListRecommendationsResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.ListRecommendations

type Rep ListRecommendationsResponse = D1 ('MetaData "ListRecommendationsResponse" "Amazonka.DevOpsGuru.ListRecommendations" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "ListRecommendationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recommendations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Recommendation])) :*: 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:

$sel:nextToken:ListRecommendations', listRecommendationsResponse_nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

$sel:recommendations:ListRecommendationsResponse', listRecommendationsResponse_recommendations - An array of the requested recommendations.

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

Response Lenses

listRecommendationsResponse_nextToken :: Lens' ListRecommendationsResponse (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.