listBotReplicas method

Future<ListBotReplicasResponse> listBotReplicas({
  1. required String botId,
})

The action to list the replicated bots.

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

Parameter botId : The request for the unique bot IDs in the list of replicated bots.

Implementation

Future<ListBotReplicasResponse> listBotReplicas({
  required String botId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/bots/${Uri.encodeComponent(botId)}/replicas',
    exceptionFnMap: _exceptionFns,
  );
  return ListBotReplicasResponse.fromJson(response);
}