amazonka-elasticbeanstalk-1.5.0: Amazon Elastic Beanstalk 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.ElasticBeanstalk.DescribeInstancesHealth

Contents

Description

Retrives detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting .

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:

  • dihNextToken - Specify the pagination token returned by a previous call.
  • dihEnvironmentName - Specify the AWS Elastic Beanstalk environment by name.
  • dihAttributeNames - Specifies the response elements you wish to receive. To retrieve all attributes, set to All . If no attribute names are specified, returns a list of instances.
  • dihEnvironmentId - Specify the AWS Elastic Beanstalk environment by ID.

data DescribeInstancesHealth Source #

Parameters for a call to DescribeInstancesHealth .

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 # 
ToQuery DescribeInstancesHealth Source # 
ToPath DescribeInstancesHealth Source # 
ToHeaders DescribeInstancesHealth Source # 
type Rep DescribeInstancesHealth Source # 
type Rep DescribeInstancesHealth = D1 (MetaData "DescribeInstancesHealth" "Network.AWS.ElasticBeanstalk.DescribeInstancesHealth" "amazonka-elasticbeanstalk-1.5.0-HuYvjBPDirT34jkKSIOeuN" 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 #

Specify the pagination token returned by a previous call.

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

Specify the AWS Elastic Beanstalk environment by name.

dihAttributeNames :: Lens' DescribeInstancesHealth [InstancesHealthAttribute] Source #

Specifies the response elements you wish to receive. To retrieve all attributes, set to All . If no attribute names are specified, returns a list of instances.

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

Specify the AWS Elastic Beanstalk environment by 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 #

Detailed health information about the Amazon EC2 instances in an AWS Elastic Beanstalk environment.

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.5.0-HuYvjBPDirT34jkKSIOeuN" 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 #

Detailed health information about each instance.

dihrsNextToken :: Lens' DescribeInstancesHealthResponse (Maybe Text) Source #

Pagination token for the next page of results, if available.

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

The date and time that the health information was retrieved.