public AddPermission ( |
||
request | Container for the necessary parameters to execute the AddPermission service method. | |
리턴 | Amazon.SQS.Model.AddPermissionResponse |
public static void SQSAddPermission() { #region SQSAddPermission var client = new AmazonSQSClient(); var request = new AddPermissionRequest { Actions = new List<string>() { "GetQueueAttributes", "GetQueueUrl" }, AWSAccountIds = new List<string>() { "80398EXAMPLE" }, Label = "JohnDoeCanAccessQueues", QueueUrl = "https://sqs.us-east-1.amazonaws.com/80398EXAMPLE/MyTestQueue" }; client.AddPermission(request); #endregion }