Skip to content

QBusinessClient.create_web_experience

rboto-qbusiness==0.4.0 · Service index · Types

Model summary (excerpt): Creates an Amazon Q Business web experience.

Install and imports

python -m pip install "rboto[qbusiness]==0.4.0"
from rboto import QBusinessClient
from collections.abc import Sequence
from rboto_qbusiness.types import (
    BrowserExtensionConfiguration,
    CreateWebExperienceOutput,
    CustomizationConfiguration,
    IdentityProviderConfiguration,
    Tag,
    WebExperienceSamplePromptsControlMode,
)

Signature

async def create_web_experience(
    *,
    application_id: str,
    title: str | None = None,
    subtitle: str | None = None,
    welcome_message: str | None = None,
    sample_prompts_control_mode: WebExperienceSamplePromptsControlMode | None = None,
    origins: Sequence[str] | None = None,
    role_arn: str | None = None,
    tags: Sequence[Tag] | None = None,
    client_token: str | None = None,
    identity_provider_configuration: IdentityProviderConfiguration | None = None,
    browser_extension_configuration: BrowserExtensionConfiguration | None = None,
    customization_configuration: CustomizationConfiguration | None = None,
) -> CreateWebExperienceOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
application_id Yes The identifier of the Amazon Q Business web experience.
title No The title for your Amazon Q Business web experience.
subtitle No A subtitle to personalize your Amazon Q Business web experience.
welcome_message No The customized welcome message for end users of an Amazon Q Business web experience.
sample_prompts_control_mode No Determines whether sample prompts are enabled in the web experience for an end user.
origins No Sets the website domain origins that are allowed to embed the Amazon Q Business web experience. The domain origin refers to the base URL for accessing a website including the protocol ( http/https ), the domain name, and the port number (if specified). You must only submit a base URL and not a full path. For example, https://docs.aws.amazon.com .
role_arn No The Amazon Resource Name (ARN) of the service role attached to your web experience. The roleArn parameter is required when your Amazon Q Business application is created with IAM Identity Center. It is not required for SAML-based applications.
tags No A list of key-value pairs that identify or categorize your Amazon Q Business web experience. You can also use tags to help control access to the web experience. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
client_token No A token you provide to identify a request to create an Amazon Q Business web experience.
identity_provider_configuration No Information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
browser_extension_configuration No The browser extension configuration for an Amazon Q Business web experience. For Amazon Q Business application using external OIDC-compliant identity providers (IdPs). The IdP administrator must add the browser extension sign-in redirect URLs to the IdP application. For more information, see Configure external OIDC identity provider for your browser extensions. .
customization_configuration No Sets the custom logo, favicon, font, and color used in the Amazon Q web experience.

Output

CreateWebExperienceOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
web_experience_id str | None Always present —
web_experience_arn str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

BrowserExtensionConfiguration, CreateWebExperienceOutput, CustomizationConfiguration, IdentityProviderConfiguration, Tag, WebExperienceSamplePromptsControlMode

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_qbusiness.exceptions:

AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model