public AddPermissionAsync ( string queueUrl, string label, List awsAccountIds, List actions, AddPermissionResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void |
queueUrl |
string |
The URL of the Amazon SQS queue to which permissions are added. Queue URLs are case-sensitive. |
label |
string |
The unique identification of the permission you're setting (for example, AliceSendMessage ). Maximum 80 characters. Allowed characters include alphanumeric characters, hyphens (- ), and underscores (_ ). |
awsAccountIds |
List |
The AWS account number of the principal who is given permission. The principal must have an AWS account, but does not need to be signed up for Amazon SQS. For information about locating the AWS account identification, see Your AWS Identifiers in the Amazon SQS Developer Guide. |
actions |
List |
The action the client wants to allow for the specified principal. The following values are valid: -
* -
ChangeMessageVisibility -
DeleteMessage -
GetQueueAttributes -
GetQueueUrl -
ReceiveMessage -
SendMessage For more information about these actions, see Understanding Permissions 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 . |
callback |
AddPermissionResponse>.AmazonServiceCallback
| An Action delegate that is invoked when the operation completes. |
options |
Amazon.Runtime.AsyncOptions |
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
/// |
return |
void |
|