| 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.Route53RecoveryReadiness.ListRules
Description
Lists all readiness rules, or lists the readiness rules for a specific resource type.
This operation returns paginated results.
Synopsis
- data ListRules = ListRules' {}
- newListRules :: ListRules
- listRules_maxResults :: Lens' ListRules (Maybe Natural)
- listRules_nextToken :: Lens' ListRules (Maybe Text)
- listRules_resourceType :: Lens' ListRules (Maybe Text)
- data ListRulesResponse = ListRulesResponse' {
- nextToken :: Maybe Text
- rules :: Maybe [ListRulesOutput]
- httpStatus :: Int
- newListRulesResponse :: Int -> ListRulesResponse
- listRulesResponse_nextToken :: Lens' ListRulesResponse (Maybe Text)
- listRulesResponse_rules :: Lens' ListRulesResponse (Maybe [ListRulesOutput])
- listRulesResponse_httpStatus :: Lens' ListRulesResponse Int
Creating a Request
See: newListRules smart constructor.
Constructors
| ListRules' | |
Fields
| |
Instances
newListRules :: ListRules Source #
Create a value of ListRules 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:ListRules', listRules_maxResults - The number of objects that you want to return with this call.
ListRules, listRules_nextToken - The token that identifies which batch of results you want to see.
ListRules, listRules_resourceType - The resource type that a readiness rule applies to.
Request Lenses
listRules_maxResults :: Lens' ListRules (Maybe Natural) Source #
The number of objects that you want to return with this call.
listRules_nextToken :: Lens' ListRules (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listRules_resourceType :: Lens' ListRules (Maybe Text) Source #
The resource type that a readiness rule applies to.
Destructuring the Response
data ListRulesResponse Source #
See: newListRulesResponse smart constructor.
Constructors
| ListRulesResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ListRulesResponse |
Create a value of ListRulesResponse 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:
ListRules, listRulesResponse_nextToken - The token that identifies which batch of results you want to see.
$sel:rules:ListRulesResponse', listRulesResponse_rules - A list of readiness rules for a specific resource type.
$sel:httpStatus:ListRulesResponse', listRulesResponse_httpStatus - The response's http status code.
Response Lenses
listRulesResponse_nextToken :: Lens' ListRulesResponse (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listRulesResponse_rules :: Lens' ListRulesResponse (Maybe [ListRulesOutput]) Source #
A list of readiness rules for a specific resource type.
listRulesResponse_httpStatus :: Lens' ListRulesResponse Int Source #
The response's http status code.