Module Values.SubmitServiceJobRequestSource

Submits a service job to a specified job queue to run on SageMaker AI. A service job is a unit of work that you submit to Batch for execution on SageMaker AI.

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

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

    *)
  2. jobQueue : String_.t;
    (*

    The job queue into which the service job is submitted. You can specify either the name or the ARN of the queue. The job queue must have the type SAGEMAKER_TRAINING.

    *)
  3. retryStrategy : ServiceJobRetryStrategy.t option;
    (*

    The retry strategy to use for failed service jobs that are submitted with this service job request.

    *)
  4. schedulingPriority : Integer.t option;
    (*

    The scheduling priority of the service job. Valid values are integers between 0 and 9999.

    *)
  5. serviceRequestPayload : String_.t;
    (*

    The request, in JSON, for the service that the SubmitServiceJob operation is queueing.

    *)
  6. serviceJobType : ServiceJobType.t;
    (*

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

    *)
  7. shareIdentifier : String_.t option;
    (*

    The share identifier for the service job. Don't specify this parameter if the job queue doesn't have a fair-share scheduling policy. If the job queue has a fair-share scheduling policy, then this parameter must be specified.

    *)
  8. quotaShareName : String_.t option;
    (*

    The quota share for the service job. Don't specify this parameter if the job queue doesn't have a quota share scheduling policy. If the job queue has a quota share scheduling policy, then this parameter must be specified.

    *)
  9. preemptionConfiguration : ServiceJobPreemptionConfiguration.t option;
    (*

    Specifies the service job behavior when preempted.

    *)
  10. timeoutConfig : ServiceJobTimeout.t option;
    (*

    The timeout configuration for the service job. If none is specified, Batch defers to the default timeout of the underlying service handling the job.

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

    The tags that you apply to the service job request. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.

    *)
  12. clientToken : ClientRequestToken.t option;
    (*

    A unique identifier for the request. This token is used to ensure idempotency of requests. If this parameter is specified and two submit requests with identical payloads and clientTokens are received, these requests are considered the same request and the second request is rejected.

    *)
}
Sourceval context_ : string
Sourceval make : ?retryStrategy:??? -> ?schedulingPriority:??? -> ?shareIdentifier:??? -> ?quotaShareName:??? -> ?preemptionConfiguration:??? -> ?timeoutConfig:??? -> ?tags:??? -> ?clientToken:??? -> jobName:String_.t -> jobQueue:String_.t -> serviceRequestPayload:String_.t -> serviceJobType:ServiceJobType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list ]) list ]) 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