update_data_accessor
¶
update_data_accessor(
application_id: ApplicationId,
data_accessor_id: DataAccessorId,
action_configurations: ActionConfigurationList,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
authentication_detail: Optional[DataAccessorAuthenticationDetail] = None,
display_name: Optional[DataAccessorName] = None,
) -> UpdateDataAccessorResponse
Updates an existing data accessor. This operation allows modifying the action configurations (the allowed actions and associated filters) and the display name of the data accessor. It does not allow changing the IAM role associated with the data accessor or other core properties of the data accessor.
Parameters:
-
application_id(ApplicationId) –The unique identifier of the Amazon Q Business application.
-
data_accessor_id(DataAccessorId) –The unique identifier of the data accessor to update.
-
action_configurations(ActionConfigurationList) –The updated list of action configurations specifying the allowed actions and any associated filters.
-
authentication_detail(Optional[DataAccessorAuthenticationDetail], default:None) –The updated authentication configuration details for the data accessor. This specifies how the ISV will authenticate when accessing data through this data accessor.
-
display_name(Optional[DataAccessorName], default:None) –The updated friendly name for the data accessor.
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
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 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 | |