class Aws::SQS::Types::AddPermissionRequest

@note When making an API call, you may pass AddPermissionRequest

data as a hash:

    {
      queue_url: "String", # required
      label: "String", # required
      aws_account_ids: ["String"], # required
      actions: ["String"], # required
    }

@!attribute [rw] queue_url

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

Queue URLs and names are case-sensitive.
@return [String]

@!attribute [rw] label

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

@!attribute [rw] aws_account_ids

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

[1]: https://docs.aws.amazon.com/general/latest/gr/glos-chap.html#P
[2]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html#sqs-api-request-authentication
@return [Array<String>]

@!attribute [rw] actions

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][1]
in the *Amazon SQS Developer Guide*.

Specifying `SendMessage`, `DeleteMessage`, or
`ChangeMessageVisibility` for `ActionName.n` also grants permissions
for the corresponding batch versions of those actions:
`SendMessageBatch`, `DeleteMessageBatch`, and
`ChangeMessageVisibilityBatch`.

[1]: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-overview-of-managing-access.html
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermissionRequest AWS API Documentation

Constants

SENSITIVE