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 |
List the endpoint groups that are associated with a listener.
This operation returns paginated results.
Synopsis
- data ListEndpointGroups = ListEndpointGroups' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- listenerArn :: Text
- newListEndpointGroups :: Text -> ListEndpointGroups
- listEndpointGroups_nextToken :: Lens' ListEndpointGroups (Maybe Text)
- listEndpointGroups_maxResults :: Lens' ListEndpointGroups (Maybe Natural)
- listEndpointGroups_listenerArn :: Lens' ListEndpointGroups Text
- data ListEndpointGroupsResponse = ListEndpointGroupsResponse' {
- nextToken :: Maybe Text
- endpointGroups :: Maybe [EndpointGroup]
- httpStatus :: Int
- newListEndpointGroupsResponse :: Int -> ListEndpointGroupsResponse
- listEndpointGroupsResponse_nextToken :: Lens' ListEndpointGroupsResponse (Maybe Text)
- listEndpointGroupsResponse_endpointGroups :: Lens' ListEndpointGroupsResponse (Maybe [EndpointGroup])
- listEndpointGroupsResponse_httpStatus :: Lens' ListEndpointGroupsResponse Int
Creating a Request
data ListEndpointGroups Source #
See: newListEndpointGroups
smart constructor.
ListEndpointGroups' | |
|
Instances
newListEndpointGroups Source #
Create a value of ListEndpointGroups
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:ListEndpointGroups'
, listEndpointGroups_nextToken
- The token for the next set of results. You receive this token from a
previous call.
$sel:maxResults:ListEndpointGroups'
, listEndpointGroups_maxResults
- The number of endpoint group objects that you want to return with this
call. The default value is 10.
$sel:listenerArn:ListEndpointGroups'
, listEndpointGroups_listenerArn
- The Amazon Resource Name (ARN) of the listener.
Request Lenses
listEndpointGroups_nextToken :: Lens' ListEndpointGroups (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
listEndpointGroups_maxResults :: Lens' ListEndpointGroups (Maybe Natural) Source #
The number of endpoint group objects that you want to return with this call. The default value is 10.
listEndpointGroups_listenerArn :: Lens' ListEndpointGroups Text Source #
The Amazon Resource Name (ARN) of the listener.
Destructuring the Response
data ListEndpointGroupsResponse Source #
See: newListEndpointGroupsResponse
smart constructor.
ListEndpointGroupsResponse' | |
|
Instances
newListEndpointGroupsResponse Source #
Create a value of ListEndpointGroupsResponse
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:ListEndpointGroups'
, listEndpointGroupsResponse_nextToken
- The token for the next set of results. You receive this token from a
previous call.
$sel:endpointGroups:ListEndpointGroupsResponse'
, listEndpointGroupsResponse_endpointGroups
- The list of the endpoint groups associated with a listener.
$sel:httpStatus:ListEndpointGroupsResponse'
, listEndpointGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listEndpointGroupsResponse_nextToken :: Lens' ListEndpointGroupsResponse (Maybe Text) Source #
The token for the next set of results. You receive this token from a previous call.
listEndpointGroupsResponse_endpointGroups :: Lens' ListEndpointGroupsResponse (Maybe [EndpointGroup]) Source #
The list of the endpoint groups associated with a listener.
listEndpointGroupsResponse_httpStatus :: Lens' ListEndpointGroupsResponse Int Source #
The response's http status code.