@perform/lambda-powertools-step-functions-client

SFN client wrapper that knows how to forward correlation IDs (captured via @perform/lambda-powertools-correlation-ids)

Moved to @dazn/lambda-powertools-step-functions-client - please migrate to the new package by Tuesday 20th August 2019 as this package will be made private.
Last updated a year ago by automation-drone .
MIT · Original npm · Tarball · package.json
$ cnpm install @perform/lambda-powertools-step-functions-client 
SYNC missed versions from official npm registry.

lambda-powertools-step-functions-client

Step Functions (SFN) client wrapper that knows how to forward correlation IDs (captured via @perform/lambda-powertools-correlation-ids).

Main features:

  • auto-injects correlation IDs into the invocation payload when you call startExecution

  • direct replacement for AWS.StepFunctions client

Getting Started

Install from NPM: npm install @perform/lambda-powertools-step-functions-client

API

It's exactly the same as the Step Functions (SFN) client from the AWS SDK.

const SFN = require('@perform/lambda-powertools-step-functions-client')

const publishMessage = async () => {
  const req = {
    stateMachineArn: 'my-state-machine',
    input: JSON.stringify({ message: 'hello sfn' }),
    name: 'test'
  }

  await SFN.startExecution(req).promise()
}

Current Tags

  • 1.8.0                                ...           latest (a year ago)

22 Versions

  • 1.8.0 [deprecated]           ...           a year ago
  • 1.5.0 [deprecated]           ...           a year ago
  • 1.3.0 [deprecated]           ...           a year ago
  • 1.1.7 [deprecated]           ...           2 years ago
  • 1.0.1 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
  • 0.10.5 [deprecated]           ...           2 years ago
  • 0.10.4 [deprecated]           ...           2 years ago
  • 0.10.3 [deprecated]           ...           2 years ago
  • 0.10.2 [deprecated]           ...           2 years ago
  • 0.10.1 [deprecated]           ...           2 years ago
  • 0.10.0 [deprecated]           ...           2 years ago
  • 0.9.0 [deprecated]           ...           2 years ago
  • 0.8.0 [deprecated]           ...           2 years ago
  • 0.7.0 [deprecated]           ...           2 years ago
  • 0.6.4 [deprecated]           ...           2 years ago
  • 0.6.3 [deprecated]           ...           2 years ago
  • 0.6.2 [deprecated]           ...           2 years ago
  • 0.6.0 [deprecated]           ...           2 years ago
  • 0.5.0 [deprecated]           ...           2 years ago
  • 0.4.0 [deprecated]           ...           2 years ago
  • 0.3.0 [deprecated]           ...           2 years ago
Maintainers (325)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |