code: function getKinesisEventSourceStreamNames(event) {
    return event && Array.isArray(event.Records) ? event.Records.map(getKinesisEventSourceStreamName) : [];
  }
docs: Extracts and returns the stream names from the given Kinesis stream event's records' eventSourceARNs (if any); otherwise
  returns an empty array.
  @param {KinesisEvent|*} event - a Kinesis stream event
  @returns {string[]} an array of event source stream names (one for each stream event record)