Module Values.DescribeTaskExecutionResponseSource

DescribeTaskExecutionResponse

Sourcetype nonrec t = {
  1. taskExecutionArn : TaskExecutionArn.t option;
    (*

    The ARN of the task execution that you wanted information about. TaskExecutionArn is hierarchical and includes TaskArn for the task that was executed. For example, a TaskExecution value with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b executed the task with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2.

    *)
  2. status : TaskExecutionStatus.t option;
    (*

    The status of the task execution.

    *)
  3. options : Options.t option;
  4. excludes : FilterList.t option;
    (*

    A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

    *)
  5. includes : FilterList.t option;
    (*

    A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.

    *)
  6. manifestConfig : ManifestConfig.t option;
    (*

    The configuration of the manifest that lists the files or objects to transfer. For more information, see Specifying what DataSync transfers by using a manifest.

    *)
  7. startTime : Time.t option;
    (*

    The time that DataSync sends the request to start the task execution. For non-queued tasks, LaunchTime and StartTime are typically the same. For queued tasks, LaunchTime is typically later than StartTime because previously queued tasks must finish running before newer tasks can begin.

    *)
  8. estimatedFilesToTransfer : Long.t option;
    (*

    The number of files, objects, and directories that DataSync expects to transfer over the network. This value is calculated while DataSync prepares the transfer. How this gets calculated depends primarily on your task’s transfer mode configuration: If TranserMode is set to CHANGED - The calculation is based on comparing the content of the source and destination locations and determining the difference that needs to be transferred. The difference can include: Anything that's added or modified at the source location. Anything that's in both locations and modified at the destination after an initial transfer (unless OverwriteMode is set to NEVER). (Basic task mode only) The number of items that DataSync expects to delete (if PreserveDeletedFiles is set to REMOVE). If TranserMode is set to ALL - The calculation is based only on the items that DataSync finds at the source location. For Enhanced mode tasks, this counter only includes files or objects. Directories are counted in EstimatedFoldersToTransfer.

    *)
  9. estimatedBytesToTransfer : Long.t option;
    (*

    The number of logical bytes that DataSync expects to write to the destination location.

    *)
  10. filesTransferred : Long.t option;
    (*

    The number of files, objects, and directories that DataSync actually transfers over the network. This value is updated periodically during your task execution when something is read from the source and sent over the network. If DataSync fails to transfer something, this value can be less than EstimatedFilesToTransfer. In some cases, this value can also be greater than EstimatedFilesToTransfer. This element is implementation-specific for some location types, so don't use it as an exact indication of what's transferring or to monitor your task execution. For Enhanced mode tasks, this counter only includes files or objects. Directories are counted in FoldersTransferred.

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

    The number of logical bytes that DataSync actually writes to the destination location.

    *)
  12. bytesTransferred : Long.t option;
    (*

    The number of bytes that DataSync sends to the network before compression (if compression is possible). For the number of bytes transferred over the network, see BytesCompressed.

    *)
  13. bytesCompressed : Long.t option;
    (*

    The number of physical bytes that DataSync transfers over the network after compression (if compression is possible). This number is typically less than BytesTransferred unless the data isn't compressible.

    *)
  14. result : TaskExecutionResultDetail.t option;
    (*

    The result of the task execution.

    *)
  15. taskReportConfig : TaskReportConfig.t option;
    (*

    The configuration of your task report, which provides detailed information about for your DataSync transfer. For more information, see Creating a task report.

    *)
  16. filesDeleted : Long.t option;
    (*

    The number of files, objects, and directories that DataSync actually deletes in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always 0. For Enhanced mode tasks, this counter only includes files or objects. Directories are counted in FoldersDeleted.

    *)
  17. filesSkipped : Long.t option;
    (*

    The number of files, objects, and directories that DataSync skips during your transfer. For Enhanced mode tasks, this counter only includes files or objects. Directories are counted in FoldersSkipped.

    *)
  18. filesVerified : Long.t option;
    (*

    The number of files, objects, and directories that DataSync verifies during your transfer. When you configure your task to verify only the data that's transferred, DataSync doesn't verify directories in some situations or files that fail to transfer. For Enhanced mode tasks, this counter only includes files or objects. Directories are counted in FoldersVerified.

    *)
  19. reportResult : ReportResult.t option;
    (*

    Indicates whether DataSync generated a complete task report for your transfer.

    *)
  20. estimatedFilesToDelete : Long.t option;
    (*

    The number of files, objects, and directories that DataSync expects to delete in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always 0. For Enhanced mode tasks, this counter only includes files or objects. Directories are counted in EstimatedFoldersToDelete.

    *)
  21. taskMode : TaskMode.t option;
    (*

    The task mode that you're using. For more information, see Choosing a task mode for your data transfer.

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

    The number of files or objects that DataSync will attempt to transfer after comparing your source and destination locations. Applies only to Enhanced mode tasks. This counter isn't applicable if you configure your task to transfer all data. In that scenario, DataSync copies everything from the source to the destination without comparing differences between the locations.

    *)
  23. filesListed : TaskExecutionFilesListedDetail.t option;
    (*

    The number of files or objects that DataSync finds at your locations. Applies only to Enhanced mode tasks.

    *)
  24. filesFailed : TaskExecutionFilesFailedDetail.t option;
    (*

    The number of files or objects that DataSync fails to prepare, transfer, verify, and delete during your task execution. Applies only to Enhanced mode tasks.

    *)
  25. estimatedFoldersToDelete : ItemCount.t option;
    (*

    The number of directories that DataSync expects to delete in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always 0. Applies only to Enhanced mode tasks.

    *)
  26. estimatedFoldersToTransfer : ItemCount.t option;
    (*

    The number of directories that DataSync expects to transfer over the network. This value is calculated as DataSync prepares directories to transfer. How this gets calculated depends primarily on your task’s transfer mode configuration: If TranserMode is set to CHANGED - The calculation is based on comparing the content of the source and destination locations and determining the difference that needs to be transferred. The difference can include: Anything that's added or modified at the source location. Anything that's in both locations and modified at the destination after an initial transfer (unless OverwriteMode is set to NEVER). If TranserMode is set to ALL - The calculation is based only on the items that DataSync finds at the source location. Applies only to Enhanced mode tasks.

    *)
  27. foldersSkipped : ItemCount.t option;
    (*

    The number of directories that DataSync skips during your transfer. Applies only to Enhanced mode tasks.

    *)
  28. foldersPrepared : ItemCount.t option;
    (*

    The number of directories that DataSync will attempt to transfer after comparing your source and destination locations. Applies only to Enhanced mode tasks. This counter isn't applicable if you configure your task to transfer all data. In that scenario, DataSync copies everything from the source to the destination without comparing differences between the locations.

    *)
  29. foldersTransferred : ItemCount.t option;
    (*

    The number of directories that DataSync actually transfers over the network. This value is updated periodically during your task execution when something is read from the source and sent over the network. If DataSync fails to transfer something, this value can be less than EstimatedFoldersToTransfer. In some cases, this value can also be greater than EstimatedFoldersToTransfer. Applies only to Enhanced mode tasks.

    *)
  30. foldersVerified : ItemCount.t option;
    (*

    The number of directories that DataSync verifies during your transfer. Applies only to Enhanced mode tasks.

    *)
  31. foldersDeleted : ItemCount.t option;
    (*

    The number of directories that DataSync actually deletes in your destination location. If you don't configure your task to delete data in the destination that isn't in the source, the value is always 0. Applies only to Enhanced mode tasks.

    *)
  32. foldersListed : TaskExecutionFoldersListedDetail.t option;
    (*

    The number of directories that DataSync finds at your locations. Applies only to Enhanced mode tasks.

    *)
  33. foldersFailed : TaskExecutionFoldersFailedDetail.t option;
    (*

    The number of directories that DataSync fails to list, prepare, transfer, verify, and delete during your task execution. Applies only to Enhanced mode tasks.

    *)
  34. launchTime : Time.t option;
    (*

    The time that the task execution actually begins. For non-queued tasks, LaunchTime and StartTime are typically the same. For queued tasks, LaunchTime is typically later than StartTime because previously queued tasks must finish running before newer tasks can begin.

    *)
  35. endTime : Time.t option;
    (*

    The time that the transfer task ends.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalException of InternalException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?taskExecutionArn:??? -> ?status:??? -> ?options:??? -> ?excludes:??? -> ?includes:??? -> ?manifestConfig:??? -> ?startTime:??? -> ?estimatedFilesToTransfer:??? -> ?estimatedBytesToTransfer:??? -> ?filesTransferred:??? -> ?bytesWritten:??? -> ?bytesTransferred:??? -> ?bytesCompressed:??? -> ?result:??? -> ?taskReportConfig:??? -> ?filesDeleted:??? -> ?filesSkipped:??? -> ?filesVerified:??? -> ?reportResult:??? -> ?estimatedFilesToDelete:??? -> ?taskMode:??? -> ?filesPrepared:??? -> ?filesListed:??? -> ?filesFailed:??? -> ?estimatedFoldersToDelete:??? -> ?estimatedFoldersToTransfer:??? -> ?foldersSkipped:??? -> ?foldersPrepared:??? -> ?foldersTransferred:??? -> ?foldersVerified:??? -> ?foldersDeleted:??? -> ?foldersListed:??? -> ?foldersFailed:??? -> ?launchTime:??? -> ?endTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalException of InternalException.t | `InvalidRequestException of InvalidRequestException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalException of InternalException.t | `InvalidRequestException of InvalidRequestException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of FilterValue.t ]) list ] list | `Long of Long.t | `String of TaskExecutionArn.t | `Structure of (string * [> `Enum of string | `Long of BytesPerSecond.t | `String of String_.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of S3Subdirectory.t ]) list ]) list ]) list | `Timestamp of Time.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