Skip to content

Typed dictionaries#

Index > SWF > Typed dictionaries

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

ActivityTaskCancelRequestedEventAttributesTypeDef#

# ActivityTaskCancelRequestedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTaskCancelRequestedEventAttributesTypeDef

def get_value() -> ActivityTaskCancelRequestedEventAttributesTypeDef:
    return {
        "decisionTaskCompletedEventId": ...,
        "activityId": ...,
    }
# ActivityTaskCancelRequestedEventAttributesTypeDef definition

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

ActivityTaskCanceledEventAttributesTypeDef#

# ActivityTaskCanceledEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTaskCanceledEventAttributesTypeDef

def get_value() -> ActivityTaskCanceledEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
        "startedEventId": ...,
    }
# ActivityTaskCanceledEventAttributesTypeDef definition

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

ActivityTaskCompletedEventAttributesTypeDef#

# ActivityTaskCompletedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTaskCompletedEventAttributesTypeDef

def get_value() -> ActivityTaskCompletedEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
        "startedEventId": ...,
    }
# ActivityTaskCompletedEventAttributesTypeDef definition

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

ActivityTaskFailedEventAttributesTypeDef#

# ActivityTaskFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTaskFailedEventAttributesTypeDef

def get_value() -> ActivityTaskFailedEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
        "startedEventId": ...,
    }
# ActivityTaskFailedEventAttributesTypeDef definition

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

ActivityTypeTypeDef#

# ActivityTypeTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTypeTypeDef

def get_value() -> ActivityTypeTypeDef:
    return {
        "name": ...,
        "version": ...,
    }
# ActivityTypeTypeDef definition

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

TaskListTypeDef#

# TaskListTypeDef usage example

from mypy_boto3_swf.type_defs import TaskListTypeDef

def get_value() -> TaskListTypeDef:
    return {
        "name": ...,
    }
# TaskListTypeDef definition

class TaskListTypeDef(TypedDict):
    name: str,

ActivityTaskStartedEventAttributesTypeDef#

# ActivityTaskStartedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTaskStartedEventAttributesTypeDef

def get_value() -> ActivityTaskStartedEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
    }
# ActivityTaskStartedEventAttributesTypeDef definition

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

ActivityTaskStatusTypeDef#

# ActivityTaskStatusTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTaskStatusTypeDef

def get_value() -> ActivityTaskStatusTypeDef:
    return {
        "cancelRequested": ...,
        "ResponseMetadata": ...,
    }
# ActivityTaskStatusTypeDef definition

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

ActivityTaskTimedOutEventAttributesTypeDef#

# ActivityTaskTimedOutEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTaskTimedOutEventAttributesTypeDef

def get_value() -> ActivityTaskTimedOutEventAttributesTypeDef:
    return {
        "timeoutType": ...,
        "scheduledEventId": ...,
        "startedEventId": ...,
    }
# ActivityTaskTimedOutEventAttributesTypeDef definition

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

WorkflowExecutionTypeDef#

# WorkflowExecutionTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionTypeDef

def get_value() -> WorkflowExecutionTypeDef:
    return {
        "workflowId": ...,
        "runId": ...,
    }
# WorkflowExecutionTypeDef definition

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

CancelTimerDecisionAttributesTypeDef#

# CancelTimerDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import CancelTimerDecisionAttributesTypeDef

def get_value() -> CancelTimerDecisionAttributesTypeDef:
    return {
        "timerId": ...,
    }
# CancelTimerDecisionAttributesTypeDef definition

class CancelTimerDecisionAttributesTypeDef(TypedDict):
    timerId: str,

CancelTimerFailedEventAttributesTypeDef#

# CancelTimerFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import CancelTimerFailedEventAttributesTypeDef

def get_value() -> CancelTimerFailedEventAttributesTypeDef:
    return {
        "timerId": ...,
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# CancelTimerFailedEventAttributesTypeDef definition

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

CancelWorkflowExecutionDecisionAttributesTypeDef#

# CancelWorkflowExecutionDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import CancelWorkflowExecutionDecisionAttributesTypeDef

def get_value() -> CancelWorkflowExecutionDecisionAttributesTypeDef:
    return {
        "details": ...,
    }
# CancelWorkflowExecutionDecisionAttributesTypeDef definition

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

CancelWorkflowExecutionFailedEventAttributesTypeDef#

# CancelWorkflowExecutionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import CancelWorkflowExecutionFailedEventAttributesTypeDef

def get_value() -> CancelWorkflowExecutionFailedEventAttributesTypeDef:
    return {
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# CancelWorkflowExecutionFailedEventAttributesTypeDef definition

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

WorkflowTypeTypeDef#

# WorkflowTypeTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowTypeTypeDef

def get_value() -> WorkflowTypeTypeDef:
    return {
        "name": ...,
        "version": ...,
    }
# WorkflowTypeTypeDef definition

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

CloseStatusFilterTypeDef#

# CloseStatusFilterTypeDef usage example

from mypy_boto3_swf.type_defs import CloseStatusFilterTypeDef

def get_value() -> CloseStatusFilterTypeDef:
    return {
        "status": ...,
    }
# CloseStatusFilterTypeDef definition

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

CompleteWorkflowExecutionDecisionAttributesTypeDef#

# CompleteWorkflowExecutionDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import CompleteWorkflowExecutionDecisionAttributesTypeDef

def get_value() -> CompleteWorkflowExecutionDecisionAttributesTypeDef:
    return {
        "result": ...,
    }
# CompleteWorkflowExecutionDecisionAttributesTypeDef definition

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

CompleteWorkflowExecutionFailedEventAttributesTypeDef#

# CompleteWorkflowExecutionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import CompleteWorkflowExecutionFailedEventAttributesTypeDef

def get_value() -> CompleteWorkflowExecutionFailedEventAttributesTypeDef:
    return {
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# CompleteWorkflowExecutionFailedEventAttributesTypeDef definition

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

ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef#

# ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef

def get_value() -> ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef:
    return {
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# ContinueAsNewWorkflowExecutionFailedEventAttributesTypeDef definition

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

ExecutionTimeFilterTypeDef#

# ExecutionTimeFilterTypeDef usage example

from mypy_boto3_swf.type_defs import ExecutionTimeFilterTypeDef

def get_value() -> ExecutionTimeFilterTypeDef:
    return {
        "oldestDate": ...,
    }
# ExecutionTimeFilterTypeDef definition

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

TagFilterTypeDef#

# TagFilterTypeDef usage example

from mypy_boto3_swf.type_defs import TagFilterTypeDef

def get_value() -> TagFilterTypeDef:
    return {
        "tag": ...,
    }
# TagFilterTypeDef definition

class TagFilterTypeDef(TypedDict):
    tag: str,

WorkflowExecutionFilterTypeDef#

# WorkflowExecutionFilterTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionFilterTypeDef

def get_value() -> WorkflowExecutionFilterTypeDef:
    return {
        "workflowId": ...,
    }
# WorkflowExecutionFilterTypeDef definition

class WorkflowExecutionFilterTypeDef(TypedDict):
    workflowId: str,

WorkflowTypeFilterTypeDef#

# WorkflowTypeFilterTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowTypeFilterTypeDef

def get_value() -> WorkflowTypeFilterTypeDef:
    return {
        "name": ...,
    }
# WorkflowTypeFilterTypeDef definition

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

DecisionTaskCompletedEventAttributesTypeDef#

# DecisionTaskCompletedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import DecisionTaskCompletedEventAttributesTypeDef

def get_value() -> DecisionTaskCompletedEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
        "startedEventId": ...,
    }
# DecisionTaskCompletedEventAttributesTypeDef definition

class DecisionTaskCompletedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,
    startedEventId: int,
    executionContext: NotRequired[str],

DecisionTaskStartedEventAttributesTypeDef#

# DecisionTaskStartedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import DecisionTaskStartedEventAttributesTypeDef

def get_value() -> DecisionTaskStartedEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
    }
# DecisionTaskStartedEventAttributesTypeDef definition

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

DecisionTaskTimedOutEventAttributesTypeDef#

# DecisionTaskTimedOutEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import DecisionTaskTimedOutEventAttributesTypeDef

def get_value() -> DecisionTaskTimedOutEventAttributesTypeDef:
    return {
        "timeoutType": ...,
        "scheduledEventId": ...,
        "startedEventId": ...,
    }
# DecisionTaskTimedOutEventAttributesTypeDef definition

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

FailWorkflowExecutionDecisionAttributesTypeDef#

# FailWorkflowExecutionDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import FailWorkflowExecutionDecisionAttributesTypeDef

def get_value() -> FailWorkflowExecutionDecisionAttributesTypeDef:
    return {
        "reason": ...,
    }
# FailWorkflowExecutionDecisionAttributesTypeDef definition

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

RecordMarkerDecisionAttributesTypeDef#

# RecordMarkerDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import RecordMarkerDecisionAttributesTypeDef

def get_value() -> RecordMarkerDecisionAttributesTypeDef:
    return {
        "markerName": ...,
    }
# RecordMarkerDecisionAttributesTypeDef definition

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

RequestCancelActivityTaskDecisionAttributesTypeDef#

# RequestCancelActivityTaskDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import RequestCancelActivityTaskDecisionAttributesTypeDef

def get_value() -> RequestCancelActivityTaskDecisionAttributesTypeDef:
    return {
        "activityId": ...,
    }
# RequestCancelActivityTaskDecisionAttributesTypeDef definition

class RequestCancelActivityTaskDecisionAttributesTypeDef(TypedDict):
    activityId: str,

RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef#

# RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef

def get_value() -> RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef:
    return {
        "workflowId": ...,
    }
# RequestCancelExternalWorkflowExecutionDecisionAttributesTypeDef definition

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

ScheduleLambdaFunctionDecisionAttributesTypeDef#

# ScheduleLambdaFunctionDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ScheduleLambdaFunctionDecisionAttributesTypeDef

def get_value() -> ScheduleLambdaFunctionDecisionAttributesTypeDef:
    return {
        "id": ...,
        "name": ...,
    }
# ScheduleLambdaFunctionDecisionAttributesTypeDef definition

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

SignalExternalWorkflowExecutionDecisionAttributesTypeDef#

# SignalExternalWorkflowExecutionDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import SignalExternalWorkflowExecutionDecisionAttributesTypeDef

def get_value() -> SignalExternalWorkflowExecutionDecisionAttributesTypeDef:
    return {
        "workflowId": ...,
        "signalName": ...,
    }
# SignalExternalWorkflowExecutionDecisionAttributesTypeDef definition

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

StartTimerDecisionAttributesTypeDef#

# StartTimerDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import StartTimerDecisionAttributesTypeDef

def get_value() -> StartTimerDecisionAttributesTypeDef:
    return {
        "timerId": ...,
        "startToFireTimeout": ...,
    }
# StartTimerDecisionAttributesTypeDef definition

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

DeprecateDomainInputRequestTypeDef#

# DeprecateDomainInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import DeprecateDomainInputRequestTypeDef

def get_value() -> DeprecateDomainInputRequestTypeDef:
    return {
        "name": ...,
    }
# DeprecateDomainInputRequestTypeDef definition

class DeprecateDomainInputRequestTypeDef(TypedDict):
    name: str,

DescribeDomainInputRequestTypeDef#

# DescribeDomainInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import DescribeDomainInputRequestTypeDef

def get_value() -> DescribeDomainInputRequestTypeDef:
    return {
        "name": ...,
    }
# DescribeDomainInputRequestTypeDef definition

class DescribeDomainInputRequestTypeDef(TypedDict):
    name: str,

DomainConfigurationTypeDef#

# DomainConfigurationTypeDef usage example

from mypy_boto3_swf.type_defs import DomainConfigurationTypeDef

def get_value() -> DomainConfigurationTypeDef:
    return {
        "workflowExecutionRetentionPeriodInDays": ...,
    }
# DomainConfigurationTypeDef definition

class DomainConfigurationTypeDef(TypedDict):
    workflowExecutionRetentionPeriodInDays: str,

DomainInfoTypeDef#

# DomainInfoTypeDef usage example

from mypy_boto3_swf.type_defs import DomainInfoTypeDef

def get_value() -> DomainInfoTypeDef:
    return {
        "name": ...,
        "status": ...,
    }
# DomainInfoTypeDef definition

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

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef usage example

from mypy_boto3_swf.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
# EmptyResponseMetadataTypeDef definition

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

FailWorkflowExecutionFailedEventAttributesTypeDef#

# FailWorkflowExecutionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import FailWorkflowExecutionFailedEventAttributesTypeDef

def get_value() -> FailWorkflowExecutionFailedEventAttributesTypeDef:
    return {
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# FailWorkflowExecutionFailedEventAttributesTypeDef definition

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

LambdaFunctionCompletedEventAttributesTypeDef#

# LambdaFunctionCompletedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import LambdaFunctionCompletedEventAttributesTypeDef

def get_value() -> LambdaFunctionCompletedEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
        "startedEventId": ...,
    }
# LambdaFunctionCompletedEventAttributesTypeDef definition

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

LambdaFunctionFailedEventAttributesTypeDef#

# LambdaFunctionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import LambdaFunctionFailedEventAttributesTypeDef

def get_value() -> LambdaFunctionFailedEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
        "startedEventId": ...,
    }
# LambdaFunctionFailedEventAttributesTypeDef definition

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

LambdaFunctionScheduledEventAttributesTypeDef#

# LambdaFunctionScheduledEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import LambdaFunctionScheduledEventAttributesTypeDef

def get_value() -> LambdaFunctionScheduledEventAttributesTypeDef:
    return {
        "id": ...,
        "name": ...,
        "decisionTaskCompletedEventId": ...,
    }
# LambdaFunctionScheduledEventAttributesTypeDef definition

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

LambdaFunctionStartedEventAttributesTypeDef#

# LambdaFunctionStartedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import LambdaFunctionStartedEventAttributesTypeDef

def get_value() -> LambdaFunctionStartedEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
    }
# LambdaFunctionStartedEventAttributesTypeDef definition

class LambdaFunctionStartedEventAttributesTypeDef(TypedDict):
    scheduledEventId: int,

LambdaFunctionTimedOutEventAttributesTypeDef#

# LambdaFunctionTimedOutEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import LambdaFunctionTimedOutEventAttributesTypeDef

def get_value() -> LambdaFunctionTimedOutEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
        "startedEventId": ...,
    }
# LambdaFunctionTimedOutEventAttributesTypeDef definition

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

MarkerRecordedEventAttributesTypeDef#

# MarkerRecordedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import MarkerRecordedEventAttributesTypeDef

def get_value() -> MarkerRecordedEventAttributesTypeDef:
    return {
        "markerName": ...,
        "decisionTaskCompletedEventId": ...,
    }
# MarkerRecordedEventAttributesTypeDef definition

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

RecordMarkerFailedEventAttributesTypeDef#

# RecordMarkerFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import RecordMarkerFailedEventAttributesTypeDef

def get_value() -> RecordMarkerFailedEventAttributesTypeDef:
    return {
        "markerName": ...,
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# RecordMarkerFailedEventAttributesTypeDef definition

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

RequestCancelActivityTaskFailedEventAttributesTypeDef#

# RequestCancelActivityTaskFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import RequestCancelActivityTaskFailedEventAttributesTypeDef

def get_value() -> RequestCancelActivityTaskFailedEventAttributesTypeDef:
    return {
        "activityId": ...,
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# RequestCancelActivityTaskFailedEventAttributesTypeDef definition

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

RequestCancelExternalWorkflowExecutionFailedEventAttributesTypeDef#

# RequestCancelExternalWorkflowExecutionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import RequestCancelExternalWorkflowExecutionFailedEventAttributesTypeDef

def get_value() -> RequestCancelExternalWorkflowExecutionFailedEventAttributesTypeDef:
    return {
        "workflowId": ...,
        "cause": ...,
        "initiatedEventId": ...,
        "decisionTaskCompletedEventId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import RequestCancelExternalWorkflowExecutionInitiatedEventAttributesTypeDef

def get_value() -> RequestCancelExternalWorkflowExecutionInitiatedEventAttributesTypeDef:
    return {
        "workflowId": ...,
        "decisionTaskCompletedEventId": ...,
    }
# RequestCancelExternalWorkflowExecutionInitiatedEventAttributesTypeDef definition

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

ScheduleLambdaFunctionFailedEventAttributesTypeDef#

# ScheduleLambdaFunctionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ScheduleLambdaFunctionFailedEventAttributesTypeDef

def get_value() -> ScheduleLambdaFunctionFailedEventAttributesTypeDef:
    return {
        "id": ...,
        "name": ...,
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# ScheduleLambdaFunctionFailedEventAttributesTypeDef definition

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

SignalExternalWorkflowExecutionFailedEventAttributesTypeDef#

# SignalExternalWorkflowExecutionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import SignalExternalWorkflowExecutionFailedEventAttributesTypeDef

def get_value() -> SignalExternalWorkflowExecutionFailedEventAttributesTypeDef:
    return {
        "workflowId": ...,
        "cause": ...,
        "initiatedEventId": ...,
        "decisionTaskCompletedEventId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import SignalExternalWorkflowExecutionInitiatedEventAttributesTypeDef

def get_value() -> SignalExternalWorkflowExecutionInitiatedEventAttributesTypeDef:
    return {
        "workflowId": ...,
        "signalName": ...,
        "decisionTaskCompletedEventId": ...,
    }
# SignalExternalWorkflowExecutionInitiatedEventAttributesTypeDef definition

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

StartLambdaFunctionFailedEventAttributesTypeDef#

# StartLambdaFunctionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import StartLambdaFunctionFailedEventAttributesTypeDef

def get_value() -> StartLambdaFunctionFailedEventAttributesTypeDef:
    return {
        "scheduledEventId": ...,
    }
# StartLambdaFunctionFailedEventAttributesTypeDef definition

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

StartTimerFailedEventAttributesTypeDef#

# StartTimerFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import StartTimerFailedEventAttributesTypeDef

def get_value() -> StartTimerFailedEventAttributesTypeDef:
    return {
        "timerId": ...,
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# StartTimerFailedEventAttributesTypeDef definition

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

TimerCanceledEventAttributesTypeDef#

# TimerCanceledEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import TimerCanceledEventAttributesTypeDef

def get_value() -> TimerCanceledEventAttributesTypeDef:
    return {
        "timerId": ...,
        "startedEventId": ...,
        "decisionTaskCompletedEventId": ...,
    }
# TimerCanceledEventAttributesTypeDef definition

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

TimerFiredEventAttributesTypeDef#

# TimerFiredEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import TimerFiredEventAttributesTypeDef

def get_value() -> TimerFiredEventAttributesTypeDef:
    return {
        "timerId": ...,
        "startedEventId": ...,
    }
# TimerFiredEventAttributesTypeDef definition

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

TimerStartedEventAttributesTypeDef#

# TimerStartedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import TimerStartedEventAttributesTypeDef

def get_value() -> TimerStartedEventAttributesTypeDef:
    return {
        "timerId": ...,
        "startToFireTimeout": ...,
        "decisionTaskCompletedEventId": ...,
    }
# TimerStartedEventAttributesTypeDef definition

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

WorkflowExecutionCanceledEventAttributesTypeDef#

# WorkflowExecutionCanceledEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionCanceledEventAttributesTypeDef

def get_value() -> WorkflowExecutionCanceledEventAttributesTypeDef:
    return {
        "decisionTaskCompletedEventId": ...,
    }
# WorkflowExecutionCanceledEventAttributesTypeDef definition

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

WorkflowExecutionCompletedEventAttributesTypeDef#

# WorkflowExecutionCompletedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionCompletedEventAttributesTypeDef

def get_value() -> WorkflowExecutionCompletedEventAttributesTypeDef:
    return {
        "decisionTaskCompletedEventId": ...,
    }
# WorkflowExecutionCompletedEventAttributesTypeDef definition

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

WorkflowExecutionFailedEventAttributesTypeDef#

# WorkflowExecutionFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionFailedEventAttributesTypeDef

def get_value() -> WorkflowExecutionFailedEventAttributesTypeDef:
    return {
        "decisionTaskCompletedEventId": ...,
    }
# WorkflowExecutionFailedEventAttributesTypeDef definition

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

WorkflowExecutionTerminatedEventAttributesTypeDef#

# WorkflowExecutionTerminatedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionTerminatedEventAttributesTypeDef

def get_value() -> WorkflowExecutionTerminatedEventAttributesTypeDef:
    return {
        "childPolicy": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionTimedOutEventAttributesTypeDef

def get_value() -> WorkflowExecutionTimedOutEventAttributesTypeDef:
    return {
        "timeoutType": ...,
        "childPolicy": ...,
    }
# WorkflowExecutionTimedOutEventAttributesTypeDef definition

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

ListActivityTypesInputListActivityTypesPaginateTypeDef#

# ListActivityTypesInputListActivityTypesPaginateTypeDef usage example

from mypy_boto3_swf.type_defs import ListActivityTypesInputListActivityTypesPaginateTypeDef

def get_value() -> ListActivityTypesInputListActivityTypesPaginateTypeDef:
    return {
        "domain": ...,
        "registrationStatus": ...,
    }
# 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

ListActivityTypesInputRequestTypeDef#

# ListActivityTypesInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import ListActivityTypesInputRequestTypeDef

def get_value() -> ListActivityTypesInputRequestTypeDef:
    return {
        "domain": ...,
        "registrationStatus": ...,
    }
# 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

ListDomainsInputListDomainsPaginateTypeDef#

# ListDomainsInputListDomainsPaginateTypeDef usage example

from mypy_boto3_swf.type_defs import ListDomainsInputListDomainsPaginateTypeDef

def get_value() -> ListDomainsInputListDomainsPaginateTypeDef:
    return {
        "registrationStatus": ...,
    }
# ListDomainsInputListDomainsPaginateTypeDef definition

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

ListDomainsInputRequestTypeDef#

# ListDomainsInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import ListDomainsInputRequestTypeDef

def get_value() -> ListDomainsInputRequestTypeDef:
    return {
        "registrationStatus": ...,
    }
# ListDomainsInputRequestTypeDef definition

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

ListTagsForResourceInputRequestTypeDef#

# ListTagsForResourceInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import ListTagsForResourceInputRequestTypeDef

def get_value() -> ListTagsForResourceInputRequestTypeDef:
    return {
        "resourceArn": ...,
    }
# ListTagsForResourceInputRequestTypeDef definition

class ListTagsForResourceInputRequestTypeDef(TypedDict):
    resourceArn: str,

ResourceTagTypeDef#

# ResourceTagTypeDef usage example

from mypy_boto3_swf.type_defs import ResourceTagTypeDef

def get_value() -> ResourceTagTypeDef:
    return {
        "key": ...,
    }
# ResourceTagTypeDef definition

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

ListWorkflowTypesInputListWorkflowTypesPaginateTypeDef#

# ListWorkflowTypesInputListWorkflowTypesPaginateTypeDef usage example

from mypy_boto3_swf.type_defs import ListWorkflowTypesInputListWorkflowTypesPaginateTypeDef

def get_value() -> ListWorkflowTypesInputListWorkflowTypesPaginateTypeDef:
    return {
        "domain": ...,
        "registrationStatus": ...,
    }
# 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

ListWorkflowTypesInputRequestTypeDef#

# ListWorkflowTypesInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import ListWorkflowTypesInputRequestTypeDef

def get_value() -> ListWorkflowTypesInputRequestTypeDef:
    return {
        "domain": ...,
        "registrationStatus": ...,
    }
# 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

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_swf.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

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

PendingTaskCountTypeDef#

# PendingTaskCountTypeDef usage example

from mypy_boto3_swf.type_defs import PendingTaskCountTypeDef

def get_value() -> PendingTaskCountTypeDef:
    return {
        "count": ...,
        "truncated": ...,
        "ResponseMetadata": ...,
    }
# PendingTaskCountTypeDef definition

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

RecordActivityTaskHeartbeatInputRequestTypeDef#

# RecordActivityTaskHeartbeatInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import RecordActivityTaskHeartbeatInputRequestTypeDef

def get_value() -> RecordActivityTaskHeartbeatInputRequestTypeDef:
    return {
        "taskToken": ...,
    }
# RecordActivityTaskHeartbeatInputRequestTypeDef definition

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

RequestCancelWorkflowExecutionInputRequestTypeDef#

# RequestCancelWorkflowExecutionInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import RequestCancelWorkflowExecutionInputRequestTypeDef

def get_value() -> RequestCancelWorkflowExecutionInputRequestTypeDef:
    return {
        "domain": ...,
        "workflowId": ...,
    }
# RequestCancelWorkflowExecutionInputRequestTypeDef definition

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

RespondActivityTaskCanceledInputRequestTypeDef#

# RespondActivityTaskCanceledInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import RespondActivityTaskCanceledInputRequestTypeDef

def get_value() -> RespondActivityTaskCanceledInputRequestTypeDef:
    return {
        "taskToken": ...,
    }
# RespondActivityTaskCanceledInputRequestTypeDef definition

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

RespondActivityTaskCompletedInputRequestTypeDef#

# RespondActivityTaskCompletedInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import RespondActivityTaskCompletedInputRequestTypeDef

def get_value() -> RespondActivityTaskCompletedInputRequestTypeDef:
    return {
        "taskToken": ...,
    }
# RespondActivityTaskCompletedInputRequestTypeDef definition

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

RespondActivityTaskFailedInputRequestTypeDef#

# RespondActivityTaskFailedInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import RespondActivityTaskFailedInputRequestTypeDef

def get_value() -> RespondActivityTaskFailedInputRequestTypeDef:
    return {
        "taskToken": ...,
    }
# RespondActivityTaskFailedInputRequestTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_swf.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

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

RunTypeDef#

# RunTypeDef usage example

from mypy_boto3_swf.type_defs import RunTypeDef

def get_value() -> RunTypeDef:
    return {
        "runId": ...,
        "ResponseMetadata": ...,
    }
# RunTypeDef definition

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

SignalWorkflowExecutionInputRequestTypeDef#

# SignalWorkflowExecutionInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import SignalWorkflowExecutionInputRequestTypeDef

def get_value() -> SignalWorkflowExecutionInputRequestTypeDef:
    return {
        "domain": ...,
        "workflowId": ...,
        "signalName": ...,
    }
# SignalWorkflowExecutionInputRequestTypeDef definition

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

TerminateWorkflowExecutionInputRequestTypeDef#

# TerminateWorkflowExecutionInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import TerminateWorkflowExecutionInputRequestTypeDef

def get_value() -> TerminateWorkflowExecutionInputRequestTypeDef:
    return {
        "domain": ...,
        "workflowId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import UndeprecateDomainInputRequestTypeDef

def get_value() -> UndeprecateDomainInputRequestTypeDef:
    return {
        "name": ...,
    }
# UndeprecateDomainInputRequestTypeDef definition

class UndeprecateDomainInputRequestTypeDef(TypedDict):
    name: str,

UntagResourceInputRequestTypeDef#

# UntagResourceInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import UntagResourceInputRequestTypeDef

def get_value() -> UntagResourceInputRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
# UntagResourceInputRequestTypeDef definition

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

WorkflowExecutionCountTypeDef#

# WorkflowExecutionCountTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionCountTypeDef

def get_value() -> WorkflowExecutionCountTypeDef:
    return {
        "count": ...,
        "truncated": ...,
        "ResponseMetadata": ...,
    }
# WorkflowExecutionCountTypeDef definition

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

WorkflowExecutionOpenCountsTypeDef#

# WorkflowExecutionOpenCountsTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionOpenCountsTypeDef

def get_value() -> WorkflowExecutionOpenCountsTypeDef:
    return {
        "openActivityTasks": ...,
        "openDecisionTasks": ...,
        "openTimers": ...,
        "openChildWorkflowExecutions": ...,
    }
# WorkflowExecutionOpenCountsTypeDef definition

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

ActivityTypeInfoTypeDef#

# ActivityTypeInfoTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTypeInfoTypeDef

def get_value() -> ActivityTypeInfoTypeDef:
    return {
        "activityType": ...,
        "status": ...,
        "creationDate": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import DeprecateActivityTypeInputRequestTypeDef

def get_value() -> DeprecateActivityTypeInputRequestTypeDef:
    return {
        "domain": ...,
        "activityType": ...,
    }
# DeprecateActivityTypeInputRequestTypeDef definition

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

DescribeActivityTypeInputRequestTypeDef#

# DescribeActivityTypeInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import DescribeActivityTypeInputRequestTypeDef

def get_value() -> DescribeActivityTypeInputRequestTypeDef:
    return {
        "domain": ...,
        "activityType": ...,
    }
# DescribeActivityTypeInputRequestTypeDef definition

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

ScheduleActivityTaskFailedEventAttributesTypeDef#

# ScheduleActivityTaskFailedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ScheduleActivityTaskFailedEventAttributesTypeDef

def get_value() -> ScheduleActivityTaskFailedEventAttributesTypeDef:
    return {
        "activityType": ...,
        "activityId": ...,
        "cause": ...,
        "decisionTaskCompletedEventId": ...,
    }
# ScheduleActivityTaskFailedEventAttributesTypeDef definition

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

UndeprecateActivityTypeInputRequestTypeDef#

# UndeprecateActivityTypeInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import UndeprecateActivityTypeInputRequestTypeDef

def get_value() -> UndeprecateActivityTypeInputRequestTypeDef:
    return {
        "domain": ...,
        "activityType": ...,
    }
# UndeprecateActivityTypeInputRequestTypeDef definition

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

ActivityTaskScheduledEventAttributesTypeDef#

# ActivityTaskScheduledEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTaskScheduledEventAttributesTypeDef

def get_value() -> ActivityTaskScheduledEventAttributesTypeDef:
    return {
        "activityType": ...,
        "activityId": ...,
        "taskList": ...,
        "decisionTaskCompletedEventId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ActivityTypeConfigurationTypeDef

def get_value() -> ActivityTypeConfigurationTypeDef:
    return {
        "defaultTaskStartToCloseTimeout": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ContinueAsNewWorkflowExecutionDecisionAttributesTypeDef

def get_value() -> ContinueAsNewWorkflowExecutionDecisionAttributesTypeDef:
    return {
        "input": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import CountPendingActivityTasksInputRequestTypeDef

def get_value() -> CountPendingActivityTasksInputRequestTypeDef:
    return {
        "domain": ...,
        "taskList": ...,
    }
# CountPendingActivityTasksInputRequestTypeDef definition

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

CountPendingDecisionTasksInputRequestTypeDef#

# CountPendingDecisionTasksInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import CountPendingDecisionTasksInputRequestTypeDef

def get_value() -> CountPendingDecisionTasksInputRequestTypeDef:
    return {
        "domain": ...,
        "taskList": ...,
    }
# CountPendingDecisionTasksInputRequestTypeDef definition

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

DecisionTaskScheduledEventAttributesTypeDef#

# DecisionTaskScheduledEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import DecisionTaskScheduledEventAttributesTypeDef

def get_value() -> DecisionTaskScheduledEventAttributesTypeDef:
    return {
        "taskList": ...,
    }
# DecisionTaskScheduledEventAttributesTypeDef definition

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

PollForActivityTaskInputRequestTypeDef#

# PollForActivityTaskInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import PollForActivityTaskInputRequestTypeDef

def get_value() -> PollForActivityTaskInputRequestTypeDef:
    return {
        "domain": ...,
        "taskList": ...,
    }
# PollForActivityTaskInputRequestTypeDef definition

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

PollForDecisionTaskInputPollForDecisionTaskPaginateTypeDef#

# PollForDecisionTaskInputPollForDecisionTaskPaginateTypeDef usage example

from mypy_boto3_swf.type_defs import PollForDecisionTaskInputPollForDecisionTaskPaginateTypeDef

def get_value() -> PollForDecisionTaskInputPollForDecisionTaskPaginateTypeDef:
    return {
        "domain": ...,
        "taskList": ...,
    }
# 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

PollForDecisionTaskInputRequestTypeDef#

# PollForDecisionTaskInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import PollForDecisionTaskInputRequestTypeDef

def get_value() -> PollForDecisionTaskInputRequestTypeDef:
    return {
        "domain": ...,
        "taskList": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import RegisterActivityTypeInputRequestTypeDef

def get_value() -> RegisterActivityTypeInputRequestTypeDef:
    return {
        "domain": ...,
        "name": ...,
        "version": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import RegisterWorkflowTypeInputRequestTypeDef

def get_value() -> RegisterWorkflowTypeInputRequestTypeDef:
    return {
        "domain": ...,
        "name": ...,
        "version": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ScheduleActivityTaskDecisionAttributesTypeDef

def get_value() -> ScheduleActivityTaskDecisionAttributesTypeDef:
    return {
        "activityType": ...,
        "activityId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionConfigurationTypeDef

def get_value() -> WorkflowExecutionConfigurationTypeDef:
    return {
        "taskStartToCloseTimeout": ...,
        "executionStartToCloseTimeout": ...,
        "taskList": ...,
        "childPolicy": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowTypeConfigurationTypeDef

def get_value() -> WorkflowTypeConfigurationTypeDef:
    return {
        "defaultTaskStartToCloseTimeout": ...,
    }
# 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

ActivityTaskTypeDef#

# ActivityTaskTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTaskTypeDef

def get_value() -> ActivityTaskTypeDef:
    return {
        "taskToken": ...,
        "activityId": ...,
        "startedEventId": ...,
        "workflowExecution": ...,
        "activityType": ...,
        "input": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import DescribeWorkflowExecutionInputRequestTypeDef

def get_value() -> DescribeWorkflowExecutionInputRequestTypeDef:
    return {
        "domain": ...,
        "execution": ...,
    }
# DescribeWorkflowExecutionInputRequestTypeDef definition

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

ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef#

# ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef

def get_value() -> ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef:
    return {
        "workflowExecution": ...,
        "initiatedEventId": ...,
    }
# ExternalWorkflowExecutionCancelRequestedEventAttributesTypeDef definition

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

ExternalWorkflowExecutionSignaledEventAttributesTypeDef#

# ExternalWorkflowExecutionSignaledEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ExternalWorkflowExecutionSignaledEventAttributesTypeDef

def get_value() -> ExternalWorkflowExecutionSignaledEventAttributesTypeDef:
    return {
        "workflowExecution": ...,
        "initiatedEventId": ...,
    }
# ExternalWorkflowExecutionSignaledEventAttributesTypeDef definition

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

GetWorkflowExecutionHistoryInputGetWorkflowExecutionHistoryPaginateTypeDef#

# GetWorkflowExecutionHistoryInputGetWorkflowExecutionHistoryPaginateTypeDef usage example

from mypy_boto3_swf.type_defs import GetWorkflowExecutionHistoryInputGetWorkflowExecutionHistoryPaginateTypeDef

def get_value() -> GetWorkflowExecutionHistoryInputGetWorkflowExecutionHistoryPaginateTypeDef:
    return {
        "domain": ...,
        "execution": ...,
    }
# GetWorkflowExecutionHistoryInputGetWorkflowExecutionHistoryPaginateTypeDef definition

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

GetWorkflowExecutionHistoryInputRequestTypeDef#

# GetWorkflowExecutionHistoryInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import GetWorkflowExecutionHistoryInputRequestTypeDef

def get_value() -> GetWorkflowExecutionHistoryInputRequestTypeDef:
    return {
        "domain": ...,
        "execution": ...,
    }
# GetWorkflowExecutionHistoryInputRequestTypeDef definition

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

WorkflowExecutionCancelRequestedEventAttributesTypeDef#

# WorkflowExecutionCancelRequestedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionCancelRequestedEventAttributesTypeDef

def get_value() -> WorkflowExecutionCancelRequestedEventAttributesTypeDef:
    return {
        "externalWorkflowExecution": ...,
    }
# WorkflowExecutionCancelRequestedEventAttributesTypeDef definition

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

WorkflowExecutionSignaledEventAttributesTypeDef#

# WorkflowExecutionSignaledEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionSignaledEventAttributesTypeDef

def get_value() -> WorkflowExecutionSignaledEventAttributesTypeDef:
    return {
        "signalName": ...,
    }
# WorkflowExecutionSignaledEventAttributesTypeDef definition

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

ChildWorkflowExecutionCanceledEventAttributesTypeDef#

# ChildWorkflowExecutionCanceledEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ChildWorkflowExecutionCanceledEventAttributesTypeDef

def get_value() -> ChildWorkflowExecutionCanceledEventAttributesTypeDef:
    return {
        "workflowExecution": ...,
        "workflowType": ...,
        "initiatedEventId": ...,
        "startedEventId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ChildWorkflowExecutionCompletedEventAttributesTypeDef

def get_value() -> ChildWorkflowExecutionCompletedEventAttributesTypeDef:
    return {
        "workflowExecution": ...,
        "workflowType": ...,
        "initiatedEventId": ...,
        "startedEventId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ChildWorkflowExecutionFailedEventAttributesTypeDef

def get_value() -> ChildWorkflowExecutionFailedEventAttributesTypeDef:
    return {
        "workflowExecution": ...,
        "workflowType": ...,
        "initiatedEventId": ...,
        "startedEventId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ChildWorkflowExecutionStartedEventAttributesTypeDef

def get_value() -> ChildWorkflowExecutionStartedEventAttributesTypeDef:
    return {
        "workflowExecution": ...,
        "workflowType": ...,
        "initiatedEventId": ...,
    }
# ChildWorkflowExecutionStartedEventAttributesTypeDef definition

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

ChildWorkflowExecutionTerminatedEventAttributesTypeDef#

# ChildWorkflowExecutionTerminatedEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ChildWorkflowExecutionTerminatedEventAttributesTypeDef

def get_value() -> ChildWorkflowExecutionTerminatedEventAttributesTypeDef:
    return {
        "workflowExecution": ...,
        "workflowType": ...,
        "initiatedEventId": ...,
        "startedEventId": ...,
    }
# ChildWorkflowExecutionTerminatedEventAttributesTypeDef definition

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

ChildWorkflowExecutionTimedOutEventAttributesTypeDef#

# ChildWorkflowExecutionTimedOutEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import ChildWorkflowExecutionTimedOutEventAttributesTypeDef

def get_value() -> ChildWorkflowExecutionTimedOutEventAttributesTypeDef:
    return {
        "workflowExecution": ...,
        "workflowType": ...,
        "timeoutType": ...,
        "initiatedEventId": ...,
        "startedEventId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import DeprecateWorkflowTypeInputRequestTypeDef

def get_value() -> DeprecateWorkflowTypeInputRequestTypeDef:
    return {
        "domain": ...,
        "workflowType": ...,
    }
# DeprecateWorkflowTypeInputRequestTypeDef definition

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

DescribeWorkflowTypeInputRequestTypeDef#

# DescribeWorkflowTypeInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import DescribeWorkflowTypeInputRequestTypeDef

def get_value() -> DescribeWorkflowTypeInputRequestTypeDef:
    return {
        "domain": ...,
        "workflowType": ...,
    }
# DescribeWorkflowTypeInputRequestTypeDef definition

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

StartChildWorkflowExecutionDecisionAttributesTypeDef#

# StartChildWorkflowExecutionDecisionAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import StartChildWorkflowExecutionDecisionAttributesTypeDef

def get_value() -> StartChildWorkflowExecutionDecisionAttributesTypeDef:
    return {
        "workflowType": ...,
        "workflowId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import StartChildWorkflowExecutionFailedEventAttributesTypeDef

def get_value() -> StartChildWorkflowExecutionFailedEventAttributesTypeDef:
    return {
        "workflowType": ...,
        "cause": ...,
        "workflowId": ...,
        "initiatedEventId": ...,
        "decisionTaskCompletedEventId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import StartChildWorkflowExecutionInitiatedEventAttributesTypeDef

def get_value() -> StartChildWorkflowExecutionInitiatedEventAttributesTypeDef:
    return {
        "workflowId": ...,
        "workflowType": ...,
        "taskList": ...,
        "decisionTaskCompletedEventId": ...,
        "childPolicy": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import StartWorkflowExecutionInputRequestTypeDef

def get_value() -> StartWorkflowExecutionInputRequestTypeDef:
    return {
        "domain": ...,
        "workflowId": ...,
        "workflowType": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import UndeprecateWorkflowTypeInputRequestTypeDef

def get_value() -> UndeprecateWorkflowTypeInputRequestTypeDef:
    return {
        "domain": ...,
        "workflowType": ...,
    }
# UndeprecateWorkflowTypeInputRequestTypeDef definition

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

WorkflowExecutionContinuedAsNewEventAttributesTypeDef#

# WorkflowExecutionContinuedAsNewEventAttributesTypeDef usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionContinuedAsNewEventAttributesTypeDef

def get_value() -> WorkflowExecutionContinuedAsNewEventAttributesTypeDef:
    return {
        "decisionTaskCompletedEventId": ...,
        "newExecutionRunId": ...,
        "taskList": ...,
        "childPolicy": ...,
        "workflowType": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionInfoTypeDef

def get_value() -> WorkflowExecutionInfoTypeDef:
    return {
        "execution": ...,
        "workflowType": ...,
        "startTimestamp": ...,
        "executionStatus": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionStartedEventAttributesTypeDef

def get_value() -> WorkflowExecutionStartedEventAttributesTypeDef:
    return {
        "childPolicy": ...,
        "taskList": ...,
        "workflowType": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowTypeInfoTypeDef

def get_value() -> WorkflowTypeInfoTypeDef:
    return {
        "workflowType": ...,
        "status": ...,
        "creationDate": ...,
    }
# 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

CountClosedWorkflowExecutionsInputRequestTypeDef#

# CountClosedWorkflowExecutionsInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import CountClosedWorkflowExecutionsInputRequestTypeDef

def get_value() -> CountClosedWorkflowExecutionsInputRequestTypeDef:
    return {
        "domain": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import CountOpenWorkflowExecutionsInputRequestTypeDef

def get_value() -> CountOpenWorkflowExecutionsInputRequestTypeDef:
    return {
        "domain": ...,
        "startTimeFilter": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ListClosedWorkflowExecutionsInputListClosedWorkflowExecutionsPaginateTypeDef

def get_value() -> ListClosedWorkflowExecutionsInputListClosedWorkflowExecutionsPaginateTypeDef:
    return {
        "domain": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ListClosedWorkflowExecutionsInputRequestTypeDef

def get_value() -> ListClosedWorkflowExecutionsInputRequestTypeDef:
    return {
        "domain": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ListOpenWorkflowExecutionsInputListOpenWorkflowExecutionsPaginateTypeDef

def get_value() -> ListOpenWorkflowExecutionsInputListOpenWorkflowExecutionsPaginateTypeDef:
    return {
        "domain": ...,
        "startTimeFilter": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import ListOpenWorkflowExecutionsInputRequestTypeDef

def get_value() -> ListOpenWorkflowExecutionsInputRequestTypeDef:
    return {
        "domain": ...,
        "startTimeFilter": ...,
    }
# 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

DomainDetailTypeDef#

# DomainDetailTypeDef usage example

from mypy_boto3_swf.type_defs import DomainDetailTypeDef

def get_value() -> DomainDetailTypeDef:
    return {
        "domainInfo": ...,
        "configuration": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import DomainInfosTypeDef

def get_value() -> DomainInfosTypeDef:
    return {
        "domainInfos": ...,
        "nextPageToken": ...,
        "ResponseMetadata": ...,
    }
# DomainInfosTypeDef definition

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

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef usage example

from mypy_boto3_swf.type_defs import ListTagsForResourceOutputTypeDef

def get_value() -> ListTagsForResourceOutputTypeDef:
    return {
        "tags": ...,
        "ResponseMetadata": ...,
    }
# ListTagsForResourceOutputTypeDef definition

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

RegisterDomainInputRequestTypeDef#

# RegisterDomainInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import RegisterDomainInputRequestTypeDef

def get_value() -> RegisterDomainInputRequestTypeDef:
    return {
        "name": ...,
        "workflowExecutionRetentionPeriodInDays": ...,
    }
# RegisterDomainInputRequestTypeDef definition

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

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import TagResourceInputRequestTypeDef

def get_value() -> TagResourceInputRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
# TagResourceInputRequestTypeDef definition

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

ActivityTypeInfosTypeDef#

# ActivityTypeInfosTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTypeInfosTypeDef

def get_value() -> ActivityTypeInfosTypeDef:
    return {
        "typeInfos": ...,
        "nextPageToken": ...,
        "ResponseMetadata": ...,
    }
# ActivityTypeInfosTypeDef definition

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

ActivityTypeDetailTypeDef#

# ActivityTypeDetailTypeDef usage example

from mypy_boto3_swf.type_defs import ActivityTypeDetailTypeDef

def get_value() -> ActivityTypeDetailTypeDef:
    return {
        "typeInfo": ...,
        "configuration": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import DecisionTypeDef

def get_value() -> DecisionTypeDef:
    return {
        "decisionType": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionDetailTypeDef

def get_value() -> WorkflowExecutionDetailTypeDef:
    return {
        "executionInfo": ...,
        "executionConfiguration": ...,
        "openCounts": ...,
        "latestActivityTaskTimestamp": ...,
        "latestExecutionContext": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowExecutionInfosTypeDef

def get_value() -> WorkflowExecutionInfosTypeDef:
    return {
        "executionInfos": ...,
        "nextPageToken": ...,
        "ResponseMetadata": ...,
    }
# WorkflowExecutionInfosTypeDef definition

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

HistoryEventTypeDef#

# HistoryEventTypeDef usage example

from mypy_boto3_swf.type_defs import HistoryEventTypeDef

def get_value() -> HistoryEventTypeDef:
    return {
        "eventTimestamp": ...,
        "eventType": ...,
        "eventId": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowTypeDetailTypeDef

def get_value() -> WorkflowTypeDetailTypeDef:
    return {
        "typeInfo": ...,
        "configuration": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import WorkflowTypeInfosTypeDef

def get_value() -> WorkflowTypeInfosTypeDef:
    return {
        "typeInfos": ...,
        "nextPageToken": ...,
        "ResponseMetadata": ...,
    }
# WorkflowTypeInfosTypeDef definition

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

RespondDecisionTaskCompletedInputRequestTypeDef#

# RespondDecisionTaskCompletedInputRequestTypeDef usage example

from mypy_boto3_swf.type_defs import RespondDecisionTaskCompletedInputRequestTypeDef

def get_value() -> RespondDecisionTaskCompletedInputRequestTypeDef:
    return {
        "taskToken": ...,
    }
# RespondDecisionTaskCompletedInputRequestTypeDef definition

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

DecisionTaskTypeDef#

# DecisionTaskTypeDef usage example

from mypy_boto3_swf.type_defs import DecisionTaskTypeDef

def get_value() -> DecisionTaskTypeDef:
    return {
        "taskToken": ...,
        "startedEventId": ...,
        "workflowExecution": ...,
        "workflowType": ...,
        "events": ...,
        "nextPageToken": ...,
        "previousStartedEventId": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_swf.type_defs import HistoryTypeDef

def get_value() -> HistoryTypeDef:
    return {
        "events": ...,
        "nextPageToken": ...,
        "ResponseMetadata": ...,
    }
# HistoryTypeDef definition

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