untagResource method
Removes tags from a Lambda MicroVM resource.
May throw InvalidParameterValueException.
May throw ResourceConflictException.
May throw ResourceNotFoundException.
May throw ServiceException.
May throw TooManyRequestsException.
Parameter resource :
The ARN of the resource to remove tags from.
Parameter tagKeys :
The list of tag keys to remove from the resource.
Implementation
Future<void> untagResource({
required String resource,
required List<String> tagKeys,
}) async {
final $query = <String, List<String>>{
'tagKeys': tagKeys,
};
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/2017-03-31/tags/${Uri.encodeComponent(resource)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}