Beispiel #1
0
        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);
        }
Beispiel #2
0
        /**
         * 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;
        }