C# Класс Amazon.SQS.Model.AddPermissionRequest

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddPermissionRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

AddPermissionRequest ( string queueUrl, string label, List awsAccountIds, List actions ) : System

Instantiates AddPermissionRequest with the parameterized properties

Приватные методы

Метод Описание
IsSetAWSAccountIds ( ) : bool
IsSetActions ( ) : bool
IsSetLabel ( ) : bool
IsSetQueueUrl ( ) : bool

Описание методов

AddPermissionRequest() публичный Метод

Empty constructor used to set properties independently even when a simple constructor is available
public AddPermissionRequest ( ) : System
Результат System

AddPermissionRequest() публичный Метод

Instantiates AddPermissionRequest with the parameterized properties
public AddPermissionRequest ( string queueUrl, string label, List awsAccountIds, List actions ) : System
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.
Результат System