amazonka-elasticbeanstalk-1.4.5: Amazon Elastic Beanstalk SDK.

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

Network.AWS.ElasticBeanstalk.RequestEnvironmentInfo

Contents

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

requestEnvironmentInfo #

Creates a value of RequestEnvironmentInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • reiEnvironmentName - 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.
  • reiEnvironmentId - 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.
  • reiInfoType - The type of information to request.

data RequestEnvironmentInfo #

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

See: requestEnvironmentInfo smart constructor.

Instances

Eq RequestEnvironmentInfo # 
Data RequestEnvironmentInfo # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RequestEnvironmentInfo -> c RequestEnvironmentInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RequestEnvironmentInfo #

toConstr :: RequestEnvironmentInfo -> Constr #

dataTypeOf :: RequestEnvironmentInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RequestEnvironmentInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RequestEnvironmentInfo) #

gmapT :: (forall b. Data b => b -> b) -> RequestEnvironmentInfo -> RequestEnvironmentInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RequestEnvironmentInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RequestEnvironmentInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> RequestEnvironmentInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RequestEnvironmentInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RequestEnvironmentInfo -> m RequestEnvironmentInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RequestEnvironmentInfo -> m RequestEnvironmentInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RequestEnvironmentInfo -> m RequestEnvironmentInfo #

Read RequestEnvironmentInfo # 
Show RequestEnvironmentInfo # 
Generic RequestEnvironmentInfo # 
Hashable RequestEnvironmentInfo # 
NFData RequestEnvironmentInfo # 

Methods

rnf :: RequestEnvironmentInfo -> () #

AWSRequest RequestEnvironmentInfo # 
ToQuery RequestEnvironmentInfo # 
ToPath RequestEnvironmentInfo # 
ToHeaders RequestEnvironmentInfo # 
type Rep RequestEnvironmentInfo # 
type Rep RequestEnvironmentInfo = D1 (MetaData "RequestEnvironmentInfo" "Network.AWS.ElasticBeanstalk.RequestEnvironmentInfo" "amazonka-elasticbeanstalk-1.4.5-GUwvc4uXtdOCAVsn3FPFRh" False) (C1 (MetaCons "RequestEnvironmentInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_reiEnvironmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_reiEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_reiInfoType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EnvironmentInfoType)))))
type Rs RequestEnvironmentInfo # 

Request Lenses

reiEnvironmentName :: Lens' RequestEnvironmentInfo (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.

reiEnvironmentId :: Lens' RequestEnvironmentInfo (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.

reiInfoType :: Lens' RequestEnvironmentInfo EnvironmentInfoType #

The type of information to request.

Destructuring the Response

requestEnvironmentInfoResponse :: RequestEnvironmentInfoResponse #

Creates a value of RequestEnvironmentInfoResponse with the minimum fields required to make a request.

data RequestEnvironmentInfoResponse #

See: requestEnvironmentInfoResponse smart constructor.

Instances

Eq RequestEnvironmentInfoResponse # 
Data RequestEnvironmentInfoResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RequestEnvironmentInfoResponse -> c RequestEnvironmentInfoResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RequestEnvironmentInfoResponse #

toConstr :: RequestEnvironmentInfoResponse -> Constr #

dataTypeOf :: RequestEnvironmentInfoResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RequestEnvironmentInfoResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RequestEnvironmentInfoResponse) #

gmapT :: (forall b. Data b => b -> b) -> RequestEnvironmentInfoResponse -> RequestEnvironmentInfoResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RequestEnvironmentInfoResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RequestEnvironmentInfoResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RequestEnvironmentInfoResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RequestEnvironmentInfoResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RequestEnvironmentInfoResponse -> m RequestEnvironmentInfoResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RequestEnvironmentInfoResponse -> m RequestEnvironmentInfoResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RequestEnvironmentInfoResponse -> m RequestEnvironmentInfoResponse #

Read RequestEnvironmentInfoResponse # 
Show RequestEnvironmentInfoResponse # 
Generic RequestEnvironmentInfoResponse # 
NFData RequestEnvironmentInfoResponse # 
type Rep RequestEnvironmentInfoResponse # 
type Rep RequestEnvironmentInfoResponse = D1 (MetaData "RequestEnvironmentInfoResponse" "Network.AWS.ElasticBeanstalk.RequestEnvironmentInfo" "amazonka-elasticbeanstalk-1.4.5-GUwvc4uXtdOCAVsn3FPFRh" False) (C1 (MetaCons "RequestEnvironmentInfoResponse'" PrefixI False) U1)