Learn R Programming

paws.compute (version 0.1.12)

elasticbeanstalk_describe_environment_resources: Returns AWS resources for this environment

Description

Returns AWS resources for this environment.

Usage

elasticbeanstalk_describe_environment_resources(EnvironmentId,
  EnvironmentName)

Value

A list with the following syntax:

list(
  EnvironmentResources = list(
    EnvironmentName = "string",
    AutoScalingGroups = list(
      list(
        Name = "string"
      )
    ),
    Instances = list(
      list(
        Id = "string"
      )
    ),
    LaunchConfigurations = list(
      list(
        Name = "string"
      )
    ),
    LaunchTemplates = list(
      list(
        Id = "string"
      )
    ),
    LoadBalancers = list(
      list(
        Name = "string"
      )
    ),
    Triggers = list(
      list(
        Name = "string"
      )
    ),
    Queues = list(
      list(
        Name = "string",
        URL = "string"
      )
    )
  )
)

Arguments

EnvironmentId

The ID of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

EnvironmentName

The name of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Request syntax

svc$describe_environment_resources(
  EnvironmentId = "string",
  EnvironmentName = "string"
)

Examples

Run this code
if (FALSE) {
# The following operation retrieves information about resources in an
# environment named my-env:
svc$describe_environment_resources(
  EnvironmentName = "my-env"
)
}

Run the code above in your browser using DataLab