amazonka-elasticbeanstalk-1.6.0: Amazon Elastic Beanstalk SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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 Source #

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

See: requestEnvironmentInfo smart constructor.

Instances

Eq RequestEnvironmentInfo Source # 
Data RequestEnvironmentInfo Source # 

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 Source # 
Show RequestEnvironmentInfo Source # 
Generic RequestEnvironmentInfo Source # 
Hashable RequestEnvironmentInfo Source # 
NFData RequestEnvironmentInfo Source # 

Methods

rnf :: RequestEnvironmentInfo -> () #

AWSRequest RequestEnvironmentInfo Source # 
ToHeaders RequestEnvironmentInfo Source # 
ToPath RequestEnvironmentInfo Source # 
ToQuery RequestEnvironmentInfo Source # 
type Rep RequestEnvironmentInfo Source # 
type Rep RequestEnvironmentInfo = D1 * (MetaData "RequestEnvironmentInfo" "Network.AWS.ElasticBeanstalk.RequestEnvironmentInfo" "amazonka-elasticbeanstalk-1.6.0-4Kt4TpxAtj66tluiSbk4fC" 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 Source # 

Request Lenses

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

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

reiInfoType :: Lens' RequestEnvironmentInfo EnvironmentInfoType Source #

The type of information to request.

Destructuring the Response

requestEnvironmentInfoResponse :: RequestEnvironmentInfoResponse Source #

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

data RequestEnvironmentInfoResponse Source #

See: requestEnvironmentInfoResponse smart constructor.

Instances

Eq RequestEnvironmentInfoResponse Source # 
Data RequestEnvironmentInfoResponse Source # 

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 Source # 
Show RequestEnvironmentInfoResponse Source # 
Generic RequestEnvironmentInfoResponse Source # 
NFData RequestEnvironmentInfoResponse Source # 
type Rep RequestEnvironmentInfoResponse Source # 
type Rep RequestEnvironmentInfoResponse = D1 * (MetaData "RequestEnvironmentInfoResponse" "Network.AWS.ElasticBeanstalk.RequestEnvironmentInfo" "amazonka-elasticbeanstalk-1.6.0-4Kt4TpxAtj66tluiSbk4fC" False) (C1 * (MetaCons "RequestEnvironmentInfoResponse'" PrefixI False) (U1 *))