disassociate_agent_knowledge_base
async
¶
disassociate_agent_knowledge_base(
agent_id: Id,
agent_version: DraftVersion,
knowledge_base_id: Id,
*,
config_overrides: Optional[AsyncBedrockAgentClientConfig] = None,
) -> DisassociateAgentKnowledgeBaseResponse
Disassociates a knowledge base from an agent.
Parameters:
-
agent_id(Id) –The unique identifier of the agent from which to disassociate the knowledge base.
-
agent_version(DraftVersion) –The version of the agent from which to disassociate the knowledge base.
-
knowledge_base_id(Id) –The unique identifier of the knowledge base to disassociate.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
ConflictException–There was a conflict performing an operation.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.