removeKnowledgeBaseTemplateUri method
Removes a URI template from a knowledge base.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter knowledgeBaseId :
The identifier of the knowledge base. Can be either the ID or the ARN.
URLs cannot contain the ARN.
Implementation
Future<void> removeKnowledgeBaseTemplateUri({
required String knowledgeBaseId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/knowledgeBases/${Uri.encodeComponent(knowledgeBaseId)}/templateUri',
exceptionFnMap: _exceptionFns,
);
}