http://elasticbeanstalk.{region}.amazonaws.com/#Action=DescribeEnvironmentHealthReturns information about the overall health of the specified environment. The <b>DescribeEnvironmentHealth</b> operation is only available with AWS Elastic Beanstalk Enhanced Health.
<p>Specify the environment by name.</p> <p>You must specify either this or an EnvironmentName, or both.</p>
<p>Specify the environment by ID.</p> <p>You must specify either this or an EnvironmentName, or both.</p>
Specify the response elements to return. To retrieve all attributes, set to <code>All</code>. If no attribute names are specified, returns the name of the environment.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://elasticbeanstalk.{region}.amazonaws.com/#Action=DescribeEnvironmentHealth' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://elasticbeanstalk.{region}.amazonaws.com/#Action=DescribeEnvironmentHealthReturns information about the overall health of the specified environment. The <b>DescribeEnvironmentHealth</b> operation is only available with AWS Elastic Beanstalk Enhanced Health.
<p>Specify the environment by name.</p> <p>You must specify either this or an EnvironmentName, or both.</p>
<p>Specify the environment by ID.</p> <p>You must specify either this or an EnvironmentName, or both.</p>
Specify the response elements to return. To retrieve all attributes, set to <code>All</code>. If no attribute names are specified, returns the name of the environment.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://elasticbeanstalk.{region}.amazonaws.com/#Action=DescribeEnvironmentHealth' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}