untagResource method
Removes the association between one or more provided tags and a notification rule.
May throw ResourceNotFoundException. May throw ValidationException. May throw ConcurrentModificationException.
Parameter arn
:
The Amazon Resource Name (ARN) of the notification rule from which to
remove the tags.
Parameter tagKeys
:
The key names of the tags to remove.
Implementation
Future<void> untagResource({
required String arn,
required List<String> tagKeys,
}) async {
ArgumentError.checkNotNull(arn, 'arn');
ArgumentError.checkNotNull(tagKeys, 'tagKeys');
final $payload = <String, dynamic>{
'Arn': arn,
'TagKeys': tagKeys,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/untagResource',
exceptionFnMap: _exceptionFns,
);
}