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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ELB.DescribeInstanceHealth

Contents

Description

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.

Synopsis

Creating a Request

describeInstanceHealth #

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 #

Contains the parameters for DescribeInstanceHealth.

See: describeInstanceHealth smart constructor.

Instances

Eq DescribeInstanceHealth # 
Data DescribeInstanceHealth # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeInstanceHealth -> c DescribeInstanceHealth #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeInstanceHealth #

toConstr :: DescribeInstanceHealth -> Constr #

dataTypeOf :: DescribeInstanceHealth -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeInstanceHealth) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeInstanceHealth) #

gmapT :: (forall b. Data b => b -> b) -> DescribeInstanceHealth -> DescribeInstanceHealth #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeInstanceHealth -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeInstanceHealth -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeInstanceHealth -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeInstanceHealth -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeInstanceHealth -> m DescribeInstanceHealth #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeInstanceHealth -> m DescribeInstanceHealth #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeInstanceHealth -> m DescribeInstanceHealth #

Read DescribeInstanceHealth # 
Show DescribeInstanceHealth # 
Generic DescribeInstanceHealth # 
Hashable DescribeInstanceHealth # 
NFData DescribeInstanceHealth # 

Methods

rnf :: DescribeInstanceHealth -> () #

AWSRequest DescribeInstanceHealth # 
ToHeaders DescribeInstanceHealth # 
ToPath DescribeInstanceHealth # 
ToQuery DescribeInstanceHealth # 
type Rep DescribeInstanceHealth # 
type Rep DescribeInstanceHealth = D1 * (MetaData "DescribeInstanceHealth" "Network.AWS.ELB.DescribeInstanceHealth" "amazonka-elb-1.6.0-AOAnHslRpzcHbl5E6mmVU1" False) (C1 * (MetaCons "DescribeInstanceHealth'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dihInstances") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Instance]))) (S1 * (MetaSel (Just Symbol "_dihLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DescribeInstanceHealth # 

Request Lenses

dihInstances :: Lens' DescribeInstanceHealth [Instance] #

The IDs of the instances.

dihLoadBalancerName :: Lens' DescribeInstanceHealth Text #

The name of the load balancer.

Destructuring the Response

describeInstanceHealthResponse #

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 #

Contains the output for DescribeInstanceHealth.

See: describeInstanceHealthResponse smart constructor.

Instances

Eq DescribeInstanceHealthResponse # 
Data DescribeInstanceHealthResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeInstanceHealthResponse -> c DescribeInstanceHealthResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeInstanceHealthResponse #

toConstr :: DescribeInstanceHealthResponse -> Constr #

dataTypeOf :: DescribeInstanceHealthResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeInstanceHealthResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeInstanceHealthResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeInstanceHealthResponse -> DescribeInstanceHealthResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeInstanceHealthResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeInstanceHealthResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeInstanceHealthResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeInstanceHealthResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeInstanceHealthResponse -> m DescribeInstanceHealthResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeInstanceHealthResponse -> m DescribeInstanceHealthResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeInstanceHealthResponse -> m DescribeInstanceHealthResponse #

Read DescribeInstanceHealthResponse # 
Show DescribeInstanceHealthResponse # 
Generic DescribeInstanceHealthResponse # 
NFData DescribeInstanceHealthResponse # 
type Rep DescribeInstanceHealthResponse # 
type Rep DescribeInstanceHealthResponse = D1 * (MetaData "DescribeInstanceHealthResponse" "Network.AWS.ELB.DescribeInstanceHealth" "amazonka-elb-1.6.0-AOAnHslRpzcHbl5E6mmVU1" False) (C1 * (MetaCons "DescribeInstanceHealthResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dihrsInstanceStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [InstanceState]))) (S1 * (MetaSel (Just Symbol "_dihrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

dihrsInstanceStates :: Lens' DescribeInstanceHealthResponse [InstanceState] #

Information about the health of the instances.