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