amazonka-elb-0.1.4: Amazon Elastic Load Balancing SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.ELB.DeregisterInstancesFromLoadBalancer

Contents

Description

Deregisters instances from the load balancer. Once the instance is deregistered, it will stop receiving traffic from the load balancer.

In order to successfully call this API, the same account credentials as those used to create the load balancer must be provided.

For more information, see De-register and Register Amazon EC2 Instances in the Elastic Load Balancing Developer Guide.

You can use DescribeLoadBalancers to verify if the instance is deregistered from the load balancer.

http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DeregisterInstancesFromLoadBalancer.html

Synopsis

Request

Request constructor

Request lenses

diflbInstances :: Lens' DeregisterInstancesFromLoadBalancer [Instance] Source

A list of EC2 instance IDs consisting of all instances to be deregistered.

diflbLoadBalancerName :: Lens' DeregisterInstancesFromLoadBalancer Text Source

The name associated with the load balancer.

Response

Response constructor

Response lenses

diflbrInstances :: Lens' DeregisterInstancesFromLoadBalancerResponse [Instance] Source

An updated list of remaining instances registered with the load balancer.