deleteNotificationRule method Null safety

Future<DeleteNotificationRuleResult> deleteNotificationRule(
  1. {required String arn}

Deletes a notification rule for a resource.

May throw ValidationException. May throw LimitExceededException. May throw ConcurrentModificationException.

Parameter arn : The Amazon Resource Name (ARN) of the notification rule you want to delete.


Future<DeleteNotificationRuleResult> deleteNotificationRule({
  required String arn,
}) async {
  ArgumentError.checkNotNull(arn, 'arn');
  final $payload = <String, dynamic>{
    'Arn': arn,
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/deleteNotificationRule',
    exceptionFnMap: _exceptionFns,
  return DeleteNotificationRuleResult.fromJson(response);