Module Smaws_Client_SQS.AddPermission

Adds a permission to a queue for a specific principal. This allows sharing access to the queue.

When you create a queue, you have full control access rights for the queue. Only you, the owner of the queue, can grant or deny permissions to the queue. For more information about these permissions, see Allow Developers to Write Messages to a Shared Queue in the Amazon SQS Developer Guide.

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.

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