deleteConfigurationSetEventDestination method

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

Deletes a configuration set event destination. Configuration set event destinations are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

May throw ConfigurationSetDoesNotExistException. May throw EventDestinationDoesNotExistException.

Parameter configurationSetName : The name of the configuration set from which to delete the event destination.

Parameter eventDestinationName : The name of the event destination to delete.

Implementation

Future<void> deleteConfigurationSetEventDestination({
  required String configurationSetName,
  required String eventDestinationName,
}) async {
  ArgumentError.checkNotNull(configurationSetName, 'configurationSetName');
  ArgumentError.checkNotNull(eventDestinationName, 'eventDestinationName');
  final $request = <String, dynamic>{};
  $request['ConfigurationSetName'] = configurationSetName;
  $request['EventDestinationName'] = eventDestinationName;
  await _protocol.send(
    $request,
    action: 'DeleteConfigurationSetEventDestination',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DeleteConfigurationSetEventDestinationRequest'],
    shapes: shapes,
    resultWrapper: 'DeleteConfigurationSetEventDestinationResult',
  );
}