AWS SDK for .NET Documentation
AddPermissionRequest Class
AmazonAmazon.SQS.ModelAddPermissionRequest Did this page help you?   Yes   No    Tell us about it...
Adds the specified permission(s) to a queue for the specified principal(s).
Declaration Syntax
C#
public class AddPermissionRequest : SQSRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
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
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

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)