deleteAssistant method

Future<void> deleteAssistant({
  1. required String assistantId,
})

Deletes an assistant.

May throw AccessDeniedException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter assistantId : The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

Implementation

Future<void> deleteAssistant({
  required String assistantId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/assistants/${Uri.encodeComponent(assistantId)}',
    exceptionFnMap: _exceptionFns,
  );
}