# File lib/fog/aws/requests/kinesis/get_shard_iterator.rb, line 36
        def get_shard_iterator(options={})
          stream_name = options["StreamName"]

          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

          response = Excon::Response.new
          response.status = 200
          response.body = {
            "ShardIterator" => Fog::JSON.encode(options) # just encode the options that were given, we decode them in get_records
          }
          response
        end