DescribeIngestion
Source:
src/AWS/QuickSight/DescribeIngestion.ts
Runtime binding for quicksight:DescribeIngestion.
Reads the status, row counts, and error info of a SPICE ingestion on the
bound DataSet. AwsAccountId and DataSetId are injected from
the binding. Provide the implementation with
Effect.provide(AWS.QuickSight.DescribeIngestionHttp).
Refreshing SPICE Data
Section titled “Refreshing SPICE Data”// init — bind the operation to the datasetconst describeIngestion = yield* AWS.QuickSight.DescribeIngestion(dataSet);
// runtimeconst { Ingestion } = yield* describeIngestion({ IngestionId: ingestionId,}).pipe( Effect.repeat({ schedule: Schedule.spaced("5 seconds"), until: (r) => r.Ingestion?.IngestionStatus === "COMPLETED" || r.Ingestion?.IngestionStatus === "FAILED", times: 24, }),);