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.
Declaration Syntax
C# |
public DescribeLoadBalancerPoliciesResponse DescribeLoadBalancerPolicies( DescribeLoadBalancerPoliciesRequest describeLoadBalancerPoliciesRequest )
Parameters
- describeLoadBalancerPoliciesRequest (DescribeLoadBalancerPoliciesRequest)
- Container for the necessary parameters to execute the DescribeLoadBalancerPolicies service method on AmazonElasticLoadBalancing.
Return Value
The response from the DescribeLoadBalancerPolicies service method, as returned by AmazonElasticLoadBalancing.
Exceptions
Exception | Condition |
---|---|
PolicyNotFoundException | |
LoadBalancerNotFoundException |