paws.compute (version 0.1.0)

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

Description

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

Usage

elasticbeanstalk_restart_app_server(EnvironmentId, EnvironmentName)

Arguments

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.

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 syntax

svc$restart_app_server(
  EnvironmentId = "string",
  EnvironmentName = "string"
)

Examples

Run this code
# NOT RUN {
# The following operation restarts application servers on all instances in
# an environment named my-env:
# }
# NOT RUN {
svc$restart_app_server(
  EnvironmentName = "my-env"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace