restartAppServer
inline suspend fun ElasticBeanstalkClient.restartAppServer(crossinline block: RestartAppServerRequest.Builder.() -> Unit): RestartAppServerResponse
Causes the environment to restart the application container server running on each Amazon EC2 instance.
Samples
fun main() {
//sampleStart
// The following operation restarts application servers on all instances in an environment named my env
elasticBeanstalkClient.restartAppServer {
environmentName = "my-env"
}
//sampleEnd
}