untagResource method
Removes a tag from an Amazon Q Business application or a data source.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter resourceARN :
The Amazon Resource Name (ARN) of the Amazon Q Business application, or
data source to remove the tag from.
Parameter tagKeys :
A list of tag keys to remove from the Amazon Q Business application or
data source. If a tag key does not exist on the resource, it is ignored.
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,
);
}