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 test recommendations for the Resilience Hub application.
Synopsis
- data ListTestRecommendations = ListTestRecommendations' {}
- newListTestRecommendations :: Text -> ListTestRecommendations
- listTestRecommendations_maxResults :: Lens' ListTestRecommendations (Maybe Natural)
- listTestRecommendations_nextToken :: Lens' ListTestRecommendations (Maybe Text)
- listTestRecommendations_assessmentArn :: Lens' ListTestRecommendations Text
- data ListTestRecommendationsResponse = ListTestRecommendationsResponse' {}
- newListTestRecommendationsResponse :: Int -> ListTestRecommendationsResponse
- listTestRecommendationsResponse_nextToken :: Lens' ListTestRecommendationsResponse (Maybe Text)
- listTestRecommendationsResponse_httpStatus :: Lens' ListTestRecommendationsResponse Int
- listTestRecommendationsResponse_testRecommendations :: Lens' ListTestRecommendationsResponse [TestRecommendation]
Creating a Request
data ListTestRecommendations Source #
See: newListTestRecommendations
smart constructor.
ListTestRecommendations' | |
|
Instances
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.
ListTestRecommendationsResponse' | |
|
Instances
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.
listTestRecommendationsResponse_httpStatus :: Lens' ListTestRecommendationsResponse Int Source #
The response's http status code.
listTestRecommendationsResponse_testRecommendations :: Lens' ListTestRecommendationsResponse [TestRecommendation] Source #
The test recommendations for the Resilience Hub application.