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.RequestEnvironmentInfo

Description

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
Synopsis

Creating a Request

data RequestEnvironmentInfo Source #

Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.

See: newRequestEnvironmentInfo smart constructor.

Constructors

RequestEnvironmentInfo' 

Fields

  • environmentName :: Maybe Text

    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.

  • environmentId :: Maybe Text

    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.

  • infoType :: EnvironmentInfoType

    The type of information to request.

Instances

Instances details
Eq RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Read RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Show RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Generic RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Associated Types

type Rep RequestEnvironmentInfo :: Type -> Type #

NFData RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Methods

rnf :: RequestEnvironmentInfo -> () #

Hashable RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

AWSRequest RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Associated Types

type AWSResponse RequestEnvironmentInfo #

ToHeaders RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

ToPath RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

ToQuery RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

type Rep RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

type Rep RequestEnvironmentInfo = D1 ('MetaData "RequestEnvironmentInfo" "Amazonka.ElasticBeanstalk.RequestEnvironmentInfo" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "RequestEnvironmentInfo'" '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 RequestEnvironmentInfo Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

newRequestEnvironmentInfo Source #

Create a value of RequestEnvironmentInfo 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:RequestEnvironmentInfo', requestEnvironmentInfo_environmentName - 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.

$sel:environmentId:RequestEnvironmentInfo', requestEnvironmentInfo_environmentId - 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.

$sel:infoType:RequestEnvironmentInfo', requestEnvironmentInfo_infoType - The type of information to request.

Request Lenses

requestEnvironmentInfo_environmentName :: 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.

requestEnvironmentInfo_environmentId :: 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.

Destructuring the Response

data RequestEnvironmentInfoResponse Source #

See: newRequestEnvironmentInfoResponse smart constructor.

Instances

Instances details
Eq RequestEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Read RequestEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Show RequestEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Generic RequestEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

Associated Types

type Rep RequestEnvironmentInfoResponse :: Type -> Type #

NFData RequestEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

type Rep RequestEnvironmentInfoResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.RequestEnvironmentInfo

type Rep RequestEnvironmentInfoResponse = D1 ('MetaData "RequestEnvironmentInfoResponse" "Amazonka.ElasticBeanstalk.RequestEnvironmentInfo" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "RequestEnvironmentInfoResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRequestEnvironmentInfoResponse :: RequestEnvironmentInfoResponse Source #

Create a value of RequestEnvironmentInfoResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.