batchDeleteAutomationRules method

Future<BatchDeleteAutomationRulesResponse> batchDeleteAutomationRules({
  1. required List<String> automationRulesArns,
})

Deletes one or more automation rules.

May throw InternalException. May throw InvalidAccessException. May throw InvalidInputException. May throw LimitExceededException. May throw ResourceNotFoundException.

Parameter automationRulesArns : A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.

Implementation

Future<BatchDeleteAutomationRulesResponse> batchDeleteAutomationRules({
  required List<String> automationRulesArns,
}) async {
  final $payload = <String, dynamic>{
    'AutomationRulesArns': automationRulesArns,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/automationrules/delete',
    exceptionFnMap: _exceptionFns,
  );
  return BatchDeleteAutomationRulesResponse.fromJson(response);
}