Skip to content

Command line utilities for viewing events in your event lake, replaying events, resubmitting faults and more

Notifications You must be signed in to change notification settings

pomSense/aws-lambda-stream-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript fork of aws-lambda-stream-cli

Main differences:

  • TypeScript
  • Yarn 2

Command line utilities for viewing events in your event lake, replaying events, resubmitting faults and more

These utilities support sister project aws-lambda-stream.

Installation

  • npm i aws-lambda-stream-cli -g

Commands

Invoke help commands below for details on the commands and parameters, such as:

$ events help
Commands:
  display [bucket] [prefix]  Display the events in [bucket] for [prefix]
  ls [bucket] [prefix]       List the event files in [bucket] for [prefix]
  replay [bucket] [prefix]   Replay the events in [bucket] for [prefix]

$ events ls help
events ls [bucket] [prefix]

Options:
  --help          Show help                                            [boolean]
  --bucket, -b    bucket containing the events
  --region, -r                                            [default: "us-east-1"]
  --prefix, -p                                          [default: "2018/12/11/"]
  • events help
  • events ls help
  • events count help
  • events display help
  • events replay help
  • faults help
  • faults ls help
  • faults count help
  • faults display help
  • faults resubmit help

Configuration Files

Default parameter configurations can be setup in .eventsrc and .faultsrc json files.

  • Example .eventsrc file:
{
    "bucket": "my-event-lake-s3-stg-bucket-123456789",
    "region": "us-east-1"
}

Additional configuration details:

About

Command line utilities for viewing events in your event lake, replaying events, resubmitting faults and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%