import { ActivityTaskTimeoutType, CancelTimerFailedCause, CancelWorkflowExecutionFailedCause, ChildPolicy, CloseStatus, CompleteWorkflowExecutionFailedCause, ContinueAsNewWorkflowExecutionFailedCause, DecisionTaskTimeoutType, DecisionType, EventType, ExecutionStatus, FailWorkflowExecutionFailedCause, LambdaFunctionTimeoutType, RecordMarkerFailedCause, RegistrationStatus, RequestCancelActivityTaskFailedCause, RequestCancelExternalWorkflowExecutionFailedCause, ScheduleActivityTaskFailedCause, ScheduleLambdaFunctionFailedCause, SignalExternalWorkflowExecutionFailedCause, StartChildWorkflowExecutionFailedCause, StartLambdaFunctionFailedCause, StartTimerFailedCause, WorkflowExecutionCancelRequestedCause, WorkflowExecutionTerminatedCause, WorkflowExecutionTimeoutType, } from "./enums"; export interface ActivityType { name: string | undefined; version: string | undefined; } export interface WorkflowExecution { workflowId: string | undefined; runId: string | undefined; } export interface ActivityTask { taskToken: string | undefined; activityId: string | undefined; startedEventId: number | undefined; workflowExecution: WorkflowExecution | undefined; activityType: ActivityType | undefined; input?: string | undefined; } export interface ActivityTaskCanceledEventAttributes { details?: string | undefined; scheduledEventId: number | undefined; startedEventId: number | undefined; latestCancelRequestedEventId?: number | undefined; } export interface ActivityTaskCancelRequestedEventAttributes { decisionTaskCompletedEventId: number | undefined; activityId: string | undefined; } export interface ActivityTaskCompletedEventAttributes { result?: string | undefined; scheduledEventId: number | undefined; startedEventId: number | undefined; } export interface ActivityTaskFailedEventAttributes { reason?: string | undefined; details?: string | undefined; scheduledEventId: number | undefined; startedEventId: number | undefined; } export interface TaskList { name: string | undefined; } export interface ActivityTaskScheduledEventAttributes { activityType: ActivityType | undefined; activityId: string | undefined; input?: string | undefined; control?: string | undefined; scheduleToStartTimeout?: string | undefined; scheduleToCloseTimeout?: string | undefined; startToCloseTimeout?: string | undefined; taskList: TaskList | undefined; taskPriority?: string | undefined; decisionTaskCompletedEventId: number | undefined; heartbeatTimeout?: string | undefined; } export interface ActivityTaskStartedEventAttributes { identity?: string | undefined; scheduledEventId: number | undefined; } export interface ActivityTaskStatus { cancelRequested: boolean | undefined; } export interface ActivityTaskTimedOutEventAttributes { timeoutType: ActivityTaskTimeoutType | undefined; scheduledEventId: number | undefined; startedEventId: number | undefined; details?: string | undefined; } export interface ActivityTypeConfiguration { defaultTaskStartToCloseTimeout?: string | undefined; defaultTaskHeartbeatTimeout?: string | undefined; defaultTaskList?: TaskList | undefined; defaultTaskPriority?: string | undefined; defaultTaskScheduleToStartTimeout?: string | undefined; defaultTaskScheduleToCloseTimeout?: string | undefined; } export interface ActivityTypeInfo { activityType: ActivityType | undefined; status: RegistrationStatus | undefined; description?: string | undefined; creationDate: Date | undefined; deprecationDate?: Date | undefined; } export interface ActivityTypeDetail { typeInfo: ActivityTypeInfo | undefined; configuration: ActivityTypeConfiguration | undefined; } export interface ActivityTypeInfos { typeInfos: ActivityTypeInfo[] | undefined; nextPageToken?: string | undefined; } export interface CancelTimerDecisionAttributes { timerId: string | undefined; } export interface CancelTimerFailedEventAttributes { timerId: string | undefined; cause: CancelTimerFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface CancelWorkflowExecutionDecisionAttributes { details?: string | undefined; } export interface CancelWorkflowExecutionFailedEventAttributes { cause: CancelWorkflowExecutionFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface WorkflowType { name: string | undefined; version: string | undefined; } export interface ChildWorkflowExecutionCanceledEventAttributes { workflowExecution: WorkflowExecution | undefined; workflowType: WorkflowType | undefined; details?: string | undefined; initiatedEventId: number | undefined; startedEventId: number | undefined; } export interface ChildWorkflowExecutionCompletedEventAttributes { workflowExecution: WorkflowExecution | undefined; workflowType: WorkflowType | undefined; result?: string | undefined; initiatedEventId: number | undefined; startedEventId: number | undefined; } export interface ChildWorkflowExecutionFailedEventAttributes { workflowExecution: WorkflowExecution | undefined; workflowType: WorkflowType | undefined; reason?: string | undefined; details?: string | undefined; initiatedEventId: number | undefined; startedEventId: number | undefined; } export interface ChildWorkflowExecutionStartedEventAttributes { workflowExecution: WorkflowExecution | undefined; workflowType: WorkflowType | undefined; initiatedEventId: number | undefined; } export interface ChildWorkflowExecutionTerminatedEventAttributes { workflowExecution: WorkflowExecution | undefined; workflowType: WorkflowType | undefined; initiatedEventId: number | undefined; startedEventId: number | undefined; } export interface ChildWorkflowExecutionTimedOutEventAttributes { workflowExecution: WorkflowExecution | undefined; workflowType: WorkflowType | undefined; timeoutType: WorkflowExecutionTimeoutType | undefined; initiatedEventId: number | undefined; startedEventId: number | undefined; } export interface CloseStatusFilter { status: CloseStatus | undefined; } export interface CompleteWorkflowExecutionDecisionAttributes { result?: string | undefined; } export interface CompleteWorkflowExecutionFailedEventAttributes { cause: CompleteWorkflowExecutionFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface ContinueAsNewWorkflowExecutionDecisionAttributes { input?: string | undefined; executionStartToCloseTimeout?: string | undefined; taskList?: TaskList | undefined; taskPriority?: string | undefined; taskStartToCloseTimeout?: string | undefined; childPolicy?: ChildPolicy | undefined; tagList?: string[] | undefined; workflowTypeVersion?: string | undefined; lambdaRole?: string | undefined; } export interface ContinueAsNewWorkflowExecutionFailedEventAttributes { cause: ContinueAsNewWorkflowExecutionFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface ExecutionTimeFilter { oldestDate: Date | undefined; latestDate?: Date | undefined; } export interface WorkflowExecutionFilter { workflowId: string | undefined; } export interface TagFilter { tag: string | undefined; } export interface WorkflowTypeFilter { name: string | undefined; version?: string | undefined; } export interface CountClosedWorkflowExecutionsInput { domain: string | undefined; startTimeFilter?: ExecutionTimeFilter | undefined; closeTimeFilter?: ExecutionTimeFilter | undefined; executionFilter?: WorkflowExecutionFilter | undefined; typeFilter?: WorkflowTypeFilter | undefined; tagFilter?: TagFilter | undefined; closeStatusFilter?: CloseStatusFilter | undefined; } export interface WorkflowExecutionCount { count: number | undefined; truncated?: boolean | undefined; } export interface CountOpenWorkflowExecutionsInput { domain: string | undefined; startTimeFilter: ExecutionTimeFilter | undefined; typeFilter?: WorkflowTypeFilter | undefined; tagFilter?: TagFilter | undefined; executionFilter?: WorkflowExecutionFilter | undefined; } export interface CountPendingActivityTasksInput { domain: string | undefined; taskList: TaskList | undefined; } export interface PendingTaskCount { count: number | undefined; truncated?: boolean | undefined; } export interface CountPendingDecisionTasksInput { domain: string | undefined; taskList: TaskList | undefined; } export interface FailWorkflowExecutionDecisionAttributes { reason?: string | undefined; details?: string | undefined; } export interface RecordMarkerDecisionAttributes { markerName: string | undefined; details?: string | undefined; } export interface RequestCancelActivityTaskDecisionAttributes { activityId: string | undefined; } export interface RequestCancelExternalWorkflowExecutionDecisionAttributes { workflowId: string | undefined; runId?: string | undefined; control?: string | undefined; } export interface ScheduleActivityTaskDecisionAttributes { activityType: ActivityType | undefined; activityId: string | undefined; control?: string | undefined; input?: string | undefined; scheduleToCloseTimeout?: string | undefined; taskList?: TaskList | undefined; taskPriority?: string | undefined; scheduleToStartTimeout?: string | undefined; startToCloseTimeout?: string | undefined; heartbeatTimeout?: string | undefined; } export interface ScheduleLambdaFunctionDecisionAttributes { id: string | undefined; name: string | undefined; control?: string | undefined; input?: string | undefined; startToCloseTimeout?: string | undefined; } export interface SignalExternalWorkflowExecutionDecisionAttributes { workflowId: string | undefined; runId?: string | undefined; signalName: string | undefined; input?: string | undefined; control?: string | undefined; } export interface StartChildWorkflowExecutionDecisionAttributes { workflowType: WorkflowType | undefined; workflowId: string | undefined; control?: string | undefined; input?: string | undefined; executionStartToCloseTimeout?: string | undefined; taskList?: TaskList | undefined; taskPriority?: string | undefined; taskStartToCloseTimeout?: string | undefined; childPolicy?: ChildPolicy | undefined; tagList?: string[] | undefined; lambdaRole?: string | undefined; } export interface StartTimerDecisionAttributes { timerId: string | undefined; control?: string | undefined; startToFireTimeout: string | undefined; } export interface Decision { decisionType: DecisionType | undefined; scheduleActivityTaskDecisionAttributes?: ScheduleActivityTaskDecisionAttributes | undefined; requestCancelActivityTaskDecisionAttributes?: | RequestCancelActivityTaskDecisionAttributes | undefined; completeWorkflowExecutionDecisionAttributes?: | CompleteWorkflowExecutionDecisionAttributes | undefined; failWorkflowExecutionDecisionAttributes?: FailWorkflowExecutionDecisionAttributes | undefined; cancelWorkflowExecutionDecisionAttributes?: CancelWorkflowExecutionDecisionAttributes | undefined; continueAsNewWorkflowExecutionDecisionAttributes?: | ContinueAsNewWorkflowExecutionDecisionAttributes | undefined; recordMarkerDecisionAttributes?: RecordMarkerDecisionAttributes | undefined; startTimerDecisionAttributes?: StartTimerDecisionAttributes | undefined; cancelTimerDecisionAttributes?: CancelTimerDecisionAttributes | undefined; signalExternalWorkflowExecutionDecisionAttributes?: | SignalExternalWorkflowExecutionDecisionAttributes | undefined; requestCancelExternalWorkflowExecutionDecisionAttributes?: | RequestCancelExternalWorkflowExecutionDecisionAttributes | undefined; startChildWorkflowExecutionDecisionAttributes?: | StartChildWorkflowExecutionDecisionAttributes | undefined; scheduleLambdaFunctionDecisionAttributes?: ScheduleLambdaFunctionDecisionAttributes | undefined; } export interface DecisionTaskCompletedEventAttributes { executionContext?: string | undefined; scheduledEventId: number | undefined; startedEventId: number | undefined; taskList?: TaskList | undefined; taskListScheduleToStartTimeout?: string | undefined; } export interface DecisionTaskScheduledEventAttributes { taskList: TaskList | undefined; taskPriority?: string | undefined; startToCloseTimeout?: string | undefined; scheduleToStartTimeout?: string | undefined; } export interface DecisionTaskStartedEventAttributes { identity?: string | undefined; scheduledEventId: number | undefined; } export interface DecisionTaskTimedOutEventAttributes { timeoutType: DecisionTaskTimeoutType | undefined; scheduledEventId: number | undefined; startedEventId: number | undefined; } export interface ExternalWorkflowExecutionCancelRequestedEventAttributes { workflowExecution: WorkflowExecution | undefined; initiatedEventId: number | undefined; } export interface ExternalWorkflowExecutionSignaledEventAttributes { workflowExecution: WorkflowExecution | undefined; initiatedEventId: number | undefined; } export interface FailWorkflowExecutionFailedEventAttributes { cause: FailWorkflowExecutionFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface LambdaFunctionCompletedEventAttributes { scheduledEventId: number | undefined; startedEventId: number | undefined; result?: string | undefined; } export interface LambdaFunctionFailedEventAttributes { scheduledEventId: number | undefined; startedEventId: number | undefined; reason?: string | undefined; details?: string | undefined; } export interface LambdaFunctionScheduledEventAttributes { id: string | undefined; name: string | undefined; control?: string | undefined; input?: string | undefined; startToCloseTimeout?: string | undefined; decisionTaskCompletedEventId: number | undefined; } export interface LambdaFunctionStartedEventAttributes { scheduledEventId: number | undefined; } export interface LambdaFunctionTimedOutEventAttributes { scheduledEventId: number | undefined; startedEventId: number | undefined; timeoutType?: LambdaFunctionTimeoutType | undefined; } export interface MarkerRecordedEventAttributes { markerName: string | undefined; details?: string | undefined; decisionTaskCompletedEventId: number | undefined; } export interface RecordMarkerFailedEventAttributes { markerName: string | undefined; cause: RecordMarkerFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface RequestCancelActivityTaskFailedEventAttributes { activityId: string | undefined; cause: RequestCancelActivityTaskFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes { workflowId: string | undefined; runId?: string | undefined; cause: RequestCancelExternalWorkflowExecutionFailedCause | undefined; initiatedEventId: number | undefined; decisionTaskCompletedEventId: number | undefined; control?: string | undefined; } export interface RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { workflowId: string | undefined; runId?: string | undefined; decisionTaskCompletedEventId: number | undefined; control?: string | undefined; } export interface ScheduleActivityTaskFailedEventAttributes { activityType: ActivityType | undefined; activityId: string | undefined; cause: ScheduleActivityTaskFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface ScheduleLambdaFunctionFailedEventAttributes { id: string | undefined; name: string | undefined; cause: ScheduleLambdaFunctionFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface SignalExternalWorkflowExecutionFailedEventAttributes { workflowId: string | undefined; runId?: string | undefined; cause: SignalExternalWorkflowExecutionFailedCause | undefined; initiatedEventId: number | undefined; decisionTaskCompletedEventId: number | undefined; control?: string | undefined; } export interface SignalExternalWorkflowExecutionInitiatedEventAttributes { workflowId: string | undefined; runId?: string | undefined; signalName: string | undefined; input?: string | undefined; decisionTaskCompletedEventId: number | undefined; control?: string | undefined; } export interface StartChildWorkflowExecutionFailedEventAttributes { workflowType: WorkflowType | undefined; cause: StartChildWorkflowExecutionFailedCause | undefined; workflowId: string | undefined; initiatedEventId: number | undefined; decisionTaskCompletedEventId: number | undefined; control?: string | undefined; } export interface StartChildWorkflowExecutionInitiatedEventAttributes { workflowId: string | undefined; workflowType: WorkflowType | undefined; control?: string | undefined; input?: string | undefined; executionStartToCloseTimeout?: string | undefined; taskList: TaskList | undefined; taskPriority?: string | undefined; decisionTaskCompletedEventId: number | undefined; childPolicy: ChildPolicy | undefined; taskStartToCloseTimeout?: string | undefined; tagList?: string[] | undefined; lambdaRole?: string | undefined; } export interface StartLambdaFunctionFailedEventAttributes { scheduledEventId?: number | undefined; cause?: StartLambdaFunctionFailedCause | undefined; message?: string | undefined; } export interface StartTimerFailedEventAttributes { timerId: string | undefined; cause: StartTimerFailedCause | undefined; decisionTaskCompletedEventId: number | undefined; } export interface TimerCanceledEventAttributes { timerId: string | undefined; startedEventId: number | undefined; decisionTaskCompletedEventId: number | undefined; } export interface TimerFiredEventAttributes { timerId: string | undefined; startedEventId: number | undefined; } export interface TimerStartedEventAttributes { timerId: string | undefined; control?: string | undefined; startToFireTimeout: string | undefined; decisionTaskCompletedEventId: number | undefined; } export interface WorkflowExecutionCanceledEventAttributes { details?: string | undefined; decisionTaskCompletedEventId: number | undefined; } export interface WorkflowExecutionCancelRequestedEventAttributes { externalWorkflowExecution?: WorkflowExecution | undefined; externalInitiatedEventId?: number | undefined; cause?: WorkflowExecutionCancelRequestedCause | undefined; } export interface WorkflowExecutionCompletedEventAttributes { result?: string | undefined; decisionTaskCompletedEventId: number | undefined; } export interface WorkflowExecutionContinuedAsNewEventAttributes { input?: string | undefined; decisionTaskCompletedEventId: number | undefined; newExecutionRunId: string | undefined; executionStartToCloseTimeout?: string | undefined; taskList: TaskList | undefined; taskPriority?: string | undefined; taskStartToCloseTimeout?: string | undefined; childPolicy: ChildPolicy | undefined; tagList?: string[] | undefined; workflowType: WorkflowType | undefined; lambdaRole?: string | undefined; } export interface WorkflowExecutionFailedEventAttributes { reason?: string | undefined; details?: string | undefined; decisionTaskCompletedEventId: number | undefined; } export interface WorkflowExecutionSignaledEventAttributes { signalName: string | undefined; input?: string | undefined; externalWorkflowExecution?: WorkflowExecution | undefined; externalInitiatedEventId?: number | undefined; } export interface WorkflowExecutionStartedEventAttributes { input?: string | undefined; executionStartToCloseTimeout?: string | undefined; taskStartToCloseTimeout?: string | undefined; childPolicy: ChildPolicy | undefined; taskList: TaskList | undefined; taskPriority?: string | undefined; workflowType: WorkflowType | undefined; tagList?: string[] | undefined; continuedExecutionRunId?: string | undefined; parentWorkflowExecution?: WorkflowExecution | undefined; parentInitiatedEventId?: number | undefined; lambdaRole?: string | undefined; } export interface WorkflowExecutionTerminatedEventAttributes { reason?: string | undefined; details?: string | undefined; childPolicy: ChildPolicy | undefined; cause?: WorkflowExecutionTerminatedCause | undefined; } export interface WorkflowExecutionTimedOutEventAttributes { timeoutType: WorkflowExecutionTimeoutType | undefined; childPolicy: ChildPolicy | undefined; } export interface HistoryEvent { eventTimestamp: Date | undefined; eventType: EventType | undefined; eventId: number | undefined; workflowExecutionStartedEventAttributes?: WorkflowExecutionStartedEventAttributes | undefined; workflowExecutionCompletedEventAttributes?: WorkflowExecutionCompletedEventAttributes | undefined; completeWorkflowExecutionFailedEventAttributes?: | CompleteWorkflowExecutionFailedEventAttributes | undefined; workflowExecutionFailedEventAttributes?: WorkflowExecutionFailedEventAttributes | undefined; failWorkflowExecutionFailedEventAttributes?: | FailWorkflowExecutionFailedEventAttributes | undefined; workflowExecutionTimedOutEventAttributes?: WorkflowExecutionTimedOutEventAttributes | undefined; workflowExecutionCanceledEventAttributes?: WorkflowExecutionCanceledEventAttributes | undefined; cancelWorkflowExecutionFailedEventAttributes?: | CancelWorkflowExecutionFailedEventAttributes | undefined; workflowExecutionContinuedAsNewEventAttributes?: | WorkflowExecutionContinuedAsNewEventAttributes | undefined; continueAsNewWorkflowExecutionFailedEventAttributes?: | ContinueAsNewWorkflowExecutionFailedEventAttributes | undefined; workflowExecutionTerminatedEventAttributes?: | WorkflowExecutionTerminatedEventAttributes | undefined; workflowExecutionCancelRequestedEventAttributes?: | WorkflowExecutionCancelRequestedEventAttributes | undefined; decisionTaskScheduledEventAttributes?: DecisionTaskScheduledEventAttributes | undefined; decisionTaskStartedEventAttributes?: DecisionTaskStartedEventAttributes | undefined; decisionTaskCompletedEventAttributes?: DecisionTaskCompletedEventAttributes | undefined; decisionTaskTimedOutEventAttributes?: DecisionTaskTimedOutEventAttributes | undefined; activityTaskScheduledEventAttributes?: ActivityTaskScheduledEventAttributes | undefined; activityTaskStartedEventAttributes?: ActivityTaskStartedEventAttributes | undefined; activityTaskCompletedEventAttributes?: ActivityTaskCompletedEventAttributes | undefined; activityTaskFailedEventAttributes?: ActivityTaskFailedEventAttributes | undefined; activityTaskTimedOutEventAttributes?: ActivityTaskTimedOutEventAttributes | undefined; activityTaskCanceledEventAttributes?: ActivityTaskCanceledEventAttributes | undefined; activityTaskCancelRequestedEventAttributes?: | ActivityTaskCancelRequestedEventAttributes | undefined; workflowExecutionSignaledEventAttributes?: WorkflowExecutionSignaledEventAttributes | undefined; markerRecordedEventAttributes?: MarkerRecordedEventAttributes | undefined; recordMarkerFailedEventAttributes?: RecordMarkerFailedEventAttributes | undefined; timerStartedEventAttributes?: TimerStartedEventAttributes | undefined; timerFiredEventAttributes?: TimerFiredEventAttributes | undefined; timerCanceledEventAttributes?: TimerCanceledEventAttributes | undefined; startChildWorkflowExecutionInitiatedEventAttributes?: | StartChildWorkflowExecutionInitiatedEventAttributes | undefined; childWorkflowExecutionStartedEventAttributes?: | ChildWorkflowExecutionStartedEventAttributes | undefined; childWorkflowExecutionCompletedEventAttributes?: | ChildWorkflowExecutionCompletedEventAttributes | undefined; childWorkflowExecutionFailedEventAttributes?: | ChildWorkflowExecutionFailedEventAttributes | undefined; childWorkflowExecutionTimedOutEventAttributes?: | ChildWorkflowExecutionTimedOutEventAttributes | undefined; childWorkflowExecutionCanceledEventAttributes?: | ChildWorkflowExecutionCanceledEventAttributes | undefined; childWorkflowExecutionTerminatedEventAttributes?: | ChildWorkflowExecutionTerminatedEventAttributes | undefined; signalExternalWorkflowExecutionInitiatedEventAttributes?: | SignalExternalWorkflowExecutionInitiatedEventAttributes | undefined; externalWorkflowExecutionSignaledEventAttributes?: | ExternalWorkflowExecutionSignaledEventAttributes | undefined; signalExternalWorkflowExecutionFailedEventAttributes?: | SignalExternalWorkflowExecutionFailedEventAttributes | undefined; externalWorkflowExecutionCancelRequestedEventAttributes?: | ExternalWorkflowExecutionCancelRequestedEventAttributes | undefined; requestCancelExternalWorkflowExecutionInitiatedEventAttributes?: | RequestCancelExternalWorkflowExecutionInitiatedEventAttributes | undefined; requestCancelExternalWorkflowExecutionFailedEventAttributes?: | RequestCancelExternalWorkflowExecutionFailedEventAttributes | undefined; scheduleActivityTaskFailedEventAttributes?: ScheduleActivityTaskFailedEventAttributes | undefined; requestCancelActivityTaskFailedEventAttributes?: | RequestCancelActivityTaskFailedEventAttributes | undefined; startTimerFailedEventAttributes?: StartTimerFailedEventAttributes | undefined; cancelTimerFailedEventAttributes?: CancelTimerFailedEventAttributes | undefined; startChildWorkflowExecutionFailedEventAttributes?: | StartChildWorkflowExecutionFailedEventAttributes | undefined; lambdaFunctionScheduledEventAttributes?: LambdaFunctionScheduledEventAttributes | undefined; lambdaFunctionStartedEventAttributes?: LambdaFunctionStartedEventAttributes | undefined; lambdaFunctionCompletedEventAttributes?: LambdaFunctionCompletedEventAttributes | undefined; lambdaFunctionFailedEventAttributes?: LambdaFunctionFailedEventAttributes | undefined; lambdaFunctionTimedOutEventAttributes?: LambdaFunctionTimedOutEventAttributes | undefined; scheduleLambdaFunctionFailedEventAttributes?: | ScheduleLambdaFunctionFailedEventAttributes | undefined; startLambdaFunctionFailedEventAttributes?: StartLambdaFunctionFailedEventAttributes | undefined; } export interface DecisionTask { taskToken: string | undefined; startedEventId: number | undefined; workflowExecution: WorkflowExecution | undefined; workflowType: WorkflowType | undefined; events: HistoryEvent[] | undefined; nextPageToken?: string | undefined; previousStartedEventId?: number | undefined; } export interface DeleteActivityTypeInput { domain: string | undefined; activityType: ActivityType | undefined; } export interface DeleteWorkflowTypeInput { domain: string | undefined; workflowType: WorkflowType | undefined; } export interface DeprecateActivityTypeInput { domain: string | undefined; activityType: ActivityType | undefined; } export interface DeprecateDomainInput { name: string | undefined; } export interface DeprecateWorkflowTypeInput { domain: string | undefined; workflowType: WorkflowType | undefined; } export interface DescribeActivityTypeInput { domain: string | undefined; activityType: ActivityType | undefined; } export interface DescribeDomainInput { name: string | undefined; } export interface DomainConfiguration { workflowExecutionRetentionPeriodInDays: string | undefined; } export interface DomainInfo { name: string | undefined; status: RegistrationStatus | undefined; description?: string | undefined; arn?: string | undefined; } export interface DomainDetail { domainInfo: DomainInfo | undefined; configuration: DomainConfiguration | undefined; } export interface DescribeWorkflowExecutionInput { domain: string | undefined; execution: WorkflowExecution | undefined; } export interface WorkflowExecutionConfiguration { taskStartToCloseTimeout: string | undefined; executionStartToCloseTimeout: string | undefined; taskList: TaskList | undefined; taskPriority?: string | undefined; childPolicy: ChildPolicy | undefined; lambdaRole?: string | undefined; } export interface WorkflowExecutionInfo { execution: WorkflowExecution | undefined; workflowType: WorkflowType | undefined; startTimestamp: Date | undefined; closeTimestamp?: Date | undefined; executionStatus: ExecutionStatus | undefined; closeStatus?: CloseStatus | undefined; parent?: WorkflowExecution | undefined; tagList?: string[] | undefined; cancelRequested?: boolean | undefined; } export interface WorkflowExecutionOpenCounts { openActivityTasks: number | undefined; openDecisionTasks: number | undefined; openTimers: number | undefined; openChildWorkflowExecutions: number | undefined; openLambdaFunctions?: number | undefined; } export interface WorkflowExecutionDetail { executionInfo: WorkflowExecutionInfo | undefined; executionConfiguration: WorkflowExecutionConfiguration | undefined; openCounts: WorkflowExecutionOpenCounts | undefined; latestActivityTaskTimestamp?: Date | undefined; latestExecutionContext?: string | undefined; } export interface DescribeWorkflowTypeInput { domain: string | undefined; workflowType: WorkflowType | undefined; } export interface WorkflowTypeConfiguration { defaultTaskStartToCloseTimeout?: string | undefined; defaultExecutionStartToCloseTimeout?: string | undefined; defaultTaskList?: TaskList | undefined; defaultTaskPriority?: string | undefined; defaultChildPolicy?: ChildPolicy | undefined; defaultLambdaRole?: string | undefined; } export interface WorkflowTypeInfo { workflowType: WorkflowType | undefined; status: RegistrationStatus | undefined; description?: string | undefined; creationDate: Date | undefined; deprecationDate?: Date | undefined; } export interface WorkflowTypeDetail { typeInfo: WorkflowTypeInfo | undefined; configuration: WorkflowTypeConfiguration | undefined; } export interface DomainInfos { domainInfos: DomainInfo[] | undefined; nextPageToken?: string | undefined; } export interface GetWorkflowExecutionHistoryInput { domain: string | undefined; execution: WorkflowExecution | undefined; nextPageToken?: string | undefined; maximumPageSize?: number | undefined; reverseOrder?: boolean | undefined; } export interface History { events: HistoryEvent[] | undefined; nextPageToken?: string | undefined; } export interface ListActivityTypesInput { domain: string | undefined; name?: string | undefined; registrationStatus: RegistrationStatus | undefined; nextPageToken?: string | undefined; maximumPageSize?: number | undefined; reverseOrder?: boolean | undefined; } export interface ListClosedWorkflowExecutionsInput { domain: string | undefined; startTimeFilter?: ExecutionTimeFilter | undefined; closeTimeFilter?: ExecutionTimeFilter | undefined; executionFilter?: WorkflowExecutionFilter | undefined; closeStatusFilter?: CloseStatusFilter | undefined; typeFilter?: WorkflowTypeFilter | undefined; tagFilter?: TagFilter | undefined; nextPageToken?: string | undefined; maximumPageSize?: number | undefined; reverseOrder?: boolean | undefined; } export interface WorkflowExecutionInfos { executionInfos: WorkflowExecutionInfo[] | undefined; nextPageToken?: string | undefined; } export interface ListDomainsInput { nextPageToken?: string | undefined; registrationStatus: RegistrationStatus | undefined; maximumPageSize?: number | undefined; reverseOrder?: boolean | undefined; } export interface ListOpenWorkflowExecutionsInput { domain: string | undefined; startTimeFilter: ExecutionTimeFilter | undefined; typeFilter?: WorkflowTypeFilter | undefined; tagFilter?: TagFilter | undefined; nextPageToken?: string | undefined; maximumPageSize?: number | undefined; reverseOrder?: boolean | undefined; executionFilter?: WorkflowExecutionFilter | undefined; } export interface ListTagsForResourceInput { resourceArn: string | undefined; } export interface ResourceTag { key: string | undefined; value?: string | undefined; } export interface ListTagsForResourceOutput { tags?: ResourceTag[] | undefined; } export interface ListWorkflowTypesInput { domain: string | undefined; name?: string | undefined; registrationStatus: RegistrationStatus | undefined; nextPageToken?: string | undefined; maximumPageSize?: number | undefined; reverseOrder?: boolean | undefined; } export interface WorkflowTypeInfos { typeInfos: WorkflowTypeInfo[] | undefined; nextPageToken?: string | undefined; } export interface PollForActivityTaskInput { domain: string | undefined; taskList: TaskList | undefined; identity?: string | undefined; } export interface PollForDecisionTaskInput { domain: string | undefined; taskList: TaskList | undefined; identity?: string | undefined; nextPageToken?: string | undefined; maximumPageSize?: number | undefined; reverseOrder?: boolean | undefined; startAtPreviousStartedEvent?: boolean | undefined; } export interface RecordActivityTaskHeartbeatInput { taskToken: string | undefined; details?: string | undefined; } export interface RegisterActivityTypeInput { domain: string | undefined; name: string | undefined; version: string | undefined; description?: string | undefined; defaultTaskStartToCloseTimeout?: string | undefined; defaultTaskHeartbeatTimeout?: string | undefined; defaultTaskList?: TaskList | undefined; defaultTaskPriority?: string | undefined; defaultTaskScheduleToStartTimeout?: string | undefined; defaultTaskScheduleToCloseTimeout?: string | undefined; } export interface RegisterDomainInput { name: string | undefined; description?: string | undefined; workflowExecutionRetentionPeriodInDays: string | undefined; tags?: ResourceTag[] | undefined; } export interface RegisterWorkflowTypeInput { domain: string | undefined; name: string | undefined; version: string | undefined; description?: string | undefined; defaultTaskStartToCloseTimeout?: string | undefined; defaultExecutionStartToCloseTimeout?: string | undefined; defaultTaskList?: TaskList | undefined; defaultTaskPriority?: string | undefined; defaultChildPolicy?: ChildPolicy | undefined; defaultLambdaRole?: string | undefined; } export interface RequestCancelWorkflowExecutionInput { domain: string | undefined; workflowId: string | undefined; runId?: string | undefined; } export interface RespondActivityTaskCanceledInput { taskToken: string | undefined; details?: string | undefined; } export interface RespondActivityTaskCompletedInput { taskToken: string | undefined; result?: string | undefined; } export interface RespondActivityTaskFailedInput { taskToken: string | undefined; reason?: string | undefined; details?: string | undefined; } export interface RespondDecisionTaskCompletedInput { taskToken: string | undefined; decisions?: Decision[] | undefined; executionContext?: string | undefined; taskList?: TaskList | undefined; taskListScheduleToStartTimeout?: string | undefined; } export interface Run { runId?: string | undefined; } export interface SignalWorkflowExecutionInput { domain: string | undefined; workflowId: string | undefined; runId?: string | undefined; signalName: string | undefined; input?: string | undefined; } export interface StartWorkflowExecutionInput { domain: string | undefined; workflowId: string | undefined; workflowType: WorkflowType | undefined; taskList?: TaskList | undefined; taskPriority?: string | undefined; input?: string | undefined; executionStartToCloseTimeout?: string | undefined; tagList?: string[] | undefined; taskStartToCloseTimeout?: string | undefined; childPolicy?: ChildPolicy | undefined; lambdaRole?: string | undefined; } export interface TagResourceInput { resourceArn: string | undefined; tags: ResourceTag[] | undefined; } export interface TerminateWorkflowExecutionInput { domain: string | undefined; workflowId: string | undefined; runId?: string | undefined; reason?: string | undefined; details?: string | undefined; childPolicy?: ChildPolicy | undefined; } export interface UndeprecateActivityTypeInput { domain: string | undefined; activityType: ActivityType | undefined; } export interface UndeprecateDomainInput { name: string | undefined; } export interface UndeprecateWorkflowTypeInput { domain: string | undefined; workflowType: WorkflowType | undefined; } export interface UntagResourceInput { resourceArn: string | undefined; tagKeys: string[] | undefined; }