Copyright | (c) 2013-2016 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 with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.
- 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
describeInstanceHealth Source #
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.