updateAccountSendingEnabled method

Future<void> updateAccountSendingEnabled({
  1. bool? enabled,
})

Enables or disables email sending across your entire Amazon SES account in the current AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending across your Amazon SES account in a given AWS Region when reputation metrics (such as your bounce or complaint rates) reach certain thresholds.

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

Parameter enabled : Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.

Implementation

Future<void> updateAccountSendingEnabled({
  bool? enabled,
}) async {
  final $request = <String, dynamic>{};
  enabled?.also((arg) => $request['Enabled'] = arg);
  await _protocol.send(
    $request,
    action: 'UpdateAccountSendingEnabled',
    version: '2010-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['UpdateAccountSendingEnabledRequest'],
    shapes: shapes,
  );
}