list_queue_tags

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 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 user name in the Amazon SQS Developer Guide .

See also: AWS API Documentation

Request Syntax

response = client.list_queue_tags(
    QueueUrl='string'
)
Parameters
QueueUrl (string) --

[REQUIRED]

The URL of the queue.

Return type
dict
Returns
Response Syntax
{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • Tags (dict) --

      The list of all tags added to the specified queue.

      • (string) --
        • (string) --