Skip to content

CreateIngestion

Source: src/AWS/QuickSight/CreateIngestion.ts

Runtime binding for quicksight:CreateIngestion.

Triggers a SPICE refresh (ingestion) of the bound DataSet — e.g. after a pipeline lands new data. AwsAccountId and DataSetId are injected from the binding; the caller supplies a unique IngestionId. Poll the refresh with AWS.QuickSight.DescribeIngestion. Provide the implementation with Effect.provide(AWS.QuickSight.CreateIngestionHttp).

// init — bind the operation to the dataset
const createIngestion = yield* AWS.QuickSight.CreateIngestion(dataSet);
// runtime
const { IngestionId, IngestionStatus } = yield* createIngestion({
IngestionId: crypto.randomUUID(),
IngestionType: "FULL_REFRESH",
});