update_web_experience
¶
update_web_experience(
application_id: ApplicationId,
web_experience_id: WebExperienceId,
*,
config_overrides: Optional[QBusinessClientConfig] = 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/q_business.py
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 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 | |