1.28.1 • Published 3 years ago

@dazn/lambda-powertools-step-functions-client v1.28.1

Weekly downloads
230
License
MIT
Repository
-
Last release
3 years ago

lambda-powertools-step-functions-client

Step Functions (SFN) client wrapper that knows how to forward correlation IDs (captured via @dazn/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 @dazn/lambda-powertools-step-functions-client

API

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

const SFN = require('@dazn/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()
}
1.28.1

3 years ago

1.28.0

3 years ago

1.26.0

4 years ago

1.24.1

4 years ago

1.24.0

4 years ago

1.23.2

4 years ago

1.23.1

4 years ago

1.23.0

4 years ago

1.22.1

4 years ago

1.22.0

4 years ago

1.21.1

4 years ago

1.21.0

4 years ago

1.15.2

5 years ago

1.12.0

5 years ago

1.9.0

5 years ago

1.8.2

5 years ago

1.8.0

5 years ago