:doc:`SQS <../../sqs>` / Client / list_queue_tags

***************
list_queue_tags
***************



.. py:method:: SQS.Client.list_queue_tags(**kwargs)

  

  List all cost allocation tags added to the specified Amazon SQS queue. For an overview, see `Tagging Your Amazon SQS Queues <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-tags.html>`__ in the *Amazon SQS Developer Guide*.

   

  .. note::

    

    Cross-account permissions don't apply to this action. For more information, see `Grant cross-account permissions to a role and a username <https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name>`__ in the *Amazon SQS Developer Guide*.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTags>`_  


  **Request Syntax**
  ::

    response = client.list_queue_tags(
        QueueUrl='string'
    )
    
  :type QueueUrl: string
  :param QueueUrl: **[REQUIRED]** 

    The URL of the queue.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Tags** *(dict) --* 

        The list of all tags added to the specified queue.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`SQS.Client.exceptions.RequestThrottled`

  
  *   :py:class:`SQS.Client.exceptions.QueueDoesNotExist`

  
  *   :py:class:`SQS.Client.exceptions.UnsupportedOperation`

  
  *   :py:class:`SQS.Client.exceptions.InvalidAddress`

  
  *   :py:class:`SQS.Client.exceptions.InvalidSecurity`

  