# File lib/fog/aws/requests/auto_scaling/create_or_update_tags.rb, line 35 def create_or_update_tags(tags) params = {} tags.each_with_index do |tag, i| tag.each do |key, value| params["Tags.member.#{i+1}.#{key}"] = value unless value.nil? end end request({ 'Action' => 'CreateOrUpdateTags', :parser => Fog::Parsers::AWS::AutoScaling::Basic.new }.merge!(params)) end