Revokes any permissions in the queue policy that matches the specified
Label
parameter.
sqs_remove_permission(QueueUrl, Label)
[required] The URL of the Amazon SQS queue from which permissions are removed.
Queue URLs and names are case-sensitive.
[required] The identification of the permission to remove. This is the label added
using the <a>AddPermission</a>
action.
svc$remove_permission( QueueUrl = "string", Label = "string" )
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 User Name in the Amazon Simple Queue Service Developer Guide.
To remove the ability to change queue permissions, you must deny
permission to the AddPermission
, RemovePermission
, and
SetQueueAttributes
actions in your IAM policy.