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 |
Lists the Resolver rules that were created using the current Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListResolverRules = ListResolverRules' {}
- newListResolverRules :: ListResolverRules
- listResolverRules_filters :: Lens' ListResolverRules (Maybe [Filter])
- listResolverRules_nextToken :: Lens' ListResolverRules (Maybe Text)
- listResolverRules_maxResults :: Lens' ListResolverRules (Maybe Natural)
- data ListResolverRulesResponse = ListResolverRulesResponse' {
- resolverRules :: Maybe [ResolverRule]
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- httpStatus :: Int
- newListResolverRulesResponse :: Int -> ListResolverRulesResponse
- listResolverRulesResponse_resolverRules :: Lens' ListResolverRulesResponse (Maybe [ResolverRule])
- listResolverRulesResponse_nextToken :: Lens' ListResolverRulesResponse (Maybe Text)
- listResolverRulesResponse_maxResults :: Lens' ListResolverRulesResponse (Maybe Natural)
- listResolverRulesResponse_httpStatus :: Lens' ListResolverRulesResponse Int
Creating a Request
data ListResolverRules Source #
See: newListResolverRules
smart constructor.
ListResolverRules' | |
|
Instances
newListResolverRules :: ListResolverRules Source #
Create a value of ListResolverRules
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:filters:ListResolverRules'
, listResolverRules_filters
- An optional specification to return a subset of Resolver rules, such as
all Resolver rules that are associated with the same Resolver endpoint.
If you submit a second or subsequent ListResolverRules
request and
specify the NextToken
parameter, you must use the same values for
Filters
, if any, as in the previous request.
$sel:nextToken:ListResolverRules'
, listResolverRules_nextToken
- For the first ListResolverRules
request, omit this value.
If you have more than MaxResults
Resolver rules, you can submit
another ListResolverRules
request to get the next group of Resolver
rules. In the next request, specify the value of NextToken
from the
previous response.
$sel:maxResults:ListResolverRules'
, listResolverRules_maxResults
- The maximum number of Resolver rules that you want to return in the
response to a ListResolverRules
request. If you don't specify a value
for MaxResults
, Resolver returns up to 100 Resolver rules.
Request Lenses
listResolverRules_filters :: Lens' ListResolverRules (Maybe [Filter]) Source #
An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.
If you submit a second or subsequent ListResolverRules
request and
specify the NextToken
parameter, you must use the same values for
Filters
, if any, as in the previous request.
listResolverRules_nextToken :: Lens' ListResolverRules (Maybe Text) Source #
For the first ListResolverRules
request, omit this value.
If you have more than MaxResults
Resolver rules, you can submit
another ListResolverRules
request to get the next group of Resolver
rules. In the next request, specify the value of NextToken
from the
previous response.
listResolverRules_maxResults :: Lens' ListResolverRules (Maybe Natural) Source #
The maximum number of Resolver rules that you want to return in the
response to a ListResolverRules
request. If you don't specify a value
for MaxResults
, Resolver returns up to 100 Resolver rules.
Destructuring the Response
data ListResolverRulesResponse Source #
See: newListResolverRulesResponse
smart constructor.
ListResolverRulesResponse' | |
|
Instances
newListResolverRulesResponse Source #
Create a value of ListResolverRulesResponse
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:resolverRules:ListResolverRulesResponse'
, listResolverRulesResponse_resolverRules
- The Resolver rules that were created using the current Amazon Web
Services account and that match the specified filters, if any.
$sel:nextToken:ListResolverRules'
, listResolverRulesResponse_nextToken
- If more than MaxResults
Resolver rules match the specified criteria,
you can submit another ListResolverRules
request to get the next group
of results. In the next request, specify the value of NextToken
from
the previous response.
$sel:maxResults:ListResolverRules'
, listResolverRulesResponse_maxResults
- The value that you specified for MaxResults
in the request.
$sel:httpStatus:ListResolverRulesResponse'
, listResolverRulesResponse_httpStatus
- The response's http status code.
Response Lenses
listResolverRulesResponse_resolverRules :: Lens' ListResolverRulesResponse (Maybe [ResolverRule]) Source #
The Resolver rules that were created using the current Amazon Web Services account and that match the specified filters, if any.
listResolverRulesResponse_nextToken :: Lens' ListResolverRulesResponse (Maybe Text) Source #
If more than MaxResults
Resolver rules match the specified criteria,
you can submit another ListResolverRules
request to get the next group
of results. In the next request, specify the value of NextToken
from
the previous response.
listResolverRulesResponse_maxResults :: Lens' ListResolverRulesResponse (Maybe Natural) Source #
The value that you specified for MaxResults
in the request.
listResolverRulesResponse_httpStatus :: Lens' ListResolverRulesResponse Int Source #
The response's http status code.