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 all the Resolver endpoints that were created using the current Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListResolverEndpoints = ListResolverEndpoints' {}
- newListResolverEndpoints :: ListResolverEndpoints
- listResolverEndpoints_filters :: Lens' ListResolverEndpoints (Maybe [Filter])
- listResolverEndpoints_nextToken :: Lens' ListResolverEndpoints (Maybe Text)
- listResolverEndpoints_maxResults :: Lens' ListResolverEndpoints (Maybe Natural)
- data ListResolverEndpointsResponse = ListResolverEndpointsResponse' {}
- newListResolverEndpointsResponse :: Int -> ListResolverEndpointsResponse
- listResolverEndpointsResponse_resolverEndpoints :: Lens' ListResolverEndpointsResponse (Maybe [ResolverEndpoint])
- listResolverEndpointsResponse_nextToken :: Lens' ListResolverEndpointsResponse (Maybe Text)
- listResolverEndpointsResponse_maxResults :: Lens' ListResolverEndpointsResponse (Maybe Natural)
- listResolverEndpointsResponse_httpStatus :: Lens' ListResolverEndpointsResponse Int
Creating a Request
data ListResolverEndpoints Source #
See: newListResolverEndpoints
smart constructor.
ListResolverEndpoints' | |
|
Instances
newListResolverEndpoints :: ListResolverEndpoints Source #
Create a value of ListResolverEndpoints
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:ListResolverEndpoints'
, listResolverEndpoints_filters
- An optional specification to return a subset of Resolver endpoints, such
as all inbound Resolver endpoints.
If you submit a second or subsequent ListResolverEndpoints
request and
specify the NextToken
parameter, you must use the same values for
Filters
, if any, as in the previous request.
$sel:nextToken:ListResolverEndpoints'
, listResolverEndpoints_nextToken
- For the first ListResolverEndpoints
request, omit this value.
If you have more than MaxResults
Resolver endpoints, you can submit
another ListResolverEndpoints
request to get the next group of
Resolver endpoints. In the next request, specify the value of
NextToken
from the previous response.
$sel:maxResults:ListResolverEndpoints'
, listResolverEndpoints_maxResults
- The maximum number of Resolver endpoints that you want to return in the
response to a ListResolverEndpoints
request. If you don't specify a
value for MaxResults
, Resolver returns up to 100 Resolver endpoints.
Request Lenses
listResolverEndpoints_filters :: Lens' ListResolverEndpoints (Maybe [Filter]) Source #
An optional specification to return a subset of Resolver endpoints, such as all inbound Resolver endpoints.
If you submit a second or subsequent ListResolverEndpoints
request and
specify the NextToken
parameter, you must use the same values for
Filters
, if any, as in the previous request.
listResolverEndpoints_nextToken :: Lens' ListResolverEndpoints (Maybe Text) Source #
For the first ListResolverEndpoints
request, omit this value.
If you have more than MaxResults
Resolver endpoints, you can submit
another ListResolverEndpoints
request to get the next group of
Resolver endpoints. In the next request, specify the value of
NextToken
from the previous response.
listResolverEndpoints_maxResults :: Lens' ListResolverEndpoints (Maybe Natural) Source #
The maximum number of Resolver endpoints that you want to return in the
response to a ListResolverEndpoints
request. If you don't specify a
value for MaxResults
, Resolver returns up to 100 Resolver endpoints.
Destructuring the Response
data ListResolverEndpointsResponse Source #
See: newListResolverEndpointsResponse
smart constructor.
ListResolverEndpointsResponse' | |
|
Instances
newListResolverEndpointsResponse Source #
Create a value of ListResolverEndpointsResponse
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:resolverEndpoints:ListResolverEndpointsResponse'
, listResolverEndpointsResponse_resolverEndpoints
- The Resolver endpoints that were created by using the current Amazon Web
Services account, and that match the specified filters, if any.
$sel:nextToken:ListResolverEndpoints'
, listResolverEndpointsResponse_nextToken
- If more than MaxResults
IP addresses match the specified criteria, you
can submit another ListResolverEndpoint
request to get the next group
of results. In the next request, specify the value of NextToken
from
the previous response.
$sel:maxResults:ListResolverEndpoints'
, listResolverEndpointsResponse_maxResults
- The value that you specified for MaxResults
in the request.
$sel:httpStatus:ListResolverEndpointsResponse'
, listResolverEndpointsResponse_httpStatus
- The response's http status code.
Response Lenses
listResolverEndpointsResponse_resolverEndpoints :: Lens' ListResolverEndpointsResponse (Maybe [ResolverEndpoint]) Source #
The Resolver endpoints that were created by using the current Amazon Web Services account, and that match the specified filters, if any.
listResolverEndpointsResponse_nextToken :: Lens' ListResolverEndpointsResponse (Maybe Text) Source #
If more than MaxResults
IP addresses match the specified criteria, you
can submit another ListResolverEndpoint
request to get the next group
of results. In the next request, specify the value of NextToken
from
the previous response.
listResolverEndpointsResponse_maxResults :: Lens' ListResolverEndpointsResponse (Maybe Natural) Source #
The value that you specified for MaxResults
in the request.
listResolverEndpointsResponse_httpStatus :: Lens' ListResolverEndpointsResponse Int Source #
The response's http status code.