amazonka-elasticbeanstalk-1.4.2: Amazon Elastic Beanstalk SDK.

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

Network.AWS.ElasticBeanstalk.DescribeInstancesHealth

Contents

Description

Returns more detailed information about the health of the specified instances (for example, CPU utilization, load average, and causes). The DescribeInstancesHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.

Synopsis

Creating a Request

describeInstancesHealth :: DescribeInstancesHealth Source #

Creates a value of DescribeInstancesHealth with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeInstancesHealth Source #

See the example below to learn how to create a request body.

See: describeInstancesHealth smart constructor.

Instances

Eq DescribeInstancesHealth Source # 
Data DescribeInstancesHealth Source # 

Methods

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

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

toConstr :: DescribeInstancesHealth -> Constr #

dataTypeOf :: DescribeInstancesHealth -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeInstancesHealth Source # 
Show DescribeInstancesHealth Source # 
Generic DescribeInstancesHealth Source # 
Hashable DescribeInstancesHealth Source # 
NFData DescribeInstancesHealth Source # 

Methods

rnf :: DescribeInstancesHealth -> () #

AWSRequest DescribeInstancesHealth Source # 
ToPath DescribeInstancesHealth Source # 
ToHeaders DescribeInstancesHealth Source # 
ToQuery DescribeInstancesHealth Source # 
type Rep DescribeInstancesHealth Source # 
type Rep DescribeInstancesHealth = D1 (MetaData "DescribeInstancesHealth" "Network.AWS.ElasticBeanstalk.DescribeInstancesHealth" "amazonka-elasticbeanstalk-1.4.2-AhPbUQCjkO1G4FK5rH79RR" False) (C1 (MetaCons "DescribeInstancesHealth'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dihNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dihEnvironmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dihAttributeNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstancesHealthAttribute]))) (S1 (MetaSel (Just Symbol "_dihEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs DescribeInstancesHealth Source # 

Request Lenses

dihNextToken :: Lens' DescribeInstancesHealth (Maybe Text) Source #

Specifies the next token of the request.

dihEnvironmentName :: Lens' DescribeInstancesHealth (Maybe Text) Source #

Specifies the AWS Elastic Beanstalk environment name.

dihAttributeNames :: Lens' DescribeInstancesHealth [InstancesHealthAttribute] Source #

Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.

dihEnvironmentId :: Lens' DescribeInstancesHealth (Maybe Text) Source #

Specifies the AWS Elastic Beanstalk environment ID.

Destructuring the Response

describeInstancesHealthResponse Source #

Creates a value of DescribeInstancesHealthResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeInstancesHealthResponse Source #

See the example below for a sample response.

See: describeInstancesHealthResponse smart constructor.

Instances

Eq DescribeInstancesHealthResponse Source # 
Data DescribeInstancesHealthResponse Source # 

Methods

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

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

toConstr :: DescribeInstancesHealthResponse -> Constr #

dataTypeOf :: DescribeInstancesHealthResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeInstancesHealthResponse Source # 
Show DescribeInstancesHealthResponse Source # 
Generic DescribeInstancesHealthResponse Source # 
NFData DescribeInstancesHealthResponse Source # 
type Rep DescribeInstancesHealthResponse Source # 
type Rep DescribeInstancesHealthResponse = D1 (MetaData "DescribeInstancesHealthResponse" "Network.AWS.ElasticBeanstalk.DescribeInstancesHealth" "amazonka-elasticbeanstalk-1.4.2-AhPbUQCjkO1G4FK5rH79RR" False) (C1 (MetaCons "DescribeInstancesHealthResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dihrsInstanceHealthList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SingleInstanceHealth]))) (S1 (MetaSel (Just Symbol "_dihrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dihrsRefreshedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_dihrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dihrsInstanceHealthList :: Lens' DescribeInstancesHealthResponse [SingleInstanceHealth] Source #

Contains the response body with information about the health of the instance.

dihrsRefreshedAt :: Lens' DescribeInstancesHealthResponse (Maybe UTCTime) Source #

The date and time the information was last refreshed.