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).
Dashboard Snapshots
Section titled “Dashboard Snapshots”// init — bind the operation to the dashboardconst describeSnapshotJobResult = yield* AWS.QuickSight.DescribeDashboardSnapshotJobResult(dashboard);
// runtimeconst { Result } = yield* describeSnapshotJobResult({ SnapshotJobId: jobId,});const url = Result?.AnonymousUsers?.[0]?.FileGroups?.[0]?.Files?.[0];