List SQS queues

    0

    0

    AWS and boto3 recipes for Python

    List all queues for AWS SQS

    Library: boto3

    import boto3
    
    # Create SQS client
    sqs = boto3.client('sqs')
    
    # List SQS queues
    response = sqs.list_queues()
    
    print(response['QueueUrls'])
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.