untagResource method
Removes the specified tags from the specified resource.
May throw ResourceNotFoundException. May throw ValidationException. May throw InternalServerException.
Parameter resourceArn
:
The Amazon Resource Name (ARN) of the resource.
Parameter tagKeys
:
The tag keys.
Implementation
Future<void> untagResource({
required String resourceArn,
required List<String> tagKeys,
}) async {
ArgumentError.checkNotNull(resourceArn, 'resourceArn');
ArgumentError.checkNotNull(tagKeys, 'tagKeys');
final $payload = <String, dynamic>{
'resourceArn': resourceArn,
'tagKeys': tagKeys,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/UntagResource',
exceptionFnMap: _exceptionFns,
);
}