You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElasticBeanstalk::Types::RequestEnvironmentInfoMessage

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RequestEnvironmentInfoMessage as input to an Aws::Client method, you can use a vanilla Hash:

{
  environment_id: "EnvironmentId",
  environment_name: "EnvironmentName",
  info_type: "tail", # required, accepts tail, bundle
}

Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.

Instance Attribute Summary collapse

Instance Attribute Details

#environment_idString

The ID of the environment of the requested data.

If no such environment is found, RequestEnvironmentInfo 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.

Returns:

  • (String)

    The ID of the environment of the requested data.

#environment_nameString

The name of the environment of the requested data.

If no such environment is found, RequestEnvironmentInfo 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.

Returns:

  • (String)

    The name of the environment of the requested data.

#info_typeString

The type of information to request.

Possible values:

  • tail
  • bundle

Returns:

  • (String)

    The type of information to request.