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 rules that are applied as part of Readiness Checks.
This operation returns paginated results.
Synopsis
- data ListRules = ListRules' {}
- newListRules :: ListRules
- listRules_resourceType :: Lens' ListRules (Maybe Text)
- listRules_nextToken :: Lens' ListRules (Maybe Text)
- listRules_maxResults :: Lens' ListRules (Maybe Natural)
- data ListRulesResponse = ListRulesResponse' {
- rules :: Maybe [ListRulesOutput]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListRulesResponse :: Int -> ListRulesResponse
- listRulesResponse_rules :: Lens' ListRulesResponse (Maybe [ListRulesOutput])
- listRulesResponse_nextToken :: Lens' ListRulesResponse (Maybe Text)
- listRulesResponse_httpStatus :: Lens' ListRulesResponse Int
Creating a Request
See: newListRules
smart constructor.
ListRules' | |
|
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:resourceType:ListRules'
, listRules_resourceType
- Filter parameter which specifies the rules to return given a resource
type.
$sel:nextToken:ListRules'
, listRules_nextToken
- A token used to resume pagination from the end of a previous request.
$sel:maxResults:ListRules'
, listRules_maxResults
- Upper bound on number of records to return.
Request Lenses
listRules_resourceType :: Lens' ListRules (Maybe Text) Source #
Filter parameter which specifies the rules to return given a resource type.
listRules_nextToken :: Lens' ListRules (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
listRules_maxResults :: Lens' ListRules (Maybe Natural) Source #
Upper bound on number of records to return.
Destructuring the Response
data ListRulesResponse Source #
See: newListRulesResponse
smart constructor.
ListRulesResponse' | |
|
Instances
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:
$sel:rules:ListRulesResponse'
, listRulesResponse_rules
- A list of rules
$sel:nextToken:ListRules'
, listRulesResponse_nextToken
- A token that can be used to resume pagination from the end of the
collection.
$sel:httpStatus:ListRulesResponse'
, listRulesResponse_httpStatus
- The response's http status code.
Response Lenses
listRulesResponse_rules :: Lens' ListRulesResponse (Maybe [ListRulesOutput]) Source #
A list of rules
listRulesResponse_nextToken :: Lens' ListRulesResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
listRulesResponse_httpStatus :: Lens' ListRulesResponse Int Source #
The response's http status code.