Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- requestEnvironmentInfo :: EnvironmentInfoType -> RequestEnvironmentInfo
- data RequestEnvironmentInfo
- reiEnvironmentName :: Lens' RequestEnvironmentInfo (Maybe Text)
- reiEnvironmentId :: Lens' RequestEnvironmentInfo (Maybe Text)
- reiInfoType :: Lens' RequestEnvironmentInfo EnvironmentInfoType
- requestEnvironmentInfoResponse :: RequestEnvironmentInfoResponse
- data RequestEnvironmentInfoResponse
Creating a Request
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:
data RequestEnvironmentInfo Source
This documentation target is not reported in the API reference.
See: requestEnvironmentInfo
smart constructor.
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.
data RequestEnvironmentInfoResponse Source
See: requestEnvironmentInfoResponse
smart constructor.