create_web_experience
¶
create_web_experience(
application_id: ApplicationId,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
title: Optional[WebExperienceTitle] = None,
subtitle: Optional[WebExperienceSubtitle] = None,
welcome_message: Optional[WebExperienceWelcomeMessage] = None,
sample_prompts_control_mode: Optional[WebExperienceSamplePromptsControlMode] = None,
origins: Optional[WebExperienceOrigins] = None,
role_arn: Optional[RoleArn] = None,
tags: Optional[Tags] = None,
client_token: Optional[ClientToken] = None,
identity_provider_configuration: Optional[IdentityProviderConfiguration] = None,
browser_extension_configuration: Optional[BrowserExtensionConfiguration] = None,
customization_configuration: Optional[CustomizationConfiguration] = None,
) -> CreateWebExperienceResponse
Creates an Amazon Q Business web experience.
Parameters:
-
application_id(ApplicationId) –The identifier of the Amazon Q Business web experience.
-
title(Optional[WebExperienceTitle], default:None) –The title for your Amazon Q Business web experience.
-
subtitle(Optional[WebExperienceSubtitle], default:None) –A subtitle to personalize your Amazon Q Business web experience.
-
welcome_message(Optional[WebExperienceWelcomeMessage], default:None) –The customized welcome message for end users of an Amazon Q Business web experience.
-
sample_prompts_control_mode(Optional[WebExperienceSamplePromptsControlMode], default:None) –Determines whether sample prompts are enabled in the web experience for an end user.
-
origins(Optional[WebExperienceOrigins], default:None) –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(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of the service role attached to your web experience.
The
roleArnparameter is required when your Amazon Q Business application is created with IAM Identity Center. It is not required for SAML-based applications. -
tags(Optional[Tags], default:None) –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(Optional[ClientToken], default:None) –A token you provide to identify a request to create an Amazon Q Business web experience.
-
identity_provider_configuration(Optional[IdentityProviderConfiguration], default:None) –Information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
-
browser_extension_configuration(Optional[BrowserExtensionConfiguration], default:None) –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(Optional[CustomizationConfiguration], default:None) –Sets the custom logo, favicon, font, and color used in the Amazon Q web experience.
Raises:
-
AccessDeniedException–You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
-
ConflictException–You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ServiceQuotaExceededException–You have exceeded the set limits for your Amazon Q Business service.
-
ThrottlingException–The request was denied due to throttling. Reduce the number of requests and try again.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qbusiness/_services/q_business.py
6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 | |