Skip to content

SQSClient.remove_permission

rboto-sqs==0.4.0 · Service index · Types

Model summary (excerpt): Revokes any permissions in the queue policy that matches the specified Label parameter. Only the owner of a queue can remove permissions from it. Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide . To remove the ability to change queue permissions, you must deny permission...

Install and imports

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

Signature

async def remove_permission(
    *,
    queue_url: str,
    label: 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 from which permissions are removed. Queue URLs and names are case-sensitive.
label Yes The identification of the permission to remove. This is the label added using the AddPermission action.

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