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

TerminateWorkflowExecutionInput

import type { TerminateWorkflowExecutionInput } from "https://aws-api.deno.dev/v0.4/services/swf.ts?docs=full";
interface TerminateWorkflowExecutionInput {
childPolicy?: ChildPolicy | null;
details?: string | null;
domain: string;
reason?: string | null;
runId?: string | null;
workflowId: string;
}

§Properties

§
childPolicy?: ChildPolicy | null
[src]

If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.

The supported child policies are:

  • TERMINATE – The child executions are terminated.
  • REQUEST_CANCEL – A request to cancel is attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
  • ABANDON – No action is taken. The child executions continue to run.

Note: A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.

§
details?: string | null
[src]

Details for terminating the workflow execution.

§
domain: string
[src]

The domain of the workflow execution to terminate.

§
reason?: string | null
[src]

A descriptive reason for terminating the workflow execution.

§
runId?: string | null
[src]

The runId of the workflow execution to terminate.

§
workflowId: string
[src]

The workflowId of the workflow execution to terminate.