untagResource method
Removes the given tags (metadata) from the resource.
Requires permission to access the UntagResource action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter resourceArn :
The ARN of the resource.
Parameter tagKeys :
A list of the keys of the tags to be removed from the resource.
Implementation
Future<void> untagResource({
required String resourceArn,
required List<String> tagKeys,
}) async {
final $payload = <String, dynamic>{
'resourceArn': resourceArn,
'tagKeys': tagKeys,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/untag',
exceptionFnMap: _exceptionFns,
);
}