# File lib/fog/aws/requests/kinesis/remove_tags_from_stream.rb, line 30 def remove_tags_from_stream(options={}) stream_name = options.delete("StreamName") tags = options.delete("TagKeys") unless stream = data[:kinesis_streams].detect{ |s| s["StreamName"] == stream_name } raise Fog::AWS::Kinesis::ResourceNotFound.new("Stream #{stream_name} under account #{@account_id} not found.") end stream["Tags"] = stream["Tags"].delete_if { |k,_| tags.include?(k) } response = Excon::Response.new response.status = 200 response.body = "" response end