DescribeLoadBalancers
Describes the specified load balancers. If no load balancers are specified, the call describes all of your load balancers.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- LoadBalancerNames.member.N
-
The names of the load balancers.
Type: Array of strings
Required: No
- Marker
-
The marker for the next set of results. (You received this marker from a previous call.)
Type: String
Required: No
- PageSize
-
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 400.
Required: No
Response Elements
The following elements are returned by the service.
- LoadBalancerDescriptions.member.N
-
Information about the load balancers.
Type: Array of LoadBalancerDescription objects
- NextMarker
-
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
Type: String
Errors
For information about the errors that are common to all actions, see Common Error Types.
- DependencyThrottle
-
A request made by Elastic Load Balancing to another service exceeds the maximum request rate permitted for your account.
HTTP Status Code: 400
- LoadBalancerNotFound
-
The specified load balancer does not exist.
HTTP Status Code: 400
Examples
Describe a Classic Load Balancer
This example describes the specified load balancer.
Sample Request
https://elasticloadbalancing.amazonaws.com/?Action=DescribeLoadBalancers
&LoadBalancerNames.member.1=my-loadbalancer
&Version=2012-06-01
&AUTHPARAMS
Sample Response
my-loadbalancer
2013-05-24T21:15:31.280Z
90
HTTP:80/
2
60
10
HTTP
80
HTTP
80
i-e4cbe38d
us-east-1a
ZZZZZZZZZZZ123X
my-loadbalancer-123456789.us-east-1.elb.amazonaws.com
internet-facing
amazon-elb
amazon-elb-sg
my-loadbalancer-123456789.us-east-1.elb.amazonaws.com
83c88b9d-12b7-11e3-8b82-87b12EXAMPLE
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: