Module Values.GetTaskResponseSource

Gets a task.

Sourcetype nonrec t = {
  1. taskId : TaskId.t option;
    (*

    The task ID.

    *)
  2. createdAt : CreatedAt.t option;
    (*

    The date and time the resource was created.

    *)
  3. createdBy : CreatedBy.t option;
    (*

    The user or system that created this resource.

    *)
  4. runStatus : TaskRunStatus.t option;
    (*

    The run status for the task.

    *)
  5. targetRunStatus : TaskTargetRunStatus.t option;
    (*

    The run status with which to start the task.

    *)
  6. failureRetryCount : TaskRetryCount.t option;
    (*

    The number of times that the task failed and was retried.

    *)
  7. startedAt : StartedAt.t option;
    (*

    The date and time the resource started running.

    *)
  8. endedAt : EndedAt.t option;
    (*

    The date and time the resource ended running.

    *)
  9. updatedAt : UpdatedAt.t option;
    (*

    The date and time the resource was updated.

    *)
  10. updatedBy : UpdatedBy.t option;
    (*

    The user or system that updated this resource.

    *)
  11. latestSessionActionId : SessionActionId.t option;
    (*

    The latest session action ID for the task.

    *)
  12. parameters : TaskParameters.t option;
    (*

    The parameters for the task.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerErrorException of InternalServerErrorException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?taskId:??? -> ?createdAt:??? -> ?createdBy:??? -> ?runStatus:??? -> ?targetRunStatus:??? -> ?failureRetryCount:??? -> ?startedAt:??? -> ?endedAt:??? -> ?updatedAt:??? -> ?updatedBy:??? -> ?latestSessionActionId:??? -> ?parameters:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of TaskRetryCount.t | `Map of ([> `String of String_.t ] * [> `Structure of (string * [> `String of IntString.t ]) list ]) list | `String of TaskId.t | `Timestamp of CreatedAt.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