untagResource method
Remove a user-specifed key and value tag from a data store.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter resourceARN :
The Amazon Resource Name (ARN) of the data store from which tags are being
removed.
Parameter tagKeys :
The keys for the tags to be removed from the data store.
Implementation
Future<void> untagResource({
required String resourceARN,
required List<String> tagKeys,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'HealthLake.UntagResource'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ResourceARN': resourceARN,
'TagKeys': tagKeys,
},
);
}