DecisionTask
public struct DecisionTask : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.
Declaration
Swift
public let events: [HistoryEvent]
-
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.
Declaration
Swift
public let nextPageToken: String?
-
The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.
Declaration
Swift
public let previousStartedEventId: Int64?
-
The ID of the DecisionTaskStarted event recorded in the history.
Declaration
Swift
public let startedEventId: Int64
-
The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.
Declaration
Swift
public let taskToken: String
-
The workflow execution for which this decision task was created.
Declaration
Swift
public let workflowExecution: WorkflowExecution
-
The type of the workflow execution for which this decision task was created.
Declaration
Swift
public let workflowType: WorkflowType
-
init(events:nextPageToken:previousStartedEventId:startedEventId:taskToken:workflowExecution:workflowType:)
Undocumented
Declaration
Swift
public init(events: [HistoryEvent], nextPageToken: String? = nil, previousStartedEventId: Int64? = nil, startedEventId: Int64, taskToken: String, workflowExecution: WorkflowExecution, workflowType: WorkflowType)