aws-lambda-stream-cli

0.7.0 • Public • Published

aws-lambda-stream-cli

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:

Readme

Keywords

none

Package Sidebar

Install

npm i aws-lambda-stream-cli

Weekly Downloads

2

Version

0.7.0

License

none

Unpacked Size

20.3 kB

Total Files

13

Last publish

Collaborators

  • jgilbert01