describeBot method
Provides metadata information about a bot.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter botId :
The unique identifier of the bot to describe.
Implementation
Future<DescribeBotResponse> describeBot({
required String botId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/bots/${Uri.encodeComponent(botId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeBotResponse.fromJson(response);
}