List the endpoint groups that are associated with a listener. To see an AWS CLI example of listing the endpoint groups for listener, scroll down to Example.
globalaccelerator_list_endpoint_groups(ListenerArn, MaxResults,
NextToken)
[required] The Amazon Resource Name (ARN) of the listener.
The number of endpoint group objects that you want to return with this call. The default value is 10.
The token for the next set of results. You receive this token from a previous call.
svc$list_endpoint_groups( ListenerArn = "string", MaxResults = 123, NextToken = "string" )