Copyright | (c) 2013-2016 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 |
Retrives detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting .
- 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:
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 toAll
. 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.
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:
dihrsInstanceHealthList
- Detailed health information about each instance.dihrsNextToken
- Pagination token for the next page of results, if available.dihrsRefreshedAt
- The date and time that the health information was retrieved.dihrsResponseStatus
- -- | The response status code.
data DescribeInstancesHealthResponse Source #
Detailed health information about the Amazon EC2 instances in an AWS Elastic Beanstalk environment.
See: describeInstancesHealthResponse
smart constructor.
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.
dihrsResponseStatus :: Lens' DescribeInstancesHealthResponse Int Source #
- - | The response status code.