npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_states

v5.0.0

Published

DataFire integration for AWS Step Functions

Readme

@datafire/amazonaws_states

Client library for AWS Step Functions

Installation and Usage

npm install --save @datafire/amazonaws_states
let amazonaws_states = require('@datafire/amazonaws_states').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_states.CreateActivity({
  "name": ""
}).then(data => {
  console.log(data);
});

Description

AWS Step Functions AWS Step Functions is a service that lets you coordinate the components of distributed applications and microservices using visual workflows. You can use Step Functions to build applications from individual components, each of which performs a discrete function, or task, allowing you to scale and change applications quickly. Step Functions provides a console that helps visualize the components of your application as a series of steps. Step Functions automatically triggers and tracks each step, and retries steps when there are errors, so your application executes predictably and in the right order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any issues. Step Functions manages operations and underlying infrastructure to ensure your application is available at any scale. You can run tasks on AWS, your own servers, or any system that has access to AWS. You can access and use Step Functions using the console, the AWS SDKs, or an HTTP API. For more information about Step Functions, see the AWS Step Functions Developer Guide .

Actions

CreateActivity

amazonaws_states.CreateActivity({
  "name": ""
}, context)

Input

  • input object

Output

CreateStateMachine

amazonaws_states.CreateStateMachine({
  "name": "",
  "definition": "",
  "roleArn": ""
}, context)

Input

Output

DeleteActivity

amazonaws_states.DeleteActivity({
  "activityArn": ""
}, context)

Input

  • input object
    • activityArn required Arn

Output

DeleteStateMachine

amazonaws_states.DeleteStateMachine({
  "stateMachineArn": ""
}, context)

Input

  • input object
    • stateMachineArn required Arn

Output

DescribeActivity

amazonaws_states.DescribeActivity({
  "activityArn": ""
}, context)

Input

  • input object
    • activityArn required Arn

Output

DescribeExecution

amazonaws_states.DescribeExecution({
  "executionArn": ""
}, context)

Input

  • input object
    • executionArn required Arn

Output

DescribeStateMachine

amazonaws_states.DescribeStateMachine({
  "stateMachineArn": ""
}, context)

Input

  • input object
    • stateMachineArn required Arn

Output

DescribeStateMachineForExecution

amazonaws_states.DescribeStateMachineForExecution({
  "executionArn": ""
}, context)

Input

  • input object
    • executionArn required Arn

Output

GetActivityTask

amazonaws_states.GetActivityTask({
  "activityArn": ""
}, context)

Input

  • input object
    • activityArn required Arn
    • workerName Name

Output

GetExecutionHistory

amazonaws_states.GetExecutionHistory({
  "executionArn": ""
}, context)

Input

Output

ListActivities

amazonaws_states.ListActivities({}, context)

Input

Output

ListExecutions

amazonaws_states.ListExecutions({
  "stateMachineArn": ""
}, context)

Input

Output

ListStateMachines

amazonaws_states.ListStateMachines({}, context)

Input

Output

SendTaskFailure

amazonaws_states.SendTaskFailure({
  "taskToken": ""
}, context)

Input

Output

SendTaskHeartbeat

amazonaws_states.SendTaskHeartbeat({
  "taskToken": ""
}, context)

Input

Output

SendTaskSuccess

amazonaws_states.SendTaskSuccess({
  "taskToken": "",
  "output": ""
}, context)

Input

Output

StartExecution

amazonaws_states.StartExecution({
  "stateMachineArn": ""
}, context)

Input

  • input object

Output

StopExecution

amazonaws_states.StopExecution({
  "executionArn": ""
}, context)

Input

Output

UpdateStateMachine

amazonaws_states.UpdateStateMachine({
  "stateMachineArn": ""
}, context)

Input

Output

Definitions

ActivityDoesNotExist

  • ActivityDoesNotExist object: The specified activity does not exist.

ActivityFailedEventDetails

  • ActivityFailedEventDetails object: Contains details about an activity which failed during an execution.

ActivityLimitExceeded

  • ActivityLimitExceeded object: The maximum number of activities has been reached. Existing activities must be deleted before a new activity can be created.

ActivityList

ActivityListItem

  • ActivityListItem object: Contains details about an activity.

ActivityScheduleFailedEventDetails

  • ActivityScheduleFailedEventDetails object: Contains details about an activity schedule failure which occurred during an execution.

ActivityScheduledEventDetails

  • ActivityScheduledEventDetails object: Contains details about an activity scheduled during an execution.

ActivityStartedEventDetails

  • ActivityStartedEventDetails object: Contains details about the start of an activity during an execution.

ActivitySucceededEventDetails

  • ActivitySucceededEventDetails object: Contains details about an activity which successfully terminated during an execution.

ActivityTimedOutEventDetails

  • ActivityTimedOutEventDetails object: Contains details about an activity timeout which occurred during an execution.

ActivityWorkerLimitExceeded

  • ActivityWorkerLimitExceeded object: The maximum number of workers concurrently polling for activity tasks has been reached.

Arn

  • Arn string

Cause

  • Cause string

CreateActivityInput

  • CreateActivityInput object

CreateActivityOutput

  • CreateActivityOutput object

CreateStateMachineInput

  • CreateStateMachineInput object

CreateStateMachineOutput

  • CreateStateMachineOutput object

Data

  • Data string

Definition

  • Definition string

DeleteActivityInput

  • DeleteActivityInput object
    • activityArn required Arn

DeleteActivityOutput

  • DeleteActivityOutput object

DeleteStateMachineInput

  • DeleteStateMachineInput object
    • stateMachineArn required Arn

DeleteStateMachineOutput

  • DeleteStateMachineOutput object

DescribeActivityInput

  • DescribeActivityInput object
    • activityArn required Arn

DescribeActivityOutput

  • DescribeActivityOutput object

DescribeExecutionInput

  • DescribeExecutionInput object
    • executionArn required Arn

DescribeExecutionOutput

DescribeStateMachineForExecutionInput

  • DescribeStateMachineForExecutionInput object
    • executionArn required Arn

DescribeStateMachineForExecutionOutput

  • DescribeStateMachineForExecutionOutput object

DescribeStateMachineInput

  • DescribeStateMachineInput object
    • stateMachineArn required Arn

DescribeStateMachineOutput

Error

  • Error string

ErrorMessage

  • ErrorMessage string

EventId

  • EventId integer

ExecutionAbortedEventDetails

  • ExecutionAbortedEventDetails object: Contains details about an abort of an execution.

ExecutionAlreadyExists

  • ExecutionAlreadyExists object: The execution has the same name as another execution (but a different input). Executions with the same name and input are considered idempotent.

ExecutionDoesNotExist

  • ExecutionDoesNotExist object: The specified execution does not exist.

ExecutionFailedEventDetails

  • ExecutionFailedEventDetails object: Contains details about an execution failure event.

ExecutionLimitExceeded

  • ExecutionLimitExceeded object: The maximum number of running executions has been reached. Running executions must end or be stopped before a new execution can be started.

ExecutionList

ExecutionListItem

ExecutionStartedEventDetails

  • ExecutionStartedEventDetails object: Contains details about the start of the execution.

ExecutionStatus

  • ExecutionStatus string (values: RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED)

ExecutionSucceededEventDetails

  • ExecutionSucceededEventDetails object: Contains details about the successful termination of the execution.

ExecutionTimedOutEventDetails

  • ExecutionTimedOutEventDetails object: Contains details about the execution timeout which occurred during the execution.

GetActivityTaskInput

  • GetActivityTaskInput object
    • activityArn required Arn
    • workerName Name

GetActivityTaskOutput

GetExecutionHistoryInput

GetExecutionHistoryOutput

HistoryEvent

HistoryEventList

  • HistoryEventList array: Contains details about the events which occurred during an execution.

HistoryEventType

  • HistoryEventType string (values: ActivityFailed, ActivityScheduleFailed, ActivityScheduled, ActivityStarted, ActivitySucceeded, ActivityTimedOut, ChoiceStateEntered, ChoiceStateExited, ExecutionFailed, ExecutionStarted, ExecutionSucceeded, ExecutionAborted, ExecutionTimedOut, FailStateEntered, LambdaFunctionFailed, LambdaFunctionScheduleFailed, LambdaFunctionScheduled, LambdaFunctionStartFailed, LambdaFunctionStarted, LambdaFunctionSucceeded, LambdaFunctionTimedOut, SucceedStateEntered, SucceedStateExited, TaskStateAborted, TaskStateEntered, TaskStateExited, PassStateEntered, PassStateExited, ParallelStateAborted, ParallelStateEntered, ParallelStateExited, ParallelStateFailed, ParallelStateStarted, ParallelStateSucceeded, WaitStateAborted, WaitStateEntered, WaitStateExited)

Identity

  • Identity string

InvalidArn

  • InvalidArn object: The provided Amazon Resource Name (ARN) is invalid.

InvalidDefinition

  • InvalidDefinition object: The provided Amazon States Language definition is invalid.

InvalidExecutionInput

  • InvalidExecutionInput object: The provided JSON input data is invalid.

InvalidName

  • InvalidName object: The provided name is invalid.

InvalidOutput

  • InvalidOutput object: The provided JSON output data is invalid.

InvalidToken

  • InvalidToken object: The provided token is invalid.

LambdaFunctionFailedEventDetails

  • LambdaFunctionFailedEventDetails object: Contains details about a lambda function which failed during an execution.

LambdaFunctionScheduleFailedEventDetails

  • LambdaFunctionScheduleFailedEventDetails object: Contains details about a failed lambda function schedule event which occurred during an execution.

LambdaFunctionScheduledEventDetails

  • LambdaFunctionScheduledEventDetails object: Contains details about a lambda function scheduled during an execution.

LambdaFunctionStartFailedEventDetails

  • LambdaFunctionStartFailedEventDetails object: Contains details about a lambda function which failed to start during an execution.

LambdaFunctionSucceededEventDetails

  • LambdaFunctionSucceededEventDetails object: Contains details about a lambda function which successfully terminated during an execution.

LambdaFunctionTimedOutEventDetails

  • LambdaFunctionTimedOutEventDetails object: Contains details about a lambda function timeout which occurred during an execution.

ListActivitiesInput

ListActivitiesOutput

ListExecutionsInput

ListExecutionsOutput

ListStateMachinesInput

ListStateMachinesOutput

MissingRequiredParameter

  • MissingRequiredParameter object: Request is missing a required parameter. This error occurs if both definition and roleArn are not specified.

Name

  • Name string

PageSize

  • PageSize integer

PageToken

  • PageToken string

ReverseOrder

  • ReverseOrder boolean

SendTaskFailureInput

SendTaskFailureOutput

  • SendTaskFailureOutput object

SendTaskHeartbeatInput

  • SendTaskHeartbeatInput object

SendTaskHeartbeatOutput

  • SendTaskHeartbeatOutput object

SendTaskSuccessInput

  • SendTaskSuccessInput object

SendTaskSuccessOutput

  • SendTaskSuccessOutput object

StartExecutionInput

  • StartExecutionInput object

StartExecutionOutput

  • StartExecutionOutput object

StateEnteredEventDetails

  • StateEnteredEventDetails object: Contains details about a state entered during an execution.

StateExitedEventDetails

  • StateExitedEventDetails object: Contains details about an exit from a state during an execution.

StateMachineAlreadyExists

  • StateMachineAlreadyExists object: A state machine with the same name but a different definition or role ARN already exists.

StateMachineDeleting

  • StateMachineDeleting object: The specified state machine is being deleted.

StateMachineDoesNotExist

  • StateMachineDoesNotExist object: The specified state machine does not exist.

StateMachineLimitExceeded

  • StateMachineLimitExceeded object: The maximum number of state machines has been reached. Existing state machines must be deleted before a new state machine can be created.

StateMachineList

StateMachineListItem

  • StateMachineListItem object: Contains details about the state machine.

StateMachineStatus

  • StateMachineStatus string (values: ACTIVE, DELETING)

StopExecutionInput

  • StopExecutionInput object

StopExecutionOutput

  • StopExecutionOutput object

TaskDoesNotExist

TaskTimedOut

TaskToken

  • TaskToken string

TimeoutInSeconds

  • TimeoutInSeconds integer

Timestamp

  • Timestamp string

UpdateStateMachineInput

  • UpdateStateMachineInput object

UpdateStateMachineOutput

  • UpdateStateMachineOutput object