untagResource method
Removes tags from an Amazon Web Services X-Ray group or sampling rule. You
cannot edit or delete system tags (those with an aws:
prefix).
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottledException.
Parameter resourceARN :
The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
Parameter tagKeys :
Keys for one or more tags that you want to remove from an X-Ray group or
sampling rule.
Implementation
Future<void> untagResource({
required String resourceARN,
required List<String> tagKeys,
}) async {
final $payload = <String, dynamic>{
'ResourceARN': resourceARN,
'TagKeys': tagKeys,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/UntagResource',
exceptionFnMap: _exceptionFns,
);
}