amazonka-elasticbeanstalk-1.0.0: Amazon Elastic Beanstalk SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for RestartAppServer.

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:

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.