| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElasticBeanstalk.RestartAppServer
Description
Causes the environment to restart the application container server running on each Amazon EC2 instance.
See: AWS API Reference for RestartAppServer.
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
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.