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

Description

Lists the test recommendations for the Resilience Hub application.

Synopsis

Creating a Request

data ListTestRecommendations Source #

See: newListTestRecommendations smart constructor.

Constructors

ListTestRecommendations' 

Fields

  • maxResults :: Maybe Natural

    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.

  • nextToken :: Maybe Text

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

  • assessmentArn :: Text

    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.

Instances

Instances details
ToJSON ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

ToHeaders ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

ToPath ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

ToQuery ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

AWSRequest ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

Generic ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

Associated Types

type Rep ListTestRecommendations :: Type -> Type #

Read ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

Show ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

NFData ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

Methods

rnf :: ListTestRecommendations -> () #

Eq ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

Hashable ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

type AWSResponse ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

type Rep ListTestRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

type Rep ListTestRecommendations = D1 ('MetaData "ListTestRecommendations" "Amazonka.ResilienceHub.ListTestRecommendations" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListTestRecommendations'" '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 "assessmentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListTestRecommendations Source #

Create a value of ListTestRecommendations 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:ListTestRecommendations', listTestRecommendations_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.

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

ListTestRecommendations, listTestRecommendations_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

listTestRecommendations_maxResults :: Lens' ListTestRecommendations (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.

listTestRecommendations_nextToken :: Lens' ListTestRecommendations (Maybe Text) Source #

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

listTestRecommendations_assessmentArn :: Lens' ListTestRecommendations 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 ListTestRecommendationsResponse Source #

See: newListTestRecommendationsResponse smart constructor.

Constructors

ListTestRecommendationsResponse' 

Fields

Instances

Instances details
Generic ListTestRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

Associated Types

type Rep ListTestRecommendationsResponse :: Type -> Type #

Read ListTestRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

Show ListTestRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

NFData ListTestRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

Eq ListTestRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

type Rep ListTestRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListTestRecommendations

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

newListTestRecommendationsResponse Source #

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

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

$sel:httpStatus:ListTestRecommendationsResponse', listTestRecommendationsResponse_httpStatus - The response's http status code.

$sel:testRecommendations:ListTestRecommendationsResponse', listTestRecommendationsResponse_testRecommendations - The test recommendations for the Resilience Hub application.

Response Lenses

listTestRecommendationsResponse_nextToken :: Lens' ListTestRecommendationsResponse (Maybe Text) Source #

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