Module Values.CreateServiceEnvironmentRequestSource

Creates a service environment for running service jobs. Service environments define capacity limits for specific service types such as SageMaker Training jobs.

Sourcetype nonrec t = {
  1. serviceEnvironmentName : String_.t;
    (*

    The name for the service environment. It can be up to 128 characters long and can contain letters, numbers, hyphens (-), and underscores (_).

    *)
  2. serviceEnvironmentType : ServiceEnvironmentType.t;
    (*

    The type of service environment. For SageMaker Training jobs, specify SAGEMAKER_TRAINING.

    *)
  3. state : ServiceEnvironmentState.t option;
    (*

    The state of the service environment. Valid values are ENABLED and DISABLED. The default value is ENABLED.

    *)
  4. capacityLimits : CapacityLimits.t;
    (*

    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.

    *)
  5. tags : TagrisTagsMap.t option;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : ?state:??? -> ?tags:??? -> serviceEnvironmentName:String_.t -> serviceEnvironmentType:ServiceEnvironmentType.t -> capacityLimits:CapacityLimits.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t