untagQueue method

Future<void> untagQueue({
  1. required String queueUrl,
  2. required List<String> tagKeys,
})

Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see Tagging Your Amazon SQS Queues in the Amazon Simple Queue Service Developer Guide.

Parameter queueUrl : The URL of the queue.

Parameter tagKeys : The list of tags to be removed from the specified queue.

Implementation

Future<void> untagQueue({
  required String queueUrl,
  required List<String> tagKeys,
}) async {
  ArgumentError.checkNotNull(queueUrl, 'queueUrl');
  ArgumentError.checkNotNull(tagKeys, 'tagKeys');
  final $request = <String, dynamic>{};
  $request['QueueUrl'] = queueUrl;
  $request['TagKeys'] = tagKeys;
  await _protocol.send(
    $request,
    action: 'UntagQueue',
    version: '2012-11-05',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['UntagQueueRequest'],
    shapes: shapes,
  );
}