Skip to content

SQSClient.delete_queue

rboto-sqs==0.4.0 · Service index · Types

Model summary (excerpt): Deletes the queue specified by the QueueUrl , regardless of the queue's contents. Be careful with the DeleteQueue action: When you delete a queue, any messages in the queue are no longer available. When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a SendMessage request might succeed,...

Install and imports

python -m pip install "rboto[sqs]==0.4.0"
from rboto import SQSClient

Signature

async def delete_queue(
    *,
    queue_url: str,
) -> None: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
queue_url Yes The URL of the Amazon SQS queue to delete. Queue URLs and names are case-sensitive.

Output

None.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

—

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_sqs.exceptions:

InvalidAddressError, InvalidSecurityError, QueueDoesNotExistError, RequestThrottledError, UnsupportedOperationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model