QBusiness / Client / create_anonymous_web_experience_url

create_anonymous_web_experience_url

QBusiness.Client.create_anonymous_web_experience_url(**kwargs)

Creates a unique URL for anonymous Amazon Q Business web experience. This URL can only be used once and must be used within 5 minutes after it’s generated.

See also: AWS API Documentation

Request Syntax

response = client.create_anonymous_web_experience_url(
    applicationId='string',
    webExperienceId='string',
    sessionDurationInMinutes=123
)
Parameters:
  • applicationId (string) –

    [REQUIRED]

    The identifier of the Amazon Q Business application environment attached to the web experience.

  • webExperienceId (string) –

    [REQUIRED]

    The identifier of the web experience.

  • sessionDurationInMinutes (integer) – The duration of the session associated with the unique URL for the web experience.

Return type:

dict

Returns:

Response Syntax

{
    'anonymousUrl': 'string'
}

Response Structure

  • (dict) –

    • anonymousUrl (string) –

      The unique URL for accessing the web experience.

      Warning

      This URL can only be used once and must be used within 5 minutes after it’s generated.

Exceptions