createConfigurationSet method

Future<void> createConfigurationSet({
  1. required ConfigurationSet configurationSet,
})

Creates a configuration set.

Configuration sets 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 ConfigurationSetAlreadyExistsException. May throw InvalidConfigurationSetException. May throw LimitExceededException.

Parameter configurationSet : A data structure that contains the name of the configuration set.

Implementation

Future<void> createConfigurationSet({
  required ConfigurationSet configurationSet,
}) async {
  ArgumentError.checkNotNull(configurationSet, 'configurationSet');
  final $request = <String, dynamic>{};
  $request['ConfigurationSet'] = configurationSet;
  await _protocol.send(
    $request,
    action: 'CreateConfigurationSet',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['CreateConfigurationSetRequest'],
    shapes: shapes,
    resultWrapper: 'CreateConfigurationSetResult',
  );
}