npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_personalize_events

v5.0.0

Published

DataFire integration for Amazon Personalize Events

Readme

@datafire/amazonaws_personalize_events

Client library for Amazon Personalize Events

Installation and Usage

npm install --save @datafire/amazonaws_personalize_events
let amazonaws_personalize_events = require('@datafire/amazonaws_personalize_events').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

.then(data => {
  console.log(data);
});

Description

Amazon Personalize can consume real-time user event data, such as stream or click data, and use it for model training either alone or combined with historical data. For more information see recording-events.

Actions

PutEvents

amazonaws_personalize_events.PutEvents({
  "trackingId": "",
  "sessionId": "",
  "eventList": []
}, context)

Input

  • input object
    • eventList required array: A list of event data from the session.
    • sessionId required string: The session ID associated with the user's visit. Your application generates the sessionId when a user first visits your website or uses your application. Amazon Personalize uses the sessionId to associate events with the user before they log in. For more information see event-record-api.
    • trackingId required string: The tracking ID for the event. The ID is generated by a call to the CreateEventTracker API.
    • userId string: The user associated with the event.

Output

Output schema unknown

PutItems

amazonaws_personalize_events.PutItems({
  "datasetArn": "",
  "items": []
}, context)

Input

  • input object
    • datasetArn required string: The Amazon Resource Number (ARN) of the Items dataset you are adding the item or items to.
    • items required array: A list of item data.

Output

Output schema unknown

PutUsers

amazonaws_personalize_events.PutUsers({
  "datasetArn": "",
  "users": []
}, context)

Input

  • input object
    • datasetArn required string: The Amazon Resource Number (ARN) of the Users dataset you are adding the user or users to.
    • users required array: A list of user data.

Output

Output schema unknown

Definitions

Arn

  • Arn string

Date

  • Date string

Event

  • Event object: Represents user interaction event information sent using the PutEvents API.
    • eventId
    • eventType required
    • eventValue
    • impression
    • itemId
    • properties
    • recommendationId
    • sentAt required

EventList

  • EventList array

EventPropertiesJSON

  • EventPropertiesJSON string

FloatType

  • FloatType number

Impression

InvalidInputException

Item

  • Item object: Represents item metadata added to an Items dataset using the PutItems API.
    • itemId required
    • properties

ItemId

  • ItemId string

ItemList

  • ItemList array

ItemProperties

  • ItemProperties string

PutEventsRequest

  • PutEventsRequest object
    • eventList required
    • sessionId required
    • trackingId required
    • userId

PutItemsRequest

  • PutItemsRequest object
    • datasetArn required
    • items required

PutUsersRequest

  • PutUsersRequest object
    • datasetArn required
    • users required

RecommendationId

  • RecommendationId string

ResourceNotFoundException

StringType

  • StringType string

User

  • User object: Represents user metadata added to a Users dataset using the PutUsers API.
    • properties
    • userId required

UserId

  • UserId string

UserList

  • UserList array

UserProperties

  • UserProperties string