import type * as qbusiness from "@distilled.cloud/aws/qbusiness"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { DataSource } from "./DataSource.ts"; /** * `StartDataSourceSyncJob` request with `applicationId` + `indexId` + `dataSourceId` injected from the bound data source. */ export interface StartDataSourceSyncJobRequest extends Omit { } /** * Runtime binding for the `StartDataSourceSyncJob` operation (IAM action * `qbusiness:StartDataSourceSyncJob`), scoped to one {@link DataSource}. * * Starts a synchronization job that crawls the connector and ingests * its content into the index. * Provide the implementation with * `Effect.provide(AWS.QBusiness.StartDataSourceSyncJobHttp)`. * * ### Data Source Sync * **Example:** Start a Sync Job * ```typescript * const startSync = yield* AWS.QBusiness.StartDataSourceSyncJob(source); * * const { executionId } = yield* startSync(); * ``` * * @binding */ export interface StartDataSourceSyncJob extends Binding.Service Effect.Effect<(request?: StartDataSourceSyncJobRequest) => Effect.Effect>> { } export declare const StartDataSourceSyncJob: StartDataSourceSyncJob; //# sourceMappingURL=StartDataSourceSyncJob.d.ts.map