Module Smaws_Client_SQS.RemovePermission

val request : Smaws_Lib.Context.t -> remove_permission_request -> (unit, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidAddress of invalid_address | `InvalidSecurity of invalid_security | `QueueDoesNotExist of queue_does_not_exist | `RequestThrottled of request_throttled | `UnsupportedOperation of unsupported_operation ]) Stdlib.result

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 to the AddPermission, RemovePermission, and SetQueueAttributes actions in your IAM policy.