Skip to content

ListIngestions

Source: src/AWS/QuickSight/ListIngestions.ts

Runtime binding for quicksight:ListIngestions.

Lists the SPICE ingestion history of the bound DataSet (most recent first) — useful for skipping a refresh that is already running or for surfacing the last refresh outcome. AwsAccountId and DataSetId are injected from the binding. Provide the implementation with Effect.provide(AWS.QuickSight.ListIngestionsHttp).

// init — bind the operation to the dataset
const listIngestions = yield* AWS.QuickSight.ListIngestions(dataSet);
// runtime
const { Ingestions } = yield* listIngestions({ MaxResults: 1 });
const latest = Ingestions?.[0];