| 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 |
Amazonka.ResilienceHub.ListAppComponentRecommendations
Description
Lists the recommendations for an AWS Resilience Hub component.
Synopsis
- data ListAppComponentRecommendations = ListAppComponentRecommendations' {}
- newListAppComponentRecommendations :: Text -> ListAppComponentRecommendations
- listAppComponentRecommendations_maxResults :: Lens' ListAppComponentRecommendations (Maybe Natural)
- listAppComponentRecommendations_nextToken :: Lens' ListAppComponentRecommendations (Maybe Text)
- listAppComponentRecommendations_assessmentArn :: Lens' ListAppComponentRecommendations Text
- data ListAppComponentRecommendationsResponse = ListAppComponentRecommendationsResponse' {}
- newListAppComponentRecommendationsResponse :: Int -> ListAppComponentRecommendationsResponse
- listAppComponentRecommendationsResponse_nextToken :: Lens' ListAppComponentRecommendationsResponse (Maybe Text)
- listAppComponentRecommendationsResponse_httpStatus :: Lens' ListAppComponentRecommendationsResponse Int
- listAppComponentRecommendationsResponse_componentRecommendations :: Lens' ListAppComponentRecommendationsResponse [ComponentRecommendation]
Creating a Request
data ListAppComponentRecommendations Source #
See: newListAppComponentRecommendations smart constructor.
Constructors
| ListAppComponentRecommendations' | |
Fields
| |
Instances
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 #
See: newListAppComponentRecommendationsResponse smart constructor.
Constructors
| ListAppComponentRecommendationsResponse' | |
Fields
| |
Instances
newListAppComponentRecommendationsResponse Source #
Arguments
| :: Int | |
| -> ListAppComponentRecommendationsResponse |
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_httpStatus :: Lens' ListAppComponentRecommendationsResponse Int Source #
The response's http status code.
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.