getInstanceCommunicationLimits method

Future<GetInstanceCommunicationLimitsResponse> getInstanceCommunicationLimits({
  1. required String connectInstanceId,
})

Get the instance communication limits.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Implementation

Future<GetInstanceCommunicationLimitsResponse>
    getInstanceCommunicationLimits({
  required String connectInstanceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/v2/connect-instance/${Uri.encodeComponent(connectInstanceId)}/communication-limits',
    exceptionFnMap: _exceptionFns,
  );
  return GetInstanceCommunicationLimitsResponse.fromJson(response);
}