Creates a service environment for running service jobs
Source:R/batch_operations.R
batch_create_service_environment.RdCreates a service environment for running service jobs. Service environments define capacity limits for specific service types such as SageMaker Training jobs.
See https://www.paws-r-sdk.com/docs/batch_create_service_environment/ for full documentation.
Usage
batch_create_service_environment(
serviceEnvironmentName,
serviceEnvironmentType,
state = NULL,
capacityLimits,
tags = NULL
)Arguments
- serviceEnvironmentName
[required] The name for the service environment. It can be up to 128 characters long and can contain letters, numbers, hyphens (-), and underscores (_).
- serviceEnvironmentType
[required] The type of service environment. For SageMaker Training jobs, specify
SAGEMAKER_TRAINING.- state
The state of the service environment. Valid values are
ENABLEDandDISABLED. The default value isENABLED.- capacityLimits
[required] The capacity limits for the service environment. The number of instances a job consumes is the total number of instances requested in the submit training job request resource configuration.
The tags that you apply to the service environment to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.