amazonka-elasticbeanstalk-1.2.0.2: Amazon Elastic Beanstalk SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticBeanstalk.RequestEnvironmentInfo

Contents

Description

Initiates a request to compile the specified type of information of the deployed environment.

Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in your environment.

Setting the InfoType to bundle compresses the application server log files for every Amazon EC2 instance into a '.zip' file. Legacy and .NET containers do not support bundle logs.

Use RetrieveEnvironmentInfo to obtain the set of logs.

Related Topics

  • RetrieveEnvironmentInfo

See: AWS API Reference for RequestEnvironmentInfo.

Synopsis

Creating a Request

requestEnvironmentInfo Source

Creates a value of RequestEnvironmentInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

reiEnvironmentName :: Lens' RequestEnvironmentInfo (Maybe Text) Source

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.

reiEnvironmentId :: Lens' RequestEnvironmentInfo (Maybe Text) Source

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.

reiInfoType :: Lens' RequestEnvironmentInfo EnvironmentInfoType Source

The type of information to request.

Destructuring the Response

requestEnvironmentInfoResponse :: RequestEnvironmentInfoResponse Source

Creates a value of RequestEnvironmentInfoResponse with the minimum fields required to make a request.