Exemple #1
0
def delete_queue_fn(queue_url):
    """This is a Python function that deletes an SQS queue"""
    hook = SqsHook()
    hook.get_conn().delete_queue(QueueUrl=queue_url)
Exemple #2
0
def delete_queue_fn(queue_url):
    """Delete the example queue"""
    hook = SqsHook()
    hook.get_conn().delete_queue(QueueUrl=queue_url)