Skip to content

Type definitions#

Index > SWF > Type definitions

Auto-generated documentation for SWF type annotations stubs module mypy-boto3-swf.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ActivityTaskCancelRequestedEventAttributesTypeDef#

# ActivityTaskCancelRequestedEventAttributesTypeDef definition

class ActivityTaskCancelRequestedEventAttributesTypeDef(TypedDict):
    decisionTaskCompletedEventId: int,
    activityId: str,

ActivityTaskCanceledEventAttributesTypeDef#

# ActivityTaskCanceledEventAttributesTypeDef definition

class ActivityTaskCanceledEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    startedEventId: int,
    details: NotRequired[str],
    latestCancelRequestedEventId: NotRequired[int],

ActivityTaskCompletedEventAttributesTypeDef#

# ActivityTaskCompletedEventAttributesTypeDef definition

class ActivityTaskCompletedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    startedEventId: int,
    result: NotRequired[str],

ActivityTaskFailedEventAttributesTypeDef#

# ActivityTaskFailedEventAttributesTypeDef definition

class ActivityTaskFailedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    startedEventId: int,
    reason: NotRequired[str],
    details: NotRequired[str],

ActivityTypeTypeDef#

# ActivityTypeTypeDef definition

class ActivityTypeTypeDef(TypedDict):
    name: str,
    version: str,

TaskListTypeDef#

# TaskListTypeDef definition

class TaskListTypeDef(TypedDict):
    name: str,

ActivityTaskStartedEventAttributesTypeDef#

# ActivityTaskStartedEventAttributesTypeDef definition

class ActivityTaskStartedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    identity: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

ActivityTaskTimedOutEventAttributesTypeDef#

# ActivityTaskTimedOutEventAttributesTypeDef definition

class ActivityTaskTimedOutEventAttributesTypeDef(TypedDict):
    timeoutType: ActivityTaskTimeoutTypeType,  # (1)
    scheduledEventId: int,
    startedEventId: int,
    details: NotRequired[str],
  1. See ActivityTaskTimeoutTypeType

WorkflowExecutionTypeDef#

# WorkflowExecutionTypeDef definition

class WorkflowExecutionTypeDef(TypedDict):
    workflowId: str,
    runId: str,

CancelTimerDecisionAttributesTypeDef#

# CancelTimerDecisionAttributesTypeDef definition

class CancelTimerDecisionAttributesTypeDef(TypedDict):
    timerId: str,

CancelTimerFailedEventAttributesTypeDef#

# CancelTimerFailedEventAttributesTypeDef definition

class CancelTimerFailedEventAttributesTypeDef(TypedDict):
    timerId: str,
    cause: CancelTimerFailedCauseType,  # (1)
    decisionTaskCompletedEventId: int,
  1. See CancelTimerFailedCauseType

CancelWorkflowExecutionDecisionAttributesTypeDef#

# CancelWorkflowExecutionDecisionAttributesTypeDef definition

class CancelWorkflowExecutionDecisionAttributesTypeDef(TypedDict):
    details: NotRequired[str],

CancelWorkflowExecutionFailedEventAttributesTypeDef#

# CancelWorkflowExecutionFailedEventAttributesTypeDef definition

class CancelWorkflowExecutionFailedEventAttributesTypeDef(TypedDict):
    cause: CancelWorkflowExecutionFailedCauseType,  # (1)
    decisionTaskCompletedEventId: int,
  1. See CancelWorkflowExecutionFailedCauseType

WorkflowTypeTypeDef#

# WorkflowTypeTypeDef definition

class WorkflowTypeTypeDef(TypedDict):
    name: str,
    version: str,

CloseStatusFilterTypeDef#

# CloseStatusFilterTypeDef definition

class CloseStatusFilterTypeDef(TypedDict):
    status: CloseStatusType,  # (1)
  1. See CloseStatusType

CompleteWorkflowExecutionDecisionAttributesTypeDef#

# CompleteWorkflowExecutionDecisionAttributesTypeDef definition

class CompleteWorkflowExecutionDecisionAttributesTypeDef(TypedDict):
    result: NotRequired[str],

CompleteWorkflowExecutionFailedEventAttributesTypeDef#

# CompleteWorkflowExecutionFailedEventAttributesTypeDef definition

class CompleteWorkflowExecutionFailedEventAttributesTypeDef(TypedDict):
    cause: CompleteWorkflowExecutionFailedCauseType,  # (1)
    decisionTaskCompletedEventId: int,
  1. See CompleteWorkflowExecutionFailedCauseType

ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef#

# ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef definition

class ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef(TypedDict):
    cause: ContinueAsNewWorkflowExecutionFailedCauseType,  # (1)
    decisionTaskCompletedEventId: int,
  1. See ContinueAsNewWorkflowExecutionFailedCauseType

TagFilterTypeDef#

# TagFilterTypeDef definition

class TagFilterTypeDef(TypedDict):
    tag: str,

WorkflowExecutionFilterTypeDef#

# WorkflowExecutionFilterTypeDef definition

class WorkflowExecutionFilterTypeDef(TypedDict):
    workflowId: str,

WorkflowTypeFilterTypeDef#

# WorkflowTypeFilterTypeDef definition

class WorkflowTypeFilterTypeDef(TypedDict):
    name: str,
    version: NotRequired[str],

DecisionTaskStartedEventAttributesTypeDef#

# DecisionTaskStartedEventAttributesTypeDef definition

class DecisionTaskStartedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    identity: NotRequired[str],

DecisionTaskTimedOutEventAttributesTypeDef#

# DecisionTaskTimedOutEventAttributesTypeDef definition

class DecisionTaskTimedOutEventAttributesTypeDef(TypedDict):
    timeoutType: DecisionTaskTimeoutTypeType,  # (1)
    scheduledEventId: int,
    startedEventId: int,
  1. See DecisionTaskTimeoutTypeType

FailWorkflowExecutionDecisionAttributesTypeDef#

# FailWorkflowExecutionDecisionAttributesTypeDef definition

class FailWorkflowExecutionDecisionAttributesTypeDef(TypedDict):
    reason: NotRequired[str],
    details: NotRequired[str],

RecordMarkerDecisionAttributesTypeDef#

# RecordMarkerDecisionAttributesTypeDef definition

class RecordMarkerDecisionAttributesTypeDef(TypedDict):
    markerName: str,
    details: NotRequired[str],

RequestCancelActivityTaskDecisionAttributesTypeDef#

# RequestCancelActivityTaskDecisionAttributesTypeDef definition

class RequestCancelActivityTaskDecisionAttributesTypeDef(TypedDict):
    activityId: str,

RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef#

# RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef definition

class RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef(TypedDict):
    workflowId: str,
    runId: NotRequired[str],
    control: NotRequired[str],

ScheduleLambdaFunctionDecisionAttributesTypeDef#

# ScheduleLambdaFunctionDecisionAttributesTypeDef definition

class ScheduleLambdaFunctionDecisionAttributesTypeDef(TypedDict):
    id: str,
    name: str,
    control: NotRequired[str],
    input: NotRequired[str],
    startToCloseTimeout: NotRequired[str],

SignalExternalWorkflowExecutionDecisionAttributesTypeDef#

# SignalExternalWorkflowExecutionDecisionAttributesTypeDef definition

class SignalExternalWorkflowExecutionDecisionAttributesTypeDef(TypedDict):
    workflowId: str,
    signalName: str,
    runId: NotRequired[str],
    input: NotRequired[str],
    control: NotRequired[str],

StartTimerDecisionAttributesTypeDef#

# StartTimerDecisionAttributesTypeDef definition

class StartTimerDecisionAttributesTypeDef(TypedDict):
    timerId: str,
    startToFireTimeout: str,
    control: NotRequired[str],

DeprecateDomainInputRequestTypeDef#

# DeprecateDomainInputRequestTypeDef definition

class DeprecateDomainInputRequestTypeDef(TypedDict):
    name: str,

DescribeDomainInputRequestTypeDef#

# DescribeDomainInputRequestTypeDef definition

class DescribeDomainInputRequestTypeDef(TypedDict):
    name: str,

DomainConfigurationTypeDef#

# DomainConfigurationTypeDef definition

class DomainConfigurationTypeDef(TypedDict):
    workflowExecutionRetentionPeriodInDays: str,

DomainInfoTypeDef#

# DomainInfoTypeDef definition

class DomainInfoTypeDef(TypedDict):
    name: str,
    status: RegistrationStatusType,  # (1)
    description: NotRequired[str],
    arn: NotRequired[str],
  1. See RegistrationStatusType

FailWorkflowExecutionFailedEventAttributesTypeDef#

# FailWorkflowExecutionFailedEventAttributesTypeDef definition

class FailWorkflowExecutionFailedEventAttributesTypeDef(TypedDict):
    cause: FailWorkflowExecutionFailedCauseType,  # (1)
    decisionTaskCompletedEventId: int,
  1. See FailWorkflowExecutionFailedCauseType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

LambdaFunctionCompletedEventAttributesTypeDef#

# LambdaFunctionCompletedEventAttributesTypeDef definition

class LambdaFunctionCompletedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    startedEventId: int,
    result: NotRequired[str],

LambdaFunctionFailedEventAttributesTypeDef#

# LambdaFunctionFailedEventAttributesTypeDef definition

class LambdaFunctionFailedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    startedEventId: int,
    reason: NotRequired[str],
    details: NotRequired[str],

LambdaFunctionScheduledEventAttributesTypeDef#

# LambdaFunctionScheduledEventAttributesTypeDef definition

class LambdaFunctionScheduledEventAttributesTypeDef(TypedDict):
    id: str,
    name: str,
    decisionTaskCompletedEventId: int,
    control: NotRequired[str],
    input: NotRequired[str],
    startToCloseTimeout: NotRequired[str],

LambdaFunctionStartedEventAttributesTypeDef#

# LambdaFunctionStartedEventAttributesTypeDef definition

class LambdaFunctionStartedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,

LambdaFunctionTimedOutEventAttributesTypeDef#

# LambdaFunctionTimedOutEventAttributesTypeDef definition

class LambdaFunctionTimedOutEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    startedEventId: int,
    timeoutType: NotRequired[LambdaFunctionTimeoutTypeType],  # (1)
  1. See LambdaFunctionTimeoutTypeType

MarkerRecordedEventAttributesTypeDef#

# MarkerRecordedEventAttributesTypeDef definition

class MarkerRecordedEventAttributesTypeDef(TypedDict):
    markerName: str,
    decisionTaskCompletedEventId: int,
    details: NotRequired[str],

RecordMarkerFailedEventAttributesTypeDef#

# RecordMarkerFailedEventAttributesTypeDef definition

class RecordMarkerFailedEventAttributesTypeDef(TypedDict):
    markerName: str,
    cause: RecordMarkerFailedCauseType,  # (1)
    decisionTaskCompletedEventId: int,
  1. See RecordMarkerFailedCauseType

RequestCancelActivityTaskFailedEventAttributesTypeDef#

# RequestCancelActivityTaskFailedEventAttributesTypeDef definition

class RequestCancelActivityTaskFailedEventAttributesTypeDef(TypedDict):
    activityId: str,
    cause: RequestCancelActivityTaskFailedCauseType,  # (1)
    decisionTaskCompletedEventId: int,
  1. See RequestCancelActivityTaskFailedCauseType

RequestCancelExternalWorkflowExecutionFailedEventAttributesTypeDef#

# RequestCancelExternalWorkflowExecutionFailedEventAttributesTypeDef definition

class RequestCancelExternalWorkflowExecutionFailedEventAttributesTypeDef(TypedDict):
    workflowId: str,
    cause: RequestCancelExternalWorkflowExecutionFailedCauseType,  # (1)
    initiatedEventId: int,
    decisionTaskCompletedEventId: int,
    runId: NotRequired[str],
    control: NotRequired[str],
  1. See RequestCancelExternalWorkflowExecutionFailedCauseType

RequestCancelExternalWorkflowExecutionInitiatedEventAttributesTypeDef#

# RequestCancelExternalWorkflowExecutionInitiatedEventAttributesTypeDef definition

class RequestCancelExternalWorkflowExecutionInitiatedEventAttributesTypeDef(TypedDict):
    workflowId: str,
    decisionTaskCompletedEventId: int,
    runId: NotRequired[str],
    control: NotRequired[str],

ScheduleLambdaFunctionFailedEventAttributesTypeDef#

# ScheduleLambdaFunctionFailedEventAttributesTypeDef definition

class ScheduleLambdaFunctionFailedEventAttributesTypeDef(TypedDict):
    id: str,
    name: str,
    cause: ScheduleLambdaFunctionFailedCauseType,  # (1)
    decisionTaskCompletedEventId: int,
  1. See ScheduleLambdaFunctionFailedCauseType

SignalExternalWorkflowExecutionFailedEventAttributesTypeDef#

# SignalExternalWorkflowExecutionFailedEventAttributesTypeDef definition

class SignalExternalWorkflowExecutionFailedEventAttributesTypeDef(TypedDict):
    workflowId: str,
    cause: SignalExternalWorkflowExecutionFailedCauseType,  # (1)
    initiatedEventId: int,
    decisionTaskCompletedEventId: int,
    runId: NotRequired[str],
    control: NotRequired[str],
  1. See SignalExternalWorkflowExecutionFailedCauseType

SignalExternalWorkflowExecutionInitiatedEventAttributesTypeDef#

# SignalExternalWorkflowExecutionInitiatedEventAttributesTypeDef definition

class SignalExternalWorkflowExecutionInitiatedEventAttributesTypeDef(TypedDict):
    workflowId: str,
    signalName: str,
    decisionTaskCompletedEventId: int,
    runId: NotRequired[str],
    input: NotRequired[str],
    control: NotRequired[str],

StartLambdaFunctionFailedEventAttributesTypeDef#

# StartLambdaFunctionFailedEventAttributesTypeDef definition

class StartLambdaFunctionFailedEventAttributesTypeDef(TypedDict):
    scheduledEventId: NotRequired[int],
    cause: NotRequired[StartLambdaFunctionFailedCauseType],  # (1)
    message: NotRequired[str],
  1. See StartLambdaFunctionFailedCauseType

StartTimerFailedEventAttributesTypeDef#

# StartTimerFailedEventAttributesTypeDef definition

class StartTimerFailedEventAttributesTypeDef(TypedDict):
    timerId: str,
    cause: StartTimerFailedCauseType,  # (1)
    decisionTaskCompletedEventId: int,
  1. See StartTimerFailedCauseType

TimerCanceledEventAttributesTypeDef#

# TimerCanceledEventAttributesTypeDef definition

class TimerCanceledEventAttributesTypeDef(TypedDict):
    timerId: str,
    startedEventId: int,
    decisionTaskCompletedEventId: int,

TimerFiredEventAttributesTypeDef#

# TimerFiredEventAttributesTypeDef definition

class TimerFiredEventAttributesTypeDef(TypedDict):
    timerId: str,
    startedEventId: int,

TimerStartedEventAttributesTypeDef#

# TimerStartedEventAttributesTypeDef definition

class TimerStartedEventAttributesTypeDef(TypedDict):
    timerId: str,
    startToFireTimeout: str,
    decisionTaskCompletedEventId: int,
    control: NotRequired[str],

WorkflowExecutionCanceledEventAttributesTypeDef#

# WorkflowExecutionCanceledEventAttributesTypeDef definition

class WorkflowExecutionCanceledEventAttributesTypeDef(TypedDict):
    decisionTaskCompletedEventId: int,
    details: NotRequired[str],

WorkflowExecutionCompletedEventAttributesTypeDef#

# WorkflowExecutionCompletedEventAttributesTypeDef definition

class WorkflowExecutionCompletedEventAttributesTypeDef(TypedDict):
    decisionTaskCompletedEventId: int,
    result: NotRequired[str],

WorkflowExecutionFailedEventAttributesTypeDef#

# WorkflowExecutionFailedEventAttributesTypeDef definition

class WorkflowExecutionFailedEventAttributesTypeDef(TypedDict):
    decisionTaskCompletedEventId: int,
    reason: NotRequired[str],
    details: NotRequired[str],

WorkflowExecutionTerminatedEventAttributesTypeDef#

# WorkflowExecutionTerminatedEventAttributesTypeDef definition

class WorkflowExecutionTerminatedEventAttributesTypeDef(TypedDict):
    childPolicy: ChildPolicyType,  # (1)
    reason: NotRequired[str],
    details: NotRequired[str],
    cause: NotRequired[WorkflowExecutionTerminatedCauseType],  # (2)
  1. See ChildPolicyType
  2. See WorkflowExecutionTerminatedCauseType

WorkflowExecutionTimedOutEventAttributesTypeDef#

# WorkflowExecutionTimedOutEventAttributesTypeDef definition

class WorkflowExecutionTimedOutEventAttributesTypeDef(TypedDict):
    timeoutType: WorkflowExecutionTimeoutTypeType,  # (1)
    childPolicy: ChildPolicyType,  # (2)
  1. See WorkflowExecutionTimeoutTypeType
  2. See ChildPolicyType

ListActivityTypesInputRequestTypeDef#

# ListActivityTypesInputRequestTypeDef definition

class ListActivityTypesInputRequestTypeDef(TypedDict):
    domain: str,
    registrationStatus: RegistrationStatusType,  # (1)
    name: NotRequired[str],
    nextPageToken: NotRequired[str],
    maximumPageSize: NotRequired[int],
    reverseOrder: NotRequired[bool],
  1. See RegistrationStatusType

ListDomainsInputRequestTypeDef#

# ListDomainsInputRequestTypeDef definition

class ListDomainsInputRequestTypeDef(TypedDict):
    registrationStatus: RegistrationStatusType,  # (1)
    nextPageToken: NotRequired[str],
    maximumPageSize: NotRequired[int],
    reverseOrder: NotRequired[bool],
  1. See RegistrationStatusType

ListTagsForResourceInputRequestTypeDef#

# ListTagsForResourceInputRequestTypeDef definition

class ListTagsForResourceInputRequestTypeDef(TypedDict):
    resourceArn: str,

ResourceTagTypeDef#

# ResourceTagTypeDef definition

class ResourceTagTypeDef(TypedDict):
    key: str,
    value: NotRequired[str],

ListWorkflowTypesInputRequestTypeDef#

# ListWorkflowTypesInputRequestTypeDef definition

class ListWorkflowTypesInputRequestTypeDef(TypedDict):
    domain: str,
    registrationStatus: RegistrationStatusType,  # (1)
    name: NotRequired[str],
    nextPageToken: NotRequired[str],
    maximumPageSize: NotRequired[int],
    reverseOrder: NotRequired[bool],
  1. See RegistrationStatusType

RecordActivityTaskHeartbeatInputRequestTypeDef#

# RecordActivityTaskHeartbeatInputRequestTypeDef definition

class RecordActivityTaskHeartbeatInputRequestTypeDef(TypedDict):
    taskToken: str,
    details: NotRequired[str],

RequestCancelWorkflowExecutionInputRequestTypeDef#

# RequestCancelWorkflowExecutionInputRequestTypeDef definition

class RequestCancelWorkflowExecutionInputRequestTypeDef(TypedDict):
    domain: str,
    workflowId: str,
    runId: NotRequired[str],

RespondActivityTaskCanceledInputRequestTypeDef#

# RespondActivityTaskCanceledInputRequestTypeDef definition

class RespondActivityTaskCanceledInputRequestTypeDef(TypedDict):
    taskToken: str,
    details: NotRequired[str],

RespondActivityTaskCompletedInputRequestTypeDef#

# RespondActivityTaskCompletedInputRequestTypeDef definition

class RespondActivityTaskCompletedInputRequestTypeDef(TypedDict):
    taskToken: str,
    result: NotRequired[str],

RespondActivityTaskFailedInputRequestTypeDef#

# RespondActivityTaskFailedInputRequestTypeDef definition

class RespondActivityTaskFailedInputRequestTypeDef(TypedDict):
    taskToken: str,
    reason: NotRequired[str],
    details: NotRequired[str],

SignalWorkflowExecutionInputRequestTypeDef#

# SignalWorkflowExecutionInputRequestTypeDef definition

class SignalWorkflowExecutionInputRequestTypeDef(TypedDict):
    domain: str,
    workflowId: str,
    signalName: str,
    runId: NotRequired[str],
    input: NotRequired[str],

TerminateWorkflowExecutionInputRequestTypeDef#

# TerminateWorkflowExecutionInputRequestTypeDef definition

class TerminateWorkflowExecutionInputRequestTypeDef(TypedDict):
    domain: str,
    workflowId: str,
    runId: NotRequired[str],
    reason: NotRequired[str],
    details: NotRequired[str],
    childPolicy: NotRequired[ChildPolicyType],  # (1)
  1. See ChildPolicyType

UndeprecateDomainInputRequestTypeDef#

# UndeprecateDomainInputRequestTypeDef definition

class UndeprecateDomainInputRequestTypeDef(TypedDict):
    name: str,

UntagResourceInputRequestTypeDef#

# UntagResourceInputRequestTypeDef definition

class UntagResourceInputRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

WorkflowExecutionOpenCountsTypeDef#

# WorkflowExecutionOpenCountsTypeDef definition

class WorkflowExecutionOpenCountsTypeDef(TypedDict):
    openActivityTasks: int,
    openDecisionTasks: int,
    openTimers: int,
    openChildWorkflowExecutions: int,
    openLambdaFunctions: NotRequired[int],

ActivityTypeInfoTypeDef#

# ActivityTypeInfoTypeDef definition

class ActivityTypeInfoTypeDef(TypedDict):
    activityType: ActivityTypeTypeDef,  # (1)
    status: RegistrationStatusType,  # (2)
    creationDate: datetime,
    description: NotRequired[str],
    deprecationDate: NotRequired[datetime],
  1. See ActivityTypeTypeDef
  2. See RegistrationStatusType

DeprecateActivityTypeInputRequestTypeDef#

# DeprecateActivityTypeInputRequestTypeDef definition

class DeprecateActivityTypeInputRequestTypeDef(TypedDict):
    domain: str,
    activityType: ActivityTypeTypeDef,  # (1)
  1. See ActivityTypeTypeDef

DescribeActivityTypeInputRequestTypeDef#

# DescribeActivityTypeInputRequestTypeDef definition

class DescribeActivityTypeInputRequestTypeDef(TypedDict):
    domain: str,
    activityType: ActivityTypeTypeDef,  # (1)
  1. See ActivityTypeTypeDef

ScheduleActivityTaskFailedEventAttributesTypeDef#

# ScheduleActivityTaskFailedEventAttributesTypeDef definition

class ScheduleActivityTaskFailedEventAttributesTypeDef(TypedDict):
    activityType: ActivityTypeTypeDef,  # (1)
    activityId: str,
    cause: ScheduleActivityTaskFailedCauseType,  # (2)
    decisionTaskCompletedEventId: int,
  1. See ActivityTypeTypeDef
  2. See ScheduleActivityTaskFailedCauseType

UndeprecateActivityTypeInputRequestTypeDef#

# UndeprecateActivityTypeInputRequestTypeDef definition

class UndeprecateActivityTypeInputRequestTypeDef(TypedDict):
    domain: str,
    activityType: ActivityTypeTypeDef,  # (1)
  1. See ActivityTypeTypeDef

ActivityTaskScheduledEventAttributesTypeDef#

# ActivityTaskScheduledEventAttributesTypeDef definition

class ActivityTaskScheduledEventAttributesTypeDef(TypedDict):
    activityType: ActivityTypeTypeDef,  # (1)
    activityId: str,
    taskList: TaskListTypeDef,  # (2)
    decisionTaskCompletedEventId: int,
    input: NotRequired[str],
    control: NotRequired[str],
    scheduleToStartTimeout: NotRequired[str],
    scheduleToCloseTimeout: NotRequired[str],
    startToCloseTimeout: NotRequired[str],
    taskPriority: NotRequired[str],
    heartbeatTimeout: NotRequired[str],
  1. See ActivityTypeTypeDef
  2. See TaskListTypeDef

ActivityTypeConfigurationTypeDef#

# ActivityTypeConfigurationTypeDef definition

class ActivityTypeConfigurationTypeDef(TypedDict):
    defaultTaskStartToCloseTimeout: NotRequired[str],
    defaultTaskHeartbeatTimeout: NotRequired[str],
    defaultTaskList: NotRequired[TaskListTypeDef],  # (1)
    defaultTaskPriority: NotRequired[str],
    defaultTaskScheduleToStartTimeout: NotRequired[str],
    defaultTaskScheduleToCloseTimeout: NotRequired[str],
  1. See TaskListTypeDef

ContinueAsNewWorkflowExecutionDecisionAttributesTypeDef#

# ContinueAsNewWorkflowExecutionDecisionAttributesTypeDef definition

class ContinueAsNewWorkflowExecutionDecisionAttributesTypeDef(TypedDict):
    input: NotRequired[str],
    executionStartToCloseTimeout: NotRequired[str],
    taskList: NotRequired[TaskListTypeDef],  # (1)
    taskPriority: NotRequired[str],
    taskStartToCloseTimeout: NotRequired[str],
    childPolicy: NotRequired[ChildPolicyType],  # (2)
    tagList: NotRequired[Sequence[str]],
    workflowTypeVersion: NotRequired[str],
    lambdaRole: NotRequired[str],
  1. See TaskListTypeDef
  2. See ChildPolicyType

CountPendingActivityTasksInputRequestTypeDef#

# CountPendingActivityTasksInputRequestTypeDef definition

class CountPendingActivityTasksInputRequestTypeDef(TypedDict):
    domain: str,
    taskList: TaskListTypeDef,  # (1)
  1. See TaskListTypeDef

CountPendingDecisionTasksInputRequestTypeDef#

# CountPendingDecisionTasksInputRequestTypeDef definition

class CountPendingDecisionTasksInputRequestTypeDef(TypedDict):
    domain: str,
    taskList: TaskListTypeDef,  # (1)
  1. See TaskListTypeDef

DecisionTaskCompletedEventAttributesTypeDef#

# DecisionTaskCompletedEventAttributesTypeDef definition

class DecisionTaskCompletedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    startedEventId: int,
    executionContext: NotRequired[str],
    taskList: NotRequired[TaskListTypeDef],  # (1)
    taskListScheduleToStartTimeout: NotRequired[str],
  1. See TaskListTypeDef

DecisionTaskScheduledEventAttributesTypeDef#

# DecisionTaskScheduledEventAttributesTypeDef definition

class DecisionTaskScheduledEventAttributesTypeDef(TypedDict):
    taskList: TaskListTypeDef,  # (1)
    taskPriority: NotRequired[str],
    startToCloseTimeout: NotRequired[str],
    scheduleToStartTimeout: NotRequired[str],
  1. See TaskListTypeDef

PollForActivityTaskInputRequestTypeDef#

# PollForActivityTaskInputRequestTypeDef definition

class PollForActivityTaskInputRequestTypeDef(TypedDict):
    domain: str,
    taskList: TaskListTypeDef,  # (1)
    identity: NotRequired[str],
  1. See TaskListTypeDef

PollForDecisionTaskInputRequestTypeDef#

# PollForDecisionTaskInputRequestTypeDef definition

class PollForDecisionTaskInputRequestTypeDef(TypedDict):
    domain: str,
    taskList: TaskListTypeDef,  # (1)
    identity: NotRequired[str],
    nextPageToken: NotRequired[str],
    maximumPageSize: NotRequired[int],
    reverseOrder: NotRequired[bool],
    startAtPreviousStartedEvent: NotRequired[bool],
  1. See TaskListTypeDef

RegisterActivityTypeInputRequestTypeDef#

# RegisterActivityTypeInputRequestTypeDef definition

class RegisterActivityTypeInputRequestTypeDef(TypedDict):
    domain: str,
    name: str,
    version: str,
    description: NotRequired[str],
    defaultTaskStartToCloseTimeout: NotRequired[str],
    defaultTaskHeartbeatTimeout: NotRequired[str],
    defaultTaskList: NotRequired[TaskListTypeDef],  # (1)
    defaultTaskPriority: NotRequired[str],
    defaultTaskScheduleToStartTimeout: NotRequired[str],
    defaultTaskScheduleToCloseTimeout: NotRequired[str],
  1. See TaskListTypeDef

RegisterWorkflowTypeInputRequestTypeDef#

# RegisterWorkflowTypeInputRequestTypeDef definition

class RegisterWorkflowTypeInputRequestTypeDef(TypedDict):
    domain: str,
    name: str,
    version: str,
    description: NotRequired[str],
    defaultTaskStartToCloseTimeout: NotRequired[str],
    defaultExecutionStartToCloseTimeout: NotRequired[str],
    defaultTaskList: NotRequired[TaskListTypeDef],  # (1)
    defaultTaskPriority: NotRequired[str],
    defaultChildPolicy: NotRequired[ChildPolicyType],  # (2)
    defaultLambdaRole: NotRequired[str],
  1. See TaskListTypeDef
  2. See ChildPolicyType

ScheduleActivityTaskDecisionAttributesTypeDef#

# ScheduleActivityTaskDecisionAttributesTypeDef definition

class ScheduleActivityTaskDecisionAttributesTypeDef(TypedDict):
    activityType: ActivityTypeTypeDef,  # (1)
    activityId: str,
    control: NotRequired[str],
    input: NotRequired[str],
    scheduleToCloseTimeout: NotRequired[str],
    taskList: NotRequired[TaskListTypeDef],  # (2)
    taskPriority: NotRequired[str],
    scheduleToStartTimeout: NotRequired[str],
    startToCloseTimeout: NotRequired[str],
    heartbeatTimeout: NotRequired[str],
  1. See ActivityTypeTypeDef
  2. See TaskListTypeDef

WorkflowExecutionConfigurationTypeDef#

# WorkflowExecutionConfigurationTypeDef definition

class WorkflowExecutionConfigurationTypeDef(TypedDict):
    taskStartToCloseTimeout: str,
    executionStartToCloseTimeout: str,
    taskList: TaskListTypeDef,  # (1)
    childPolicy: ChildPolicyType,  # (2)
    taskPriority: NotRequired[str],
    lambdaRole: NotRequired[str],
  1. See TaskListTypeDef
  2. See ChildPolicyType

WorkflowTypeConfigurationTypeDef#

# WorkflowTypeConfigurationTypeDef definition

class WorkflowTypeConfigurationTypeDef(TypedDict):
    defaultTaskStartToCloseTimeout: NotRequired[str],
    defaultExecutionStartToCloseTimeout: NotRequired[str],
    defaultTaskList: NotRequired[TaskListTypeDef],  # (1)
    defaultTaskPriority: NotRequired[str],
    defaultChildPolicy: NotRequired[ChildPolicyType],  # (2)
    defaultLambdaRole: NotRequired[str],
  1. See TaskListTypeDef
  2. See ChildPolicyType

ActivityTaskStatusTypeDef#

# ActivityTaskStatusTypeDef definition

class ActivityTaskStatusTypeDef(TypedDict):
    cancelRequested: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PendingTaskCountTypeDef#

# PendingTaskCountTypeDef definition

class PendingTaskCountTypeDef(TypedDict):
    count: int,
    truncated: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RunTypeDef#

# RunTypeDef definition

class RunTypeDef(TypedDict):
    runId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

WorkflowExecutionCountTypeDef#

# WorkflowExecutionCountTypeDef definition

class WorkflowExecutionCountTypeDef(TypedDict):
    count: int,
    truncated: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ActivityTaskTypeDef#

# ActivityTaskTypeDef definition

class ActivityTaskTypeDef(TypedDict):
    taskToken: str,
    activityId: str,
    startedEventId: int,
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    activityType: ActivityTypeTypeDef,  # (2)
    input: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See WorkflowExecutionTypeDef
  2. See ActivityTypeTypeDef
  3. See ResponseMetadataTypeDef

DescribeWorkflowExecutionInputRequestTypeDef#

# DescribeWorkflowExecutionInputRequestTypeDef definition

class DescribeWorkflowExecutionInputRequestTypeDef(TypedDict):
    domain: str,
    execution: WorkflowExecutionTypeDef,  # (1)
  1. See WorkflowExecutionTypeDef

ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef#

# ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef definition

class ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef(TypedDict):
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    initiatedEventId: int,
  1. See WorkflowExecutionTypeDef

ExternalWorkflowExecutionSignaledEventAttributesTypeDef#

# ExternalWorkflowExecutionSignaledEventAttributesTypeDef definition

class ExternalWorkflowExecutionSignaledEventAttributesTypeDef(TypedDict):
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    initiatedEventId: int,
  1. See WorkflowExecutionTypeDef

GetWorkflowExecutionHistoryInputRequestTypeDef#

# GetWorkflowExecutionHistoryInputRequestTypeDef definition

class GetWorkflowExecutionHistoryInputRequestTypeDef(TypedDict):
    domain: str,
    execution: WorkflowExecutionTypeDef,  # (1)
    nextPageToken: NotRequired[str],
    maximumPageSize: NotRequired[int],
    reverseOrder: NotRequired[bool],
  1. See WorkflowExecutionTypeDef

WorkflowExecutionCancelRequestedEventAttributesTypeDef#

# WorkflowExecutionCancelRequestedEventAttributesTypeDef definition

class WorkflowExecutionCancelRequestedEventAttributesTypeDef(TypedDict):
    externalWorkflowExecution: NotRequired[WorkflowExecutionTypeDef],  # (1)
    externalInitiatedEventId: NotRequired[int],
    cause: NotRequired[WorkflowExecutionCancelRequestedCauseType],  # (2)
  1. See WorkflowExecutionTypeDef
  2. See WorkflowExecutionCancelRequestedCauseType

WorkflowExecutionSignaledEventAttributesTypeDef#

# WorkflowExecutionSignaledEventAttributesTypeDef definition

class WorkflowExecutionSignaledEventAttributesTypeDef(TypedDict):
    signalName: str,
    input: NotRequired[str],
    externalWorkflowExecution: NotRequired[WorkflowExecutionTypeDef],  # (1)
    externalInitiatedEventId: NotRequired[int],
  1. See WorkflowExecutionTypeDef

ChildWorkflowExecutionCanceledEventAttributesTypeDef#

# ChildWorkflowExecutionCanceledEventAttributesTypeDef definition

class ChildWorkflowExecutionCanceledEventAttributesTypeDef(TypedDict):
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    workflowType: WorkflowTypeTypeDef,  # (2)
    initiatedEventId: int,
    startedEventId: int,
    details: NotRequired[str],
  1. See WorkflowExecutionTypeDef
  2. See WorkflowTypeTypeDef

ChildWorkflowExecutionCompletedEventAttributesTypeDef#

# ChildWorkflowExecutionCompletedEventAttributesTypeDef definition

class ChildWorkflowExecutionCompletedEventAttributesTypeDef(TypedDict):
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    workflowType: WorkflowTypeTypeDef,  # (2)
    initiatedEventId: int,
    startedEventId: int,
    result: NotRequired[str],
  1. See WorkflowExecutionTypeDef
  2. See WorkflowTypeTypeDef

ChildWorkflowExecutionFailedEventAttributesTypeDef#

# ChildWorkflowExecutionFailedEventAttributesTypeDef definition

class ChildWorkflowExecutionFailedEventAttributesTypeDef(TypedDict):
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    workflowType: WorkflowTypeTypeDef,  # (2)
    initiatedEventId: int,
    startedEventId: int,
    reason: NotRequired[str],
    details: NotRequired[str],
  1. See WorkflowExecutionTypeDef
  2. See WorkflowTypeTypeDef

ChildWorkflowExecutionStartedEventAttributesTypeDef#

# ChildWorkflowExecutionStartedEventAttributesTypeDef definition

class ChildWorkflowExecutionStartedEventAttributesTypeDef(TypedDict):
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    workflowType: WorkflowTypeTypeDef,  # (2)
    initiatedEventId: int,
  1. See WorkflowExecutionTypeDef
  2. See WorkflowTypeTypeDef

ChildWorkflowExecutionTerminatedEventAttributesTypeDef#

# ChildWorkflowExecutionTerminatedEventAttributesTypeDef definition

class ChildWorkflowExecutionTerminatedEventAttributesTypeDef(TypedDict):
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    workflowType: WorkflowTypeTypeDef,  # (2)
    initiatedEventId: int,
    startedEventId: int,
  1. See WorkflowExecutionTypeDef
  2. See WorkflowTypeTypeDef

ChildWorkflowExecutionTimedOutEventAttributesTypeDef#

# ChildWorkflowExecutionTimedOutEventAttributesTypeDef definition

class ChildWorkflowExecutionTimedOutEventAttributesTypeDef(TypedDict):
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    workflowType: WorkflowTypeTypeDef,  # (2)
    timeoutType: WorkflowExecutionTimeoutTypeType,  # (3)
    initiatedEventId: int,
    startedEventId: int,
  1. See WorkflowExecutionTypeDef
  2. See WorkflowTypeTypeDef
  3. See WorkflowExecutionTimeoutTypeType

DeprecateWorkflowTypeInputRequestTypeDef#

# DeprecateWorkflowTypeInputRequestTypeDef definition

class DeprecateWorkflowTypeInputRequestTypeDef(TypedDict):
    domain: str,
    workflowType: WorkflowTypeTypeDef,  # (1)
  1. See WorkflowTypeTypeDef

DescribeWorkflowTypeInputRequestTypeDef#

# DescribeWorkflowTypeInputRequestTypeDef definition

class DescribeWorkflowTypeInputRequestTypeDef(TypedDict):
    domain: str,
    workflowType: WorkflowTypeTypeDef,  # (1)
  1. See WorkflowTypeTypeDef

StartChildWorkflowExecutionDecisionAttributesTypeDef#

# StartChildWorkflowExecutionDecisionAttributesTypeDef definition

class StartChildWorkflowExecutionDecisionAttributesTypeDef(TypedDict):
    workflowType: WorkflowTypeTypeDef,  # (1)
    workflowId: str,
    control: NotRequired[str],
    input: NotRequired[str],
    executionStartToCloseTimeout: NotRequired[str],
    taskList: NotRequired[TaskListTypeDef],  # (2)
    taskPriority: NotRequired[str],
    taskStartToCloseTimeout: NotRequired[str],
    childPolicy: NotRequired[ChildPolicyType],  # (3)
    tagList: NotRequired[Sequence[str]],
    lambdaRole: NotRequired[str],
  1. See WorkflowTypeTypeDef
  2. See TaskListTypeDef
  3. See ChildPolicyType

StartChildWorkflowExecutionFailedEventAttributesTypeDef#

# StartChildWorkflowExecutionFailedEventAttributesTypeDef definition

class StartChildWorkflowExecutionFailedEventAttributesTypeDef(TypedDict):
    workflowType: WorkflowTypeTypeDef,  # (1)
    cause: StartChildWorkflowExecutionFailedCauseType,  # (2)
    workflowId: str,
    initiatedEventId: int,
    decisionTaskCompletedEventId: int,
    control: NotRequired[str],
  1. See WorkflowTypeTypeDef
  2. See StartChildWorkflowExecutionFailedCauseType

StartChildWorkflowExecutionInitiatedEventAttributesTypeDef#

# StartChildWorkflowExecutionInitiatedEventAttributesTypeDef definition

class StartChildWorkflowExecutionInitiatedEventAttributesTypeDef(TypedDict):
    workflowId: str,
    workflowType: WorkflowTypeTypeDef,  # (1)
    taskList: TaskListTypeDef,  # (2)
    decisionTaskCompletedEventId: int,
    childPolicy: ChildPolicyType,  # (3)
    control: NotRequired[str],
    input: NotRequired[str],
    executionStartToCloseTimeout: NotRequired[str],
    taskPriority: NotRequired[str],
    taskStartToCloseTimeout: NotRequired[str],
    tagList: NotRequired[List[str]],
    lambdaRole: NotRequired[str],
  1. See WorkflowTypeTypeDef
  2. See TaskListTypeDef
  3. See ChildPolicyType

StartWorkflowExecutionInputRequestTypeDef#

# StartWorkflowExecutionInputRequestTypeDef definition

class StartWorkflowExecutionInputRequestTypeDef(TypedDict):
    domain: str,
    workflowId: str,
    workflowType: WorkflowTypeTypeDef,  # (1)
    taskList: NotRequired[TaskListTypeDef],  # (2)
    taskPriority: NotRequired[str],
    input: NotRequired[str],
    executionStartToCloseTimeout: NotRequired[str],
    tagList: NotRequired[Sequence[str]],
    taskStartToCloseTimeout: NotRequired[str],
    childPolicy: NotRequired[ChildPolicyType],  # (3)
    lambdaRole: NotRequired[str],
  1. See WorkflowTypeTypeDef
  2. See TaskListTypeDef
  3. See ChildPolicyType

UndeprecateWorkflowTypeInputRequestTypeDef#

# UndeprecateWorkflowTypeInputRequestTypeDef definition

class UndeprecateWorkflowTypeInputRequestTypeDef(TypedDict):
    domain: str,
    workflowType: WorkflowTypeTypeDef,  # (1)
  1. See WorkflowTypeTypeDef

WorkflowExecutionContinuedAsNewEventAttributesTypeDef#

# WorkflowExecutionContinuedAsNewEventAttributesTypeDef definition

class WorkflowExecutionContinuedAsNewEventAttributesTypeDef(TypedDict):
    decisionTaskCompletedEventId: int,
    newExecutionRunId: str,
    taskList: TaskListTypeDef,  # (1)
    childPolicy: ChildPolicyType,  # (2)
    workflowType: WorkflowTypeTypeDef,  # (3)
    input: NotRequired[str],
    executionStartToCloseTimeout: NotRequired[str],
    taskPriority: NotRequired[str],
    taskStartToCloseTimeout: NotRequired[str],
    tagList: NotRequired[List[str]],
    lambdaRole: NotRequired[str],
  1. See TaskListTypeDef
  2. See ChildPolicyType
  3. See WorkflowTypeTypeDef

WorkflowExecutionInfoTypeDef#

# WorkflowExecutionInfoTypeDef definition

class WorkflowExecutionInfoTypeDef(TypedDict):
    execution: WorkflowExecutionTypeDef,  # (1)
    workflowType: WorkflowTypeTypeDef,  # (2)
    startTimestamp: datetime,
    executionStatus: ExecutionStatusType,  # (3)
    closeTimestamp: NotRequired[datetime],
    closeStatus: NotRequired[CloseStatusType],  # (4)
    parent: NotRequired[WorkflowExecutionTypeDef],  # (1)
    tagList: NotRequired[List[str]],
    cancelRequested: NotRequired[bool],
  1. See WorkflowExecutionTypeDef
  2. See WorkflowTypeTypeDef
  3. See ExecutionStatusType
  4. See CloseStatusType
  5. See WorkflowExecutionTypeDef

WorkflowExecutionStartedEventAttributesTypeDef#

# WorkflowExecutionStartedEventAttributesTypeDef definition

class WorkflowExecutionStartedEventAttributesTypeDef(TypedDict):
    childPolicy: ChildPolicyType,  # (1)
    taskList: TaskListTypeDef,  # (2)
    workflowType: WorkflowTypeTypeDef,  # (3)
    input: NotRequired[str],
    executionStartToCloseTimeout: NotRequired[str],
    taskStartToCloseTimeout: NotRequired[str],
    taskPriority: NotRequired[str],
    tagList: NotRequired[List[str]],
    continuedExecutionRunId: NotRequired[str],
    parentWorkflowExecution: NotRequired[WorkflowExecutionTypeDef],  # (4)
    parentInitiatedEventId: NotRequired[int],
    lambdaRole: NotRequired[str],
  1. See ChildPolicyType
  2. See TaskListTypeDef
  3. See WorkflowTypeTypeDef
  4. See WorkflowExecutionTypeDef

WorkflowTypeInfoTypeDef#

# WorkflowTypeInfoTypeDef definition

class WorkflowTypeInfoTypeDef(TypedDict):
    workflowType: WorkflowTypeTypeDef,  # (1)
    status: RegistrationStatusType,  # (2)
    creationDate: datetime,
    description: NotRequired[str],
    deprecationDate: NotRequired[datetime],
  1. See WorkflowTypeTypeDef
  2. See RegistrationStatusType

DomainDetailTypeDef#

# DomainDetailTypeDef definition

class DomainDetailTypeDef(TypedDict):
    domainInfo: DomainInfoTypeDef,  # (1)
    configuration: DomainConfigurationTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See DomainInfoTypeDef
  2. See DomainConfigurationTypeDef
  3. See ResponseMetadataTypeDef

DomainInfosTypeDef#

# DomainInfosTypeDef definition

class DomainInfosTypeDef(TypedDict):
    domainInfos: List[DomainInfoTypeDef],  # (1)
    nextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DomainInfoTypeDef
  2. See ResponseMetadataTypeDef

ExecutionTimeFilterTypeDef#

# ExecutionTimeFilterTypeDef definition

class ExecutionTimeFilterTypeDef(TypedDict):
    oldestDate: Union[datetime, str],
    latestDate: NotRequired[Union[datetime, str]],

GetWorkflowExecutionHistoryInputGetWorkflowExecutionHistoryPaginateTypeDef#

# GetWorkflowExecutionHistoryInputGetWorkflowExecutionHistoryPaginateTypeDef definition

class GetWorkflowExecutionHistoryInputGetWorkflowExecutionHistoryPaginateTypeDef(TypedDict):
    domain: str,
    execution: WorkflowExecutionTypeDef,  # (1)
    reverseOrder: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See WorkflowExecutionTypeDef
  2. See PaginatorConfigTypeDef

ListActivityTypesInputListActivityTypesPaginateTypeDef#

# ListActivityTypesInputListActivityTypesPaginateTypeDef definition

class ListActivityTypesInputListActivityTypesPaginateTypeDef(TypedDict):
    domain: str,
    registrationStatus: RegistrationStatusType,  # (1)
    name: NotRequired[str],
    reverseOrder: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See RegistrationStatusType
  2. See PaginatorConfigTypeDef

ListDomainsInputListDomainsPaginateTypeDef#

# ListDomainsInputListDomainsPaginateTypeDef definition

class ListDomainsInputListDomainsPaginateTypeDef(TypedDict):
    registrationStatus: RegistrationStatusType,  # (1)
    reverseOrder: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See RegistrationStatusType
  2. See PaginatorConfigTypeDef

ListWorkflowTypesInputListWorkflowTypesPaginateTypeDef#

# ListWorkflowTypesInputListWorkflowTypesPaginateTypeDef definition

class ListWorkflowTypesInputListWorkflowTypesPaginateTypeDef(TypedDict):
    domain: str,
    registrationStatus: RegistrationStatusType,  # (1)
    name: NotRequired[str],
    reverseOrder: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See RegistrationStatusType
  2. See PaginatorConfigTypeDef

PollForDecisionTaskInputPollForDecisionTaskPaginateTypeDef#

# PollForDecisionTaskInputPollForDecisionTaskPaginateTypeDef definition

class PollForDecisionTaskInputPollForDecisionTaskPaginateTypeDef(TypedDict):
    domain: str,
    taskList: TaskListTypeDef,  # (1)
    identity: NotRequired[str],
    reverseOrder: NotRequired[bool],
    startAtPreviousStartedEvent: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TaskListTypeDef
  2. See PaginatorConfigTypeDef

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef definition

class ListTagsForResourceOutputTypeDef(TypedDict):
    tags: List[ResourceTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceTagTypeDef
  2. See ResponseMetadataTypeDef

RegisterDomainInputRequestTypeDef#

# RegisterDomainInputRequestTypeDef definition

class RegisterDomainInputRequestTypeDef(TypedDict):
    name: str,
    workflowExecutionRetentionPeriodInDays: str,
    description: NotRequired[str],
    tags: NotRequired[Sequence[ResourceTagTypeDef]],  # (1)
  1. See ResourceTagTypeDef

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef definition

class TagResourceInputRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Sequence[ResourceTagTypeDef],  # (1)
  1. See ResourceTagTypeDef

ActivityTypeInfosTypeDef#

# ActivityTypeInfosTypeDef definition

class ActivityTypeInfosTypeDef(TypedDict):
    typeInfos: List[ActivityTypeInfoTypeDef],  # (1)
    nextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeInfoTypeDef
  2. See ResponseMetadataTypeDef

ActivityTypeDetailTypeDef#

# ActivityTypeDetailTypeDef definition

class ActivityTypeDetailTypeDef(TypedDict):
    typeInfo: ActivityTypeInfoTypeDef,  # (1)
    configuration: ActivityTypeConfigurationTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ActivityTypeInfoTypeDef
  2. See ActivityTypeConfigurationTypeDef
  3. See ResponseMetadataTypeDef

DecisionTypeDef#

# DecisionTypeDef definition

class DecisionTypeDef(TypedDict):
    decisionType: DecisionTypeType,  # (1)
    scheduleActivityTaskDecisionAttributes: NotRequired[ScheduleActivityTaskDecisionAttributesTypeDef],  # (2)
    requestCancelActivityTaskDecisionAttributes: NotRequired[RequestCancelActivityTaskDecisionAttributesTypeDef],  # (3)
    completeWorkflowExecutionDecisionAttributes: NotRequired[CompleteWorkflowExecutionDecisionAttributesTypeDef],  # (4)
    failWorkflowExecutionDecisionAttributes: NotRequired[FailWorkflowExecutionDecisionAttributesTypeDef],  # (5)
    cancelWorkflowExecutionDecisionAttributes: NotRequired[CancelWorkflowExecutionDecisionAttributesTypeDef],  # (6)
    continueAsNewWorkflowExecutionDecisionAttributes: NotRequired[ContinueAsNewWorkflowExecutionDecisionAttributesTypeDef],  # (7)
    recordMarkerDecisionAttributes: NotRequired[RecordMarkerDecisionAttributesTypeDef],  # (8)
    startTimerDecisionAttributes: NotRequired[StartTimerDecisionAttributesTypeDef],  # (9)
    cancelTimerDecisionAttributes: NotRequired[CancelTimerDecisionAttributesTypeDef],  # (10)
    signalExternalWorkflowExecutionDecisionAttributes: NotRequired[SignalExternalWorkflowExecutionDecisionAttributesTypeDef],  # (11)
    requestCancelExternalWorkflowExecutionDecisionAttributes: NotRequired[RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef],  # (12)
    startChildWorkflowExecutionDecisionAttributes: NotRequired[StartChildWorkflowExecutionDecisionAttributesTypeDef],  # (13)
    scheduleLambdaFunctionDecisionAttributes: NotRequired[ScheduleLambdaFunctionDecisionAttributesTypeDef],  # (14)
  1. See DecisionTypeType
  2. See ScheduleActivityTaskDecisionAttributesTypeDef
  3. See RequestCancelActivityTaskDecisionAttributesTypeDef
  4. See CompleteWorkflowExecutionDecisionAttributesTypeDef
  5. See FailWorkflowExecutionDecisionAttributesTypeDef
  6. See CancelWorkflowExecutionDecisionAttributesTypeDef
  7. See ContinueAsNewWorkflowExecutionDecisionAttributesTypeDef
  8. See RecordMarkerDecisionAttributesTypeDef
  9. See StartTimerDecisionAttributesTypeDef
  10. See CancelTimerDecisionAttributesTypeDef
  11. See SignalExternalWorkflowExecutionDecisionAttributesTypeDef
  12. See RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef
  13. See StartChildWorkflowExecutionDecisionAttributesTypeDef
  14. See ScheduleLambdaFunctionDecisionAttributesTypeDef

WorkflowExecutionDetailTypeDef#

# WorkflowExecutionDetailTypeDef definition

class WorkflowExecutionDetailTypeDef(TypedDict):
    executionInfo: WorkflowExecutionInfoTypeDef,  # (1)
    executionConfiguration: WorkflowExecutionConfigurationTypeDef,  # (2)
    openCounts: WorkflowExecutionOpenCountsTypeDef,  # (3)
    latestActivityTaskTimestamp: datetime,
    latestExecutionContext: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See WorkflowExecutionInfoTypeDef
  2. See WorkflowExecutionConfigurationTypeDef
  3. See WorkflowExecutionOpenCountsTypeDef
  4. See ResponseMetadataTypeDef

WorkflowExecutionInfosTypeDef#

# WorkflowExecutionInfosTypeDef definition

class WorkflowExecutionInfosTypeDef(TypedDict):
    executionInfos: List[WorkflowExecutionInfoTypeDef],  # (1)
    nextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkflowExecutionInfoTypeDef
  2. See ResponseMetadataTypeDef

HistoryEventTypeDef#

# HistoryEventTypeDef definition

class HistoryEventTypeDef(TypedDict):
    eventTimestamp: datetime,
    eventType: EventTypeType,  # (1)
    eventId: int,
    workflowExecutionStartedEventAttributes: NotRequired[WorkflowExecutionStartedEventAttributesTypeDef],  # (2)
    workflowExecutionCompletedEventAttributes: NotRequired[WorkflowExecutionCompletedEventAttributesTypeDef],  # (3)
    completeWorkflowExecutionFailedEventAttributes: NotRequired[CompleteWorkflowExecutionFailedEventAttributesTypeDef],  # (4)
    workflowExecutionFailedEventAttributes: NotRequired[WorkflowExecutionFailedEventAttributesTypeDef],  # (5)
    failWorkflowExecutionFailedEventAttributes: NotRequired[FailWorkflowExecutionFailedEventAttributesTypeDef],  # (6)
    workflowExecutionTimedOutEventAttributes: NotRequired[WorkflowExecutionTimedOutEventAttributesTypeDef],  # (7)
    workflowExecutionCanceledEventAttributes: NotRequired[WorkflowExecutionCanceledEventAttributesTypeDef],  # (8)
    cancelWorkflowExecutionFailedEventAttributes: NotRequired[CancelWorkflowExecutionFailedEventAttributesTypeDef],  # (9)
    workflowExecutionContinuedAsNewEventAttributes: NotRequired[WorkflowExecutionContinuedAsNewEventAttributesTypeDef],  # (10)
    continueAsNewWorkflowExecutionFailedEventAttributes: NotRequired[ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef],  # (11)
    workflowExecutionTerminatedEventAttributes: NotRequired[WorkflowExecutionTerminatedEventAttributesTypeDef],  # (12)
    workflowExecutionCancelRequestedEventAttributes: NotRequired[WorkflowExecutionCancelRequestedEventAttributesTypeDef],  # (13)
    decisionTaskScheduledEventAttributes: NotRequired[DecisionTaskScheduledEventAttributesTypeDef],  # (14)
    decisionTaskStartedEventAttributes: NotRequired[DecisionTaskStartedEventAttributesTypeDef],  # (15)
    decisionTaskCompletedEventAttributes: NotRequired[DecisionTaskCompletedEventAttributesTypeDef],  # (16)
    decisionTaskTimedOutEventAttributes: NotRequired[DecisionTaskTimedOutEventAttributesTypeDef],  # (17)
    activityTaskScheduledEventAttributes: NotRequired[ActivityTaskScheduledEventAttributesTypeDef],  # (18)
    activityTaskStartedEventAttributes: NotRequired[ActivityTaskStartedEventAttributesTypeDef],  # (19)
    activityTaskCompletedEventAttributes: NotRequired[ActivityTaskCompletedEventAttributesTypeDef],  # (20)
    activityTaskFailedEventAttributes: NotRequired[ActivityTaskFailedEventAttributesTypeDef],  # (21)
    activityTaskTimedOutEventAttributes: NotRequired[ActivityTaskTimedOutEventAttributesTypeDef],  # (22)
    activityTaskCanceledEventAttributes: NotRequired[ActivityTaskCanceledEventAttributesTypeDef],  # (23)
    activityTaskCancelRequestedEventAttributes: NotRequired[ActivityTaskCancelRequestedEventAttributesTypeDef],  # (24)
    workflowExecutionSignaledEventAttributes: NotRequired[WorkflowExecutionSignaledEventAttributesTypeDef],  # (25)
    markerRecordedEventAttributes: NotRequired[MarkerRecordedEventAttributesTypeDef],  # (26)
    recordMarkerFailedEventAttributes: NotRequired[RecordMarkerFailedEventAttributesTypeDef],  # (27)
    timerStartedEventAttributes: NotRequired[TimerStartedEventAttributesTypeDef],  # (28)
    timerFiredEventAttributes: NotRequired[TimerFiredEventAttributesTypeDef],  # (29)
    timerCanceledEventAttributes: NotRequired[TimerCanceledEventAttributesTypeDef],  # (30)
    startChildWorkflowExecutionInitiatedEventAttributes: NotRequired[StartChildWorkflowExecutionInitiatedEventAttributesTypeDef],  # (31)
    childWorkflowExecutionStartedEventAttributes: NotRequired[ChildWorkflowExecutionStartedEventAttributesTypeDef],  # (32)
    childWorkflowExecutionCompletedEventAttributes: NotRequired[ChildWorkflowExecutionCompletedEventAttributesTypeDef],  # (33)
    childWorkflowExecutionFailedEventAttributes: NotRequired[ChildWorkflowExecutionFailedEventAttributesTypeDef],  # (34)
    childWorkflowExecutionTimedOutEventAttributes: NotRequired[ChildWorkflowExecutionTimedOutEventAttributesTypeDef],  # (35)
    childWorkflowExecutionCanceledEventAttributes: NotRequired[ChildWorkflowExecutionCanceledEventAttributesTypeDef],  # (36)
    childWorkflowExecutionTerminatedEventAttributes: NotRequired[ChildWorkflowExecutionTerminatedEventAttributesTypeDef],  # (37)
    signalExternalWorkflowExecutionInitiatedEventAttributes: NotRequired[SignalExternalWorkflowExecutionInitiatedEventAttributesTypeDef],  # (38)
    externalWorkflowExecutionSignaledEventAttributes: NotRequired[ExternalWorkflowExecutionSignaledEventAttributesTypeDef],  # (39)
    signalExternalWorkflowExecutionFailedEventAttributes: NotRequired[SignalExternalWorkflowExecutionFailedEventAttributesTypeDef],  # (40)
    externalWorkflowExecutionCancelRequestedEventAttributes: NotRequired[ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef],  # (41)
    requestCancelExternalWorkflowExecutionInitiatedEventAttributes: NotRequired[RequestCancelExternalWorkflowExecutionInitiatedEventAttributesTypeDef],  # (42)
    requestCancelExternalWorkflowExecutionFailedEventAttributes: NotRequired[RequestCancelExternalWorkflowExecutionFailedEventAttributesTypeDef],  # (43)
    scheduleActivityTaskFailedEventAttributes: NotRequired[ScheduleActivityTaskFailedEventAttributesTypeDef],  # (44)
    requestCancelActivityTaskFailedEventAttributes: NotRequired[RequestCancelActivityTaskFailedEventAttributesTypeDef],  # (45)
    startTimerFailedEventAttributes: NotRequired[StartTimerFailedEventAttributesTypeDef],  # (46)
    cancelTimerFailedEventAttributes: NotRequired[CancelTimerFailedEventAttributesTypeDef],  # (47)
    startChildWorkflowExecutionFailedEventAttributes: NotRequired[StartChildWorkflowExecutionFailedEventAttributesTypeDef],  # (48)
    lambdaFunctionScheduledEventAttributes: NotRequired[LambdaFunctionScheduledEventAttributesTypeDef],  # (49)
    lambdaFunctionStartedEventAttributes: NotRequired[LambdaFunctionStartedEventAttributesTypeDef],  # (50)
    lambdaFunctionCompletedEventAttributes: NotRequired[LambdaFunctionCompletedEventAttributesTypeDef],  # (51)
    lambdaFunctionFailedEventAttributes: NotRequired[LambdaFunctionFailedEventAttributesTypeDef],  # (52)
    lambdaFunctionTimedOutEventAttributes: NotRequired[LambdaFunctionTimedOutEventAttributesTypeDef],  # (53)
    scheduleLambdaFunctionFailedEventAttributes: NotRequired[ScheduleLambdaFunctionFailedEventAttributesTypeDef],  # (54)
    startLambdaFunctionFailedEventAttributes: NotRequired[StartLambdaFunctionFailedEventAttributesTypeDef],  # (55)
  1. See EventTypeType
  2. See WorkflowExecutionStartedEventAttributesTypeDef
  3. See WorkflowExecutionCompletedEventAttributesTypeDef
  4. See CompleteWorkflowExecutionFailedEventAttributesTypeDef
  5. See WorkflowExecutionFailedEventAttributesTypeDef
  6. See FailWorkflowExecutionFailedEventAttributesTypeDef
  7. See WorkflowExecutionTimedOutEventAttributesTypeDef
  8. See WorkflowExecutionCanceledEventAttributesTypeDef
  9. See CancelWorkflowExecutionFailedEventAttributesTypeDef
  10. See WorkflowExecutionContinuedAsNewEventAttributesTypeDef
  11. See ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef
  12. See WorkflowExecutionTerminatedEventAttributesTypeDef
  13. See WorkflowExecutionCancelRequestedEventAttributesTypeDef
  14. See DecisionTaskScheduledEventAttributesTypeDef
  15. See DecisionTaskStartedEventAttributesTypeDef
  16. See DecisionTaskCompletedEventAttributesTypeDef
  17. See DecisionTaskTimedOutEventAttributesTypeDef
  18. See ActivityTaskScheduledEventAttributesTypeDef
  19. See ActivityTaskStartedEventAttributesTypeDef
  20. See ActivityTaskCompletedEventAttributesTypeDef
  21. See ActivityTaskFailedEventAttributesTypeDef
  22. See ActivityTaskTimedOutEventAttributesTypeDef
  23. See ActivityTaskCanceledEventAttributesTypeDef
  24. See ActivityTaskCancelRequestedEventAttributesTypeDef
  25. See WorkflowExecutionSignaledEventAttributesTypeDef
  26. See MarkerRecordedEventAttributesTypeDef
  27. See RecordMarkerFailedEventAttributesTypeDef
  28. See TimerStartedEventAttributesTypeDef
  29. See TimerFiredEventAttributesTypeDef
  30. See TimerCanceledEventAttributesTypeDef
  31. See StartChildWorkflowExecutionInitiatedEventAttributesTypeDef
  32. See ChildWorkflowExecutionStartedEventAttributesTypeDef
  33. See ChildWorkflowExecutionCompletedEventAttributesTypeDef
  34. See ChildWorkflowExecutionFailedEventAttributesTypeDef
  35. See ChildWorkflowExecutionTimedOutEventAttributesTypeDef
  36. See ChildWorkflowExecutionCanceledEventAttributesTypeDef
  37. See ChildWorkflowExecutionTerminatedEventAttributesTypeDef
  38. See SignalExternalWorkflowExecutionInitiatedEventAttributesTypeDef
  39. See ExternalWorkflowExecutionSignaledEventAttributesTypeDef
  40. See SignalExternalWorkflowExecutionFailedEventAttributesTypeDef
  41. See ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef
  42. See RequestCancelExternalWorkflowExecutionInitiatedEventAttributesTypeDef
  43. See RequestCancelExternalWorkflowExecutionFailedEventAttributesTypeDef
  44. See ScheduleActivityTaskFailedEventAttributesTypeDef
  45. See RequestCancelActivityTaskFailedEventAttributesTypeDef
  46. See StartTimerFailedEventAttributesTypeDef
  47. See CancelTimerFailedEventAttributesTypeDef
  48. See StartChildWorkflowExecutionFailedEventAttributesTypeDef
  49. See LambdaFunctionScheduledEventAttributesTypeDef
  50. See LambdaFunctionStartedEventAttributesTypeDef
  51. See LambdaFunctionCompletedEventAttributesTypeDef
  52. See LambdaFunctionFailedEventAttributesTypeDef
  53. See LambdaFunctionTimedOutEventAttributesTypeDef
  54. See ScheduleLambdaFunctionFailedEventAttributesTypeDef
  55. See StartLambdaFunctionFailedEventAttributesTypeDef

WorkflowTypeDetailTypeDef#

# WorkflowTypeDetailTypeDef definition

class WorkflowTypeDetailTypeDef(TypedDict):
    typeInfo: WorkflowTypeInfoTypeDef,  # (1)
    configuration: WorkflowTypeConfigurationTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See WorkflowTypeInfoTypeDef
  2. See WorkflowTypeConfigurationTypeDef
  3. See ResponseMetadataTypeDef

WorkflowTypeInfosTypeDef#

# WorkflowTypeInfosTypeDef definition

class WorkflowTypeInfosTypeDef(TypedDict):
    typeInfos: List[WorkflowTypeInfoTypeDef],  # (1)
    nextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WorkflowTypeInfoTypeDef
  2. See ResponseMetadataTypeDef

CountClosedWorkflowExecutionsInputRequestTypeDef#

# CountClosedWorkflowExecutionsInputRequestTypeDef definition

class CountClosedWorkflowExecutionsInputRequestTypeDef(TypedDict):
    domain: str,
    startTimeFilter: NotRequired[ExecutionTimeFilterTypeDef],  # (1)
    closeTimeFilter: NotRequired[ExecutionTimeFilterTypeDef],  # (1)
    executionFilter: NotRequired[WorkflowExecutionFilterTypeDef],  # (3)
    typeFilter: NotRequired[WorkflowTypeFilterTypeDef],  # (4)
    tagFilter: NotRequired[TagFilterTypeDef],  # (5)
    closeStatusFilter: NotRequired[CloseStatusFilterTypeDef],  # (6)
  1. See ExecutionTimeFilterTypeDef
  2. See ExecutionTimeFilterTypeDef
  3. See WorkflowExecutionFilterTypeDef
  4. See WorkflowTypeFilterTypeDef
  5. See TagFilterTypeDef
  6. See CloseStatusFilterTypeDef

CountOpenWorkflowExecutionsInputRequestTypeDef#

# CountOpenWorkflowExecutionsInputRequestTypeDef definition

class CountOpenWorkflowExecutionsInputRequestTypeDef(TypedDict):
    domain: str,
    startTimeFilter: ExecutionTimeFilterTypeDef,  # (1)
    typeFilter: NotRequired[WorkflowTypeFilterTypeDef],  # (2)
    tagFilter: NotRequired[TagFilterTypeDef],  # (3)
    executionFilter: NotRequired[WorkflowExecutionFilterTypeDef],  # (4)
  1. See ExecutionTimeFilterTypeDef
  2. See WorkflowTypeFilterTypeDef
  3. See TagFilterTypeDef
  4. See WorkflowExecutionFilterTypeDef

ListClosedWorkflowExecutionsInputListClosedWorkflowExecutionsPaginateTypeDef#

# ListClosedWorkflowExecutionsInputListClosedWorkflowExecutionsPaginateTypeDef definition

class ListClosedWorkflowExecutionsInputListClosedWorkflowExecutionsPaginateTypeDef(TypedDict):
    domain: str,
    startTimeFilter: NotRequired[ExecutionTimeFilterTypeDef],  # (1)
    closeTimeFilter: NotRequired[ExecutionTimeFilterTypeDef],  # (1)
    executionFilter: NotRequired[WorkflowExecutionFilterTypeDef],  # (3)
    closeStatusFilter: NotRequired[CloseStatusFilterTypeDef],  # (4)
    typeFilter: NotRequired[WorkflowTypeFilterTypeDef],  # (5)
    tagFilter: NotRequired[TagFilterTypeDef],  # (6)
    reverseOrder: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (7)
  1. See ExecutionTimeFilterTypeDef
  2. See ExecutionTimeFilterTypeDef
  3. See WorkflowExecutionFilterTypeDef
  4. See CloseStatusFilterTypeDef
  5. See WorkflowTypeFilterTypeDef
  6. See TagFilterTypeDef
  7. See PaginatorConfigTypeDef

ListClosedWorkflowExecutionsInputRequestTypeDef#

# ListClosedWorkflowExecutionsInputRequestTypeDef definition

class ListClosedWorkflowExecutionsInputRequestTypeDef(TypedDict):
    domain: str,
    startTimeFilter: NotRequired[ExecutionTimeFilterTypeDef],  # (1)
    closeTimeFilter: NotRequired[ExecutionTimeFilterTypeDef],  # (1)
    executionFilter: NotRequired[WorkflowExecutionFilterTypeDef],  # (3)
    closeStatusFilter: NotRequired[CloseStatusFilterTypeDef],  # (4)
    typeFilter: NotRequired[WorkflowTypeFilterTypeDef],  # (5)
    tagFilter: NotRequired[TagFilterTypeDef],  # (6)
    nextPageToken: NotRequired[str],
    maximumPageSize: NotRequired[int],
    reverseOrder: NotRequired[bool],
  1. See ExecutionTimeFilterTypeDef
  2. See ExecutionTimeFilterTypeDef
  3. See WorkflowExecutionFilterTypeDef
  4. See CloseStatusFilterTypeDef
  5. See WorkflowTypeFilterTypeDef
  6. See TagFilterTypeDef

ListOpenWorkflowExecutionsInputListOpenWorkflowExecutionsPaginateTypeDef#

# ListOpenWorkflowExecutionsInputListOpenWorkflowExecutionsPaginateTypeDef definition

class ListOpenWorkflowExecutionsInputListOpenWorkflowExecutionsPaginateTypeDef(TypedDict):
    domain: str,
    startTimeFilter: ExecutionTimeFilterTypeDef,  # (1)
    typeFilter: NotRequired[WorkflowTypeFilterTypeDef],  # (2)
    tagFilter: NotRequired[TagFilterTypeDef],  # (3)
    reverseOrder: NotRequired[bool],
    executionFilter: NotRequired[WorkflowExecutionFilterTypeDef],  # (4)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (5)
  1. See ExecutionTimeFilterTypeDef
  2. See WorkflowTypeFilterTypeDef
  3. See TagFilterTypeDef
  4. See WorkflowExecutionFilterTypeDef
  5. See PaginatorConfigTypeDef

ListOpenWorkflowExecutionsInputRequestTypeDef#

# ListOpenWorkflowExecutionsInputRequestTypeDef definition

class ListOpenWorkflowExecutionsInputRequestTypeDef(TypedDict):
    domain: str,
    startTimeFilter: ExecutionTimeFilterTypeDef,  # (1)
    typeFilter: NotRequired[WorkflowTypeFilterTypeDef],  # (2)
    tagFilter: NotRequired[TagFilterTypeDef],  # (3)
    nextPageToken: NotRequired[str],
    maximumPageSize: NotRequired[int],
    reverseOrder: NotRequired[bool],
    executionFilter: NotRequired[WorkflowExecutionFilterTypeDef],  # (4)
  1. See ExecutionTimeFilterTypeDef
  2. See WorkflowTypeFilterTypeDef
  3. See TagFilterTypeDef
  4. See WorkflowExecutionFilterTypeDef

RespondDecisionTaskCompletedInputRequestTypeDef#

# RespondDecisionTaskCompletedInputRequestTypeDef definition

class RespondDecisionTaskCompletedInputRequestTypeDef(TypedDict):
    taskToken: str,
    decisions: NotRequired[Sequence[DecisionTypeDef]],  # (1)
    executionContext: NotRequired[str],
    taskList: NotRequired[TaskListTypeDef],  # (2)
    taskListScheduleToStartTimeout: NotRequired[str],
  1. See DecisionTypeDef
  2. See TaskListTypeDef

DecisionTaskTypeDef#

# DecisionTaskTypeDef definition

class DecisionTaskTypeDef(TypedDict):
    taskToken: str,
    startedEventId: int,
    workflowExecution: WorkflowExecutionTypeDef,  # (1)
    workflowType: WorkflowTypeTypeDef,  # (2)
    events: List[HistoryEventTypeDef],  # (3)
    nextPageToken: str,
    previousStartedEventId: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See WorkflowExecutionTypeDef
  2. See WorkflowTypeTypeDef
  3. See HistoryEventTypeDef
  4. See ResponseMetadataTypeDef

HistoryTypeDef#

# HistoryTypeDef definition

class HistoryTypeDef(TypedDict):
    events: List[HistoryEventTypeDef],  # (1)
    nextPageToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HistoryEventTypeDef
  2. See ResponseMetadataTypeDef