deleteNotificationRule method
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.
Implementation
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);
}