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

Description

Lists the recommendations for an AWS Resilience Hub component.

Synopsis

Creating a Request

data ListAppComponentRecommendations Source #

See: newListAppComponentRecommendations smart constructor.

Constructors

ListAppComponentRecommendations' 

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 ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

ToHeaders ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

ToPath ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

ToQuery ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

AWSRequest ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

Generic ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

Associated Types

type Rep ListAppComponentRecommendations :: Type -> Type #

Read ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

Show ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

NFData ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

Eq ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

Hashable ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

type AWSResponse ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

type Rep ListAppComponentRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

type Rep ListAppComponentRecommendations = D1 ('MetaData "ListAppComponentRecommendations" "Amazonka.ResilienceHub.ListAppComponentRecommendations" "amazonka-resiliencehub-2.0-EsKgNhAb0B96cCxrYtrBzG" 'False) (C1 ('MetaCons "ListAppComponentRecommendations'" '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))))

newListAppComponentRecommendations Source #

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

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

ListAppComponentRecommendations, listAppComponentRecommendations_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

listAppComponentRecommendations_maxResults :: Lens' ListAppComponentRecommendations (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.

listAppComponentRecommendations_nextToken :: Lens' ListAppComponentRecommendations (Maybe Text) Source #

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

listAppComponentRecommendations_assessmentArn :: Lens' ListAppComponentRecommendations 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 ListAppComponentRecommendationsResponse Source #

Constructors

ListAppComponentRecommendationsResponse' 

Fields

Instances

Instances details
Generic ListAppComponentRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

Read ListAppComponentRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

Show ListAppComponentRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

NFData ListAppComponentRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

Eq ListAppComponentRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

type Rep ListAppComponentRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAppComponentRecommendations

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

newListAppComponentRecommendationsResponse Source #

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

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

$sel:httpStatus:ListAppComponentRecommendationsResponse', listAppComponentRecommendationsResponse_httpStatus - The response's http status code.

$sel:componentRecommendations:ListAppComponentRecommendationsResponse', listAppComponentRecommendationsResponse_componentRecommendations - The recommendations for an Resilience Hub application component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.

Response Lenses

listAppComponentRecommendationsResponse_nextToken :: Lens' ListAppComponentRecommendationsResponse (Maybe Text) Source #

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

listAppComponentRecommendationsResponse_componentRecommendations :: Lens' ListAppComponentRecommendationsResponse [ComponentRecommendation] Source #

The recommendations for an Resilience Hub application component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.