Delete a SQS queue

    0

    0

    AWS and boto3 recipes for Python

    The code creates a new sqs client, and then deletes the queue with the given queue URL.

    Library: boto3

    import boto3
    
    # Create SQS client
    sqs = boto3.client('sqs')
    
    # Delete SQS queue
    sqs.delete_queue(QueueUrl='queueurl')
    
    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.