amazonka-elasticbeanstalk-1.4.4: 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.RestartAppServer

Contents

Description

Causes the environment to restart the application container server running on each Amazon EC2 instance.

Synopsis

Creating a Request

restartAppServer :: RestartAppServer Source #

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

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

data RestartAppServer Source #

See: restartAppServer smart constructor.

Instances

Eq RestartAppServer Source # 
Data RestartAppServer Source # 

Methods

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

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

toConstr :: RestartAppServer -> Constr #

dataTypeOf :: RestartAppServer -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RestartAppServer Source # 
Show RestartAppServer Source # 
Generic RestartAppServer Source # 
Hashable RestartAppServer Source # 
NFData RestartAppServer Source # 

Methods

rnf :: RestartAppServer -> () #

AWSRequest RestartAppServer Source # 
ToPath RestartAppServer Source # 
ToHeaders RestartAppServer Source # 
ToQuery RestartAppServer Source # 
type Rep RestartAppServer Source # 
type Rep RestartAppServer = D1 (MetaData "RestartAppServer" "Network.AWS.ElasticBeanstalk.RestartAppServer" "amazonka-elasticbeanstalk-1.4.4-6xLHE3NeRVu3b9wYCxQH97" False) (C1 (MetaCons "RestartAppServer'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rasEnvironmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rasEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs RestartAppServer Source # 

Request Lenses

rasEnvironmentName :: Lens' RestartAppServer (Maybe Text) Source #

The name of the environment to restart the server for.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

rasEnvironmentId :: Lens' RestartAppServer (Maybe Text) Source #

The ID of the environment to restart the server for.

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

restartAppServerResponse :: RestartAppServerResponse Source #

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

data RestartAppServerResponse Source #

See: restartAppServerResponse smart constructor.

Instances

Eq RestartAppServerResponse Source # 
Data RestartAppServerResponse Source # 

Methods

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

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

toConstr :: RestartAppServerResponse -> Constr #

dataTypeOf :: RestartAppServerResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RestartAppServerResponse Source # 
Show RestartAppServerResponse Source # 
Generic RestartAppServerResponse Source # 
NFData RestartAppServerResponse Source # 
type Rep RestartAppServerResponse Source # 
type Rep RestartAppServerResponse = D1 (MetaData "RestartAppServerResponse" "Network.AWS.ElasticBeanstalk.RestartAppServer" "amazonka-elasticbeanstalk-1.4.4-6xLHE3NeRVu3b9wYCxQH97" False) (C1 (MetaCons "RestartAppServerResponse'" PrefixI False) U1)