paws.compute (version 0.1.0)

elasticbeanstalk_describe_environment_health: Returns information about the overall health of the specified environment

Description

Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.

Usage

elasticbeanstalk_describe_environment_health(EnvironmentName,
  EnvironmentId, AttributeNames)

Arguments

EnvironmentName

Specify the environment by name.

You must specify either this or an EnvironmentName, or both.

EnvironmentId

Specify the environment by ID.

You must specify either this or an EnvironmentName, or both.

AttributeNames

Specify the response elements to return. To retrieve all attributes, set to All. If no attribute names are specified, returns the name of the environment.

Request syntax

svc$describe_environment_health(
  EnvironmentName = "string",
  EnvironmentId = "string",
  AttributeNames = list(
    "Status"|"Color"|"Causes"|"ApplicationMetrics"|"InstancesHealth"|"All"|"HealthStatus"|"RefreshedAt"
  )
)

Examples

Run this code
# NOT RUN {
# The following operation retrieves overall health information for an
# environment named my-env:
# }
# NOT RUN {
svc$describe_environment_health(
  AttributeNames = list(
    "All"
  ),
  EnvironmentName = "my-env"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace