amazonka-elasticbeanstalk-0.1.1: Amazon Elastic Beanstalk SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.ElasticBeanstalk.RestartAppServer

Contents

Description

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

http://docs.aws.amazon.com/elasticbeanstalk/latest/api/API_RestartAppServer.html

Synopsis

Request

Request constructor

restartAppServer :: RestartAppServer Source

RestartAppServer constructor.

The fields accessible through corresponding lenses are:

Request lenses

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.

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.

Response

Response constructor