Command line utilities for viewing events in your event lake, replaying events, resubmitting faults and more
These utilities support sister project aws-lambda-stream.
npm i aws-lambda-stream-cli -g
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
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"
}