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

Description

Lists the alarm recommendations for a AWS Resilience Hub application.

Synopsis

Creating a Request

data ListAlarmRecommendations Source #

See: newListAlarmRecommendations smart constructor.

Constructors

ListAlarmRecommendations' 

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

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

ToHeaders ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

ToPath ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

ToQuery ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

AWSRequest ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

Generic ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

Associated Types

type Rep ListAlarmRecommendations :: Type -> Type #

Read ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

Show ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

NFData ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

Eq ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

Hashable ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

type AWSResponse ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

type Rep ListAlarmRecommendations Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

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

newListAlarmRecommendations Source #

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

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

ListAlarmRecommendations, listAlarmRecommendations_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

listAlarmRecommendations_maxResults :: Lens' ListAlarmRecommendations (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.

listAlarmRecommendations_nextToken :: Lens' ListAlarmRecommendations (Maybe Text) Source #

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

listAlarmRecommendations_assessmentArn :: Lens' ListAlarmRecommendations 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 ListAlarmRecommendationsResponse Source #

See: newListAlarmRecommendationsResponse smart constructor.

Constructors

ListAlarmRecommendationsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

  • alarmRecommendations :: [AlarmRecommendation]

    The alarm recommendations for an AWS Resilience Hub application, returned as an object. This object includes application component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.

Instances

Instances details
Generic ListAlarmRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

Associated Types

type Rep ListAlarmRecommendationsResponse :: Type -> Type #

Read ListAlarmRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

Show ListAlarmRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

NFData ListAlarmRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

Eq ListAlarmRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

type Rep ListAlarmRecommendationsResponse Source # 
Instance details

Defined in Amazonka.ResilienceHub.ListAlarmRecommendations

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

newListAlarmRecommendationsResponse Source #

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

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

$sel:httpStatus:ListAlarmRecommendationsResponse', listAlarmRecommendationsResponse_httpStatus - The response's http status code.

$sel:alarmRecommendations:ListAlarmRecommendationsResponse', listAlarmRecommendationsResponse_alarmRecommendations - The alarm recommendations for an AWS Resilience Hub application, returned as an object. This object includes application component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.

Response Lenses

listAlarmRecommendationsResponse_nextToken :: Lens' ListAlarmRecommendationsResponse (Maybe Text) Source #

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

listAlarmRecommendationsResponse_alarmRecommendations :: Lens' ListAlarmRecommendationsResponse [AlarmRecommendation] Source #

The alarm recommendations for an AWS Resilience Hub application, returned as an object. This object includes application component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.