Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://aws-api.deno.dev/v0.4/services/swf.ts?docs=full";

§Classes

SWF

§Interfaces

ActivityTask

Unit of work sent to an activity worker.

ActivityTaskCanceledEventAttributes

Provides the details of the ActivityTaskCanceled event.

ActivityTaskCancelRequestedEventAttributes

Provides the details of the ActivityTaskCancelRequested event.

ActivityTaskCompletedEventAttributes

Provides the details of the ActivityTaskCompleted event.

ActivityTaskFailedEventAttributes

Provides the details of the ActivityTaskFailed event.

ActivityTaskScheduledEventAttributes

Provides the details of the ActivityTaskScheduled event.

ActivityTaskStartedEventAttributes

Provides the details of the ActivityTaskStarted event.

ActivityTaskStatus

Status information about an activity task.

ActivityTaskTimedOutEventAttributes

Provides the details of the ActivityTaskTimedOut event.

ActivityType

Represents an activity type.

ActivityTypeConfiguration

Configuration settings registered with the activity type.

ActivityTypeDetail

Detailed information about an activity type.

ActivityTypeInfo

Detailed information about an activity type.

ActivityTypeInfos

Contains a paginated list of activity type information structures.

CancelTimerDecisionAttributes

Provides the details of the CancelTimer decision.

CancelTimerFailedEventAttributes

Provides the details of the CancelTimerFailed event.

CancelWorkflowExecutionDecisionAttributes

Provides the details of the CancelWorkflowExecution decision.

CancelWorkflowExecutionFailedEventAttributes

Provides the details of the CancelWorkflowExecutionFailed event.

ChildWorkflowExecutionCanceledEventAttributes

Provide details of the ChildWorkflowExecutionCanceled event.

ChildWorkflowExecutionCompletedEventAttributes

Provides the details of the ChildWorkflowExecutionCompleted event.

ChildWorkflowExecutionFailedEventAttributes

Provides the details of the ChildWorkflowExecutionFailed event.

ChildWorkflowExecutionStartedEventAttributes

Provides the details of the ChildWorkflowExecutionStarted event.

ChildWorkflowExecutionTerminatedEventAttributes

Provides the details of the ChildWorkflowExecutionTerminated event.

ChildWorkflowExecutionTimedOutEventAttributes

Provides the details of the ChildWorkflowExecutionTimedOut event.

CloseStatusFilter

Used to filter the closed workflow executions in visibility APIs by their close status.

CompleteWorkflowExecutionDecisionAttributes

Provides the details of the CompleteWorkflowExecution decision.

CompleteWorkflowExecutionFailedEventAttributes

Provides the details of the CompleteWorkflowExecutionFailed event.

ContinueAsNewWorkflowExecutionDecisionAttributes

Provides the details of the ContinueAsNewWorkflowExecution decision.

ContinueAsNewWorkflowExecutionFailedEventAttributes

Provides the details of the ContinueAsNewWorkflowExecutionFailed event.

CountClosedWorkflowExecutionsInput
CountOpenWorkflowExecutionsInput
CountPendingActivityTasksInput
CountPendingDecisionTasksInput
Decision

Specifies a decision made by the decider. A decision can be one of these types:

DecisionTask

A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.

DecisionTaskCompletedEventAttributes

Provides the details of the DecisionTaskCompleted event.

DecisionTaskScheduledEventAttributes

Provides details about the DecisionTaskScheduled event.

DecisionTaskStartedEventAttributes

Provides the details of the DecisionTaskStarted event.

DecisionTaskTimedOutEventAttributes

Provides the details of the DecisionTaskTimedOut event.

DeprecateActivityTypeInput
DeprecateDomainInput
DeprecateWorkflowTypeInput
DescribeActivityTypeInput
DescribeDomainInput
DescribeWorkflowExecutionInput
DescribeWorkflowTypeInput
DomainConfiguration

Contains the configuration settings of a domain.

DomainDetail

Contains details of a domain.

DomainInfo

Contains general information about a domain.

DomainInfos

Contains a paginated collection of DomainInfo structures.

ExecutionTimeFilter

Used to filter the workflow executions in visibility APIs by various time-based rules. Each parameter, if specified, defines a rule that must be satisfied by each returned query result. The parameter values are in the Unix Time format. For example: "oldestDate": 1325376070.

ExternalWorkflowExecutionCancelRequestedEventAttributes

Provides the details of the ExternalWorkflowExecutionCancelRequested event.

ExternalWorkflowExecutionSignaledEventAttributes

Provides the details of the ExternalWorkflowExecutionSignaled event.

FailWorkflowExecutionDecisionAttributes

Provides the details of the FailWorkflowExecution decision.

FailWorkflowExecutionFailedEventAttributes

Provides the details of the FailWorkflowExecutionFailed event.

GetWorkflowExecutionHistoryInput
History

Paginated representation of a workflow history for a workflow execution. This is the up to date, complete and authoritative record of the events related to all tasks and events in the life of the workflow execution.

HistoryEvent

Event within a workflow execution. A history event can be one of these types:

LambdaFunctionCompletedEventAttributes

Provides the details of the LambdaFunctionCompleted event. It isn't set for other event types.

LambdaFunctionFailedEventAttributes

Provides the details of the LambdaFunctionFailed event. It isn't set for other event types.

LambdaFunctionScheduledEventAttributes

Provides the details of the LambdaFunctionScheduled event. It isn't set for other event types.

LambdaFunctionStartedEventAttributes

Provides the details of the LambdaFunctionStarted event. It isn't set for other event types.

LambdaFunctionTimedOutEventAttributes

Provides details of the LambdaFunctionTimedOut event.

ListActivityTypesInput
ListClosedWorkflowExecutionsInput
ListDomainsInput
ListOpenWorkflowExecutionsInput
ListTagsForResourceInput
ListTagsForResourceOutput
ListWorkflowTypesInput
MarkerRecordedEventAttributes

Provides the details of the MarkerRecorded event.

PendingTaskCount

Contains the count of tasks in a task list.

PollForActivityTaskInput
PollForDecisionTaskInput
RecordActivityTaskHeartbeatInput
RecordMarkerDecisionAttributes

Provides the details of the RecordMarker decision.

RecordMarkerFailedEventAttributes

Provides the details of the RecordMarkerFailed event.

RegisterActivityTypeInput
RegisterDomainInput
RegisterWorkflowTypeInput
RequestCancelActivityTaskDecisionAttributes

Provides the details of the RequestCancelActivityTask decision.

RequestCancelActivityTaskFailedEventAttributes

Provides the details of the RequestCancelActivityTaskFailed event.

RequestCancelExternalWorkflowExecutionDecisionAttributes

Provides the details of the RequestCancelExternalWorkflowExecution decision.

RequestCancelExternalWorkflowExecutionFailedEventAttributes

Provides the details of the RequestCancelExternalWorkflowExecutionFailed event.

RequestCancelExternalWorkflowExecutionInitiatedEventAttributes

Provides the details of the RequestCancelExternalWorkflowExecutionInitiated event.

RequestCancelWorkflowExecutionInput
ResourceTag

Tags are key-value pairs that can be associated with Amazon SWF state machines and activities.

RespondActivityTaskCanceledInput
RespondActivityTaskCompletedInput
RespondActivityTaskFailedInput
RespondDecisionTaskCompletedInput

Input data for a TaskCompleted response to a decision task.

Run

Specifies the runId of a workflow execution.

ScheduleActivityTaskDecisionAttributes

Provides the details of the ScheduleActivityTask decision.

ScheduleActivityTaskFailedEventAttributes

Provides the details of the ScheduleActivityTaskFailed event.

ScheduleLambdaFunctionDecisionAttributes

Decision attributes specified in scheduleLambdaFunctionDecisionAttributes within the list of decisions decisions passed to "RespondDecisionTaskCompleted".

ScheduleLambdaFunctionFailedEventAttributes

Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types.

SignalExternalWorkflowExecutionDecisionAttributes

Provides the details of the SignalExternalWorkflowExecution decision.

SignalExternalWorkflowExecutionFailedEventAttributes

Provides the details of the SignalExternalWorkflowExecutionFailed event.

SignalExternalWorkflowExecutionInitiatedEventAttributes

Provides the details of the SignalExternalWorkflowExecutionInitiated event.

SignalWorkflowExecutionInput
StartChildWorkflowExecutionDecisionAttributes

Provides the details of the StartChildWorkflowExecution decision.

StartChildWorkflowExecutionFailedEventAttributes

Provides the details of the StartChildWorkflowExecutionFailed event.

StartChildWorkflowExecutionInitiatedEventAttributes

Provides the details of the StartChildWorkflowExecutionInitiated event.

StartLambdaFunctionFailedEventAttributes

Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types.

StartTimerDecisionAttributes

Provides the details of the StartTimer decision.

StartTimerFailedEventAttributes

Provides the details of the StartTimerFailed event.

StartWorkflowExecutionInput
TagFilter

Used to filter the workflow executions in visibility APIs based on a tag.

TagResourceInput
TaskList

Represents a task list.

TerminateWorkflowExecutionInput
TimerCanceledEventAttributes

Provides the details of the TimerCanceled event.

TimerFiredEventAttributes

Provides the details of the TimerFired event.

TimerStartedEventAttributes

Provides the details of the TimerStarted event.

UndeprecateActivityTypeInput
UndeprecateDomainInput
UndeprecateWorkflowTypeInput
UntagResourceInput
WorkflowExecution

Represents a workflow execution.

WorkflowExecutionCanceledEventAttributes

Provides the details of the WorkflowExecutionCanceled event.

WorkflowExecutionCancelRequestedEventAttributes

Provides the details of the WorkflowExecutionCancelRequested event.

WorkflowExecutionCompletedEventAttributes

Provides the details of the WorkflowExecutionCompleted event.

WorkflowExecutionConfiguration

The configuration settings for a workflow execution including timeout values, tasklist etc. These configuration settings are determined from the defaults specified when registering the workflow type and those specified when starting the workflow execution.

WorkflowExecutionContinuedAsNewEventAttributes

Provides the details of the WorkflowExecutionContinuedAsNew event.

WorkflowExecutionCount

Contains the count of workflow executions returned from "CountOpenWorkflowExecutions" or "CountClosedWorkflowExecutions"

WorkflowExecutionDetail

Contains details about a workflow execution.

WorkflowExecutionFailedEventAttributes

Provides the details of the WorkflowExecutionFailed event.

WorkflowExecutionFilter

Used to filter the workflow executions in visibility APIs by their workflowId.

WorkflowExecutionInfo

Contains information about a workflow execution.

WorkflowExecutionInfos

Contains a paginated list of information about workflow executions.

WorkflowExecutionOpenCounts

Contains the counts of open tasks, child workflow executions and timers for a workflow execution.

WorkflowExecutionSignaledEventAttributes

Provides the details of the WorkflowExecutionSignaled event.

WorkflowExecutionStartedEventAttributes

Provides details of WorkflowExecutionStarted event.

WorkflowExecutionTerminatedEventAttributes

Provides the details of the WorkflowExecutionTerminated event.

WorkflowExecutionTimedOutEventAttributes

Provides the details of the WorkflowExecutionTimedOut event.

WorkflowType

Represents a workflow type.

WorkflowTypeConfiguration

The configuration settings of a workflow type.

WorkflowTypeDetail

Contains details about a workflow type.

WorkflowTypeFilter

Used to filter workflow execution query results by type. Each parameter, if specified, defines a rule that must be satisfied by each returned result.

WorkflowTypeInfo

Contains information about a workflow type.

WorkflowTypeInfos

Contains a paginated list of information structures about workflow types.

§Type Aliases

ActivityTaskTimeoutType
CancelTimerFailedCause
CancelWorkflowExecutionFailedCause
ChildPolicy
CloseStatus
CompleteWorkflowExecutionFailedCause
ContinueAsNewWorkflowExecutionFailedCause
DecisionTaskTimeoutType
DecisionType
EventType
ExecutionStatus
FailWorkflowExecutionFailedCause
LambdaFunctionTimeoutType
RecordMarkerFailedCause
RegistrationStatus
RequestCancelActivityTaskFailedCause
RequestCancelExternalWorkflowExecutionFailedCause
ScheduleActivityTaskFailedCause
ScheduleLambdaFunctionFailedCause
SignalExternalWorkflowExecutionFailedCause
StartChildWorkflowExecutionFailedCause
StartLambdaFunctionFailedCause
StartTimerFailedCause
WorkflowExecutionCancelRequestedCause
WorkflowExecutionTerminatedCause
WorkflowExecutionTimeoutType