getVoiceConnectorTerminationHealth method

Future<GetVoiceConnectorTerminationHealthResponse> getVoiceConnectorTerminationHealth({
  1. required String voiceConnectorId,
})

Retrieves information about the last time a SIP OPTIONS ping was received from your SIP infrastructure for the specified Amazon Chime Voice Connector.

May throw UnauthorizedClientException. May throw NotFoundException. May throw ForbiddenException. May throw BadRequestException. May throw ThrottledClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter voiceConnectorId : The Amazon Chime Voice Connector ID.

Implementation

Future<GetVoiceConnectorTerminationHealthResponse>
    getVoiceConnectorTerminationHealth({
  required String voiceConnectorId,
}) async {
  ArgumentError.checkNotNull(voiceConnectorId, 'voiceConnectorId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/termination/health',
    exceptionFnMap: _exceptionFns,
  );
  return GetVoiceConnectorTerminationHealthResponse.fromJson(response);
}