deleteVoiceConnectorEmergencyCallingConfiguration method

Future<void> deleteVoiceConnectorEmergencyCallingConfiguration({
  1. required String voiceConnectorId,
})

Deletes the emergency calling configuration details from 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<void> deleteVoiceConnectorEmergencyCallingConfiguration({
  required String voiceConnectorId,
}) async {
  ArgumentError.checkNotNull(voiceConnectorId, 'voiceConnectorId');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/emergency-calling-configuration',
    exceptionFnMap: _exceptionFns,
  );
}