| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticBeanstalk.DescribeInstancesHealth
Description
Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting.
Synopsis
- data DescribeInstancesHealth = DescribeInstancesHealth' {}
- newDescribeInstancesHealth :: DescribeInstancesHealth
- describeInstancesHealth_attributeNames :: Lens' DescribeInstancesHealth (Maybe [InstancesHealthAttribute])
- describeInstancesHealth_environmentId :: Lens' DescribeInstancesHealth (Maybe Text)
- describeInstancesHealth_environmentName :: Lens' DescribeInstancesHealth (Maybe Text)
- describeInstancesHealth_nextToken :: Lens' DescribeInstancesHealth (Maybe Text)
- data DescribeInstancesHealthResponse = DescribeInstancesHealthResponse' {}
- newDescribeInstancesHealthResponse :: Int -> DescribeInstancesHealthResponse
- describeInstancesHealthResponse_instanceHealthList :: Lens' DescribeInstancesHealthResponse (Maybe [SingleInstanceHealth])
- describeInstancesHealthResponse_nextToken :: Lens' DescribeInstancesHealthResponse (Maybe Text)
- describeInstancesHealthResponse_refreshedAt :: Lens' DescribeInstancesHealthResponse (Maybe UTCTime)
- describeInstancesHealthResponse_httpStatus :: Lens' DescribeInstancesHealthResponse Int
Creating a Request
data DescribeInstancesHealth Source #
Parameters for a call to DescribeInstancesHealth.
See: newDescribeInstancesHealth smart constructor.
Constructors
| DescribeInstancesHealth' | |
Fields
| |
Instances
newDescribeInstancesHealth :: DescribeInstancesHealth Source #
Create a value of DescribeInstancesHealth with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributeNames:DescribeInstancesHealth', describeInstancesHealth_attributeNames - 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.
DescribeInstancesHealth, describeInstancesHealth_environmentId - Specify the AWS Elastic Beanstalk environment by ID.
DescribeInstancesHealth, describeInstancesHealth_environmentName - Specify the AWS Elastic Beanstalk environment by name.
DescribeInstancesHealth, describeInstancesHealth_nextToken - Specify the pagination token returned by a previous call.
Request Lenses
describeInstancesHealth_attributeNames :: Lens' DescribeInstancesHealth (Maybe [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.
describeInstancesHealth_environmentId :: Lens' DescribeInstancesHealth (Maybe Text) Source #
Specify the AWS Elastic Beanstalk environment by ID.
describeInstancesHealth_environmentName :: Lens' DescribeInstancesHealth (Maybe Text) Source #
Specify the AWS Elastic Beanstalk environment by name.
describeInstancesHealth_nextToken :: Lens' DescribeInstancesHealth (Maybe Text) Source #
Specify the pagination token returned by a previous call.
Destructuring the Response
data DescribeInstancesHealthResponse Source #
Detailed health information about the Amazon EC2 instances in an AWS Elastic Beanstalk environment.
See: newDescribeInstancesHealthResponse smart constructor.
Constructors
| DescribeInstancesHealthResponse' | |
Fields
| |
Instances
newDescribeInstancesHealthResponse Source #
Create a value of DescribeInstancesHealthResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceHealthList:DescribeInstancesHealthResponse', describeInstancesHealthResponse_instanceHealthList - Detailed health information about each instance.
The output differs slightly between Linux and Windows environments.
There is a difference in the members that are supported under the
<CPUUtilization> type.
DescribeInstancesHealth, describeInstancesHealthResponse_nextToken - Pagination token for the next page of results, if available.
$sel:refreshedAt:DescribeInstancesHealthResponse', describeInstancesHealthResponse_refreshedAt - The date and time that the health information was retrieved.
$sel:httpStatus:DescribeInstancesHealthResponse', describeInstancesHealthResponse_httpStatus - The response's http status code.
Response Lenses
describeInstancesHealthResponse_instanceHealthList :: Lens' DescribeInstancesHealthResponse (Maybe [SingleInstanceHealth]) Source #
Detailed health information about each instance.
The output differs slightly between Linux and Windows environments.
There is a difference in the members that are supported under the
<CPUUtilization> type.
describeInstancesHealthResponse_nextToken :: Lens' DescribeInstancesHealthResponse (Maybe Text) Source #
Pagination token for the next page of results, if available.
describeInstancesHealthResponse_refreshedAt :: Lens' DescribeInstancesHealthResponse (Maybe UTCTime) Source #
The date and time that the health information was retrieved.
describeInstancesHealthResponse_httpStatus :: Lens' DescribeInstancesHealthResponse Int Source #
The response's http status code.