untagResource method
Removes the specified tags from the specified resource share that you own.
May throw InvalidParameterException. May throw ServerInternalException. May throw ServiceUnavailableException.
Parameter resourceShareArn
:
The Amazon Resource Name (ARN) of the resource share.
Parameter tagKeys
:
The tag keys of the tags to remove.
Implementation
Future<void> untagResource({
required String resourceShareArn,
required List<String> tagKeys,
}) async {
ArgumentError.checkNotNull(resourceShareArn, 'resourceShareArn');
ArgumentError.checkNotNull(tagKeys, 'tagKeys');
final $payload = <String, dynamic>{
'resourceShareArn': resourceShareArn,
'tagKeys': tagKeys,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/untagresource',
exceptionFnMap: _exceptionFns,
);
}