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 standard operating procedure (SOP) recommendations for the Resilience Hub applications.
Synopsis
- data ListSopRecommendations = ListSopRecommendations' {}
- newListSopRecommendations :: Text -> ListSopRecommendations
- listSopRecommendations_maxResults :: Lens' ListSopRecommendations (Maybe Natural)
- listSopRecommendations_nextToken :: Lens' ListSopRecommendations (Maybe Text)
- listSopRecommendations_assessmentArn :: Lens' ListSopRecommendations Text
- data ListSopRecommendationsResponse = ListSopRecommendationsResponse' {}
- newListSopRecommendationsResponse :: Int -> ListSopRecommendationsResponse
- listSopRecommendationsResponse_nextToken :: Lens' ListSopRecommendationsResponse (Maybe Text)
- listSopRecommendationsResponse_httpStatus :: Lens' ListSopRecommendationsResponse Int
- listSopRecommendationsResponse_sopRecommendations :: Lens' ListSopRecommendationsResponse [SopRecommendation]
Creating a Request
data ListSopRecommendations Source #
See: newListSopRecommendations
smart constructor.
ListSopRecommendations' | |
|
Instances
newListSopRecommendations Source #
Create a value of ListSopRecommendations
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:ListSopRecommendations'
, listSopRecommendations_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.
ListSopRecommendations
, listSopRecommendations_nextToken
- Null, or the token from a previous call to get the next set of results.
ListSopRecommendations
, listSopRecommendations_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
listSopRecommendations_maxResults :: Lens' ListSopRecommendations (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.
listSopRecommendations_nextToken :: Lens' ListSopRecommendations (Maybe Text) Source #
Null, or the token from a previous call to get the next set of results.
listSopRecommendations_assessmentArn :: Lens' ListSopRecommendations 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 ListSopRecommendationsResponse Source #
See: newListSopRecommendationsResponse
smart constructor.
ListSopRecommendationsResponse' | |
|
Instances
newListSopRecommendationsResponse Source #
Create a value of ListSopRecommendationsResponse
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:
ListSopRecommendations
, listSopRecommendationsResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListSopRecommendationsResponse'
, listSopRecommendationsResponse_httpStatus
- The response's http status code.
$sel:sopRecommendations:ListSopRecommendationsResponse'
, listSopRecommendationsResponse_sopRecommendations
- The standard operating procedure (SOP) recommendations for the
Resilience Hub applications.
Response Lenses
listSopRecommendationsResponse_nextToken :: Lens' ListSopRecommendationsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listSopRecommendationsResponse_httpStatus :: Lens' ListSopRecommendationsResponse Int Source #
The response's http status code.
listSopRecommendationsResponse_sopRecommendations :: Lens' ListSopRecommendationsResponse [SopRecommendation] Source #
The standard operating procedure (SOP) recommendations for the Resilience Hub applications.