Deletes a policy from the load balancer. The specified policy must not be enabled for any listeners.
| C# |
DeleteLoadBalancerPolicyResponse DeleteLoadBalancerPolicy( DeleteLoadBalancerPolicyRequest deleteLoadBalancerPolicyRequest )
- deleteLoadBalancerPolicyRequest (DeleteLoadBalancerPolicyRequest)
- Container for the necessary parameters to execute the DeleteLoadBalancerPolicy service method on AmazonElasticLoadBalancing.
The response from the DeleteLoadBalancerPolicy service method, as returned by AmazonElasticLoadBalancing.
| Exception | Condition |
|---|---|
| InvalidConfigurationRequestException | |
| LoadBalancerNotFoundException |