libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Description

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

  • RequestEnvironmentInfo
Synopsis

Creating a Request

data RetrieveEnvironmentInfo Source #

Request to download logs retrieved with RequestEnvironmentInfo.

See: newRetrieveEnvironmentInfo smart constructor.

Constructors

RetrieveEnvironmentInfo' 

Fields

  • environmentName :: Maybe Text

    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.

  • environmentId :: Maybe Text

    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.

  • infoType :: EnvironmentInfoType

    The type of information to retrieve.

Instances

Instances details
Eq RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Read RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Show RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Generic RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Associated Types

type Rep RetrieveEnvironmentInfo :: Type -> Type #

NFData RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Methods

rnf :: RetrieveEnvironmentInfo -> () #

Hashable RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

AWSRequest RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

ToHeaders RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

ToPath RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

ToQuery RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

type Rep RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

type Rep RetrieveEnvironmentInfo = D1 ('MetaData "RetrieveEnvironmentInfo" "Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "RetrieveEnvironmentInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "infoType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnvironmentInfoType))))
type AWSResponse RetrieveEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

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.

Destructuring the Response

data RetrieveEnvironmentInfoResponse Source #

Result message containing a description of the requested environment info.

See: newRetrieveEnvironmentInfoResponse smart constructor.

Constructors

RetrieveEnvironmentInfoResponse' 

Fields

Instances

Instances details
Eq RetrieveEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Read RetrieveEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Show RetrieveEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Generic RetrieveEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

Associated Types

type Rep RetrieveEnvironmentInfoResponse :: Type -> Type #

NFData RetrieveEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RetrieveEnvironmentInfo

type Rep RetrieveEnvironmentInfoResponse Source # 
Instance details

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