describeInstancesHealth

abstract suspend fun describeInstancesHealth(input: DescribeInstancesHealthRequest = DescribeInstancesHealthRequest { }): DescribeInstancesHealthResponse

Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting.

Samples

// The following operation retrieves health information for instances in an environment named my env
val resp = elasticBeanstalkClient.describeInstancesHealth {
    environmentName = "my-env"
    attributeNames = listOf<InstancesHealthAttribute>(
        InstancesHealthAttribute.fromValue("All")
    )
}