public void AddTags() { TagQueueRequest request = new TagQueueRequest(); request.QueueUrl = QueueUrl; request.Tags.Add("env", "staging"); var response = client.TagQueue(request); if (response.HttpStatusCode.IsSuccess()) { Console.WriteLine("Tags added successfully"); ListTags(); } }
public void AddTagQueue() { TagQueueRequest request = new TagQueueRequest(); request.QueueUrl = queueURL; request.Tags.Add("firstTagKey2", "firstTagValue2"); var response = client.TagQueue(request); if (response.HttpStatusCode == System.Net.HttpStatusCode.OK) { Console.WriteLine("Tag Added Queue Successfully"); ListTagsQueue(); } Console.ReadLine(); }