Skip to content

Type definitions#

Index > SFN > Type definitions

Auto-generated documentation for SFN type annotations stubs module mypy-boto3-stepfunctions.

LoggingConfigurationUnionTypeDef#

# LoggingConfigurationUnionTypeDef definition

LoggingConfigurationUnionTypeDef = Union[
    LoggingConfigurationTypeDef,  # (1)
    LoggingConfigurationOutputTypeDef,  # (2)
]
  1. See LoggingConfigurationTypeDef
  2. See LoggingConfigurationOutputTypeDef

ActivityFailedEventDetailsTypeDef#

# ActivityFailedEventDetailsTypeDef definition

class ActivityFailedEventDetailsTypeDef(TypedDict):
    error: NotRequired[str],
    cause: NotRequired[str],

ActivityListItemTypeDef#

# ActivityListItemTypeDef definition

class ActivityListItemTypeDef(TypedDict):
    activityArn: str,
    name: str,
    creationDate: datetime,

ActivityScheduleFailedEventDetailsTypeDef#

# ActivityScheduleFailedEventDetailsTypeDef definition

class ActivityScheduleFailedEventDetailsTypeDef(TypedDict):
    error: NotRequired[str],
    cause: NotRequired[str],

HistoryEventExecutionDataDetailsTypeDef#

# HistoryEventExecutionDataDetailsTypeDef definition

class HistoryEventExecutionDataDetailsTypeDef(TypedDict):
    truncated: NotRequired[bool],

ActivityStartedEventDetailsTypeDef#

# ActivityStartedEventDetailsTypeDef definition

class ActivityStartedEventDetailsTypeDef(TypedDict):
    workerName: NotRequired[str],

ActivityTimedOutEventDetailsTypeDef#

# ActivityTimedOutEventDetailsTypeDef definition

class ActivityTimedOutEventDetailsTypeDef(TypedDict):
    error: NotRequired[str],
    cause: NotRequired[str],

BillingDetailsTypeDef#

# BillingDetailsTypeDef definition

class BillingDetailsTypeDef(TypedDict):
    billedMemoryUsedInMB: NotRequired[int],
    billedDurationInMilliseconds: NotRequired[int],

CloudWatchEventsExecutionDataDetailsTypeDef#

# CloudWatchEventsExecutionDataDetailsTypeDef definition

class CloudWatchEventsExecutionDataDetailsTypeDef(TypedDict):
    included: NotRequired[bool],

CloudWatchLogsLogGroupTypeDef#

# CloudWatchLogsLogGroupTypeDef definition

class CloudWatchLogsLogGroupTypeDef(TypedDict):
    logGroupArn: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

RoutingConfigurationListItemTypeDef#

# RoutingConfigurationListItemTypeDef definition

class RoutingConfigurationListItemTypeDef(TypedDict):
    stateMachineVersionArn: str,
    weight: int,

TracingConfigurationTypeDef#

# TracingConfigurationTypeDef definition

class TracingConfigurationTypeDef(TypedDict):
    enabled: NotRequired[bool],

DeleteActivityInputRequestTypeDef#

# DeleteActivityInputRequestTypeDef definition

class DeleteActivityInputRequestTypeDef(TypedDict):
    activityArn: str,

DeleteStateMachineAliasInputRequestTypeDef#

# DeleteStateMachineAliasInputRequestTypeDef definition

class DeleteStateMachineAliasInputRequestTypeDef(TypedDict):
    stateMachineAliasArn: str,

DeleteStateMachineInputRequestTypeDef#

# DeleteStateMachineInputRequestTypeDef definition

class DeleteStateMachineInputRequestTypeDef(TypedDict):
    stateMachineArn: str,

DeleteStateMachineVersionInputRequestTypeDef#

# DeleteStateMachineVersionInputRequestTypeDef definition

class DeleteStateMachineVersionInputRequestTypeDef(TypedDict):
    stateMachineVersionArn: str,

DescribeActivityInputRequestTypeDef#

# DescribeActivityInputRequestTypeDef definition

class DescribeActivityInputRequestTypeDef(TypedDict):
    activityArn: str,

DescribeExecutionInputRequestTypeDef#

# DescribeExecutionInputRequestTypeDef definition

class DescribeExecutionInputRequestTypeDef(TypedDict):
    executionArn: str,

DescribeMapRunInputRequestTypeDef#

# DescribeMapRunInputRequestTypeDef definition

class DescribeMapRunInputRequestTypeDef(TypedDict):
    mapRunArn: str,

MapRunExecutionCountsTypeDef#

# MapRunExecutionCountsTypeDef definition

class MapRunExecutionCountsTypeDef(TypedDict):
    pending: int,
    running: int,
    succeeded: int,
    failed: int,
    timedOut: int,
    aborted: int,
    total: int,
    resultsWritten: int,
    failuresNotRedrivable: NotRequired[int],
    pendingRedrive: NotRequired[int],

MapRunItemCountsTypeDef#

# MapRunItemCountsTypeDef definition

class MapRunItemCountsTypeDef(TypedDict):
    pending: int,
    running: int,
    succeeded: int,
    failed: int,
    timedOut: int,
    aborted: int,
    total: int,
    resultsWritten: int,
    failuresNotRedrivable: NotRequired[int],
    pendingRedrive: NotRequired[int],

DescribeStateMachineAliasInputRequestTypeDef#

# DescribeStateMachineAliasInputRequestTypeDef definition

class DescribeStateMachineAliasInputRequestTypeDef(TypedDict):
    stateMachineAliasArn: str,

DescribeStateMachineForExecutionInputRequestTypeDef#

# DescribeStateMachineForExecutionInputRequestTypeDef definition

class DescribeStateMachineForExecutionInputRequestTypeDef(TypedDict):
    executionArn: str,

DescribeStateMachineInputRequestTypeDef#

# DescribeStateMachineInputRequestTypeDef definition

class DescribeStateMachineInputRequestTypeDef(TypedDict):
    stateMachineArn: str,

ExecutionAbortedEventDetailsTypeDef#

# ExecutionAbortedEventDetailsTypeDef definition

class ExecutionAbortedEventDetailsTypeDef(TypedDict):
    error: NotRequired[str],
    cause: NotRequired[str],

ExecutionFailedEventDetailsTypeDef#

# ExecutionFailedEventDetailsTypeDef definition

class ExecutionFailedEventDetailsTypeDef(TypedDict):
    error: NotRequired[str],
    cause: NotRequired[str],

ExecutionListItemTypeDef#

# ExecutionListItemType