# File lib/fog/aws/requests/kinesis/add_tags_to_stream.rb, line 30 def add_tags_to_stream(options={}) stream_name = options.delete("StreamName") tags = options.delete("Tags") 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"].merge(tags) response = Excon::Response.new response.status = 200 response.body = "" response end