Adds the specified permission(s) to a queue for the specified principal(s).
Declaration Syntax
C# |
public class AddPermissionRequest : SQSRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
AddPermissionRequest()()()() | Initializes a new instance of the AddPermissionRequest class | |
ActionName |
The action you want to allow for the specified principal.
Valid values are: * | SendMessage | ReceiveMessage | DeleteMessage | ChangeMessageVisibility | GetQueueAttributes
| |
AWSAccountId |
The AWS account number of the principal who will be given permission.
| |
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 |
The unique identification of the permission you're setting.
Remarks
Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
| |
QueueUrl |
The URL associated with the Amazon SQS queue.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithActionName(array<String>[]()[][]) | Obsolete.
Sets the action you want to allow for the specified principal.
Valid values are: * | SendMessage | ReceiveMessage | DeleteMessage | ChangeMessageVisibility | GetQueueAttributes
| |
WithAWSAccountId(array<String>[]()[][]) | Obsolete.
Set the AWS account number of the principal who will be given permission.
| |
WithLabel(String) | Obsolete.
Sets the unique identification of the permission you're setting.
Remarks
Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.
| |
WithQueueUrl(String) | Obsolete.
Sets the URL associated with the Amazon SQS queue.
|
Remarks
This allows for sharing access to the queue.
Inheritance Hierarchy
Object | ||
SQSRequest | ||
AddPermissionRequest |