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

Copyright(c) 2013-2017 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 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 #

Contains the parameters for DescribeInstanceHealth.

See: describeInstanceHealth smart constructor.

Instances

Eq DescribeInstanceHealth Source # 
Data DescribeInstanceHealth Source # 

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 Source # 
Show DescribeInstanceHealth Source # 
Generic DescribeInstanceHealth Source # 
Hashable DescribeInstanceHealth Source # 
NFData DescribeInstanceHealth Source # 

Methods

rnf :: DescribeInstanceHealth -> () #

AWSRequest DescribeInstanceHealth Source # 
ToQuery DescribeInstanceHealth Source # 
ToPath DescribeInstanceHealth Source # 
ToHeaders DescribeInstanceHealth Source # 
type Rep DescribeInstanceHealth Source # 
type Rep DescribeInstanceHealth = D1 (MetaData "DescribeInstanceHealth" "Network.AWS.ELB.DescribeInstanceHealth" "amazonka-elb-1.5.0-3ZJtYTLyhL9IxSfJq1CfvG" 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 Source # 

Request Lenses

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 #

Contains the output for DescribeInstanceHealth.

See: describeInstanceHealthResponse smart constructor.

Instances

Eq DescribeInstanceHealthResponse Source # 
Data DescribeInstanceHealthResponse Source # 

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 Source # 
Show DescribeInstanceHealthResponse Source # 
Generic DescribeInstanceHealthResponse Source # 
NFData DescribeInstanceHealthResponse Source # 
type Rep DescribeInstanceHealthResponse Source # 
type Rep DescribeInstanceHealthResponse = D1 (MetaData "DescribeInstanceHealthResponse" "Network.AWS.ELB.DescribeInstanceHealth" "amazonka-elb-1.5.0-3ZJtYTLyhL9IxSfJq1CfvG" 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] Source #

Information about the health of the instances.