amazonka-resiliencehub-2.0: Amazon Resilience Hub 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.ResilienceHub.ListRecommendationTemplates

Description

Lists the recommendation templates for the Resilience Hub applications.

Synopsis

Creating a Request

data ListRecommendationTemplates Source #

See: newListRecommendationTemplates smart constructor.

Constructors

ListRecommendationTemplates' 

Fields

Instances

Instances details
ToHeaders ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

ToPath ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

ToQuery ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

AWSRequest ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

Generic ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

Associated Types

type Rep ListRecommendationTemplates :: Type -> Type #

Read ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

Show ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

NFData ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

Eq ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

Hashable ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

type AWSResponse ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

type Rep ListRecommendationTemplates Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

type Rep ListRecommendationTemplates = D1 ('MetaData "ListRecommendationTemplates" "Amazonka.ResilienceHub.ListRecommendationTemplates" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListRecommendationTemplates'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "recommendationTemplateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reverseOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty RecommendationTemplateStatus))) :*: S1 ('MetaSel ('Just "assessmentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListRecommendationTemplates Source #

Create a value of ListRecommendationTemplates 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:ListRecommendationTemplates', listRecommendationTemplates_maxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

ListRecommendationTemplates, listRecommendationTemplates_name - The name for one of the listed recommendation templates.

ListRecommendationTemplates, listRecommendationTemplates_nextToken - Null, or the token from a previous call to get the next set of results.

ListRecommendationTemplates, listRecommendationTemplates_recommendationTemplateArn - The Amazon Resource Name (ARN) for a recommendation template.

$sel:reverseOrder:ListRecommendationTemplates', listRecommendationTemplates_reverseOrder - The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to true.

ListRecommendationTemplates, listRecommendationTemplates_status - The status of the action.

ListRecommendationTemplates, listRecommendationTemplates_assessmentArn - The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

Request Lenses

listRecommendationTemplates_maxResults :: Lens' ListRecommendationTemplates (Maybe Natural) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

listRecommendationTemplates_name :: Lens' ListRecommendationTemplates (Maybe Text) Source #

The name for one of the listed recommendation templates.

listRecommendationTemplates_nextToken :: Lens' ListRecommendationTemplates (Maybe Text) Source #

Null, or the token from a previous call to get the next set of results.

listRecommendationTemplates_recommendationTemplateArn :: Lens' ListRecommendationTemplates (Maybe Text) Source #

The Amazon Resource Name (ARN) for a recommendation template.

listRecommendationTemplates_reverseOrder :: Lens' ListRecommendationTemplates (Maybe Bool) Source #

The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to true.

listRecommendationTemplates_assessmentArn :: Lens' ListRecommendationTemplates Text Source #

The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.

Destructuring the Response

data ListRecommendationTemplatesResponse Source #

Constructors

ListRecommendationTemplatesResponse' 

Fields

Instances

Instances details
Generic ListRecommendationTemplatesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

Show ListRecommendationTemplatesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

NFData ListRecommendationTemplatesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

Eq ListRecommendationTemplatesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

type Rep ListRecommendationTemplatesResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListRecommendationTemplates

type Rep ListRecommendationTemplatesResponse = D1 ('MetaData "ListRecommendationTemplatesResponse" "Amazonka.ResilienceHub.ListRecommendationTemplates" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListRecommendationTemplatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recommendationTemplates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecommendationTemplate])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRecommendationTemplatesResponse Source #

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

ListRecommendationTemplates, listRecommendationTemplatesResponse_nextToken - The token for the next set of results, or null if there are no more results.

$sel:recommendationTemplates:ListRecommendationTemplatesResponse', listRecommendationTemplatesResponse_recommendationTemplates - The recommendation templates for the Resilience Hub applications.

$sel:httpStatus:ListRecommendationTemplatesResponse', listRecommendationTemplatesResponse_httpStatus - The response's http status code.

Response Lenses

listRecommendationTemplatesResponse_nextToken :: Lens' ListRecommendationTemplatesResponse (Maybe Text) Source #

The token for the next set of results, or null if there are no more results.