Module Values.DescribeServiceJobResponseSource

The details of a service job.

Sourcetype nonrec t = {
  1. attempts : ServiceJobAttemptDetails.t option;
    (*

    A list of job attempts associated with the service job.

    *)
  2. capacityUsage : ServiceJobCapacityUsageDetailList.t option;
    (*

    The configured capacity for the service job, such as the number of instances. The number of instances should be the same value as the serviceRequestPayload.InstanceCount field.

    *)
  3. createdAt : Long.t option;
    (*

    The Unix timestamp (in milliseconds) for when the service job was created.

    *)
  4. isTerminated : Boolean.t option;
    (*

    Indicates whether the service job has been terminated.

    *)
  5. jobArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) of the service job.

    *)
  6. jobId : String_.t option;
    (*

    The job ID for the service job.

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

    The name of the service job.

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

    The ARN of the job queue that the service job is associated with.

    *)
  9. latestAttempt : LatestServiceJobAttempt.t option;
    (*

    The latest attempt associated with the service job.

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

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

    *)
  11. scheduledAt : Long.t option;
    (*

    The Unix timestamp (in milliseconds) for when the service job was scheduled. This represents when the service job was dispatched to SageMaker and the service job transitioned to the SCHEDULED state.

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

    The scheduling priority of the service job.

    *)
  13. serviceRequestPayload : String_.t option;
    (*

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

    *)
  14. serviceJobType : ServiceJobType.t option;
    (*

    The type of service job. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING.

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

    The share identifier for the service job. This is used for fair-share scheduling.

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

    The name of the quota share that the service job is associated with.

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

    Specifies the service job behavior when preempted.

    *)
  18. preemptionSummary : ServiceJobPreemptionSummary.t option;
    (*

    Summarizes the preemptions of the service job. This field appears on a service job when it has been preempted.

    *)
  19. startedAt : Long.t option;
    (*

    The Unix timestamp (in milliseconds) for when the service job was started.

    *)
  20. status : ServiceJobStatus.t option;
    (*

    The current status of the service job.

    *)
  21. statusReason : String_.t option;
    (*

    A short, human-readable string to provide more details for the current status of the service job.

    *)
  22. stoppedAt : Long.t option;
    (*

    The Unix timestamp (in milliseconds) for when the service job stopped running.

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

    The tags that are associated with the service job. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.

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

    The timeout configuration for the service job.

    *)
}
Sourcetype nonrec error = [
  1. | `ClientException of ClientException.t
  2. | `ServerException of ServerException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?attempts:??? -> ?capacityUsage:??? -> ?createdAt:??? -> ?isTerminated:??? -> ?jobArn:??? -> ?jobId:??? -> ?jobName:??? -> ?jobQueue:??? -> ?latestAttempt:??? -> ?retryStrategy:??? -> ?scheduledAt:??? -> ?schedulingPriority:??? -> ?serviceRequestPayload:??? -> ?serviceJobType:??? -> ?shareIdentifier:??? -> ?quotaShareName:??? -> ?preemptionConfiguration:??? -> ?preemptionSummary:??? -> ?startedAt:??? -> ?status:??? -> ?statusReason:??? -> ?stoppedAt:??? -> ?tags:??? -> ?timeoutConfig:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClientException of ClientException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClientException of ClientException.t | `ServerException of ServerException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `Double of Double.t | `Long of Long.t | `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list ]) list ] list | `Long of Long.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 | `Long of Long.t | `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list ]) list ] list | `Structure of (string * [> `Enum of string | `String of String_.t ]) 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