Copyright | (c) 2013-2021 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 |
Retrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
- RequestEnvironmentInfo
Synopsis
- data RetrieveEnvironmentInfo = RetrieveEnvironmentInfo' {}
- newRetrieveEnvironmentInfo :: EnvironmentInfoType -> RetrieveEnvironmentInfo
- retrieveEnvironmentInfo_environmentName :: Lens' RetrieveEnvironmentInfo (Maybe Text)
- retrieveEnvironmentInfo_environmentId :: 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.
RetrieveEnvironmentInfo' | |
|
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:
$sel:environmentName: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.
$sel:environmentId: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.
$sel:infoType:RetrieveEnvironmentInfo'
, retrieveEnvironmentInfo_infoType
- The type of information to retrieve.
Request Lenses
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_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_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.
RetrieveEnvironmentInfoResponse' | |
|
Instances
Eq RetrieveEnvironmentInfoResponse Source # | |
Read RetrieveEnvironmentInfoResponse Source # | |
Show RetrieveEnvironmentInfoResponse Source # | |
Generic RetrieveEnvironmentInfoResponse Source # | |
NFData RetrieveEnvironmentInfoResponse Source # | |
Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo rnf :: RetrieveEnvironmentInfoResponse -> () # | |
type Rep RetrieveEnvironmentInfoResponse Source # | |
Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo type Rep RetrieveEnvironmentInfoResponse = D1 ('MetaData "RetrieveEnvironmentInfoResponse" "Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "RetrieveEnvironmentInfoResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnvironmentInfoDescription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.