listVoiceConnectorTerminationCredentials method

Future<ListVoiceConnectorTerminationCredentialsResponse> listVoiceConnectorTerminationCredentials({
  1. required String voiceConnectorId,
})

Lists the SIP credentials 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<ListVoiceConnectorTerminationCredentialsResponse>
    listVoiceConnectorTerminationCredentials({
  required String voiceConnectorId,
}) async {
  ArgumentError.checkNotNull(voiceConnectorId, 'voiceConnectorId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/termination/credentials',
    exceptionFnMap: _exceptionFns,
  );
  return ListVoiceConnectorTerminationCredentialsResponse.fromJson(response);
}