restartAppServer

abstract suspend fun restartAppServer(input: RestartAppServerRequest = RestartAppServerRequest { }): RestartAppServerResponse

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

Samples

// The following operation restarts application servers on all instances in an environment named my env
elasticBeanstalkClient.restartAppServer {
    environmentName = "my-env"
}