untagResource method
Removes tags from the resource.
Required permissions: rolesanywhere:UntagResource.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter resourceArn :
The ARN of the resource.
Parameter tagKeys :
A list of keys. Tag keys are the unique identifiers of tags.
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: '/UntagResource',
exceptionFnMap: _exceptionFns,
);
}