// Deregisters the specified instances from the specified load balancer. After the
// instance is deregistered, it no longer receives traffic from the load balancer.
// You can use DescribeLoadBalancers to verify that the instance is deregistered
// from the load balancer. For more information, see Register or De-Register EC2
// Instances
// (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-deregister-register-instances.html)
// in the Classic Load Balancers Guide.
Deregisters the specified instances from the specified load balancer. After the
instance is deregistered, it no longer receives traffic from the load balancer.
You can use DescribeLoadBalancers to verify that the instance is deregistered
from the load balancer. For more information, see Register or De-Register EC2
Instances

in the Classic Load Balancers Guide.
// Deregisters the specified instances from the specified load balancer . After the // instance is deregistered it no longer receives traffic from the load balancer . // You can use DescribeLoadBalancers to verify that the instance is deregistered // from the load balancer . For more information see Register or De - Register EC2 // Instances // ( https : // docs . aws . amazon . com / elasticloadbalancing / latest / classic / elb - deregister - register - instances . html ) // in the Classic Load Balancers Guide .
func (c *Client) DeregisterInstancesFromLoadBalancer(ctx context.Context, params *DeregisterInstancesFromLoadBalancerInput, optFns ...func(*Options)) (*DeregisterInstancesFromLoadBalancerOutput, error) {
	if params == nil {
		params = &DeregisterInstancesFromLoadBalancerInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeregisterInstancesFromLoadBalancer", params, optFns, addOperationDeregisterInstancesFromLoadBalancerMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeregisterInstancesFromLoadBalancerOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeregisterInstancesFromLoadBalancer ( ctx context . Context , params * DeregisterInstancesFromLoadBalancerInput , optFns ... func ( * Options ) ) ( * DeregisterInstancesFromLoadBalancerOutput , error ) { if params == nil { params = & DeregisterInstancesFromLoadBalancerInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeregisterInstancesFromLoadBalancerMiddlewares ) if err != nil { return nil , err } out := result . ( * DeregisterInstancesFromLoadBalancerOutput ) out . ResultMetadata = metadata return out , nil }
Deregisters the specified instances from the specified load balancer.
Deregisters the specified instances from the specified load balancer .