untagResource method
Removes tags from a resource.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerErrorException.
Parameter resourceArn :
The Amazon Resource Name (ARN) for the resource to remove tags from.
Parameter tagKeys :
The tag keys to remove from the resource.
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: '/tags/${Uri.encodeComponent(resourceArn)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}