Values.GetJobResponseSourceMixin that adds an optional ARN field to response structures. Apply to SummaryMixins (flows into Get, Summary, and BatchGet) and Create outputs.
type nonrec t = {jobId : JobId.t option;The job ID.
*)name : JobName.t option;The name of the job.
*)lifecycleStatus : JobLifecycleStatus.t option;The life cycle status for the job.
*)lifecycleStatusMessage : String_.t option;A message that communicates the status of the life cycle for the job.
*)priority : JobPriority.t option;The job priority.
*)createdAt : CreatedAt.t option;The date and time the resource was created.
*)createdBy : CreatedBy.t option;The user or system that created this resource.
*)updatedAt : UpdatedAt.t option;The date and time the resource was updated.
*)updatedBy : UpdatedBy.t option;The user or system that updated this resource.
*)startedAt : StartedAt.t option;The date and time the resource started running.
*)endedAt : EndedAt.t option;The date and time the resource ended running.
*)taskRunStatus : TaskRunStatus.t option;The task run status for the job.
*)targetTaskRunStatus : JobTargetTaskRunStatus.t option;The task status with which the job started.
*)taskRunStatusCounts : TaskRunStatusCounts.t option;The number of tasks running on the job.
*)taskFailureRetryCount : TaskFailureRetryCount.t option;The total number of times tasks from the job failed and were retried.
*)storageProfileId : StorageProfileId.t option;The storage profile ID associated with the job.
*)maxFailedTasksCount : MaxFailedTasksCount.t option;The number of task failures before the job stops running and is marked as FAILED.
*)maxRetriesPerTask : MaxRetriesPerTask.t option;The maximum number of retries per failed tasks.
*)parameters : JobParameters.t option;The parameters for the job.
*)attachments : Attachments.t option;The attachments for the job.
*)description : JobDescription.t option;The description of the job. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
*)maxWorkerCount : MaxWorkerCount.t option;The maximum number of worker hosts that can concurrently process a job. When the maxWorkerCount is reached, no more workers will be assigned to process the job, even if the fleets assigned to the job's queue has available workers. If you don't set the maxWorkerCount when you create a job, this value is not returned in the response.
*)sourceJobId : JobId.t option;The job ID for the source job.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerErrorException of InternalServerErrorException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?jobId:??? ->
?name:??? ->
?lifecycleStatus:??? ->
?lifecycleStatusMessage:??? ->
?priority:??? ->
?createdAt:??? ->
?createdBy:??? ->
?updatedAt:??? ->
?updatedBy:??? ->
?startedAt:??? ->
?endedAt:??? ->
?taskRunStatus:??? ->
?targetTaskRunStatus:??? ->
?taskRunStatusCounts:??? ->
?taskFailureRetryCount:??? ->
?storageProfileId:??? ->
?maxFailedTasksCount:??? ->
?maxRetriesPerTask:??? ->
?parameters:??? ->
?attachments:??? ->
?description:??? ->
?maxWorkerCount:??? ->
?sourceJobId:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerErrorException of InternalServerErrorException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerErrorException of InternalServerErrorException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of JobPriority.t
| `Map of
([> `Enum of string | `String of JobParametersKeyString.t ]
* [> `Integer of Integer.t
| `Structure of (string * [> `String of IntString.t ]) list ])
list
| `String of JobId.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of
OutputRelativeDirectoriesListMemberString.t ]
list
| `String of FileSystemLocationName.t ])
list ]
list ])
list
| `Timestamp of CreatedAt.t ])
list ]