import type * as quicksight from "@distilled.cloud/aws/quicksight"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Dashboard } from "./Dashboard.ts"; /** * Runtime binding for `quicksight:StartDashboardSnapshotJob`. * * Starts an asynchronous snapshot job that exports the bound * {@link Dashboard} as a PDF, CSV, or Excel file delivered to S3 or returned * as a download URL. `AwsAccountId` and `DashboardId` are injected from the * binding; poll the job with * {@link DescribeDashboardSnapshotJob | AWS.QuickSight.DescribeDashboardSnapshotJob}. * Provide the implementation with * `Effect.provide(AWS.QuickSight.StartDashboardSnapshotJobHttp)`. * ### Dashboard Snapshots * **Example:** Start A PDF Snapshot * ```typescript * // init — bind the operation to the dashboard * const startSnapshotJob = * yield* AWS.QuickSight.StartDashboardSnapshotJob(dashboard); * * // runtime * const { SnapshotJobId } = yield* startSnapshotJob({ * SnapshotJobId: crypto.randomUUID(), * UserConfiguration: { AnonymousUsers: [] }, * SnapshotConfiguration: { * FileGroups: [{ Files: [{ FormatType: "PDF" }] }], * }, * }); * ``` * * @binding */ export interface StartDashboardSnapshotJob extends Binding.Service Effect.Effect<(request: Omit) => Effect.Effect>> { } export declare const StartDashboardSnapshotJob: StartDashboardSnapshotJob; //# sourceMappingURL=StartDashboardSnapshotJob.d.ts.map