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