getAssistant method
Retrieves information about 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<GetAssistantResponse> getAssistant({
required String assistantId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/assistants/${Uri.encodeComponent(assistantId)}',
exceptionFnMap: _exceptionFns,
);
return GetAssistantResponse.fromJson(response);
}