Пример #1
0
        public static void DeleteSubscriptionFilter()
        {
            var client  = new AmazonCloudWatchLogsClient();
            var request = new Amazon.CloudWatchLogs.Model.DeleteSubscriptionFilterRequest()
            {
                LogGroupName = "GROUP_NAME",
                FilterName   = "FILTER"
            };

            try
            {
                var response = client.DeleteSubscriptionFilter(request);
            }
            catch (Amazon.CloudWatchLogs.Model.ResourceNotFoundException e)
            {
                Console.WriteLine(e.Message);
            }
        }