getVoiceConnector method
Retrieves details for the specified Amazon Chime SDK Voice Connector, such as timestamps,name, outbound host, and encryption requirements.
May throw BadRequestException.
May throw ForbiddenException.
May throw NotFoundException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter voiceConnectorId :
The Voice Connector ID.
Implementation
Future<GetVoiceConnectorResponse> getVoiceConnector({
required String voiceConnectorId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}',
exceptionFnMap: _exceptionFns,
);
return GetVoiceConnectorResponse.fromJson(response);
}