untagResource method
This operation removes one or more tags from a resource.
Parameter resourceArn
:
An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
Parameter tagKeys
:
The key tags.
Implementation
Future<void> untagResource({
required String resourceArn,
required List<String> tagKeys,
}) async {
ArgumentError.checkNotNull(resourceArn, 'resourceArn');
ArgumentError.checkNotNull(tagKeys, 'tagKeys');
final $query = <String, List<String>>{
'tagKeys': tagKeys,
};
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/tags/${Uri.encodeComponent(resourceArn)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}