update_experience
async
¶
update_experience(
id: ExperienceId,
index_id: IndexId,
*,
config_overrides: Optional[AsynckendraClientConfig] = 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/async_kendra.py
4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 | |