update_retriever
async
¶
update_retriever(
application_id: ApplicationId,
retriever_id: RetrieverId,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = None,
configuration: Optional[RetrieverConfiguration] = None,
display_name: Optional[RetrieverName] = None,
role_arn: Optional[RoleArn] = None,
) -> UpdateRetrieverResponse
Updates the retriever used for your Amazon Q Business application.
Parameters:
-
application_id(ApplicationId) –The identifier of your Amazon Q Business application.
-
retriever_id(RetrieverId) –The identifier of your retriever.
-
display_name(Optional[RetrieverName], default:None) –The name of your retriever.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of an IAM role with permission to access the retriever and required resources.
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.
-
ServiceQuotaExceededException–You have exceeded the set limits for your Amazon Q Business service.
-
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
5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 | |