Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns the current state of the specified instances registered with the specified load balancer. If no instances are specified, the state of all the instances registered with the load balancer is returned.
You must provide the same account credentials as those that were used to create the load balancer.
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeInstanceHealth.html
- data DescribeInstanceHealth
- describeInstanceHealth :: Text -> DescribeInstanceHealth
- dihInstances :: Lens' DescribeInstanceHealth [Instance]
- dihLoadBalancerName :: Lens' DescribeInstanceHealth Text
- data DescribeInstanceHealthResponse
- describeInstanceHealthResponse :: DescribeInstanceHealthResponse
- dihrInstanceStates :: Lens' DescribeInstanceHealthResponse [InstanceState]
Request
Request constructor
DescribeInstanceHealth
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dihInstances :: Lens' DescribeInstanceHealth [Instance] Source
A list of instance IDs whose states are being queried.
dihLoadBalancerName :: Lens' DescribeInstanceHealth Text Source
The name of the load balancer.
Response
Response constructor
describeInstanceHealthResponse :: DescribeInstanceHealthResponse Source
DescribeInstanceHealthResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
dihrInstanceStates :: Lens' DescribeInstanceHealthResponse [InstanceState] Source
A list containing health information for the specified instances.