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