Values.GetTaskInstanceResponseSourceRetrieves detailed information about a specific task instance within a workflow run. Task instances represent individual tasks that are executed as part of a workflow in the Amazon Managed Workflows for Apache Airflow Serverless environment. Each task instance runs in an isolated ECS container with dedicated resources and security boundaries. The service tracks task execution state, retry attempts, and provides detailed timing and error information for troubleshooting and monitoring purposes.
type nonrec t = {workflowArn : WorkflowArn.t option;The Amazon Resource Name (ARN) of the workflow that contains this task instance.
*)runId : IdString.t option;The unique identifier of the workflow run that contains this task instance.
*)taskInstanceId : IdString.t option;The unique identifier of this task instance.
*)workflowVersion : VersionId.t option;The version of the workflow that contains this task instance.
*)status : TaskInstanceStatus.t option;The current status of the task instance.
*)durationInSeconds : Integer.t option;The duration of the task instance execution in seconds. This value is null if the task is not complete.
*)operatorName : GenericString.t option;The name of the Apache Airflow operator used for this task instance.
*)modifiedAt : TimestampValue.t option;The timestamp when the task instance was last modified, in ISO 8601 date-time format.
*)endedAt : TimestampValue.t option;The timestamp when the task instance completed execution, in ISO 8601 date-time format. This value is null if the task is not complete.
*)startedAt : TimestampValue.t option;The timestamp when the task instance started execution, in ISO 8601 date-time format. This value is null if the task has not started.
*)attemptNumber : Integer.t option;The attempt number for this task instance.
*)errorMessage : GenericString.t option;The error message if the task instance failed. This value is null if the task completed successfully.
*)taskId : IdString.t option;The unique identifier of the task definition within the workflow.
*)logStream : IdString.t option;The CloudWatch log stream name for this task instance execution.
*)xcom : GenericMap.t option;Cross-communication data exchanged between tasks in the workflow execution.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `OperationTimeoutException of OperationTimeoutException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?workflowArn:??? ->
?runId:??? ->
?taskInstanceId:??? ->
?workflowVersion:??? ->
?status:??? ->
?durationInSeconds:??? ->
?operatorName:??? ->
?modifiedAt:??? ->
?endedAt:??? ->
?startedAt:??? ->
?attemptNumber:??? ->
?errorMessage:??? ->
?taskId:??? ->
?logStream:??? ->
?xcom:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `OperationTimeoutException of OperationTimeoutException.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
| `InternalServerException of InternalServerException.t
| `OperationTimeoutException of OperationTimeoutException.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 Integer.t
| `Map of
([> `String of GenericString.t ] * [> `String of GenericString.t ])
list
| `String of WorkflowArn.t
| `Timestamp of TimestampValue.t ])
list ]