amazonka-elasticbeanstalk-1.2.0.2: Amazon Elastic Beanstalk SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for DescribeInstancesHealth.

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:

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.

dihEnvironmentId :: Lens' DescribeInstancesHealth (Maybe Text) Source

Specifies the AWS Elastic Beanstalk environment ID.

dihAttributeNames :: Lens' DescribeInstancesHealth [InstancesHealthAttribute] Source

Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk returns all response elements.

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:

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.