update_experience
¶
update_experience(
id: ExperienceId,
index_id: IndexId,
*,
config_overrides: Optional[kendraClientConfig] = None,
name: Optional[ExperienceName] = None,
role_arn: Optional[RoleArn] = None,
configuration: Optional[ExperienceConfiguration] = None,
description: Optional[Description] = None,
) -> None
Updates your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
Parameters:
-
id(ExperienceId) –The identifier of your Amazon Kendra experience you want to update.
-
name(Optional[ExperienceName], default:None) –A new name for your Amazon Kendra experience.
-
index_id(IndexId) –The identifier of the index for your Amazon Kendra experience.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of an IAM role with permission to access the
QueryAPI,QuerySuggestionsAPI,SubmitFeedbackAPI, and IAM Identity Center that stores your users and groups information. For more information, see IAM roles for Amazon Kendra. -
configuration(Optional[ExperienceConfiguration], default:None) –Configuration information you want to update for your Amazon Kendra experience.
-
description(Optional[Description], default:None) –A new description for your Amazon Kendra experience.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.
-
ConflictException–A conflict occurred with the request. Please fix any inconsistences with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.
-
ThrottlingException–The request was denied due to request throttling. Please reduce the number of requests and try again.
-
ValidationException–The input fails to satisfy the constraints set by the Amazon Kendra service. Please 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_kendra/_services/kendra.py
4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 | |