untagResource method
Deletes a tag key and value from an AppConfig resource.
May throw ResourceNotFoundException. May throw BadRequestException. May throw InternalServerException.
Parameter resourceArn
:
The ARN of the resource for which to remove tags.
Parameter tagKeys
:
The tag keys to delete.
Implementation
Future<void> untagResource({
required String resourceArn,
required List<String> tagKeys,
}) async {
ArgumentError.checkNotNull(resourceArn, 'resourceArn');
_s.validateStringLength(
'resourceArn',
resourceArn,
20,
2048,
isRequired: true,
);
ArgumentError.checkNotNull(tagKeys, 'tagKeys');
final $query = <String, List<String>>{
'tagKeys': tagKeys,
};
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/tags/${Uri.encodeComponent(resourceArn)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}