listQueueTags method

Future<ListQueueTagsResult> listQueueTags({
  1. required String queueUrl,
})

List all cost allocation tags added to 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.

Implementation

Future<ListQueueTagsResult> listQueueTags({
  required String queueUrl,
}) async {
  ArgumentError.checkNotNull(queueUrl, 'queueUrl');
  final $request = <String, dynamic>{};
  $request['QueueUrl'] = queueUrl;
  final $result = await _protocol.send(
    $request,
    action: 'ListQueueTags',
    version: '2012-11-05',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['ListQueueTagsRequest'],
    shapes: shapes,
    resultWrapper: 'ListQueueTagsResult',
  );
  return ListQueueTagsResult.fromXml($result);
}