Learn R Programming

paws.compute (version 0.1.12)

elasticbeanstalk_retrieve_environment_info: Retrieves the compiled information from a RequestEnvironmentInfo request

Description

Retrieves the compiled information from a request_environment_info request.

Related Topics

  • request_environment_info

Usage

elasticbeanstalk_retrieve_environment_info(EnvironmentId,
  EnvironmentName, InfoType)

Value

A list with the following syntax:

list(
  EnvironmentInfo = list(
    list(
      InfoType = "tail"|"bundle",
      Ec2InstanceId = "string",
      SampleTimestamp = as.POSIXct(
        "2015-01-01"
      ),
      Message = "string"
    )
  )
)

Arguments

EnvironmentId

The ID of the data's environment.

If no such environment is found, returns an InvalidParameterValue error.

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 data's environment.

If no such environment is found, returns an InvalidParameterValue error.

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

InfoType

[required] The type of information to retrieve.

Request syntax

svc$retrieve_environment_info(
  EnvironmentId = "string",
  EnvironmentName = "string",
  InfoType = "tail"|"bundle"
)

Examples

Run this code
if (FALSE) {
# The following operation retrieves a link to logs from an environment
# named my-env:
svc$retrieve_environment_info(
  EnvironmentName = "my-env",
  InfoType = "tail"
)
}

Run the code above in your browser using DataLab