| 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 |
Network.AWS.ElasticBeanstalk.RetrieveEnvironmentInfo
Description
Retrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
RequestEnvironmentInfo
Synopsis
- retrieveEnvironmentInfo :: EnvironmentInfoType -> RetrieveEnvironmentInfo
- data RetrieveEnvironmentInfo
- rEnvironmentName :: Lens' RetrieveEnvironmentInfo (Maybe Text)
- rEnvironmentId :: Lens' RetrieveEnvironmentInfo (Maybe Text)
- rInfoType :: Lens' RetrieveEnvironmentInfo EnvironmentInfoType
- retrieveEnvironmentInfoResponse :: Int -> RetrieveEnvironmentInfoResponse
- data RetrieveEnvironmentInfoResponse
- reirsEnvironmentInfo :: Lens' RetrieveEnvironmentInfoResponse [EnvironmentInfoDescription]
- reirsResponseStatus :: Lens' RetrieveEnvironmentInfoResponse Int
Creating a Request
retrieveEnvironmentInfo Source #
Arguments
| :: EnvironmentInfoType | |
| -> RetrieveEnvironmentInfo |
Creates a value of RetrieveEnvironmentInfo with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rEnvironmentName- The name of the data's environment. If no such environment is found, returns anInvalidParameterValueerror. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returnsMissingRequiredParametererror.rEnvironmentId- The ID of the data's environment. If no such environment is found, returns anInvalidParameterValueerror. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returnsMissingRequiredParametererror.rInfoType- The type of information to retrieve.
data RetrieveEnvironmentInfo Source #
Request to download logs retrieved with RequestEnvironmentInfo .
See: retrieveEnvironmentInfo smart constructor.
Instances
Request Lenses
rEnvironmentName :: Lens' RetrieveEnvironmentInfo (Maybe Text) Source #
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.
rEnvironmentId :: Lens' RetrieveEnvironmentInfo (Maybe Text) Source #
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.
rInfoType :: Lens' RetrieveEnvironmentInfo EnvironmentInfoType Source #
The type of information to retrieve.
Destructuring the Response
retrieveEnvironmentInfoResponse Source #
Arguments
| :: Int | |
| -> RetrieveEnvironmentInfoResponse |
Creates a value of RetrieveEnvironmentInfoResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
reirsEnvironmentInfo- TheEnvironmentInfoDescriptionof the environment.reirsResponseStatus- -- | The response status code.
data RetrieveEnvironmentInfoResponse Source #
Result message containing a description of the requested environment info.
See: retrieveEnvironmentInfoResponse smart constructor.
Instances
Response Lenses
reirsEnvironmentInfo :: Lens' RetrieveEnvironmentInfoResponse [EnvironmentInfoDescription] Source #
The EnvironmentInfoDescription of the environment.
reirsResponseStatus :: Lens' RetrieveEnvironmentInfoResponse Int Source #
- - | The response status code.