update_web_experience
async
¶
update_web_experience(
application_id: ApplicationId,
web_experience_id: WebExperienceId,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = None,
role_arn: Optional[RoleArn] = None,
authentication_configuration: Optional[WebExperienceAuthConfiguration] = None,
title: Optional[WebExperienceTitle] = None,
subtitle: Optional[WebExperienceSubtitle] = None,
welcome_message: Optional[WebExperienceWelcomeMessage] = None,
sample_prompts_control_mode: Optional[WebExperienceSamplePromptsControlMode] = None,
identity_provider_configuration: Optional[IdentityProviderConfiguration] = None,
origins: Optional[WebExperienceOrigins] = None,
browser_extension_configuration: Optional[BrowserExtensionConfiguration] = None,
customization_configuration: Optional[CustomizationConfiguration] = None,
) -> UpdateWebExperienceResponse
Updates an Amazon Q Business web experience.
Parameters:
-
application_id(ApplicationId) –The identifier of the Amazon Q Business application attached to the web experience.
-
web_experience_id(WebExperienceId) –The identifier of the Amazon Q Business web experience.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of the role with permission to access the Amazon Q Business web experience and required resources.
-
authentication_configuration(Optional[WebExperienceAuthConfiguration], default:None) –The authentication configuration of the Amazon Q Business web experience.
-
title(Optional[WebExperienceTitle], default:None) –The title of the Amazon Q Business web experience.
-
subtitle(Optional[WebExperienceSubtitle], default:None) –The subtitle of the Amazon Q Business web experience.
-
welcome_message(Optional[WebExperienceWelcomeMessage], default:None) –A customized welcome message for an end user in 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.
-
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.
-
origins(Optional[WebExperienceOrigins], default:None) –Updates 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).-
Any values except
nullsubmitted as part of this update will replace all previous values. -
You must only submit a base URL and not a full path. For example,
https://docs.aws.amazon.com.
-
-
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) –Updates 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.
-
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
6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 | |