untagResource method
Removes a tag(s) from a designate resource.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter resourceArn :
Required element for UnTagResource to identify the ARN for the resource to
remove a tag from.
Parameter tagKeys :
Required element for UnTagResource to identify tag to remove.
Implementation
Future<void> untagResource({
required String resourceArn,
required List<String> tagKeys,
}) async {
final $query = <String, List<String>>{
'tagKeys': tagKeys,
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/v1/tags/${Uri.encodeComponent(resourceArn)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}