Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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:
dihInstances
- The IDs of the instances.dihLoadBalancerName
- The name of the load balancer.
data DescribeInstanceHealth Source #
Contains the parameters for DescribeInstanceHealth.
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:
dihrsInstanceStates
- Information about the health of the instances.dihrsResponseStatus
- -- | The response status code.
data DescribeInstanceHealthResponse Source #
Contains the output for DescribeInstanceHealth.
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.