private static IDictionary <string, string> ConvertDeleteTopic(DeleteTopicRequest request) { IDictionary <string, string> dictionary = new Dictionary <string, string>(); dictionary["Action"] = "DeleteTopic"; if (request.IsSetTopicArn()) { dictionary["TopicArn"] = request.TopicArn; } return(dictionary); }
/** * Convert DeleteTopicRequest to name value pairs */ private static IDictionary<string, string> ConvertDeleteTopic(DeleteTopicRequest request) { IDictionary<string, string> parameters = new Dictionary<string, string>(); parameters["Action"] = "DeleteTopic"; if (request.IsSetTopicArn()) { parameters["TopicArn"] = request.TopicArn; } return parameters; }