GetSessionsStatisticsAggregation
Source:
src/AWS/Deadline/GetSessionsStatisticsAggregation.ts
Runtime binding for deadline:GetSessionsStatisticsAggregation.
Fetches the status and results (cost in USD, runtime, per-group stats)
of an aggregation started with
StartSessionsStatisticsAggregation on the bound Farm.
The farm’s farmId is injected from the binding. Provide the
implementation with
Effect.provide(AWS.Deadline.GetSessionsStatisticsAggregationHttp).
Usage Statistics
Section titled “Usage Statistics”// init — bind the operation to the farmconst getAggregation = yield* AWS.Deadline.GetSessionsStatisticsAggregation(farm);
// runtimeconst result = yield* getAggregation({ aggregationId }).pipe( Effect.repeat({ schedule: Schedule.spaced("2 seconds"), until: (r) => r.status !== "IN_PROGRESS", times: 30, }),);