openapi: 3.0.0 info: version: '2012-01-25' x-release: v4 title: 'Amazon Simple Workflow Service #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.CountClosedWorkflowExecutions #X Amz Target=SimpleWorkflowService.GetWorkflowExecutionHistory API' description: Amazon Simple Workflow Service

The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to coordinate work across distributed components. In Amazon SWF, a task represents a logical unit of work that is performed by a component of your workflow. Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and concurrency in accordance with the logical flow of the application.

Amazon SWF gives you full control over implementing tasks and coordinating them without worrying about underlying complexities such as tracking their progress and maintaining their state.

This documentation serves as reference only. For a broader overview of the Amazon SWF programming model, see the Amazon SWF Developer Guide .

x-logo: url: https://twitter.com/awscloud/profile_image?size=original backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: swf x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/swf-2012-01-25.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://swf.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon SWF multi-region endpoint - url: https://swf.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon SWF multi-region endpoint - url: http://swf.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon SWF endpoint for China (Beijing) and China (Ningxia) - url: https://swf.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon SWF endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=SimpleWorkflowService.GetWorkflowExecutionHistory' paths: /#X-Amz-Target=SimpleWorkflowService.GetWorkflowExecutionHistory: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: GetWorkflowExecutionHistory description:

Returns the history of the specified workflow execution. The results may be split into multiple pages. To retrieve subsequent pages, make the call again using the nextPageToken returned by the initial call.

This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

Access Control

You can use IAM policies to control this action's access to Amazon SWF resources as follows:

If the caller doesn't have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter is set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/History' '480': description: UnknownResourceFault content: application/json: schema: $ref: '#/components/schemas/UnknownResourceFault' '481': description: OperationNotPermittedFault content: application/json: schema: $ref: '#/components/schemas/OperationNotPermittedFault' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GetWorkflowExecutionHistoryInput' parameters: - name: maximumPageSize in: query schema: type: string description: Pagination limit required: false example: example - name: nextPageToken in: query schema: type: string description: Pagination token required: false example: token123 - name: X-Amz-Target in: header required: true schema: type: string enum: - SimpleWorkflowService.GetWorkflowExecutionHistory example: SimpleWorkflowService.GetWorkflowExecutionHistory summary: Amazon SWF Get Workflow Execution History x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - '#X Amz Target=SimpleWorkflowService.GetWorkflowExecutionHistory' components: schemas: ExternalWorkflowExecutionSignaledEventAttributes: type: object required: - workflowExecution - initiatedEventId properties: workflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The external workflow execution that the signal was delivered to. initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ExternalWorkflowExecutionSignaled event. WorkflowId: type: string minLength: 1 maxLength: 256 FailWorkflowExecutionFailedCause: type: string enum: - UNHANDLED_DECISION - OPERATION_NOT_PERMITTED ActivityType: type: object required: - name - version properties: name: allOf: - $ref: '#/components/schemas/Name' - description:

The name of this activity.

The combination of activity type name and version must be unique within a domain.

version: allOf: - $ref: '#/components/schemas/Version' - description:

The version of this activity.

The combination of activity type name and version must be unique with in a domain.

description: Represents an activity type. RecordMarkerFailedEventAttributes: type: object required: - markerName - cause - decisionTaskCompletedEventId properties: markerName: allOf: - $ref: '#/components/schemas/MarkerName' - description: The marker's name. cause: allOf: - $ref: '#/components/schemas/RecordMarkerFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RecordMarkerFailed decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the RecordMarkerFailed event. ChildPolicy: type: string enum: - TERMINATE - REQUEST_CANCEL - ABANDON DomainName: type: string minLength: 1 maxLength: 256 EventId: type: integer WorkflowRunIdOptional: type: string maxLength: 64 WorkflowExecutionSignaledEventAttributes: type: object required: - signalName properties: signalName: allOf: - $ref: '#/components/schemas/SignalName' - description: The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal. input: allOf: - $ref: '#/components/schemas/Data' - description: The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal. externalWorkflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution. externalInitiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflow decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution. description: Provides the details of the WorkflowExecutionSignaled event. DecisionTaskCompletedEventAttributes: type: object required: - scheduledEventId - startedEventId properties: executionContext: allOf: - $ref: '#/components/schemas/Data' - description: User defined context for the workflow execution. scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the DecisionTaskCompleted event. HistoryEvent: type: object required: - eventTimestamp - eventType - eventId properties: eventTimestamp: allOf: - $ref: '#/components/schemas/Timestamp' - description: The date and time when the event occurred. eventType: allOf: - $ref: '#/components/schemas/EventType' - description: The type of the history event. eventId: allOf: - $ref: '#/components/schemas/EventId' - description: The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history. workflowExecutionStartedEventAttributes: allOf: - $ref: '#/components/schemas/WorkflowExecutionStartedEventAttributes' - description: If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It isn't set for other event types. workflowExecutionCompletedEventAttributes: allOf: - $ref: '#/components/schemas/WorkflowExecutionCompletedEventAttributes' - description: If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It isn't set for other event types. completeWorkflowExecutionFailedEventAttributes: allOf: - $ref: '#/components/schemas/CompleteWorkflowExecutionFailedEventAttributes' - description: If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types. workflowExecutionFailedEventAttributes: allOf: - $ref: '#/components/schemas/WorkflowExecutionFailedEventAttributes' - description: If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types. failWorkflowExecutionFailedEventAttributes: allOf: - $ref: '#/components/schemas/FailWorkflowExecutionFailedEventAttributes' - description: If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types. workflowExecutionTimedOutEventAttributes: allOf: - $ref: '#/components/schemas/WorkflowExecutionTimedOutEventAttributes' - description: If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types. workflowExecutionCanceledEventAttributes: allOf: - $ref: '#/components/schemas/WorkflowExecutionCanceledEventAttributes' - description: If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It isn't set for other event types. cancelWorkflowExecutionFailedEventAttributes: allOf: - $ref: '#/components/schemas/CancelWorkflowExecutionFailedEventAttributes' - description: If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types. workflowExecutionContinuedAsNewEventAttributes: allOf: - $ref: '#/components/schemas/WorkflowExecutionContinuedAsNewEventAttributes' - description: If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It isn't set for other event types. continueAsNewWorkflowExecutionFailedEventAttributes: allOf: - $ref: '#/components/schemas/ContinueAsNewWorkflowExecutionFailedEventAttributes' - description: If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types. workflowExecutionTerminatedEventAttributes: allOf: - $ref: '#/components/schemas/WorkflowExecutionTerminatedEventAttributes' - description: If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It isn't set for other event types. workflowExecutionCancelRequestedEventAttributes: allOf: - $ref: '#/components/schemas/WorkflowExecutionCancelRequestedEventAttributes' - description: If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types. decisionTaskScheduledEventAttributes: allOf: - $ref: '#/components/schemas/DecisionTaskScheduledEventAttributes' - description: If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It isn't set for other event types. decisionTaskStartedEventAttributes: allOf: - $ref: '#/components/schemas/DecisionTaskStartedEventAttributes' - description: If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It isn't set for other event types. decisionTaskCompletedEventAttributes: allOf: - $ref: '#/components/schemas/DecisionTaskCompletedEventAttributes' - description: If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It isn't set for other event types. decisionTaskTimedOutEventAttributes: allOf: - $ref: '#/components/schemas/DecisionTaskTimedOutEventAttributes' - description: If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types. activityTaskScheduledEventAttributes: allOf: - $ref: '#/components/schemas/ActivityTaskScheduledEventAttributes' - description: If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It isn't set for other event types. activityTaskStartedEventAttributes: allOf: - $ref: '#/components/schemas/ActivityTaskStartedEventAttributes' - description: If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It isn't set for other event types. activityTaskCompletedEventAttributes: allOf: - $ref: '#/components/schemas/ActivityTaskCompletedEventAttributes' - description: If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It isn't set for other event types. activityTaskFailedEventAttributes: allOf: - $ref: '#/components/schemas/ActivityTaskFailedEventAttributes' - description: If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types. activityTaskTimedOutEventAttributes: allOf: - $ref: '#/components/schemas/ActivityTaskTimedOutEventAttributes' - description: If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types. activityTaskCanceledEventAttributes: allOf: - $ref: '#/components/schemas/ActivityTaskCanceledEventAttributes' - description: If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It isn't set for other event types. activityTaskCancelRequestedEventAttributes: allOf: - $ref: '#/components/schemas/ActivityTaskCancelRequestedEventAttributes' - description: If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types. workflowExecutionSignaledEventAttributes: allOf: - $ref: '#/components/schemas/WorkflowExecutionSignaledEventAttributes' - description: If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It isn't set for other event types. markerRecordedEventAttributes: allOf: - $ref: '#/components/schemas/MarkerRecordedEventAttributes' - description: If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It isn't set for other event types. recordMarkerFailedEventAttributes: allOf: - $ref: '#/components/schemas/RecordMarkerFailedEventAttributes' - description: If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types. timerStartedEventAttributes: allOf: - $ref: '#/components/schemas/TimerStartedEventAttributes' - description: If the event is of type TimerStarted then this member is set and provides detailed information about the event. It isn't set for other event types. timerFiredEventAttributes: allOf: - $ref: '#/components/schemas/TimerFiredEventAttributes' - description: If the event is of type TimerFired then this member is set and provides detailed information about the event. It isn't set for other event types. timerCanceledEventAttributes: allOf: - $ref: '#/components/schemas/TimerCanceledEventAttributes' - description: If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It isn't set for other event types. startChildWorkflowExecutionInitiatedEventAttributes: allOf: - $ref: '#/components/schemas/StartChildWorkflowExecutionInitiatedEventAttributes' - description: If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types. childWorkflowExecutionStartedEventAttributes: allOf: - $ref: '#/components/schemas/ChildWorkflowExecutionStartedEventAttributes' - description: If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It isn't set for other event types. childWorkflowExecutionCompletedEventAttributes: allOf: - $ref: '#/components/schemas/ChildWorkflowExecutionCompletedEventAttributes' - description: If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It isn't set for other event types. childWorkflowExecutionFailedEventAttributes: allOf: - $ref: '#/components/schemas/ChildWorkflowExecutionFailedEventAttributes' - description: If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types. childWorkflowExecutionTimedOutEventAttributes: allOf: - $ref: '#/components/schemas/ChildWorkflowExecutionTimedOutEventAttributes' - description: If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types. childWorkflowExecutionCanceledEventAttributes: allOf: - $ref: '#/components/schemas/ChildWorkflowExecutionCanceledEventAttributes' - description: If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It isn't set for other event types. childWorkflowExecutionTerminatedEventAttributes: allOf: - $ref: '#/components/schemas/ChildWorkflowExecutionTerminatedEventAttributes' - description: If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It isn't set for other event types. signalExternalWorkflowExecutionInitiatedEventAttributes: allOf: - $ref: '#/components/schemas/SignalExternalWorkflowExecutionInitiatedEventAttributes' - description: If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types. externalWorkflowExecutionSignaledEventAttributes: allOf: - $ref: '#/components/schemas/ExternalWorkflowExecutionSignaledEventAttributes' - description: If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It isn't set for other event types. signalExternalWorkflowExecutionFailedEventAttributes: allOf: - $ref: '#/components/schemas/SignalExternalWorkflowExecutionFailedEventAttributes' - description: If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types. externalWorkflowExecutionCancelRequestedEventAttributes: allOf: - $ref: '#/components/schemas/ExternalWorkflowExecutionCancelRequestedEventAttributes' - description: 'If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It isn''t set for other event types. ' requestCancelExternalWorkflowExecutionInitiatedEventAttributes: allOf: - $ref: '#/components/schemas/RequestCancelExternalWorkflowExecutionInitiatedEventAttributes' - description: If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types. requestCancelExternalWorkflowExecutionFailedEventAttributes: allOf: - $ref: '#/components/schemas/RequestCancelExternalWorkflowExecutionFailedEventAttributes' - description: If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types. scheduleActivityTaskFailedEventAttributes: allOf: - $ref: '#/components/schemas/ScheduleActivityTaskFailedEventAttributes' - description: If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types. requestCancelActivityTaskFailedEventAttributes: allOf: - $ref: '#/components/schemas/RequestCancelActivityTaskFailedEventAttributes' - description: If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types. startTimerFailedEventAttributes: allOf: - $ref: '#/components/schemas/StartTimerFailedEventAttributes' - description: If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It isn't set for other event types. cancelTimerFailedEventAttributes: allOf: - $ref: '#/components/schemas/CancelTimerFailedEventAttributes' - description: If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It isn't set for other event types. startChildWorkflowExecutionFailedEventAttributes: allOf: - $ref: '#/components/schemas/StartChildWorkflowExecutionFailedEventAttributes' - description: If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types. lambdaFunctionScheduledEventAttributes: allOf: - $ref: '#/components/schemas/LambdaFunctionScheduledEventAttributes' - description: Provides the details of the LambdaFunctionScheduled event. It isn't set for other event types. lambdaFunctionStartedEventAttributes: allOf: - $ref: '#/components/schemas/LambdaFunctionStartedEventAttributes' - description: Provides the details of the LambdaFunctionStarted event. It isn't set for other event types. lambdaFunctionCompletedEventAttributes: allOf: - $ref: '#/components/schemas/LambdaFunctionCompletedEventAttributes' - description: Provides the details of the LambdaFunctionCompleted event. It isn't set for other event types. lambdaFunctionFailedEventAttributes: allOf: - $ref: '#/components/schemas/LambdaFunctionFailedEventAttributes' - description: Provides the details of the LambdaFunctionFailed event. It isn't set for other event types. lambdaFunctionTimedOutEventAttributes: allOf: - $ref: '#/components/schemas/LambdaFunctionTimedOutEventAttributes' - description: Provides the details of the LambdaFunctionTimedOut event. It isn't set for other event types. scheduleLambdaFunctionFailedEventAttributes: allOf: - $ref: '#/components/schemas/ScheduleLambdaFunctionFailedEventAttributes' - description: Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types. startLambdaFunctionFailedEventAttributes: allOf: - $ref: '#/components/schemas/StartLambdaFunctionFailedEventAttributes' - description: Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types. description:

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

StartLambdaFunctionFailedEventAttributes: type: object properties: scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event. cause: allOf: - $ref: '#/components/schemas/StartLambdaFunctionFailedCause' - description:

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because the IAM role attached to the execution lacked sufficient permissions. For details and example IAM policies, see Lambda Tasks in the Amazon SWF Developer Guide.

message: allOf: - $ref: '#/components/schemas/CauseMessage' - description: A description that can help diagnose the cause of the fault. description: Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types. HistoryEventList: type: array items: $ref: '#/components/schemas/HistoryEvent' ChildWorkflowExecutionTimedOutEventAttributes: type: object required: - workflowExecution - workflowType - timeoutType - initiatedEventId - startedEventId properties: workflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The child workflow execution that timed out. workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The type of the child workflow execution. timeoutType: allOf: - $ref: '#/components/schemas/WorkflowExecutionTimeoutType' - description: The type of the timeout that caused the child workflow execution to time out. initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ChildWorkflowExecutionTimedOut event. ActivityTaskTimedOutEventAttributes: type: object required: - timeoutType - scheduledEventId - startedEventId properties: timeoutType: allOf: - $ref: '#/components/schemas/ActivityTaskTimeoutType' - description: The type of the timeout that caused this event. scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. details: allOf: - $ref: '#/components/schemas/LimitedData' - description: Contains the content of the details parameter for the last call made by the activity to RecordActivityTaskHeartbeat. description: Provides the details of the ActivityTaskTimedOut event. TimerStartedEventAttributes: type: object required: - timerId - startToFireTimeout - decisionTaskCompletedEventId properties: timerId: allOf: - $ref: '#/components/schemas/TimerId' - description: The unique ID of the timer that was started. control: allOf: - $ref: '#/components/schemas/Data' - description: Data attached to the event that can be used by the decider in subsequent workflow tasks. startToFireTimeout: allOf: - $ref: '#/components/schemas/DurationInSeconds' - description:

The duration of time after which the timer fires.

The duration is specified in seconds, an integer greater than or equal to 0.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the TimerStarted event. ActivityTaskCanceledEventAttributes: type: object required: - scheduledEventId - startedEventId properties: details: allOf: - $ref: '#/components/schemas/Data' - description: Details of the cancellation. scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. latestCancelRequestedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ActivityTaskCanceled event. ActivityTaskCancelRequestedEventAttributes: type: object required: - decisionTaskCompletedEventId - activityId properties: decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. activityId: allOf: - $ref: '#/components/schemas/ActivityId' - description: The unique ID of the task. description: Provides the details of the ActivityTaskCancelRequested event. DecisionTaskScheduledEventAttributes: type: object required: - taskList properties: taskList: allOf: - $ref: '#/components/schemas/TaskList' - description: The name of the task list in which the decision task was scheduled. taskPriority: allOf: - $ref: '#/components/schemas/TaskPriority' - description:

A task priority that, if set, specifies the priority for this decision task. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

startToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description:

The maximum duration for this decision task. The task is considered timed out if it doesn't completed within this duration.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

description: Provides details about the DecisionTaskScheduled event. EventType: type: string enum: - WorkflowExecutionStarted - WorkflowExecutionCancelRequested - WorkflowExecutionCompleted - CompleteWorkflowExecutionFailed - WorkflowExecutionFailed - FailWorkflowExecutionFailed - WorkflowExecutionTimedOut - WorkflowExecutionCanceled - CancelWorkflowExecutionFailed - WorkflowExecutionContinuedAsNew - ContinueAsNewWorkflowExecutionFailed - WorkflowExecutionTerminated - DecisionTaskScheduled - DecisionTaskStarted - DecisionTaskCompleted - DecisionTaskTimedOut - ActivityTaskScheduled - ScheduleActivityTaskFailed - ActivityTaskStarted - ActivityTaskCompleted - ActivityTaskFailed - ActivityTaskTimedOut - ActivityTaskCanceled - ActivityTaskCancelRequested - RequestCancelActivityTaskFailed - WorkflowExecutionSignaled - MarkerRecorded - RecordMarkerFailed - TimerStarted - StartTimerFailed - TimerFired - TimerCanceled - CancelTimerFailed - StartChildWorkflowExecutionInitiated - StartChildWorkflowExecutionFailed - ChildWorkflowExecutionStarted - ChildWorkflowExecutionCompleted - ChildWorkflowExecutionFailed - ChildWorkflowExecutionTimedOut - ChildWorkflowExecutionCanceled - ChildWorkflowExecutionTerminated - SignalExternalWorkflowExecutionInitiated - SignalExternalWorkflowExecutionFailed - ExternalWorkflowExecutionSignaled - RequestCancelExternalWorkflowExecutionInitiated - RequestCancelExternalWorkflowExecutionFailed - ExternalWorkflowExecutionCancelRequested - LambdaFunctionScheduled - LambdaFunctionStarted - LambdaFunctionCompleted - LambdaFunctionFailed - LambdaFunctionTimedOut - ScheduleLambdaFunctionFailed - StartLambdaFunctionFailed LambdaFunctionTimedOutEventAttributes: type: object required: - scheduledEventId - startedEventId properties: scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the LambdaFunctionScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskStarted event that was recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event. timeoutType: allOf: - $ref: '#/components/schemas/LambdaFunctionTimeoutType' - description: The type of the timeout that caused this event. description: Provides details of the LambdaFunctionTimedOut event. StartChildWorkflowExecutionInitiatedEventAttributes: type: object required: - workflowId - workflowType - taskList - decisionTaskCompletedEventId - childPolicy properties: workflowId: allOf: - $ref: '#/components/schemas/WorkflowId' - description: The workflowId of the child workflow execution. workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The type of the child workflow execution. control: allOf: - $ref: '#/components/schemas/Data' - description: Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity. input: allOf: - $ref: '#/components/schemas/Data' - description: The inputs provided to the child workflow execution. executionStartToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description:

The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

taskList: allOf: - $ref: '#/components/schemas/TaskList' - description: The name of the task list used for the decision tasks of the child workflow execution. taskPriority: allOf: - $ref: '#/components/schemas/TaskPriority' - description:

The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the cause of events. childPolicy: allOf: - $ref: '#/components/schemas/ChildPolicy' - description:

The policy to use for the child workflow executions if this execution gets terminated by explicitly calling the TerminateWorkflowExecution action or due to an expired timeout.

The supported child policies are:

taskStartToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description:

The maximum duration allowed for the decision tasks for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

tagList: allOf: - $ref: '#/components/schemas/TagList' - description: The list of tags to associated with the child workflow execution. lambdaRole: allOf: - $ref: '#/components/schemas/Arn' - description: The IAM role to attach to the child workflow execution. description: Provides the details of the StartChildWorkflowExecutionInitiated event. CancelWorkflowExecutionFailedCause: type: string enum: - UNHANDLED_DECISION - OPERATION_NOT_PERMITTED FunctionInput: type: string minLength: 0 maxLength: 32768 StartLambdaFunctionFailedCause: type: string enum: - ASSUME_ROLE_FAILED SignalExternalWorkflowExecutionFailedCause: type: string enum: - UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION - SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED - OPERATION_NOT_PERMITTED ScheduleActivityTaskFailedEventAttributes: type: object required: - activityType - activityId - cause - decisionTaskCompletedEventId properties: activityType: allOf: - $ref: '#/components/schemas/ActivityType' - description: The activity type provided in the ScheduleActivityTask decision that failed. activityId: allOf: - $ref: '#/components/schemas/ActivityId' - description: The activityId provided in the ScheduleActivityTask decision that failed. cause: allOf: - $ref: '#/components/schemas/ScheduleActivityTaskFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ScheduleActivityTaskFailed event. WorkflowExecutionStartedEventAttributes: type: object required: - childPolicy - taskList - workflowType properties: input: allOf: - $ref: '#/components/schemas/Data' - description: The input provided to the workflow execution. executionStartToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description:

The maximum duration for this workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

taskStartToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description:

The maximum duration of decision tasks for this workflow type.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

childPolicy: allOf: - $ref: '#/components/schemas/ChildPolicy' - description:

The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

taskList: allOf: - $ref: '#/components/schemas/TaskList' - description: The name of the task list for scheduling the decision tasks for this workflow execution. taskPriority: allOf: - $ref: '#/components/schemas/TaskPriority' - description: The priority of the decision tasks in the workflow execution. workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The workflow type of this execution. tagList: allOf: - $ref: '#/components/schemas/TagList' - description: The list of tags associated with this workflow execution. An execution can have up to 5 tags. continuedExecutionRunId: allOf: - $ref: '#/components/schemas/WorkflowRunIdOptional' - description: If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution. parentWorkflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The source workflow execution that started this workflow execution. The member isn't set if the workflow execution was not started by a workflow. parentInitiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution. The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. lambdaRole: allOf: - $ref: '#/components/schemas/Arn' - description: The IAM role attached to the workflow execution. description: Provides details of WorkflowExecutionStarted event. RequestCancelExternalWorkflowExecutionFailedCause: type: string enum: - UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION - REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED - OPERATION_NOT_PERMITTED ReverseOrder: type: boolean WorkflowExecutionCompletedEventAttributes: type: object required: - decisionTaskCompletedEventId properties: result: allOf: - $ref: '#/components/schemas/Data' - description: The result produced by the workflow execution upon successful completion. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the WorkflowExecutionCompleted event. ActivityTaskScheduledEventAttributes: type: object required: - activityType - activityId - taskList - decisionTaskCompletedEventId properties: activityType: allOf: - $ref: '#/components/schemas/ActivityType' - description: The type of the activity task. activityId: allOf: - $ref: '#/components/schemas/ActivityId' - description: The unique ID of the activity task. input: allOf: - $ref: '#/components/schemas/Data' - description: The input provided to the activity task. control: allOf: - $ref: '#/components/schemas/Data' - description: Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity. scheduleToStartTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description: The maximum amount of time the activity task can wait to be assigned to a worker. scheduleToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description: The maximum amount of time for this activity task. startToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description: The maximum amount of time a worker may take to process the activity task. taskList: allOf: - $ref: '#/components/schemas/TaskList' - description: The task list in which the activity task has been scheduled. taskPriority: allOf: - $ref: '#/components/schemas/TaskPriority' - description:

The priority to assign to the scheduled activity task. If set, this overrides any default priority value that was assigned when the activity type was registered.

Valid values are integers that range from Java's Integer.MIN_VALUE (-2147483648) to Integer.MAX_VALUE (2147483647). Higher numbers indicate higher priority.

For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. heartbeatTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description: The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored. description: Provides the details of the ActivityTaskScheduled event. OperationNotPermittedFault: {} History: type: object required: - events properties: events: allOf: - $ref: '#/components/schemas/HistoryEventList' - description: The list of history events. nextPageToken: allOf: - $ref: '#/components/schemas/PageToken' - description:

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

description: 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. FailWorkflowExecutionFailedEventAttributes: type: object required: - cause - decisionTaskCompletedEventId properties: cause: allOf: - $ref: '#/components/schemas/FailWorkflowExecutionFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the FailWorkflowExecutionFailed event. TaskPriority: type: string DecisionTaskStartedEventAttributes: type: object required: - scheduledEventId properties: identity: allOf: - $ref: '#/components/schemas/Identity' - description: Identity of the decider making the request. This enables diagnostic tracing when problems arise. The form of this identity is user defined. scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the DecisionTaskStarted event. RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: type: object required: - workflowId - decisionTaskCompletedEventId properties: workflowId: allOf: - $ref: '#/components/schemas/WorkflowId' - description: The workflowId of the external workflow execution to be canceled. runId: allOf: - $ref: '#/components/schemas/WorkflowRunIdOptional' - description: The runId of the external workflow execution to be canceled. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. control: allOf: - $ref: '#/components/schemas/Data' - description: Data attached to the event that can be used by the decider in subsequent workflow tasks. description: Provides the details of the RequestCancelExternalWorkflowExecutionInitiated event. FailureReason: type: string maxLength: 256 ActivityTaskFailedEventAttributes: type: object required: - scheduledEventId - startedEventId properties: reason: allOf: - $ref: '#/components/schemas/FailureReason' - description: The reason provided for the failure. details: allOf: - $ref: '#/components/schemas/Data' - description: The details of the failure. scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ActivityTaskFailed event. ActivityTaskTimeoutType: type: string enum: - START_TO_CLOSE - SCHEDULE_TO_START - SCHEDULE_TO_CLOSE - HEARTBEAT CancelWorkflowExecutionFailedEventAttributes: type: object required: - cause - decisionTaskCompletedEventId properties: cause: allOf: - $ref: '#/components/schemas/CancelWorkflowExecutionFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the CancelWorkflowExecutionFailed event. LambdaFunctionCompletedEventAttributes: type: object required: - scheduledEventId - startedEventId properties: scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the LambdaFunctionScheduled event that was recorded when this Lambda task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the LambdaFunctionStarted event recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event. result: allOf: - $ref: '#/components/schemas/Data' - description: The results of the Lambda task. description: Provides the details of the LambdaFunctionCompleted event. It isn't set for other event types. TimerCanceledEventAttributes: type: object required: - timerId - startedEventId - decisionTaskCompletedEventId properties: timerId: allOf: - $ref: '#/components/schemas/TimerId' - description: The unique ID of the timer that was canceled. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: ' Provides the details of the TimerCanceled event. ' CauseMessage: type: string maxLength: 1728 DecisionTaskTimedOutEventAttributes: type: object required: - timeoutType - scheduledEventId - startedEventId properties: timeoutType: allOf: - $ref: '#/components/schemas/DecisionTaskTimeoutType' - description: The type of timeout that expired before the decision task could be completed. scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskStarted event recorded when this decision task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the DecisionTaskTimedOut event. TimerFiredEventAttributes: type: object required: - timerId - startedEventId properties: timerId: allOf: - $ref: '#/components/schemas/TimerId' - description: The unique ID of the timer that fired. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the TimerStarted event that was recorded when this timer was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the TimerFired event. ChildWorkflowExecutionFailedEventAttributes: type: object required: - workflowExecution - workflowType - initiatedEventId - startedEventId properties: workflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The child workflow execution that failed. workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The type of the child workflow execution. reason: allOf: - $ref: '#/components/schemas/FailureReason' - description: The reason for the failure (if provided). details: allOf: - $ref: '#/components/schemas/Data' - description: The details of the failure (if provided). initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ChildWorkflowExecutionFailed event. WorkflowType: type: object required: - name - version properties: name: allOf: - $ref: '#/components/schemas/Name' - description:

The name of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

version: allOf: - $ref: '#/components/schemas/Version' - description:

The version of the workflow type.

The combination of workflow type name and version must be unique with in a domain.

description: Represents a workflow type. ExternalWorkflowExecutionCancelRequestedEventAttributes: type: object required: - workflowExecution - initiatedEventId properties: workflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The external workflow execution to which the cancellation request was delivered. initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ExternalWorkflowExecutionCancelRequested event. Timestamp: type: string format: date-time DurationInSeconds: type: string minLength: 1 maxLength: 8 ScheduleLambdaFunctionFailedEventAttributes: type: object required: - id - name - cause - decisionTaskCompletedEventId properties: id: allOf: - $ref: '#/components/schemas/FunctionId' - description: 'The ID provided in the ScheduleLambdaFunction decision that failed. ' name: allOf: - $ref: '#/components/schemas/FunctionName' - description: The name of the Lambda function. cause: allOf: - $ref: '#/components/schemas/ScheduleLambdaFunctionFailedCause' - description:

The cause of the failure. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event. description: Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types. LambdaFunctionFailedEventAttributes: type: object required: - scheduledEventId - startedEventId properties: scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the LambdaFunctionScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the LambdaFunctionStarted event recorded when this activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event. reason: allOf: - $ref: '#/components/schemas/FailureReason' - description: The reason provided for the failure. details: allOf: - $ref: '#/components/schemas/Data' - description: The details of the failure. description: Provides the details of the LambdaFunctionFailed event. It isn't set for other event types. WorkflowExecutionCancelRequestedCause: type: string enum: - CHILD_POLICY_APPLIED WorkflowExecutionContinuedAsNewEventAttributes: type: object required: - decisionTaskCompletedEventId - newExecutionRunId - taskList - childPolicy - workflowType properties: input: allOf: - $ref: '#/components/schemas/Data' - description: The input provided to the new workflow execution. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. newExecutionRunId: allOf: - $ref: '#/components/schemas/WorkflowRunId' - description: The runId of the new workflow execution. executionStartToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description:

The total duration allowed for the new workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

taskList: allOf: - $ref: '#/components/schemas/TaskList' - description: The task list to use for the decisions of the new (continued) workflow execution. taskPriority: allOf: - $ref: '#/components/schemas/TaskPriority' - description: The priority of the task to use for the decisions of the new (continued) workflow execution. taskStartToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description:

The maximum duration of decision tasks for the new workflow execution.

The duration is specified in seconds, an integer greater than or equal to 0. You can use NONE to specify unlimited duration.

childPolicy: allOf: - $ref: '#/components/schemas/ChildPolicy' - description:

The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.

The supported child policies are:

tagList: allOf: - $ref: '#/components/schemas/TagList' - description: The list of tags associated with the new workflow execution. workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The workflow type of this execution. lambdaRole: allOf: - $ref: '#/components/schemas/Arn' - description: The IAM role to attach to the new (continued) workflow execution. description: Provides the details of the WorkflowExecutionContinuedAsNew event. WorkflowExecutionTimedOutEventAttributes: type: object required: - timeoutType - childPolicy properties: timeoutType: allOf: - $ref: '#/components/schemas/WorkflowExecutionTimeoutType' - description: The type of timeout that caused this event. childPolicy: allOf: - $ref: '#/components/schemas/ChildPolicy' - description:

The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

description: Provides the details of the WorkflowExecutionTimedOut event. LambdaFunctionScheduledEventAttributes: type: object required: - id - name - decisionTaskCompletedEventId properties: id: allOf: - $ref: '#/components/schemas/FunctionId' - description: The unique ID of the Lambda task. name: allOf: - $ref: '#/components/schemas/FunctionName' - description: The name of the Lambda function. control: allOf: - $ref: '#/components/schemas/Data' - description: Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task. input: allOf: - $ref: '#/components/schemas/FunctionInput' - description: The input provided to the Lambda task. startToCloseTimeout: allOf: - $ref: '#/components/schemas/DurationInSecondsOptional' - description: The maximum amount of time a worker can take to process the Lambda task. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event. description: Provides the details of the LambdaFunctionScheduled event. It isn't set for other event types. ChildWorkflowExecutionStartedEventAttributes: type: object required: - workflowExecution - workflowType - initiatedEventId properties: workflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The child workflow execution that was started. workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The type of the child workflow execution. initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ChildWorkflowExecutionStarted event. Tag: type: string minLength: 0 maxLength: 256 TerminateReason: type: string maxLength: 256 ChildWorkflowExecutionCanceledEventAttributes: type: object required: - workflowExecution - workflowType - initiatedEventId - startedEventId properties: workflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The child workflow execution that was canceled. workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The type of the child workflow execution. details: allOf: - $ref: '#/components/schemas/Data' - description: Details of the cancellation (if provided). initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provide details of the ChildWorkflowExecutionCanceled event. StartChildWorkflowExecutionFailedCause: type: string enum: - WORKFLOW_TYPE_DOES_NOT_EXIST - WORKFLOW_TYPE_DEPRECATED - OPEN_CHILDREN_LIMIT_EXCEEDED - OPEN_WORKFLOWS_LIMIT_EXCEEDED - CHILD_CREATION_RATE_EXCEEDED - WORKFLOW_ALREADY_RUNNING - DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED - DEFAULT_TASK_LIST_UNDEFINED - DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED - DEFAULT_CHILD_POLICY_UNDEFINED - OPERATION_NOT_PERMITTED SignalExternalWorkflowExecutionInitiatedEventAttributes: type: object required: - workflowId - signalName - decisionTaskCompletedEventId properties: workflowId: allOf: - $ref: '#/components/schemas/WorkflowId' - description: The workflowId of the external workflow execution. runId: allOf: - $ref: '#/components/schemas/WorkflowRunIdOptional' - description: The runId of the external workflow execution to send the signal to. signalName: allOf: - $ref: '#/components/schemas/SignalName' - description: The name of the signal. input: allOf: - $ref: '#/components/schemas/Data' - description: The input provided to the signal. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. control: allOf: - $ref: '#/components/schemas/Data' - description: Data attached to the event that can be used by the decider in subsequent decision tasks. description: Provides the details of the SignalExternalWorkflowExecutionInitiated event. TagList: type: array items: $ref: '#/components/schemas/Tag' maxItems: 5 CancelTimerFailedCause: type: string enum: - TIMER_ID_UNKNOWN - OPERATION_NOT_PERMITTED WorkflowRunId: type: string minLength: 1 maxLength: 64 LambdaFunctionStartedEventAttributes: type: object required: - scheduledEventId properties: scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the LambdaFunctionScheduled event that was recorded when this activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event. description: Provides the details of the LambdaFunctionStarted event. It isn't set for other event types. WorkflowExecutionTerminatedEventAttributes: type: object required: - childPolicy properties: reason: allOf: - $ref: '#/components/schemas/TerminateReason' - description: The reason provided for the termination. details: allOf: - $ref: '#/components/schemas/Data' - description: The details provided for the termination. childPolicy: allOf: - $ref: '#/components/schemas/ChildPolicy' - description:

The policy used for the child workflow executions of this workflow execution.

The supported child policies are:

cause: allOf: - $ref: '#/components/schemas/WorkflowExecutionTerminatedCause' - description: If set, indicates that the workflow execution was automatically terminated, and specifies the cause. This happens if the parent workflow execution times out or is terminated and the child policy is set to terminate child executions. description: Provides the details of the WorkflowExecutionTerminated event. RequestCancelActivityTaskFailedCause: type: string enum: - ACTIVITY_ID_UNKNOWN - OPERATION_NOT_PERMITTED MarkerRecordedEventAttributes: type: object required: - markerName - decisionTaskCompletedEventId properties: markerName: allOf: - $ref: '#/components/schemas/MarkerName' - description: The name of the marker. details: allOf: - $ref: '#/components/schemas/Data' - description: The details of the marker. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RecordMarker decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the MarkerRecorded event. StartTimerFailedEventAttributes: type: object required: - timerId - cause - decisionTaskCompletedEventId properties: timerId: allOf: - $ref: '#/components/schemas/TimerId' - description: The timerId provided in the StartTimer decision that failed. cause: allOf: - $ref: '#/components/schemas/StartTimerFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the StartTimerFailed event. FunctionId: type: string minLength: 1 maxLength: 256 ScheduleLambdaFunctionFailedCause: type: string enum: - ID_ALREADY_IN_USE - OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED - LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED - LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION ChildWorkflowExecutionCompletedEventAttributes: type: object required: - workflowExecution - workflowType - initiatedEventId - startedEventId properties: workflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The child workflow execution that was completed. workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The type of the child workflow execution. result: allOf: - $ref: '#/components/schemas/Data' - description: The result of the child workflow execution. initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ChildWorkflowExecutionCompleted event. SignalName: type: string minLength: 1 maxLength: 256 Name: type: string minLength: 1 maxLength: 256 Data: type: string maxLength: 32768 Version: type: string minLength: 1 maxLength: 64 SignalExternalWorkflowExecutionFailedEventAttributes: type: object required: - workflowId - cause - initiatedEventId - decisionTaskCompletedEventId properties: workflowId: allOf: - $ref: '#/components/schemas/WorkflowId' - description: The workflowId of the external workflow execution that the signal was being delivered to. runId: allOf: - $ref: '#/components/schemas/WorkflowRunIdOptional' - description: The runId of the external workflow execution that the signal was being delivered to. cause: allOf: - $ref: '#/components/schemas/SignalExternalWorkflowExecutionFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. control: allOf: - $ref: '#/components/schemas/Data' - description: The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution. description: Provides the details of the SignalExternalWorkflowExecutionFailed event. DurationInSecondsOptional: type: string maxLength: 8 CompleteWorkflowExecutionFailedCause: type: string enum: - UNHANDLED_DECISION - OPERATION_NOT_PERMITTED LambdaFunctionTimeoutType: type: string enum: - START_TO_CLOSE WorkflowExecutionCanceledEventAttributes: type: object required: - decisionTaskCompletedEventId properties: details: allOf: - $ref: '#/components/schemas/Data' - description: The details of the cancellation. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the WorkflowExecutionCanceled event. RecordMarkerFailedCause: type: string enum: - OPERATION_NOT_PERMITTED GetWorkflowExecutionHistoryInput: type: object required: - domain - execution title: GetWorkflowExecutionHistoryInput properties: domain: allOf: - $ref: '#/components/schemas/DomainName' - description: The name of the domain containing the workflow execution. execution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: Specifies the workflow execution for which to return the history. nextPageToken: allOf: - $ref: '#/components/schemas/PageToken' - description: '

If NextPageToken is returned there are more results available. The value of NextPageToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a 400 error: "Specified token has exceeded its maximum lifetime".

The configured maximumPageSize determines how many results can be returned in a single call.

' maximumPageSize: allOf: - $ref: '#/components/schemas/PageSize' - description: 'The maximum number of results that are returned per call. Use nextPageToken to obtain further pages of results. ' reverseOrder: allOf: - $ref: '#/components/schemas/ReverseOrder' - description: When set to true, returns the events in reverse order. By default the results are returned in ascending order of the eventTimeStamp of the events. UnknownResourceFault: {} MarkerName: type: string minLength: 1 maxLength: 256 ContinueAsNewWorkflowExecutionFailedCause: type: string enum: - UNHANDLED_DECISION - WORKFLOW_TYPE_DEPRECATED - WORKFLOW_TYPE_DOES_NOT_EXIST - DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED - DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED - DEFAULT_TASK_LIST_UNDEFINED - DEFAULT_CHILD_POLICY_UNDEFINED - CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED - OPERATION_NOT_PERMITTED StartTimerFailedCause: type: string enum: - TIMER_ID_ALREADY_IN_USE - OPEN_TIMERS_LIMIT_EXCEEDED - TIMER_CREATION_RATE_EXCEEDED - OPERATION_NOT_PERMITTED WorkflowExecutionFailedEventAttributes: type: object required: - decisionTaskCompletedEventId properties: reason: allOf: - $ref: '#/components/schemas/FailureReason' - description: The descriptive reason provided for the failure. details: allOf: - $ref: '#/components/schemas/Data' - description: The details of the failure. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the WorkflowExecutionFailed event. PageToken: type: string maxLength: 2048 FunctionName: type: string minLength: 1 maxLength: 64 WorkflowExecutionTerminatedCause: type: string enum: - CHILD_POLICY_APPLIED - EVENT_LIMIT_EXCEEDED - OPERATOR_INITIATED LimitedData: type: string maxLength: 2048 RequestCancelActivityTaskFailedEventAttributes: type: object required: - activityId - cause - decisionTaskCompletedEventId properties: activityId: allOf: - $ref: '#/components/schemas/ActivityId' - description: The activityId provided in the RequestCancelActivityTask decision that failed. cause: allOf: - $ref: '#/components/schemas/RequestCancelActivityTaskFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the RequestCancelActivityTaskFailed event. ActivityTaskStartedEventAttributes: type: object required: - scheduledEventId properties: identity: allOf: - $ref: '#/components/schemas/Identity' - description: Identity of the worker that was assigned this task. This aids diagnostics when problems arise. The form of this identity is user defined. scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ActivityTaskStarted event. Arn: type: string minLength: 1 maxLength: 1600 ActivityId: type: string minLength: 1 maxLength: 256 ChildWorkflowExecutionTerminatedEventAttributes: type: object required: - workflowExecution - workflowType - initiatedEventId - startedEventId properties: workflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The child workflow execution that was terminated. workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The type of the child workflow execution. initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ChildWorkflowExecutionTerminated event. TaskList: type: object required: - name properties: name: allOf: - $ref: '#/components/schemas/Name' - description: The name of the task list. description: Represents a task list. DecisionTaskTimeoutType: type: string enum: - START_TO_CLOSE ContinueAsNewWorkflowExecutionFailedEventAttributes: type: object required: - cause - decisionTaskCompletedEventId properties: cause: allOf: - $ref: '#/components/schemas/ContinueAsNewWorkflowExecutionFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ContinueAsNewWorkflowExecutionFailed event. PageSize: type: integer minimum: 0 maximum: 1000 StartChildWorkflowExecutionFailedEventAttributes: type: object required: - workflowType - cause - workflowId - initiatedEventId - decisionTaskCompletedEventId properties: workflowType: allOf: - $ref: '#/components/schemas/WorkflowType' - description: The workflow type provided in the StartChildWorkflowExecution Decision that failed. cause: allOf: - $ref: '#/components/schemas/StartChildWorkflowExecutionFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

When cause is set to OPERATION_NOT_PERMITTED, the decision fails because it lacks sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

workflowId: allOf: - $ref: '#/components/schemas/WorkflowId' - description: The workflowId of the child workflow execution. initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description:

When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated event that corresponds to the StartChildWorkflowExecution Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.

When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the StartChildWorkflowExecutionInitiated event doesn't exist.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events. control: allOf: - $ref: '#/components/schemas/Data' - description: The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the child workflow execution. description: Provides the details of the StartChildWorkflowExecutionFailed event. WorkflowExecutionTimeoutType: type: string enum: - START_TO_CLOSE CompleteWorkflowExecutionFailedEventAttributes: type: object required: - cause - decisionTaskCompletedEventId properties: cause: allOf: - $ref: '#/components/schemas/CompleteWorkflowExecutionFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the CompleteWorkflowExecutionFailed event. WorkflowExecutionCancelRequestedEventAttributes: type: object properties: externalWorkflowExecution: allOf: - $ref: '#/components/schemas/WorkflowExecution' - description: The external workflow execution for which the cancellation was requested. externalInitiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. cause: allOf: - $ref: '#/components/schemas/WorkflowExecutionCancelRequestedCause' - description: If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions. description: Provides the details of the WorkflowExecutionCancelRequested event. ActivityTaskCompletedEventAttributes: type: object required: - scheduledEventId - startedEventId properties: result: allOf: - $ref: '#/components/schemas/Data' - description: The results of the activity task. scheduledEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. startedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the ActivityTaskStarted event recorded when this activity task was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the ActivityTaskCompleted event. TimerId: type: string minLength: 1 maxLength: 256 WorkflowExecution: type: object required: - workflowId - runId properties: workflowId: allOf: - $ref: '#/components/schemas/WorkflowId' - description: The user defined identifier associated with the workflow execution. runId: allOf: - $ref: '#/components/schemas/WorkflowRunId' - description: A system-generated unique identifier for the workflow execution. description: Represents a workflow execution. CancelTimerFailedEventAttributes: type: object required: - timerId - cause - decisionTaskCompletedEventId properties: timerId: allOf: - $ref: '#/components/schemas/TimerId' - description: The timerId provided in the CancelTimer decision that failed. cause: allOf: - $ref: '#/components/schemas/CancelTimerFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. description: Provides the details of the CancelTimerFailed event. Identity: type: string maxLength: 256 ScheduleActivityTaskFailedCause: type: string enum: - ACTIVITY_TYPE_DEPRECATED - ACTIVITY_TYPE_DOES_NOT_EXIST - ACTIVITY_ID_ALREADY_IN_USE - OPEN_ACTIVITIES_LIMIT_EXCEEDED - ACTIVITY_CREATION_RATE_EXCEEDED - DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED - DEFAULT_TASK_LIST_UNDEFINED - DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED - DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED - DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED - OPERATION_NOT_PERMITTED RequestCancelExternalWorkflowExecutionFailedEventAttributes: type: object required: - workflowId - cause - initiatedEventId - decisionTaskCompletedEventId properties: workflowId: allOf: - $ref: '#/components/schemas/WorkflowId' - description: The workflowId of the external workflow to which the cancel request was to be delivered. runId: allOf: - $ref: '#/components/schemas/WorkflowRunIdOptional' - description: The runId of the external workflow execution. cause: allOf: - $ref: '#/components/schemas/RequestCancelExternalWorkflowExecutionFailedCause' - description:

The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

If cause is set to OPERATION_NOT_PERMITTED, the decision failed because it lacked sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

initiatedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. decisionTaskCompletedEventId: allOf: - $ref: '#/components/schemas/EventId' - description: The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. control: allOf: - $ref: '#/components/schemas/Data' - description: The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution. description: Provides the details of the RequestCancelExternalWorkflowExecutionFailed event. parameters: X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/swf/ x-hasEquivalentPaths: true