Update Service Environment
| batch_update_service_environment | R Documentation |
Updates a service environment¶
Description¶
Updates a service environment. You can update the state of a service
environment from ENABLED to DISABLED to prevent new service jobs
from being placed in the service environment.
Usage¶
batch_update_service_environment(serviceEnvironment, state,
capacityLimits)
Arguments¶
serviceEnvironment |
[required] The name or ARN of the service environment to update. |
state |
The state of the service environment. |
capacityLimits |
The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment. |
Value¶
A list with the following syntax:
list(
serviceEnvironmentName = "string",
serviceEnvironmentArn = "string"
)
Request syntax¶
svc$update_service_environment(
serviceEnvironment = "string",
state = "ENABLED"|"DISABLED",
capacityLimits = list(
list(
maxCapacity = 123,
capacityUnit = "string"
)
)
)