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_streams_dynamodb

v5.0.0

Published

DataFire integration for Amazon DynamoDB Streams

Readme

@datafire/amazonaws_streams_dynamodb

Client library for Amazon DynamoDB Streams

Installation and Usage

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

amazonaws_streams_dynamodb.DescribeStream({
  "StreamArn": ""
}).then(data => {
  console.log(data);
});

Description

Amazon DynamoDB Amazon DynamoDB Streams provides API actions for accessing streams and processing stream records. To learn more about application development with Streams, see Capturing Table Activity with DynamoDB Streams in the Amazon DynamoDB Developer Guide.

Actions

DescribeStream

amazonaws_streams_dynamodb.DescribeStream({
  "StreamArn": ""
}, context)

Input

Output

GetRecords

amazonaws_streams_dynamodb.GetRecords({
  "ShardIterator": ""
}, context)

Input

Output

GetShardIterator

amazonaws_streams_dynamodb.GetShardIterator({
  "StreamArn": "",
  "ShardId": "",
  "ShardIteratorType": ""
}, context)

Input

Output

ListStreams

amazonaws_streams_dynamodb.ListStreams({}, context)

Input

Output

Definitions

AttributeMap

AttributeName

  • AttributeName string

AttributeValue

BinaryAttributeValue

  • BinaryAttributeValue string

BinarySetAttributeValue

BooleanAttributeValue

  • BooleanAttributeValue boolean

Date

  • Date string

DescribeStreamInput

DescribeStreamOutput

  • DescribeStreamOutput object: Represents the output of a DescribeStream operation.

ErrorMessage

  • ErrorMessage string

ExpiredIteratorException

  • ExpiredIteratorException object: The shard iterator has expired and can no longer be used to retrieve stream records. A shard iterator expires 15 minutes after it is retrieved using the GetShardIterator action.

GetRecordsInput

GetRecordsOutput

  • GetRecordsOutput object: Represents the output of a GetRecords operation.

GetShardIteratorInput

GetShardIteratorOutput

  • GetShardIteratorOutput object: Represents the output of a GetShardIterator operation.

Identity

  • Identity object: Contains details about the type of identity that made the request.

InternalServerError

  • InternalServerError object: An error occurred on the server side.

KeySchema

KeySchemaAttributeName

  • KeySchemaAttributeName string

KeySchemaElement

  • KeySchemaElement object: Represents a single element of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index. A KeySchemaElement represents exactly one attribute of the primary key. For example, a simple primary key (partition key) would be represented by one KeySchemaElement. A composite primary key (partition key and sort key) would require one KeySchemaElement for the partition key, and another KeySchemaElement for the sort key. The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values. The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.

KeyType

  • KeyType string (values: HASH, RANGE)

LimitExceededException

  • LimitExceededException object: Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that receive this exception. Your request is eventually successful, unless your retry queue is too large to finish. Reduce the frequency of requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

ListAttributeValue

ListStreamsInput

ListStreamsOutput

  • ListStreamsOutput object: Represents the output of a ListStreams operation.

MapAttributeValue

NullAttributeValue

  • NullAttributeValue boolean

NumberAttributeValue

  • NumberAttributeValue string

NumberSetAttributeValue

OperationType

  • OperationType string (values: INSERT, MODIFY, REMOVE)

PositiveIntegerObject

  • PositiveIntegerObject integer

PositiveLongObject

  • PositiveLongObject integer

Record

RecordList

ResourceNotFoundException

  • ResourceNotFoundException object: The operation tried to access a nonexistent stream.

SequenceNumber

  • SequenceNumber string

SequenceNumberRange

  • SequenceNumberRange object: The beginning and ending sequence numbers for the stream records contained within a shard.

Shard

ShardDescriptionList

  • ShardDescriptionList array

ShardId

  • ShardId string

ShardIterator

  • ShardIterator string

ShardIteratorType

  • ShardIteratorType string (values: TRIM_HORIZON, LATEST, AT_SEQUENCE_NUMBER, AFTER_SEQUENCE_NUMBER)

Stream

  • Stream object: Represents all of the data describing a particular stream.

StreamArn

  • StreamArn string

StreamDescription

StreamList

StreamRecord

StreamStatus

  • StreamStatus string (values: ENABLING, ENABLED, DISABLING, DISABLED)

StreamViewType

  • StreamViewType string (values: NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY)

String

  • String string

StringAttributeValue

  • StringAttributeValue string

StringSetAttributeValue

TableName

  • TableName string

TrimmedDataAccessException

  • TrimmedDataAccessException object: The operation attempted to read past the oldest stream record in a shard. In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records whose age exceeds this limit are subject to removal (trimming) from the stream. You might receive a TrimmedDataAccessException if: You request a shard iterator with a sequence number older than the trim point (24 hours). You obtain a shard iterator, but before you use the iterator in a GetRecords request, a stream record in the shard exceeds the 24 hour period and is trimmed. This causes the iterator to access a record that no longer exists.