elasticbeanstalk_restart_app_server: Causes the environment to restart the application container...

Description Usage Arguments Value Request syntax Examples

View source: R/elasticbeanstalk_operations.R

Description

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

Usage

1
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.

Value

An empty list.

Request syntax

1
2
3
4
svc$restart_app_server(
  EnvironmentId = "string",
  EnvironmentName = "string"
)

Examples

1
2
3
4
5
6
7
8
## Not run: 
# The following operation restarts application servers on all instances in
# an environment named my-env:
svc$restart_app_server(
  EnvironmentName = "my-env"
)

## End(Not run)

paws.compute documentation built on March 7, 2021, 5:10 p.m.