describeBotReplica method

Future<DescribeBotReplicaResponse> describeBotReplica({
  1. required String botId,
  2. required String replicaRegion,
})

Monitors the bot replication status through the UI console.

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

Parameter botId : The request for the unique bot ID of the replicated bot being monitored.

Parameter replicaRegion : The request for the region of the replicated bot being monitored.

Implementation

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