deleteAutomationRuleV2 method

Future<void> deleteAutomationRuleV2({
  1. required String identifier,
})

Deletes a V2 automation rule.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter identifier : The ARN of the V2 automation rule.

Implementation

Future<void> deleteAutomationRuleV2({
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/automationrulesv2/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
}