get_agent_knowledge_base
async
¶
get_agent_knowledge_base(
agent_id: Id,
agent_version: Version,
knowledge_base_id: Id,
*,
config_overrides: Optional[AsyncBedrockAgentClientConfig] = None,
) -> GetAgentKnowledgeBaseResponse
Gets information about a knowledge base associated with an agent.
Parameters:
-
agent_id(Id) –The unique identifier of the agent with which the knowledge base is associated.
-
agent_version(Version) –The version of the agent with which the knowledge base is associated.
-
knowledge_base_id(Id) –The unique identifier of the knowledge base associated with the agent.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
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.