Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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
- 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
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:
reiEnvironmentName
- The name of the environment of the requested data. If no such environment is found,RequestEnvironmentInfo
returns anInvalidParameterValue
error. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returnsMissingRequiredParameter
error.reiEnvironmentId
- The ID of the environment of the requested data. If no such environment is found,RequestEnvironmentInfo
returns anInvalidParameterValue
error. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returnsMissingRequiredParameter
error.reiInfoType
- The type of information to request.
data RequestEnvironmentInfo Source #
Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.
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.