DescribeTask
Source:
src/AWS/DataSync/DescribeTask.ts
Runtime binding for datasync:DescribeTask.
Reads the bound Task’s full detail — status, transfer options,
filters, schedule (including ScheduleDetails with the last disable
reason), and the ARN of the currently running execution — so an ops
function can monitor the task’s health. The task ARN is injected from the
binding. Provide the implementation with
Effect.provide(AWS.DataSync.DescribeTaskHttp).
Monitoring Tasks
Section titled “Monitoring Tasks”// init — bind the operation to the taskconst describeTask = yield* AWS.DataSync.DescribeTask(task);
// runtimeconst detail = yield* describeTask();yield* Effect.log(`task ${detail.Name} is ${detail.Status}`);