sqs_add_permission: Adds a permission to a queue for a specific principal

View source: R/sqs_operations.R

sqs_add_permissionR Documentation

Adds a permission to a queue for a specific principal

Description

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

See https://www.paws-r-sdk.com/docs/sqs_add_permission/ for full documentation.

Usage

sqs_add_permission(QueueUrl, Label, AWSAccountIds, Actions)

Arguments

QueueUrl

[required] The URL of the Amazon SQS queue to which permissions are added.

Queue URLs and names are case-sensitive.

Label

[required] The unique identification of the permission you're setting (for example, AliceSendMessage). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (-), and underscores (⁠_⁠).

AWSAccountIds

[required] The Amazon Web Services account numbers of the principals who are to receive permission. For information about locating the Amazon Web Services account identification, see Your Amazon Web Services Identifiers in the Amazon SQS Developer Guide.

Actions

[required] The action the client wants to allow for the specified principal. Valid values: the name of any action or *.

For more information about these actions, see Overview of Managing Access Permissions to Your Amazon Simple Queue Service Resource in the Amazon SQS Developer Guide.

Specifying send_message, delete_message, or change_message_visibility for ActionName.n also grants permissions for the corresponding batch versions of those actions: send_message_batch, delete_message_batch, and change_message_visibility_batch.


paws.application.integration documentation built on Sept. 12, 2024, 6:11 a.m.