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 |
Gets a list of all existing endpoints that you've created.
Synopsis
- data ListEndpoints = ListEndpoints' {}
- newListEndpoints :: ListEndpoints
- listEndpoints_nextToken :: Lens' ListEndpoints (Maybe Text)
- listEndpoints_filter :: Lens' ListEndpoints (Maybe EndpointFilter)
- listEndpoints_maxResults :: Lens' ListEndpoints (Maybe Natural)
- data ListEndpointsResponse = ListEndpointsResponse' {}
- newListEndpointsResponse :: Int -> ListEndpointsResponse
- listEndpointsResponse_endpointPropertiesList :: Lens' ListEndpointsResponse (Maybe [EndpointProperties])
- listEndpointsResponse_nextToken :: Lens' ListEndpointsResponse (Maybe Text)
- listEndpointsResponse_httpStatus :: Lens' ListEndpointsResponse Int
Creating a Request
data ListEndpoints Source #
See: newListEndpoints
smart constructor.
ListEndpoints' | |
|
Instances
newListEndpoints :: ListEndpoints Source #
Create a value of ListEndpoints
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:nextToken:ListEndpoints'
, listEndpoints_nextToken
- Identifies the next page of results to return.
$sel:filter':ListEndpoints'
, listEndpoints_filter
- Filters the endpoints that are returned. You can filter endpoints on
their name, model, status, or the date and time that they were created.
You can only set one filter at a time.
$sel:maxResults:ListEndpoints'
, listEndpoints_maxResults
- The maximum number of results to return in each page. The default is
100.
Request Lenses
listEndpoints_nextToken :: Lens' ListEndpoints (Maybe Text) Source #
Identifies the next page of results to return.
listEndpoints_filter :: Lens' ListEndpoints (Maybe EndpointFilter) Source #
Filters the endpoints that are returned. You can filter endpoints on their name, model, status, or the date and time that they were created. You can only set one filter at a time.
listEndpoints_maxResults :: Lens' ListEndpoints (Maybe Natural) Source #
The maximum number of results to return in each page. The default is 100.
Destructuring the Response
data ListEndpointsResponse Source #
See: newListEndpointsResponse
smart constructor.
ListEndpointsResponse' | |
|
Instances
newListEndpointsResponse Source #
Create a value of ListEndpointsResponse
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:endpointPropertiesList:ListEndpointsResponse'
, listEndpointsResponse_endpointPropertiesList
- Displays a list of endpoint properties being retrieved by the service in
response to the request.
$sel:nextToken:ListEndpoints'
, listEndpointsResponse_nextToken
- Identifies the next page of results to return.
$sel:httpStatus:ListEndpointsResponse'
, listEndpointsResponse_httpStatus
- The response's http status code.
Response Lenses
listEndpointsResponse_endpointPropertiesList :: Lens' ListEndpointsResponse (Maybe [EndpointProperties]) Source #
Displays a list of endpoint properties being retrieved by the service in response to the request.
listEndpointsResponse_nextToken :: Lens' ListEndpointsResponse (Maybe Text) Source #
Identifies the next page of results to return.
listEndpointsResponse_httpStatus :: Lens' ListEndpointsResponse Int Source #
The response's http status code.