DescribeListeners
In this article:
DescribeListeners#
Description#
Request to get the list of Elastic Load Balancer (ELB) listeners.
Request Parameters#
ListenerArns.N — List of Amazon Resource Names (ARN) of ELB listeners.
Type: Array of strings
Required: No
Constraints: Cannot be used with the LoadBalancerArn option
LoadBalancerArn — The Amazon Resource Name (ARN) of the load balancer.
Type: Strings
Required: No
Constraints: Cannot be used with the ListenerArns option
Marker — The NextMarker value from the previous call (see Response Elements).
Type: String
Required: No
PageSize — The limit on the number of returned listeners.
Type: Integer
Required: No
Default value:
400
Maximum value:
400
Response Elements#
Listeners.N — Information about listeners.
Type: List of Listener objects
NextMarker — NextMarker is only returned when the list of all listeners matching the specified criteria cannot be returned due to the limit set. To continue data output, the received value must be passed in the Marker parameter in the repeated request.
Type: String
Examples#
c2-elb DescribeListeners LoadBalancerArn "elb_arn"
c2-elb DescribeListeners ListenerArns.1 "listener_arn_1" ListenerArns.2 "listener_arn_2"