getVoiceConnectorEmergencyCallingConfiguration method
Future<GetVoiceConnectorEmergencyCallingConfigurationResponse>
getVoiceConnectorEmergencyCallingConfiguration({
- required String voiceConnectorId,
Retrieves the emergency calling configuration details for the specified Voice Connector.
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<GetVoiceConnectorEmergencyCallingConfigurationResponse>
getVoiceConnectorEmergencyCallingConfiguration({
required String voiceConnectorId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/emergency-calling-configuration',
exceptionFnMap: _exceptionFns,
);
return GetVoiceConnectorEmergencyCallingConfigurationResponse.fromJson(
response);
}