deleteConfigurationSetEventDestination method

Future<void> deleteConfigurationSetEventDestination({
  1. required String configurationSetName,
  2. required String eventDestinationName,
})

Deletes an event destination in a configuration set.

May throw BadRequestException. May throw InternalServiceErrorException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter configurationSetName : ConfigurationSetName

Parameter eventDestinationName : EventDestinationName

Implementation

Future<void> deleteConfigurationSetEventDestination({
  required String configurationSetName,
  required String eventDestinationName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v1/sms-voice/configuration-sets/${Uri.encodeComponent(configurationSetName)}/event-destinations/${Uri.encodeComponent(eventDestinationName)}',
    exceptionFnMap: _exceptionFns,
  );
}