update_data_accessor
async
¶
update_data_accessor(
application_id: ApplicationId,
data_accessor_id: DataAccessorId,
action_configurations: ActionConfigurationList,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = 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/async_q_business.py
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 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 | |