Skip to content

CreateAnonymousWebExperienceUrl

Source: src/AWS/QBusiness/CreateAnonymousWebExperienceUrl.ts

Runtime binding for the CreateAnonymousWebExperienceUrl operation (IAM action qbusiness:CreateAnonymousWebExperienceUrl), scoped to one WebExperience.

Mints a short-lived URL that opens the web experience without authentication (applications created with the ANONYMOUS identity type). Provide the implementation with Effect.provide(AWS.QBusiness.CreateAnonymousWebExperienceUrlHttp).

const createUrl =
yield* AWS.QBusiness.CreateAnonymousWebExperienceUrl(web);
const { anonymousUrl } = yield* createUrl({
sessionDuration: "30 minutes",
});