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_iotevents_data

v5.0.0

Published

DataFire integration for AWS IoT Events Data

Readme

@datafire/amazonaws_iotevents_data

Client library for AWS IoT Events Data

Installation and Usage

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

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

Description

AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. AWS IoT Events Data API commands enable you to send inputs to detectors, list detectors, and view or update a detector's status.

Actions

BatchUpdateDetector

amazonaws_iotevents_data.BatchUpdateDetector({
  "detectors": []
}, context)

Input

  • input object
    • detectors required array: The list of detectors (instances) to update, along with the values to update.

Output

ListDetectors

amazonaws_iotevents_data.ListDetectors({
  "detectorModelName": ""
}, context)

Input

  • input object
    • detectorModelName required string
    • stateName string
    • nextToken string
    • maxResults integer

Output

DescribeDetector

amazonaws_iotevents_data.DescribeDetector({
  "detectorModelName": ""
}, context)

Input

  • input object
    • detectorModelName required string
    • keyValue string

Output

BatchPutMessage

amazonaws_iotevents_data.BatchPutMessage({
  "messages": []
}, context)

Input

  • input object
    • messages required array: The list of messages to send. Each message has the following format: '{ "messageId": "string", "inputName": "string", "payload": "string"}'

Output

Definitions

BatchPutMessageErrorEntries

BatchPutMessageErrorEntry

  • BatchPutMessageErrorEntry object: Contains information about the errors encountered.
    • errorCode
    • errorMessage
    • messageId

BatchPutMessageRequest

  • BatchPutMessageRequest object

BatchPutMessageResponse

BatchUpdateDetectorErrorEntries

BatchUpdateDetectorErrorEntry

  • BatchUpdateDetectorErrorEntry object: Information about the error that occured when attempting to update a detector.
    • errorCode
    • errorMessage
    • messageId

BatchUpdateDetectorRequest

BatchUpdateDetectorResponse

DescribeDetectorRequest

  • DescribeDetectorRequest object

DescribeDetectorResponse

  • DescribeDetectorResponse object
    • detector
      • creationTime
      • detectorModelName
      • detectorModelVersion
      • keyValue
      • lastUpdateTime
      • state
        • stateName required
        • timers required
        • variables required

Detector

  • Detector object: Information about the detector (instance).
    • creationTime
    • detectorModelName
    • detectorModelVersion
    • keyValue
    • lastUpdateTime
    • state
      • stateName required
      • timers required
      • variables required

DetectorModelName

  • DetectorModelName string

DetectorModelVersion

  • DetectorModelVersion string

DetectorState

  • DetectorState object: Information about the current state of the detector instance.
    • stateName required
    • timers required
    • variables required

DetectorStateDefinition

  • DetectorStateDefinition object: The new state, variable values, and timer settings of the detector (instance).

DetectorStateSummary

  • DetectorStateSummary object: Information about the detector state.
    • stateName

DetectorSummaries

DetectorSummary

  • DetectorSummary object: Information about the detector (instance).
    • creationTime
    • detectorModelName
    • detectorModelVersion
    • keyValue
    • lastUpdateTime
    • state
      • stateName

ErrorCode

  • ErrorCode string (values: ResourceNotFoundException, InvalidRequestException, InternalFailureException, ServiceUnavailableException, ThrottlingException)

ErrorMessage

  • ErrorMessage string

InputName

  • InputName string

InternalFailureException

InvalidRequestException

KeyValue

  • KeyValue string

ListDetectorsRequest

  • ListDetectorsRequest object

ListDetectorsResponse

  • ListDetectorsResponse object

MaxResults

  • MaxResults integer

Message

  • Message object: Information about a message.
    • inputName required
    • messageId required
    • payload required

MessageId

  • MessageId string

Messages

NextToken

  • NextToken string

Payload

  • Payload string

ResourceNotFoundException

Seconds

  • Seconds integer

ServiceUnavailableException

StateName

  • StateName string

ThrottlingException

Timer

  • Timer object: The current state of a timer.
    • name required
    • timestamp required

TimerDefinition

  • TimerDefinition object: The new setting of a timer.
    • name required
    • seconds required

TimerDefinitions

TimerName

  • TimerName string

Timers

Timestamp

  • Timestamp string

UpdateDetectorRequest

  • UpdateDetectorRequest object: Information used to update the detector (instance).

UpdateDetectorRequests

Variable

  • Variable object: The current state of the variable.
    • name required
    • value required

VariableDefinition

  • VariableDefinition object: The new value of the variable.
    • name required
    • value required

VariableDefinitions

VariableName

  • VariableName string

VariableValue

  • VariableValue string

Variables