Adds the specified permission(s) to a queue for the specified principal(s). This allows for sharing access to the queue.
Namespace: Amazon.SQS.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class AddPermissionRequest
Public Class AddPermissionRequest
public ref class AddPermissionRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| AddPermissionRequest()()()() | Initializes a new instance of the AddPermissionRequest class | |
| ActionName |
Gets and sets the ActionName property.
The action you want to allow for the specified principal. For more information about these actions, see Understanding
Permissions in the Amazon SQS Developer Guide.
Valid values are: * | SendMessage | ReceiveMessage | DeleteMessage | ChangeMessageVisibility | GetQueueAttributes
| |
| AWSAccountId |
Gets and sets the AWSAccountId property.
The AWS account number of the principal who will be given permission. The principal must have an AWS account, but does
not need to be signed up for Amazon SQS.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsSetActionName()()()() |
Checks if ActionName property is set
| |
| IsSetAWSAccountId()()()() |
Checks if AWSAccountId property is set
| |
| IsSetLabel()()()() |
Checks if Label property is set
| |
| IsSetQueueUrl()()()() |
Checks if QueueUrl property is set
| |
| Label |
Gets and sets the Label property.
The unique identification of the permission you're setting. Maximum 80 characters; alphanumeric characters, hyphens (-),
and underscores (_) are allowed.
| |
| QueueUrl |
Gets and sets the QueueUrl property.
The URL associated with the Amazon SQS queue.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithActionName(array<String>[]()[][]) |
Sets the ActionName property
| |
| WithAWSAccountId(array<String>[]()[][]) |
Sets the AWSAccountId property
| |
| WithLabel(String) |
Sets the Label property
| |
| WithQueueUrl(String) |
Sets the QueueUrl property
|