describeBotAlias method

Future<DescribeBotAliasResponse> describeBotAlias({
  1. required String botAliasId,
  2. required String botId,
})

Get information about a specific bot alias.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Parameter botAliasId : The identifier of the bot alias to describe.

Parameter botId : The identifier of the bot associated with the bot alias to describe.

Implementation

Future<DescribeBotAliasResponse> describeBotAlias({
  required String botAliasId,
  required String botId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/bots/${Uri.encodeComponent(botId)}/botaliases/${Uri.encodeComponent(botAliasId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeBotAliasResponse.fromJson(response);
}