Adds the specified permission(s) to a queue for the specified principal(s). This allows for sharing access to the queue.

Namespace: Amazon.SQS.Model
Assembly: 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  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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)
Determines whether the specified Object is equal to the current 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()()()()
Returns a String that represents the current Object.
(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

Inheritance Hierarchy

System..::..Object
  Amazon.SQS.Model..::..AddPermissionRequest

See Also