Returns detailed descriptions of the policies. If you specify a load balancer name, the action returns the descriptions of all the policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all the sample policies. The names of the sample policies have the ELBSample- prefix.

C# |
DescribeLoadBalancerPoliciesResponse DescribeLoadBalancerPolicies( DescribeLoadBalancerPoliciesRequest describeLoadBalancerPoliciesRequest )

- describeLoadBalancerPoliciesRequest (DescribeLoadBalancerPoliciesRequest)
- Container for the necessary parameters to execute the DescribeLoadBalancerPolicies service method on AmazonElasticLoadBalancing.

The response from the DescribeLoadBalancerPolicies service method, as returned by AmazonElasticLoadBalancing.

Exception | Condition |
---|---|
PolicyNotFoundException | |
LoadBalancerNotFoundException |