| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticBeanstalk.RestartAppServer
Description
Causes the environment to restart the application container server running on each Amazon EC2 instance.
Synopsis
- data RestartAppServer = RestartAppServer' {}
- newRestartAppServer :: RestartAppServer
- restartAppServer_environmentId :: Lens' RestartAppServer (Maybe Text)
- restartAppServer_environmentName :: Lens' RestartAppServer (Maybe Text)
- data RestartAppServerResponse = RestartAppServerResponse' {
- newRestartAppServerResponse :: RestartAppServerResponse
Creating a Request
data RestartAppServer Source #
See: newRestartAppServer smart constructor.
Constructors
| RestartAppServer' | |
Fields
| |
Instances
newRestartAppServer :: RestartAppServer Source #
Create a value of RestartAppServer with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
RestartAppServer, restartAppServer_environmentId - 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.
RestartAppServer, restartAppServer_environmentName - 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.
Request Lenses
restartAppServer_environmentId :: 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.
restartAppServer_environmentName :: 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.
Destructuring the Response
data RestartAppServerResponse Source #
See: newRestartAppServerResponse smart constructor.
Constructors
| RestartAppServerResponse' | |
Instances
newRestartAppServerResponse :: RestartAppServerResponse Source #
Create a value of RestartAppServerResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.