AWS SDK for .NET Documentation
DeleteLoadBalancerPolicy Method (deleteLoadBalancerPolicyRequest)
Amazon ► Amazon.ElasticLoadBalancing ► AmazonElasticLoadBalancing ► DeleteLoadBalancerPolicy(DeleteLoadBalancerPolicyRequest)
Did this page help you? Yes No Tell us about it...

Deletes a policy from the load balancer. The specified policy must not be enabled for any listeners.

Declaration Syntax

C#

    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 |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)