untagResource method
Removes tags from a resource.
May throw EntityNotFoundException.
May throw InternalServiceException.
May throw InvalidInputException.
May throw OperationTimeoutException.
Parameter resourceArn :
The Amazon Resource Name (ARN) of the resource from which to remove the
tags.
Parameter tagsToRemove :
Tags to remove from this resource.
Implementation
Future<void> untagResource({
required String resourceArn,
required List<String> tagsToRemove,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.UntagResource'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ResourceArn': resourceArn,
'TagsToRemove': tagsToRemove,
},
);
}