Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo
Description
Retrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
- RequestEnvironmentInfo
Synopsis
- data RetrieveEnvironmentInfo = RetrieveEnvironmentInfo' {}
- newRetrieveEnvironmentInfo :: EnvironmentInfoType -> RetrieveEnvironmentInfo
- retrieveEnvironmentInfo_environmentId :: Lens' RetrieveEnvironmentInfo (Maybe Text)
- retrieveEnvironmentInfo_environmentName :: Lens' RetrieveEnvironmentInfo (Maybe Text)
- retrieveEnvironmentInfo_infoType :: Lens' RetrieveEnvironmentInfo EnvironmentInfoType
- data RetrieveEnvironmentInfoResponse = RetrieveEnvironmentInfoResponse' {}
- newRetrieveEnvironmentInfoResponse :: Int -> RetrieveEnvironmentInfoResponse
- retrieveEnvironmentInfoResponse_environmentInfo :: Lens' RetrieveEnvironmentInfoResponse (Maybe [EnvironmentInfoDescription])
- retrieveEnvironmentInfoResponse_httpStatus :: Lens' RetrieveEnvironmentInfoResponse Int
Creating a Request
data RetrieveEnvironmentInfo Source #
Request to download logs retrieved with RequestEnvironmentInfo.
See: newRetrieveEnvironmentInfo
smart constructor.
Constructors
RetrieveEnvironmentInfo' | |
Fields
|
Instances
newRetrieveEnvironmentInfo Source #
Create a value of RetrieveEnvironmentInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
RetrieveEnvironmentInfo
, retrieveEnvironmentInfo_environmentId
- 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.
RetrieveEnvironmentInfo
, retrieveEnvironmentInfo_environmentName
- 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.
RetrieveEnvironmentInfo
, retrieveEnvironmentInfo_infoType
- The type of information to retrieve.
Request Lenses
retrieveEnvironmentInfo_environmentId :: 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.
retrieveEnvironmentInfo_environmentName :: 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.
retrieveEnvironmentInfo_infoType :: Lens' RetrieveEnvironmentInfo EnvironmentInfoType Source #
The type of information to retrieve.
Destructuring the Response
data RetrieveEnvironmentInfoResponse Source #
Result message containing a description of the requested environment info.
See: newRetrieveEnvironmentInfoResponse
smart constructor.
Constructors
RetrieveEnvironmentInfoResponse' | |
Fields
|
Instances
newRetrieveEnvironmentInfoResponse Source #
Create a value of RetrieveEnvironmentInfoResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:environmentInfo:RetrieveEnvironmentInfoResponse'
, retrieveEnvironmentInfoResponse_environmentInfo
- The EnvironmentInfoDescription of the environment.
$sel:httpStatus:RetrieveEnvironmentInfoResponse'
, retrieveEnvironmentInfoResponse_httpStatus
- The response's http status code.
Response Lenses
retrieveEnvironmentInfoResponse_environmentInfo :: Lens' RetrieveEnvironmentInfoResponse (Maybe [EnvironmentInfoDescription]) Source #
The EnvironmentInfoDescription of the environment.
retrieveEnvironmentInfoResponse_httpStatus :: Lens' RetrieveEnvironmentInfoResponse Int Source #
The response's http status code.