Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeInstancesHealth :: DescribeInstancesHealth
- data DescribeInstancesHealth
- dihNextToken :: Lens' DescribeInstancesHealth (Maybe Text)
- dihEnvironmentName :: Lens' DescribeInstancesHealth (Maybe Text)
- dihAttributeNames :: Lens' DescribeInstancesHealth [InstancesHealthAttribute]
- dihEnvironmentId :: Lens' DescribeInstancesHealth (Maybe Text)
- describeInstancesHealthResponse :: Int -> DescribeInstancesHealthResponse
- data DescribeInstancesHealthResponse
- dihrsInstanceHealthList :: Lens' DescribeInstancesHealthResponse [SingleInstanceHealth]
- dihrsNextToken :: Lens' DescribeInstancesHealthResponse (Maybe Text)
- dihrsRefreshedAt :: Lens' DescribeInstancesHealthResponse (Maybe UTCTime)
- dihrsResponseStatus :: Lens' DescribeInstancesHealthResponse Int
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.
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 returns all response elements.
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.
Response Lenses
dihrsInstanceHealthList :: Lens' DescribeInstancesHealthResponse [SingleInstanceHealth] Source
Contains the response body with information about the health of the instance.
dihrsNextToken :: Lens' DescribeInstancesHealthResponse (Maybe Text) Source
The next token.
dihrsRefreshedAt :: Lens' DescribeInstancesHealthResponse (Maybe UTCTime) Source
The date and time the information was last refreshed.
dihrsResponseStatus :: Lens' DescribeInstancesHealthResponse Int Source
The response status code.