Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_nextToken :: Lens' DescribeInstancesHealth (Maybe Text)
- describeInstancesHealth_environmentName :: Lens' DescribeInstancesHealth (Maybe Text)
- describeInstancesHealth_attributeNames :: Lens' DescribeInstancesHealth (Maybe [InstancesHealthAttribute])
- describeInstancesHealth_environmentId :: 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.
DescribeInstancesHealth' | |
|
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:nextToken:DescribeInstancesHealth'
, describeInstancesHealth_nextToken
- Specify the pagination token returned by a previous call.
$sel:environmentName:DescribeInstancesHealth'
, describeInstancesHealth_environmentName
- Specify the AWS Elastic Beanstalk environment by name.
$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.
$sel:environmentId:DescribeInstancesHealth'
, describeInstancesHealth_environmentId
- Specify the AWS Elastic Beanstalk environment by ID.
Request Lenses
describeInstancesHealth_nextToken :: Lens' DescribeInstancesHealth (Maybe Text) Source #
Specify the pagination token returned by a previous call.
describeInstancesHealth_environmentName :: Lens' DescribeInstancesHealth (Maybe Text) Source #
Specify the AWS Elastic Beanstalk environment by name.
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.
Destructuring the Response
data DescribeInstancesHealthResponse Source #
Detailed health information about the Amazon EC2 instances in an AWS Elastic Beanstalk environment.
See: newDescribeInstancesHealthResponse
smart constructor.
DescribeInstancesHealthResponse' | |
|
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.
$sel:nextToken: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.