Skip to content

DescribeDashboardSnapshotJobResult

Source: src/AWS/QuickSight/DescribeDashboardSnapshotJobResult.ts

Runtime binding for quicksight:DescribeDashboardSnapshotJobResult.

Fetches the result of a COMPLETED snapshot job on the bound Dashboard — the S3 destination or pre-signed download URLs of the generated files, or the error details of a FAILED job. AwsAccountId and DashboardId are injected from the binding. Provide the implementation with Effect.provide(AWS.QuickSight.DescribeDashboardSnapshotJobResultHttp).

// init — bind the operation to the dashboard
const describeSnapshotJobResult =
yield* AWS.QuickSight.DescribeDashboardSnapshotJobResult(dashboard);
// runtime
const { Result } = yield* describeSnapshotJobResult({
SnapshotJobId: jobId,
});
const url = Result?.AnonymousUsers?.[0]?.FileGroups?.[0]?.Files?.[0];