Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns a collection of recommendations to improve resilliance and readiness check quality for a Recovery Group.
Synopsis
- data GetArchitectureRecommendations = GetArchitectureRecommendations' {}
- newGetArchitectureRecommendations :: Text -> GetArchitectureRecommendations
- getArchitectureRecommendations_nextToken :: Lens' GetArchitectureRecommendations (Maybe Text)
- getArchitectureRecommendations_maxResults :: Lens' GetArchitectureRecommendations (Maybe Natural)
- 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:nextToken:GetArchitectureRecommendations'
, getArchitectureRecommendations_nextToken
- A token that can be used to resume pagination from the end of the
collection.
$sel:maxResults:GetArchitectureRecommendations'
, getArchitectureRecommendations_maxResults
- Upper bound on number of records to return.
$sel:recoveryGroupName:GetArchitectureRecommendations'
, getArchitectureRecommendations_recoveryGroupName
- Name of RecoveryGroup (top level resource) to be analyzed.
Request Lenses
getArchitectureRecommendations_nextToken :: Lens' GetArchitectureRecommendations (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
getArchitectureRecommendations_maxResults :: Lens' GetArchitectureRecommendations (Maybe Natural) Source #
Upper bound on number of records to return.
getArchitectureRecommendations_recoveryGroupName :: Lens' GetArchitectureRecommendations Text Source #
Name of RecoveryGroup (top level resource) to be analyzed.
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 a Recovery Group was last assessed for recommendations in UTC
ISO-8601 format.
$sel:nextToken:GetArchitectureRecommendations'
, getArchitectureRecommendationsResponse_nextToken
- A token that can be used to resume pagination from the end of the
collection
$sel:recommendations:GetArchitectureRecommendationsResponse'
, getArchitectureRecommendationsResponse_recommendations
- A list of 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 a Recovery Group was last assessed for recommendations in UTC ISO-8601 format.
getArchitectureRecommendationsResponse_nextToken :: Lens' GetArchitectureRecommendationsResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection
getArchitectureRecommendationsResponse_recommendations :: Lens' GetArchitectureRecommendationsResponse (Maybe [Recommendation]) Source #
A list of recommendations for the customer's application
getArchitectureRecommendationsResponse_httpStatus :: Lens' GetArchitectureRecommendationsResponse Int Source #
The response's http status code.