Skip to main content

ISQSRemovePermissionRequest

Interface in AWS.SQS

Interface for RemovePermission requests.

Ancestors

Properties

Label

property Label: string

The identification of the permission to remove.

This is the label that was specified when the permission was added using the AddPermission action. The label serves as a unique identifier for the specific permission within the queue's policy. Only permissions with labels that exactly match this value will be removed from the queue policy. Label matching is case-sensitive and must be an exact string match. If no permission with the specified label exists in the queue policy, the operation will succeed without error, but no changes will be made to the queue policy. Only the owner of the queue can remove permissions. Cross-account principals cannot use this operation to remove permissions from queues they do not own.