DescribeTaskExecution
Source:
src/AWS/DataSync/DescribeTaskExecution.ts
Runtime binding for datasync:DescribeTaskExecution.
Reads one execution of the bound Task — status, bytes/files
transferred, per-phase results — to monitor an ongoing transfer or check
a finished one. Address the execution with the ARN returned by
StartTaskExecution; access is granted on the bound task’s executions.
Provide the implementation with
Effect.provide(AWS.DataSync.DescribeTaskExecutionHttp).
Running Transfers
Section titled “Running Transfers”// init — bind the operation to the taskconst describeTaskExecution = yield* AWS.DataSync.DescribeTaskExecution(task);
// runtimeconst execution = yield* describeTaskExecution({ TaskExecutionArn: executionArn,});yield* Effect.log(`${execution.Status}: ${execution.BytesTransferred} bytes`);