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 |
Gets recommendations about architecture designs for improving resiliency for an application, based on a recovery group.
Synopsis
- data GetArchitectureRecommendations = GetArchitectureRecommendations' {}
- newGetArchitectureRecommendations :: Text -> GetArchitectureRecommendations
- getArchitectureRecommendations_maxResults :: Lens' GetArchitectureRecommendations (Maybe Natural)
- getArchitectureRecommendations_nextToken :: Lens' GetArchitectureRecommendations (Maybe Text)
- getArchitectureRecommendations_recoveryGroupName :: Lens' GetArchitectureRecommendations Text
- data GetArchitectureRecommendationsResponse = GetArchitectureRecommendationsResponse' {}
- newGetArchitectureRecommendationsResponse :: Int -> GetArchitectureRecommendationsResponse
- getArchitectureRecommendationsResponse_lastAuditTimestamp :: Lens' GetArchitectureRecommendationsResponse (Maybe UTCTime)
- getArchitectureRecommendationsResponse_nextToken :: Lens' GetArchitectureRecommendationsResponse (Maybe Text)
- getArchitectureRecommendationsResponse_recommendations :: Lens' GetArchitectureRecommendationsResponse (Maybe [Recommendation])
- getArchitectureRecommendationsResponse_httpStatus :: Lens' GetArchitectureRecommendationsResponse Int
Creating a Request
data GetArchitectureRecommendations Source #
See: newGetArchitectureRecommendations
smart constructor.
GetArchitectureRecommendations' | |
|
Instances
newGetArchitectureRecommendations Source #
Create a value of GetArchitectureRecommendations
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:GetArchitectureRecommendations'
, getArchitectureRecommendations_maxResults
- The number of objects that you want to return with this call.
GetArchitectureRecommendations
, getArchitectureRecommendations_nextToken
- The token that identifies which batch of results you want to see.
GetArchitectureRecommendations
, getArchitectureRecommendations_recoveryGroupName
- The name of a recovery group.
Request Lenses
getArchitectureRecommendations_maxResults :: Lens' GetArchitectureRecommendations (Maybe Natural) Source #
The number of objects that you want to return with this call.
getArchitectureRecommendations_nextToken :: Lens' GetArchitectureRecommendations (Maybe Text) Source #
The token that identifies which batch of results you want to see.
getArchitectureRecommendations_recoveryGroupName :: Lens' GetArchitectureRecommendations Text Source #
The name of a recovery group.
Destructuring the Response
data GetArchitectureRecommendationsResponse Source #
See: newGetArchitectureRecommendationsResponse
smart constructor.
GetArchitectureRecommendationsResponse' | |
|
Instances
newGetArchitectureRecommendationsResponse Source #
Create a value of GetArchitectureRecommendationsResponse
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:lastAuditTimestamp:GetArchitectureRecommendationsResponse'
, getArchitectureRecommendationsResponse_lastAuditTimestamp
- The time that a recovery group was last assessed for recommendations, in
UTC ISO-8601 format.
GetArchitectureRecommendations
, getArchitectureRecommendationsResponse_nextToken
- The token that identifies which batch of results you want to see.
$sel:recommendations:GetArchitectureRecommendationsResponse'
, getArchitectureRecommendationsResponse_recommendations
- A list of the recommendations for the customer's application.
$sel:httpStatus:GetArchitectureRecommendationsResponse'
, getArchitectureRecommendationsResponse_httpStatus
- The response's http status code.
Response Lenses
getArchitectureRecommendationsResponse_lastAuditTimestamp :: Lens' GetArchitectureRecommendationsResponse (Maybe UTCTime) Source #
The time that a recovery group was last assessed for recommendations, in UTC ISO-8601 format.
getArchitectureRecommendationsResponse_nextToken :: Lens' GetArchitectureRecommendationsResponse (Maybe Text) Source #
The token that identifies which batch of results you want to see.
getArchitectureRecommendationsResponse_recommendations :: Lens' GetArchitectureRecommendationsResponse (Maybe [Recommendation]) Source #
A list of the recommendations for the customer's application.
getArchitectureRecommendationsResponse_httpStatus :: Lens' GetArchitectureRecommendationsResponse Int Source #
The response's http status code.