Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Lists the alarm recommendations for a AWS Resilience Hub application.
Synopsis
- data ListAlarmRecommendations = ListAlarmRecommendations' {}
- newListAlarmRecommendations :: Text -> ListAlarmRecommendations
- listAlarmRecommendations_maxResults :: Lens' ListAlarmRecommendations (Maybe Natural)
- listAlarmRecommendations_nextToken :: Lens' ListAlarmRecommendations (Maybe Text)
- listAlarmRecommendations_assessmentArn :: Lens' ListAlarmRecommendations Text
- data ListAlarmRecommendationsResponse = ListAlarmRecommendationsResponse' {}
- newListAlarmRecommendationsResponse :: Int -> ListAlarmRecommendationsResponse
- listAlarmRecommendationsResponse_nextToken :: Lens' ListAlarmRecommendationsResponse (Maybe Text)
- listAlarmRecommendationsResponse_httpStatus :: Lens' ListAlarmRecommendationsResponse Int
- listAlarmRecommendationsResponse_alarmRecommendations :: Lens' ListAlarmRecommendationsResponse [AlarmRecommendation]
Creating a Request
data ListAlarmRecommendations Source #
See: newListAlarmRecommendations
smart constructor.
ListAlarmRecommendations' | |
|
Instances
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.
ListAlarmRecommendationsResponse' | |
|
Instances
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_httpStatus :: Lens' ListAlarmRecommendationsResponse Int Source #
The response's http status code.
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.