Skip to content

GenerateEmbedUrlForAnonymousUser

Source: src/AWS/QuickSight/GenerateEmbedUrlForAnonymousUser.ts

Runtime binding for quicksight:GenerateEmbedUrlForAnonymousUser.

Generates a single-use embed URL for an anonymous (unregistered) visitor, defaulting the authorized resources and embedded experience to the bound Dashboard. Requires a QuickSight account with session-capacity pricing. Provide the implementation with Effect.provide(AWS.QuickSight.GenerateEmbedUrlForAnonymousUserHttp).

// init — bind the operation to the dashboard
const generateEmbedUrl =
yield* AWS.QuickSight.GenerateEmbedUrlForAnonymousUser(dashboard);
// runtime — namespace, authorized ARNs, and experience default to the dashboard
const { EmbedUrl } = yield* generateEmbedUrl({
SessionLifetimeInMinutes: 60,
});