Adds a permission to queue for a specific principal. This allows sharing access to the queue.
Parameters |
Description |
const ARequest: ISQSAddPermissionRequest |
An AddPermission request object. |
const AActionNames: array of string |
A list of actions to allow for the specified principal. |
const AAWSAccountIds: array of string |
A list of AWS account numbers of the principals to receive permissions. |
const APermissionLabel: string |
Provide a label for the permission. |
const AQueueUrl: string |
The URL of the Amazon SQS queue to which permissions are added. |
Response containing AddPermission results.
Exceptions |
Description |
When the maximum number of permissions for the queue has been reached. |
Copyright © 2019-2021 Appercept Ltd. All rights reserved.
|