Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the state of the specified instances registered with the specified load balancer. If no instances are specified, the call describes the state of all instances registered with the load balancer, not including any terminated instances.
See: AWS API Reference for DescribeInstanceHealth.
- describeInstanceHealth :: Text -> DescribeInstanceHealth
- data DescribeInstanceHealth
- dihInstances :: Lens' DescribeInstanceHealth [Instance]
- dihLoadBalancerName :: Lens' DescribeInstanceHealth Text
- describeInstanceHealthResponse :: Int -> DescribeInstanceHealthResponse
- data DescribeInstanceHealthResponse
- dihrsInstanceStates :: Lens' DescribeInstanceHealthResponse [InstanceState]
- dihrsResponseStatus :: Lens' DescribeInstanceHealthResponse Int
Creating a Request
Creates a value of DescribeInstanceHealth
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeInstanceHealth Source
See: describeInstanceHealth
smart constructor.
Request Lenses
dihInstances :: Lens' DescribeInstanceHealth [Instance] Source
The IDs of the instances.
dihLoadBalancerName :: Lens' DescribeInstanceHealth Text Source
The name of the load balancer.
Destructuring the Response
describeInstanceHealthResponse Source
Creates a value of DescribeInstanceHealthResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeInstanceHealthResponse Source
See: describeInstanceHealthResponse
smart constructor.
Response Lenses
dihrsInstanceStates :: Lens' DescribeInstanceHealthResponse [InstanceState] Source
Information about the health of the instances.
dihrsResponseStatus :: Lens' DescribeInstanceHealthResponse Int Source
The response status code.