create_web_experience
async
¶
create_web_experience(
application_id: ApplicationId,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = 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/async_q_business.py
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 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 | |