untagResource method
Removes the specified tags from a resource.
May throw InternalServiceException.
May throw InvalidParametersException.
May throw ThrottledRequestException.
Parameter resourceArn :
The Amazon Resource Name (ARN) of the resource to remove tags from.
Parameter tagKeys :
The keys of the tags to remove from the resource.
Implementation
Future<UntagResourceOutput> 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: '/v1/tags/untag-resource',
exceptionFnMap: _exceptionFns,
);
return UntagResourceOutput.fromJson(response);
}