| 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.Route53Resolver.ListResolverConfigs
Description
Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
This operation returns paginated results.
Synopsis
- data ListResolverConfigs = ListResolverConfigs' {}
- newListResolverConfigs :: ListResolverConfigs
- listResolverConfigs_maxResults :: Lens' ListResolverConfigs (Maybe Natural)
- listResolverConfigs_nextToken :: Lens' ListResolverConfigs (Maybe Text)
- data ListResolverConfigsResponse = ListResolverConfigsResponse' {}
- newListResolverConfigsResponse :: Int -> ListResolverConfigsResponse
- listResolverConfigsResponse_nextToken :: Lens' ListResolverConfigsResponse (Maybe Text)
- listResolverConfigsResponse_resolverConfigs :: Lens' ListResolverConfigsResponse (Maybe [ResolverConfig])
- listResolverConfigsResponse_httpStatus :: Lens' ListResolverConfigsResponse Int
Creating a Request
data ListResolverConfigs Source #
See: newListResolverConfigs smart constructor.
Constructors
| ListResolverConfigs' | |
Fields
| |
Instances
newListResolverConfigs :: ListResolverConfigs Source #
Create a value of ListResolverConfigs 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:ListResolverConfigs', listResolverConfigs_maxResults - The maximum number of Resolver configurations that you want to return in
the response to a ListResolverConfigs request. If you don't specify a
value for MaxResults, up to 100 Resolver configurations are returned.
ListResolverConfigs, listResolverConfigs_nextToken - (Optional) If the current Amazon Web Services account has more than
MaxResults Resolver configurations, use NextToken to get the second
and subsequent pages of results.
For the first ListResolverConfigs request, omit this value.
For the second and subsequent requests, get the value of NextToken
from the previous response and specify that value for NextToken in the
request.
Request Lenses
listResolverConfigs_maxResults :: Lens' ListResolverConfigs (Maybe Natural) Source #
The maximum number of Resolver configurations that you want to return in
the response to a ListResolverConfigs request. If you don't specify a
value for MaxResults, up to 100 Resolver configurations are returned.
listResolverConfigs_nextToken :: Lens' ListResolverConfigs (Maybe Text) Source #
(Optional) If the current Amazon Web Services account has more than
MaxResults Resolver configurations, use NextToken to get the second
and subsequent pages of results.
For the first ListResolverConfigs request, omit this value.
For the second and subsequent requests, get the value of NextToken
from the previous response and specify that value for NextToken in the
request.
Destructuring the Response
data ListResolverConfigsResponse Source #
See: newListResolverConfigsResponse smart constructor.
Constructors
| ListResolverConfigsResponse' | |
Fields
| |
Instances
newListResolverConfigsResponse Source #
Create a value of ListResolverConfigsResponse 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:
ListResolverConfigs, listResolverConfigsResponse_nextToken - If a response includes the last of the Resolver configurations that are
associated with the current Amazon Web Services account, NextToken
doesn't appear in the response.
If a response doesn't include the last of the configurations, you can
get more configurations by submitting another ListResolverConfigs
request. Get the value of NextToken that Amazon Route 53 returned in
the previous response and include it in NextToken in the next request.
$sel:resolverConfigs:ListResolverConfigsResponse', listResolverConfigsResponse_resolverConfigs - An array that contains one ResolverConfigs element for each Resolver
configuration that is associated with the current Amazon Web Services
account.
$sel:httpStatus:ListResolverConfigsResponse', listResolverConfigsResponse_httpStatus - The response's http status code.
Response Lenses
listResolverConfigsResponse_nextToken :: Lens' ListResolverConfigsResponse (Maybe Text) Source #
If a response includes the last of the Resolver configurations that are
associated with the current Amazon Web Services account, NextToken
doesn't appear in the response.
If a response doesn't include the last of the configurations, you can
get more configurations by submitting another ListResolverConfigs
request. Get the value of NextToken that Amazon Route 53 returned in
the previous response and include it in NextToken in the next request.
listResolverConfigsResponse_resolverConfigs :: Lens' ListResolverConfigsResponse (Maybe [ResolverConfig]) Source #
An array that contains one ResolverConfigs element for each Resolver
configuration that is associated with the current Amazon Web Services
account.
listResolverConfigsResponse_httpStatus :: Lens' ListResolverConfigsResponse Int Source #
The response's http status code.