| 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.ListResiliencyPolicies
Description
Lists the resiliency policies for the Resilience Hub applications.
Synopsis
- data ListResiliencyPolicies = ListResiliencyPolicies' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- policyName :: Maybe Text
- newListResiliencyPolicies :: ListResiliencyPolicies
- listResiliencyPolicies_maxResults :: Lens' ListResiliencyPolicies (Maybe Natural)
- listResiliencyPolicies_nextToken :: Lens' ListResiliencyPolicies (Maybe Text)
- listResiliencyPolicies_policyName :: Lens' ListResiliencyPolicies (Maybe Text)
- data ListResiliencyPoliciesResponse = ListResiliencyPoliciesResponse' {}
- newListResiliencyPoliciesResponse :: Int -> ListResiliencyPoliciesResponse
- listResiliencyPoliciesResponse_nextToken :: Lens' ListResiliencyPoliciesResponse (Maybe Text)
- listResiliencyPoliciesResponse_httpStatus :: Lens' ListResiliencyPoliciesResponse Int
- listResiliencyPoliciesResponse_resiliencyPolicies :: Lens' ListResiliencyPoliciesResponse [ResiliencyPolicy]
Creating a Request
data ListResiliencyPolicies Source #
See: newListResiliencyPolicies smart constructor.
Constructors
| ListResiliencyPolicies' | |
Fields
| |
Instances
newListResiliencyPolicies :: ListResiliencyPolicies Source #
Create a value of ListResiliencyPolicies 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:ListResiliencyPolicies', listResiliencyPolicies_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.
ListResiliencyPolicies, listResiliencyPolicies_nextToken - Null, or the token from a previous call to get the next set of results.
ListResiliencyPolicies, listResiliencyPolicies_policyName - The name of the policy
Request Lenses
listResiliencyPolicies_maxResults :: Lens' ListResiliencyPolicies (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.
listResiliencyPolicies_nextToken :: Lens' ListResiliencyPolicies (Maybe Text) Source #
Null, or the token from a previous call to get the next set of results.
listResiliencyPolicies_policyName :: Lens' ListResiliencyPolicies (Maybe Text) Source #
The name of the policy
Destructuring the Response
data ListResiliencyPoliciesResponse Source #
See: newListResiliencyPoliciesResponse smart constructor.
Constructors
| ListResiliencyPoliciesResponse' | |
Fields
| |
Instances
newListResiliencyPoliciesResponse Source #
Create a value of ListResiliencyPoliciesResponse 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:
ListResiliencyPolicies, listResiliencyPoliciesResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:httpStatus:ListResiliencyPoliciesResponse', listResiliencyPoliciesResponse_httpStatus - The response's http status code.
$sel:resiliencyPolicies:ListResiliencyPoliciesResponse', listResiliencyPoliciesResponse_resiliencyPolicies - The resiliency policies for the Resilience Hub applications.
Response Lenses
listResiliencyPoliciesResponse_nextToken :: Lens' ListResiliencyPoliciesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listResiliencyPoliciesResponse_httpStatus :: Lens' ListResiliencyPoliciesResponse Int Source #
The response's http status code.
listResiliencyPoliciesResponse_resiliencyPolicies :: Lens' ListResiliencyPoliciesResponse [ResiliencyPolicy] Source #
The resiliency policies for the Resilience Hub applications.