Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Causes the environment to restart the application container server running on each Amazon EC2 instance.
Synopsis
- data RestartAppServer = RestartAppServer' {}
- newRestartAppServer :: RestartAppServer
- restartAppServer_environmentName :: Lens' RestartAppServer (Maybe Text)
- restartAppServer_environmentId :: Lens' RestartAppServer (Maybe Text)
- data RestartAppServerResponse = RestartAppServerResponse' {
- newRestartAppServerResponse :: RestartAppServerResponse
Creating a Request
data RestartAppServer Source #
See: newRestartAppServer
smart constructor.
RestartAppServer' | |
|
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:
$sel:environmentName: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.
$sel:environmentId: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.
Request Lenses
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.
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.
Destructuring the Response
data RestartAppServerResponse Source #
See: newRestartAppServerResponse
smart constructor.
Instances
newRestartAppServerResponse :: RestartAppServerResponse Source #
Create a value of RestartAppServerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.