Skip to content

Typed dictionaries#

Index > SFN > Typed dictionaries

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

ActivityFailedEventDetailsTypeDef#

# ActivityFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ActivityFailedEventDetailsTypeDef

def get_value() -> ActivityFailedEventDetailsTypeDef:
    return {
        "error": ...,
    }
# ActivityFailedEventDetailsTypeDef definition

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

ActivityListItemTypeDef#

# ActivityListItemTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ActivityListItemTypeDef

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

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

ActivityScheduleFailedEventDetailsTypeDef#

# ActivityScheduleFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ActivityScheduleFailedEventDetailsTypeDef

def get_value() -> ActivityScheduleFailedEventDetailsTypeDef:
    return {
        "error": ...,
    }
# ActivityScheduleFailedEventDetailsTypeDef definition

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

HistoryEventExecutionDataDetailsTypeDef#

# HistoryEventExecutionDataDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import HistoryEventExecutionDataDetailsTypeDef

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

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

ActivityStartedEventDetailsTypeDef#

# ActivityStartedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ActivityStartedEventDetailsTypeDef

def get_value() -> ActivityStartedEventDetailsTypeDef:
    return {
        "workerName": ...,
    }
# ActivityStartedEventDetailsTypeDef definition

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

ActivityTimedOutEventDetailsTypeDef#

# ActivityTimedOutEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ActivityTimedOutEventDetailsTypeDef

def get_value() -> ActivityTimedOutEventDetailsTypeDef:
    return {
        "error": ...,
    }
# ActivityTimedOutEventDetailsTypeDef definition

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

BillingDetailsTypeDef#

# BillingDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import BillingDetailsTypeDef

def get_value() -> BillingDetailsTypeDef:
    return {
        "billedMemoryUsedInMB": ...,
    }
# BillingDetailsTypeDef definition

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

CloudWatchEventsExecutionDataDetailsTypeDef#

# CloudWatchEventsExecutionDataDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import CloudWatchEventsExecutionDataDetailsTypeDef

def get_value() -> CloudWatchEventsExecutionDataDetailsTypeDef:
    return {
        "included": ...,
    }
# CloudWatchEventsExecutionDataDetailsTypeDef definition

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

CloudWatchLogsLogGroupTypeDef#

# CloudWatchLogsLogGroupTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import CloudWatchLogsLogGroupTypeDef

def get_value() -> CloudWatchLogsLogGroupTypeDef:
    return {
        "logGroupArn": ...,
    }
# CloudWatchLogsLogGroupTypeDef definition

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

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TagTypeDef

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

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

CreateActivityOutputTypeDef#

# CreateActivityOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import CreateActivityOutputTypeDef

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

class CreateActivityOutputTypeDef(TypedDict):
    activityArn: str,
    creationDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

TracingConfigurationTypeDef#

# TracingConfigurationTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TracingConfigurationTypeDef

def get_value() -> TracingConfigurationTypeDef:
    return {
        "enabled": ...,
    }
# TracingConfigurationTypeDef definition

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

CreateStateMachineOutputTypeDef#

# CreateStateMachineOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import CreateStateMachineOutputTypeDef

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

class CreateStateMachineOutputTypeDef(TypedDict):
    stateMachineArn: str,
    creationDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteActivityInputRequestTypeDef#

# DeleteActivityInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DeleteActivityInputRequestTypeDef

def get_value() -> DeleteActivityInputRequestTypeDef:
    return {
        "activityArn": ...,
    }
# DeleteActivityInputRequestTypeDef definition

class DeleteActivityInputRequestTypeDef(TypedDict):
    activityArn: str,

DeleteStateMachineInputRequestTypeDef#

# DeleteStateMachineInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DeleteStateMachineInputRequestTypeDef

def get_value() -> DeleteStateMachineInputRequestTypeDef:
    return {
        "stateMachineArn": ...,
    }
# DeleteStateMachineInputRequestTypeDef definition

class DeleteStateMachineInputRequestTypeDef(TypedDict):
    stateMachineArn: str,

DescribeActivityInputRequestTypeDef#

# DescribeActivityInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeActivityInputRequestTypeDef

def get_value() -> DescribeActivityInputRequestTypeDef:
    return {
        "activityArn": ...,
    }
# DescribeActivityInputRequestTypeDef definition

class DescribeActivityInputRequestTypeDef(TypedDict):
    activityArn: str,

DescribeActivityOutputTypeDef#

# DescribeActivityOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeActivityOutputTypeDef

def get_value() -> DescribeActivityOutputTypeDef:
    return {
        "activityArn": ...,
        "name": ...,
        "creationDate": ...,
        "ResponseMetadata": ...,
    }
# DescribeActivityOutputTypeDef definition

class DescribeActivityOutputTypeDef(TypedDict):
    activityArn: str,
    name: str,
    creationDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeExecutionInputRequestTypeDef#

# DescribeExecutionInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeExecutionInputRequestTypeDef

def get_value() -> DescribeExecutionInputRequestTypeDef:
    return {
        "executionArn": ...,
    }
# DescribeExecutionInputRequestTypeDef definition

class DescribeExecutionInputRequestTypeDef(TypedDict):
    executionArn: str,

DescribeMapRunInputRequestTypeDef#

# DescribeMapRunInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeMapRunInputRequestTypeDef

def get_value() -> DescribeMapRunInputRequestTypeDef:
    return {
        "mapRunArn": ...,
    }
# DescribeMapRunInputRequestTypeDef definition

class DescribeMapRunInputRequestTypeDef(TypedDict):
    mapRunArn: str,

MapRunExecutionCountsTypeDef#

# MapRunExecutionCountsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import MapRunExecutionCountsTypeDef

def get_value() -> MapRunExecutionCountsTypeDef:
    return {
        "pending": ...,
        "running": ...,
        "succeeded": ...,
        "failed": ...,
        "timedOut": ...,
        "aborted": ...,
        "total": ...,
        "resultsWritten": ...,
    }
# MapRunExecutionCountsTypeDef definition

class MapRunExecutionCountsTypeDef(TypedDict):
    pending: int,
    running: int,
    succeeded: int,
    failed: int,
    timedOut: int,
    aborted: int,
    total: int,
    resultsWritten: int,

MapRunItemCountsTypeDef#

# MapRunItemCountsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import MapRunItemCountsTypeDef

def get_value() -> MapRunItemCountsTypeDef:
    return {
        "pending": ...,
        "running": ...,
        "succeeded": ...,
        "failed": ...,
        "timedOut": ...,
        "aborted": ...,
        "total": ...,
        "resultsWritten": ...,
    }
# MapRunItemCountsTypeDef definition

class MapRunItemCountsTypeDef(TypedDict):
    pending: int,
    running: int,
    succeeded: int,
    failed: int,
    timedOut: int,
    aborted: int,
    total: int,
    resultsWritten: int,

DescribeStateMachineForExecutionInputRequestTypeDef#

# DescribeStateMachineForExecutionInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeStateMachineForExecutionInputRequestTypeDef

def get_value() -> DescribeStateMachineForExecutionInputRequestTypeDef:
    return {
        "executionArn": ...,
    }
# DescribeStateMachineForExecutionInputRequestTypeDef definition

class DescribeStateMachineForExecutionInputRequestTypeDef(TypedDict):
    executionArn: str,

DescribeStateMachineInputRequestTypeDef#

# DescribeStateMachineInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeStateMachineInputRequestTypeDef

def get_value() -> DescribeStateMachineInputRequestTypeDef:
    return {
        "stateMachineArn": ...,
    }
# DescribeStateMachineInputRequestTypeDef definition

class DescribeStateMachineInputRequestTypeDef(TypedDict):
    stateMachineArn: str,

ExecutionAbortedEventDetailsTypeDef#

# ExecutionAbortedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ExecutionAbortedEventDetailsTypeDef

def get_value() -> ExecutionAbortedEventDetailsTypeDef:
    return {
        "error": ...,
    }
# ExecutionAbortedEventDetailsTypeDef definition

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

ExecutionFailedEventDetailsTypeDef#

# ExecutionFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ExecutionFailedEventDetailsTypeDef

def get_value() -> ExecutionFailedEventDetailsTypeDef:
    return {
        "error": ...,
    }
# ExecutionFailedEventDetailsTypeDef definition

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

ExecutionListItemTypeDef#

# ExecutionListItemTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ExecutionListItemTypeDef

def get_value() -> ExecutionListItemTypeDef:
    return {
        "executionArn": ...,
        "stateMachineArn": ...,
        "name": ...,
        "status": ...,
        "startDate": ...,
    }
# ExecutionListItemTypeDef definition

class ExecutionListItemTypeDef(TypedDict):
    executionArn: str,
    stateMachineArn: str,
    name: str,
    status: ExecutionStatusType,  # (1)
    startDate: datetime,
    stopDate: NotRequired[datetime],
    mapRunArn: NotRequired[str],
    itemCount: NotRequired[int],
  1. See ExecutionStatusType

ExecutionTimedOutEventDetailsTypeDef#

# ExecutionTimedOutEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ExecutionTimedOutEventDetailsTypeDef

def get_value() -> ExecutionTimedOutEventDetailsTypeDef:
    return {
        "error": ...,
    }
# ExecutionTimedOutEventDetailsTypeDef definition

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

GetActivityTaskInputRequestTypeDef#

# GetActivityTaskInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import GetActivityTaskInputRequestTypeDef

def get_value() -> GetActivityTaskInputRequestTypeDef:
    return {
        "activityArn": ...,
    }
# GetActivityTaskInputRequestTypeDef definition

class GetActivityTaskInputRequestTypeDef(TypedDict):
    activityArn: str,
    workerName: NotRequired[str],

GetActivityTaskOutputTypeDef#

# GetActivityTaskOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import GetActivityTaskOutputTypeDef

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

class GetActivityTaskOutputTypeDef(TypedDict):
    taskToken: str,
    input: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef#

# GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef

def get_value() -> GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef:
    return {
        "executionArn": ...,
    }
# GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef definition

class GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef(TypedDict):
    executionArn: str,
    reverseOrder: NotRequired[bool],
    includeExecutionData: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetExecutionHistoryInputRequestTypeDef#

# GetExecutionHistoryInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import GetExecutionHistoryInputRequestTypeDef

def get_value() -> GetExecutionHistoryInputRequestTypeDef:
    return {
        "executionArn": ...,
    }
# GetExecutionHistoryInputRequestTypeDef definition

class GetExecutionHistoryInputRequestTypeDef(TypedDict):
    executionArn: str,
    maxResults: NotRequired[int],
    reverseOrder: NotRequired[bool],
    nextToken: NotRequired[str],
    includeExecutionData: NotRequired[bool],

LambdaFunctionFailedEventDetailsTypeDef#

# LambdaFunctionFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import LambdaFunctionFailedEventDetailsTypeDef

def get_value() -> LambdaFunctionFailedEventDetailsTypeDef:
    return {
        "error": ...,
    }
# LambdaFunctionFailedEventDetailsTypeDef definition

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

LambdaFunctionScheduleFailedEventDetailsTypeDef#

# LambdaFunctionScheduleFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import LambdaFunctionScheduleFailedEventDetailsTypeDef

def get_value() -> LambdaFunctionScheduleFailedEventDetailsTypeDef:
    return {
        "error": ...,
    }
# LambdaFunctionScheduleFailedEventDetailsTypeDef definition

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

LambdaFunctionStartFailedEventDetailsTypeDef#

# LambdaFunctionStartFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import LambdaFunctionStartFailedEventDetailsTypeDef

def get_value() -> LambdaFunctionStartFailedEventDetailsTypeDef:
    return {
        "error": ...,
    }
# LambdaFunctionStartFailedEventDetailsTypeDef definition

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

LambdaFunctionTimedOutEventDetailsTypeDef#

# LambdaFunctionTimedOutEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import LambdaFunctionTimedOutEventDetailsTypeDef

def get_value() -> LambdaFunctionTimedOutEventDetailsTypeDef:
    return {
        "error": ...,
    }
# LambdaFunctionTimedOutEventDetailsTypeDef definition

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

MapIterationEventDetailsTypeDef#

# MapIterationEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import MapIterationEventDetailsTypeDef

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

class MapIterationEventDetailsTypeDef(TypedDict):
    name: NotRequired[str],
    index: NotRequired[int],

MapRunFailedEventDetailsTypeDef#

# MapRunFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import MapRunFailedEventDetailsTypeDef

def get_value() -> MapRunFailedEventDetailsTypeDef:
    return {
        "error": ...,
    }
# MapRunFailedEventDetailsTypeDef definition

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

MapRunStartedEventDetailsTypeDef#

# MapRunStartedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import MapRunStartedEventDetailsTypeDef

def get_value() -> MapRunStartedEventDetailsTypeDef:
    return {
        "mapRunArn": ...,
    }
# MapRunStartedEventDetailsTypeDef definition

class MapRunStartedEventDetailsTypeDef(TypedDict):
    mapRunArn: NotRequired[str],

MapStateStartedEventDetailsTypeDef#

# MapStateStartedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import MapStateStartedEventDetailsTypeDef

def get_value() -> MapStateStartedEventDetailsTypeDef:
    return {
        "length": ...,
    }
# MapStateStartedEventDetailsTypeDef definition

class MapStateStartedEventDetailsTypeDef(TypedDict):
    length: NotRequired[int],

TaskFailedEventDetailsTypeDef#

# TaskFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TaskFailedEventDetailsTypeDef

def get_value() -> TaskFailedEventDetailsTypeDef:
    return {
        "resourceType": ...,
        "resource": ...,
    }
# TaskFailedEventDetailsTypeDef definition

class TaskFailedEventDetailsTypeDef(TypedDict):
    resourceType: str,
    resource: str,
    error: NotRequired[str],
    cause: NotRequired[str],

TaskStartFailedEventDetailsTypeDef#

# TaskStartFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TaskStartFailedEventDetailsTypeDef

def get_value() -> TaskStartFailedEventDetailsTypeDef:
    return {
        "resourceType": ...,
        "resource": ...,
    }
# TaskStartFailedEventDetailsTypeDef definition

class TaskStartFailedEventDetailsTypeDef(TypedDict):
    resourceType: str,
    resource: str,
    error: NotRequired[str],
    cause: NotRequired[str],

TaskStartedEventDetailsTypeDef#

# TaskStartedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TaskStartedEventDetailsTypeDef

def get_value() -> TaskStartedEventDetailsTypeDef:
    return {
        "resourceType": ...,
        "resource": ...,
    }
# TaskStartedEventDetailsTypeDef definition

class TaskStartedEventDetailsTypeDef(TypedDict):
    resourceType: str,
    resource: str,

TaskSubmitFailedEventDetailsTypeDef#

# TaskSubmitFailedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TaskSubmitFailedEventDetailsTypeDef

def get_value() -> TaskSubmitFailedEventDetailsTypeDef:
    return {
        "resourceType": ...,
        "resource": ...,
    }
# TaskSubmitFailedEventDetailsTypeDef definition

class TaskSubmitFailedEventDetailsTypeDef(TypedDict):
    resourceType: str,
    resource: str,
    error: NotRequired[str],
    cause: NotRequired[str],

TaskTimedOutEventDetailsTypeDef#

# TaskTimedOutEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TaskTimedOutEventDetailsTypeDef

def get_value() -> TaskTimedOutEventDetailsTypeDef:
    return {
        "resourceType": ...,
        "resource": ...,
    }
# TaskTimedOutEventDetailsTypeDef definition

class TaskTimedOutEventDetailsTypeDef(TypedDict):
    resourceType: str,
    resource: str,
    error: NotRequired[str],
    cause: NotRequired[str],

TaskCredentialsTypeDef#

# TaskCredentialsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TaskCredentialsTypeDef

def get_value() -> TaskCredentialsTypeDef:
    return {
        "roleArn": ...,
    }
# TaskCredentialsTypeDef definition

class TaskCredentialsTypeDef(TypedDict):
    roleArn: NotRequired[str],

ListActivitiesInputListActivitiesPaginateTypeDef#

# ListActivitiesInputListActivitiesPaginateTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListActivitiesInputListActivitiesPaginateTypeDef

def get_value() -> ListActivitiesInputListActivitiesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListActivitiesInputListActivitiesPaginateTypeDef definition

class ListActivitiesInputListActivitiesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListActivitiesInputRequestTypeDef#

# ListActivitiesInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListActivitiesInputRequestTypeDef

def get_value() -> ListActivitiesInputRequestTypeDef:
    return {
        "maxResults": ...,
    }
# ListActivitiesInputRequestTypeDef definition

class ListActivitiesInputRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListExecutionsInputListExecutionsPaginateTypeDef#

# ListExecutionsInputListExecutionsPaginateTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListExecutionsInputListExecutionsPaginateTypeDef

def get_value() -> ListExecutionsInputListExecutionsPaginateTypeDef:
    return {
        "stateMachineArn": ...,
    }
# ListExecutionsInputListExecutionsPaginateTypeDef definition

class ListExecutionsInputListExecutionsPaginateTypeDef(TypedDict):
    stateMachineArn: NotRequired[str],
    statusFilter: NotRequired[ExecutionStatusType],  # (1)
    mapRunArn: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ExecutionStatusType
  2. See PaginatorConfigTypeDef

ListExecutionsInputRequestTypeDef#

# ListExecutionsInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListExecutionsInputRequestTypeDef

def get_value() -> ListExecutionsInputRequestTypeDef:
    return {
        "stateMachineArn": ...,
    }
# ListExecutionsInputRequestTypeDef definition

class ListExecutionsInputRequestTypeDef(TypedDict):
    stateMachineArn: NotRequired[str],
    statusFilter: NotRequired[ExecutionStatusType],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    mapRunArn: NotRequired[str],
  1. See ExecutionStatusType

ListMapRunsInputListMapRunsPaginateTypeDef#

# ListMapRunsInputListMapRunsPaginateTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListMapRunsInputListMapRunsPaginateTypeDef

def get_value() -> ListMapRunsInputListMapRunsPaginateTypeDef:
    return {
        "executionArn": ...,
    }
# ListMapRunsInputListMapRunsPaginateTypeDef definition

class ListMapRunsInputListMapRunsPaginateTypeDef(TypedDict):
    executionArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListMapRunsInputRequestTypeDef#

# ListMapRunsInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListMapRunsInputRequestTypeDef

def get_value() -> ListMapRunsInputRequestTypeDef:
    return {
        "executionArn": ...,
    }
# ListMapRunsInputRequestTypeDef definition

class ListMapRunsInputRequestTypeDef(TypedDict):
    executionArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

MapRunListItemTypeDef#

# MapRunListItemTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import MapRunListItemTypeDef

def get_value() -> MapRunListItemTypeDef:
    return {
        "executionArn": ...,
        "mapRunArn": ...,
        "stateMachineArn": ...,
        "startDate": ...,
    }
# MapRunListItemTypeDef definition

class MapRunListItemTypeDef(TypedDict):
    executionArn: str,
    mapRunArn: str,
    stateMachineArn: str,
    startDate: datetime,
    stopDate: NotRequired[datetime],

ListStateMachinesInputListStateMachinesPaginateTypeDef#

# ListStateMachinesInputListStateMachinesPaginateTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListStateMachinesInputListStateMachinesPaginateTypeDef

def get_value() -> ListStateMachinesInputListStateMachinesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListStateMachinesInputListStateMachinesPaginateTypeDef definition

class ListStateMachinesInputListStateMachinesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListStateMachinesInputRequestTypeDef#

# ListStateMachinesInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListStateMachinesInputRequestTypeDef

def get_value() -> ListStateMachinesInputRequestTypeDef:
    return {
        "maxResults": ...,
    }
# ListStateMachinesInputRequestTypeDef definition

class ListStateMachinesInputRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

StateMachineListItemTypeDef#

# StateMachineListItemTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import StateMachineListItemTypeDef

def get_value() -> StateMachineListItemTypeDef:
    return {
        "stateMachineArn": ...,
        "name": ...,
        "type": ...,
        "creationDate": ...,
    }
# StateMachineListItemTypeDef definition

class StateMachineListItemTypeDef(TypedDict):
    stateMachineArn: str,
    name: str,
    type: StateMachineTypeType,  # (1)
    creationDate: datetime,
  1. See StateMachineTypeType

ListTagsForResourceInputRequestTypeDef#

# ListTagsForResourceInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListTagsForResourceInputRequestTypeDef

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

class ListTagsForResourceInputRequestTypeDef(TypedDict):
    resourceArn: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import PaginatorConfigTypeDef

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

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_stepfunctions.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,

SendTaskFailureInputRequestTypeDef#

# SendTaskFailureInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import SendTaskFailureInputRequestTypeDef

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

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

SendTaskHeartbeatInputRequestTypeDef#

# SendTaskHeartbeatInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import SendTaskHeartbeatInputRequestTypeDef

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

class SendTaskHeartbeatInputRequestTypeDef(TypedDict):
    taskToken: str,

SendTaskSuccessInputRequestTypeDef#

# SendTaskSuccessInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import SendTaskSuccessInputRequestTypeDef

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

class SendTaskSuccessInputRequestTypeDef(TypedDict):
    taskToken: str,
    output: str,

StartExecutionInputRequestTypeDef#

# StartExecutionInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import StartExecutionInputRequestTypeDef

def get_value() -> StartExecutionInputRequestTypeDef:
    return {
        "stateMachineArn": ...,
    }
# StartExecutionInputRequestTypeDef definition

class StartExecutionInputRequestTypeDef(TypedDict):
    stateMachineArn: str,
    name: NotRequired[str],
    input: NotRequired[str],
    traceHeader: NotRequired[str],

StartExecutionOutputTypeDef#

# StartExecutionOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import StartExecutionOutputTypeDef

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

class StartExecutionOutputTypeDef(TypedDict):
    executionArn: str,
    startDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartSyncExecutionInputRequestTypeDef#

# StartSyncExecutionInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import StartSyncExecutionInputRequestTypeDef

def get_value() -> StartSyncExecutionInputRequestTypeDef:
    return {
        "stateMachineArn": ...,
    }
# StartSyncExecutionInputRequestTypeDef definition

class StartSyncExecutionInputRequestTypeDef(TypedDict):
    stateMachineArn: str,
    name: NotRequired[str],
    input: NotRequired[str],
    traceHeader: NotRequired[str],

StopExecutionInputRequestTypeDef#

# StopExecutionInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import StopExecutionInputRequestTypeDef

def get_value() -> StopExecutionInputRequestTypeDef:
    return {
        "executionArn": ...,
    }
# StopExecutionInputRequestTypeDef definition

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

StopExecutionOutputTypeDef#

# StopExecutionOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import StopExecutionOutputTypeDef

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

class StopExecutionOutputTypeDef(TypedDict):
    stopDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UntagResourceInputRequestTypeDef#

# UntagResourceInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import UntagResourceInputRequestTypeDef

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

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

UpdateMapRunInputRequestTypeDef#

# UpdateMapRunInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import UpdateMapRunInputRequestTypeDef

def get_value() -> UpdateMapRunInputRequestTypeDef:
    return {
        "mapRunArn": ...,
    }
# UpdateMapRunInputRequestTypeDef definition

class UpdateMapRunInputRequestTypeDef(TypedDict):
    mapRunArn: str,
    maxConcurrency: NotRequired[int],
    toleratedFailurePercentage: NotRequired[float],
    toleratedFailureCount: NotRequired[int],

UpdateStateMachineOutputTypeDef#

# UpdateStateMachineOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import UpdateStateMachineOutputTypeDef

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

class UpdateStateMachineOutputTypeDef(TypedDict):
    updateDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListActivitiesOutputTypeDef#

# ListActivitiesOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListActivitiesOutputTypeDef

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

class ListActivitiesOutputTypeDef(TypedDict):
    activities: List[ActivityListItemTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityListItemTypeDef
  2. See ResponseMetadataTypeDef

ActivityScheduledEventDetailsTypeDef#

# ActivityScheduledEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ActivityScheduledEventDetailsTypeDef

def get_value() -> ActivityScheduledEventDetailsTypeDef:
    return {
        "resource": ...,
    }
# ActivityScheduledEventDetailsTypeDef definition

class ActivityScheduledEventDetailsTypeDef(TypedDict):
    resource: str,
    input: NotRequired[str],
    inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
    timeoutInSeconds: NotRequired[int],
    heartbeatInSeconds: NotRequired[int],
  1. See HistoryEventExecutionDataDetailsTypeDef

ActivitySucceededEventDetailsTypeDef#

# ActivitySucceededEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ActivitySucceededEventDetailsTypeDef

def get_value() -> ActivitySucceededEventDetailsTypeDef:
    return {
        "output": ...,
    }
# ActivitySucceededEventDetailsTypeDef definition

class ActivitySucceededEventDetailsTypeDef(TypedDict):
    output: NotRequired[str],
    outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
  1. See HistoryEventExecutionDataDetailsTypeDef

ExecutionStartedEventDetailsTypeDef#

# ExecutionStartedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ExecutionStartedEventDetailsTypeDef

def get_value() -> ExecutionStartedEventDetailsTypeDef:
    return {
        "input": ...,
    }
# ExecutionStartedEventDetailsTypeDef definition

class ExecutionStartedEventDetailsTypeDef(TypedDict):
    input: NotRequired[str],
    inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
    roleArn: NotRequired[str],
  1. See HistoryEventExecutionDataDetailsTypeDef

ExecutionSucceededEventDetailsTypeDef#

# ExecutionSucceededEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ExecutionSucceededEventDetailsTypeDef

def get_value() -> ExecutionSucceededEventDetailsTypeDef:
    return {
        "output": ...,
    }
# ExecutionSucceededEventDetailsTypeDef definition

class ExecutionSucceededEventDetailsTypeDef(TypedDict):
    output: NotRequired[str],
    outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
  1. See HistoryEventExecutionDataDetailsTypeDef

LambdaFunctionSucceededEventDetailsTypeDef#

# LambdaFunctionSucceededEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import LambdaFunctionSucceededEventDetailsTypeDef

def get_value() -> LambdaFunctionSucceededEventDetailsTypeDef:
    return {
        "output": ...,
    }
# LambdaFunctionSucceededEventDetailsTypeDef definition

class LambdaFunctionSucceededEventDetailsTypeDef(TypedDict):
    output: NotRequired[str],
    outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
  1. See HistoryEventExecutionDataDetailsTypeDef

StateEnteredEventDetailsTypeDef#

# StateEnteredEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import StateEnteredEventDetailsTypeDef

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

class StateEnteredEventDetailsTypeDef(TypedDict):
    name: str,
    input: NotRequired[str],
    inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
  1. See HistoryEventExecutionDataDetailsTypeDef

StateExitedEventDetailsTypeDef#

# StateExitedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import StateExitedEventDetailsTypeDef

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

class StateExitedEventDetailsTypeDef(TypedDict):
    name: str,
    output: NotRequired[str],
    outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
  1. See HistoryEventExecutionDataDetailsTypeDef

TaskSubmittedEventDetailsTypeDef#

# TaskSubmittedEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TaskSubmittedEventDetailsTypeDef

def get_value() -> TaskSubmittedEventDetailsTypeDef:
    return {
        "resourceType": ...,
        "resource": ...,
    }
# TaskSubmittedEventDetailsTypeDef definition

class TaskSubmittedEventDetailsTypeDef(TypedDict):
    resourceType: str,
    resource: str,
    output: NotRequired[str],
    outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
  1. See HistoryEventExecutionDataDetailsTypeDef

TaskSucceededEventDetailsTypeDef#

# TaskSucceededEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TaskSucceededEventDetailsTypeDef

def get_value() -> TaskSucceededEventDetailsTypeDef:
    return {
        "resourceType": ...,
        "resource": ...,
    }
# TaskSucceededEventDetailsTypeDef definition

class TaskSucceededEventDetailsTypeDef(TypedDict):
    resourceType: str,
    resource: str,
    output: NotRequired[str],
    outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
  1. See HistoryEventExecutionDataDetailsTypeDef

DescribeExecutionOutputTypeDef#

# DescribeExecutionOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeExecutionOutputTypeDef

def get_value() -> DescribeExecutionOutputTypeDef:
    return {
        "executionArn": ...,
        "stateMachineArn": ...,
        "name": ...,
        "status": ...,
        "startDate": ...,
        "stopDate": ...,
        "input": ...,
        "inputDetails": ...,
        "output": ...,
        "outputDetails": ...,
        "traceHeader": ...,
        "mapRunArn": ...,
        "error": ...,
        "cause": ...,
        "ResponseMetadata": ...,
    }
# DescribeExecutionOutputTypeDef definition

class DescribeExecutionOutputTypeDef(TypedDict):
    executionArn: str,
    stateMachineArn: str,
    name: str,
    status: ExecutionStatusType,  # (1)
    startDate: datetime,
    stopDate: datetime,
    input: str,
    inputDetails: CloudWatchEventsExecutionDataDetailsTypeDef,  # (2)
    output: str,
    outputDetails: CloudWatchEventsExecutionDataDetailsTypeDef,  # (2)
    traceHeader: str,
    mapRunArn: str,
    error: str,
    cause: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ExecutionStatusType
  2. See CloudWatchEventsExecutionDataDetailsTypeDef
  3. See CloudWatchEventsExecutionDataDetailsTypeDef
  4. See ResponseMetadataTypeDef

StartSyncExecutionOutputTypeDef#

# StartSyncExecutionOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import StartSyncExecutionOutputTypeDef

def get_value() -> StartSyncExecutionOutputTypeDef:
    return {
        "executionArn": ...,
        "stateMachineArn": ...,
        "name": ...,
        "startDate": ...,
        "stopDate": ...,
        "status": ...,
        "error": ...,
        "cause": ...,
        "input": ...,
        "inputDetails": ...,
        "output": ...,
        "outputDetails": ...,
        "traceHeader": ...,
        "billingDetails": ...,
        "ResponseMetadata": ...,
    }
# StartSyncExecutionOutputTypeDef definition

class StartSyncExecutionOutputTypeDef(TypedDict):
    executionArn: str,
    stateMachineArn: str,
    name: str,
    startDate: datetime,
    stopDate: datetime,
    status: SyncExecutionStatusType,  # (1)
    error: str,
    cause: str,
    input: str,
    inputDetails: CloudWatchEventsExecutionDataDetailsTypeDef,  # (2)
    output: str,
    outputDetails: CloudWatchEventsExecutionDataDetailsTypeDef,  # (2)
    traceHeader: str,
    billingDetails: BillingDetailsTypeDef,  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See SyncExecutionStatusType
  2. See CloudWatchEventsExecutionDataDetailsTypeDef
  3. See CloudWatchEventsExecutionDataDetailsTypeDef
  4. See BillingDetailsTypeDef
  5. See ResponseMetadataTypeDef

LogDestinationTypeDef#

# LogDestinationTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import LogDestinationTypeDef

def get_value() -> LogDestinationTypeDef:
    return {
        "cloudWatchLogsLogGroup": ...,
    }
# LogDestinationTypeDef definition

class LogDestinationTypeDef(TypedDict):
    cloudWatchLogsLogGroup: NotRequired[CloudWatchLogsLogGroupTypeDef],  # (1)
  1. See CloudWatchLogsLogGroupTypeDef

CreateActivityInputRequestTypeDef#

# CreateActivityInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import CreateActivityInputRequestTypeDef

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

class CreateActivityInputRequestTypeDef(TypedDict):
    name: str,
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListTagsForResourceOutputTypeDef

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

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

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TagResourceInputRequestTypeDef

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

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

DescribeMapRunOutputTypeDef#

# DescribeMapRunOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeMapRunOutputTypeDef

def get_value() -> DescribeMapRunOutputTypeDef:
    return {
        "mapRunArn": ...,
        "executionArn": ...,
        "status": ...,
        "startDate": ...,
        "stopDate": ...,
        "maxConcurrency": ...,
        "toleratedFailurePercentage": ...,
        "toleratedFailureCount": ...,
        "itemCounts": ...,
        "executionCounts": ...,
        "ResponseMetadata": ...,
    }
# DescribeMapRunOutputTypeDef definition

class DescribeMapRunOutputTypeDef(TypedDict):
    mapRunArn: str,
    executionArn: str,
    status: MapRunStatusType,  # (1)
    startDate: datetime,
    stopDate: datetime,
    maxConcurrency: int,
    toleratedFailurePercentage: float,
    toleratedFailureCount: int,
    itemCounts: MapRunItemCountsTypeDef,  # (2)
    executionCounts: MapRunExecutionCountsTypeDef,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See MapRunStatusType
  2. See MapRunItemCountsTypeDef
  3. See MapRunExecutionCountsTypeDef
  4. See ResponseMetadataTypeDef

ListExecutionsOutputTypeDef#

# ListExecutionsOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListExecutionsOutputTypeDef

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

class ListExecutionsOutputTypeDef(TypedDict):
    executions: List[ExecutionListItemTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExecutionListItemTypeDef
  2. See ResponseMetadataTypeDef

LambdaFunctionScheduledEventDetailsTypeDef#

# LambdaFunctionScheduledEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import LambdaFunctionScheduledEventDetailsTypeDef

def get_value() -> LambdaFunctionScheduledEventDetailsTypeDef:
    return {
        "resource": ...,
    }
# LambdaFunctionScheduledEventDetailsTypeDef definition

class LambdaFunctionScheduledEventDetailsTypeDef(TypedDict):
    resource: str,
    input: NotRequired[str],
    inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
    timeoutInSeconds: NotRequired[int],
    taskCredentials: NotRequired[TaskCredentialsTypeDef],  # (2)
  1. See HistoryEventExecutionDataDetailsTypeDef
  2. See TaskCredentialsTypeDef

TaskScheduledEventDetailsTypeDef#

# TaskScheduledEventDetailsTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import TaskScheduledEventDetailsTypeDef

def get_value() -> TaskScheduledEventDetailsTypeDef:
    return {
        "resourceType": ...,
        "resource": ...,
        "region": ...,
        "parameters": ...,
    }
# TaskScheduledEventDetailsTypeDef definition

class TaskScheduledEventDetailsTypeDef(TypedDict):
    resourceType: str,
    resource: str,
    region: str,
    parameters: str,
    timeoutInSeconds: NotRequired[int],
    heartbeatInSeconds: NotRequired[int],
    taskCredentials: NotRequired[TaskCredentialsTypeDef],  # (1)
  1. See TaskCredentialsTypeDef

ListMapRunsOutputTypeDef#

# ListMapRunsOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListMapRunsOutputTypeDef

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

class ListMapRunsOutputTypeDef(TypedDict):
    mapRuns: List[MapRunListItemTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MapRunListItemTypeDef
  2. See ResponseMetadataTypeDef

ListStateMachinesOutputTypeDef#

# ListStateMachinesOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import ListStateMachinesOutputTypeDef

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

class ListStateMachinesOutputTypeDef(TypedDict):
    stateMachines: List[StateMachineListItemTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StateMachineListItemTypeDef
  2. See ResponseMetadataTypeDef

LoggingConfigurationTypeDef#

# LoggingConfigurationTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import LoggingConfigurationTypeDef

def get_value() -> LoggingConfigurationTypeDef:
    return {
        "level": ...,
    }
# LoggingConfigurationTypeDef definition

class LoggingConfigurationTypeDef(TypedDict):
    level: NotRequired[LogLevelType],  # (1)
    includeExecutionData: NotRequired[bool],
    destinations: NotRequired[Sequence[LogDestinationTypeDef]],  # (2)
  1. See LogLevelType
  2. See LogDestinationTypeDef

HistoryEventTypeDef#

# HistoryEventTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import HistoryEventTypeDef

def get_value() -> HistoryEventTypeDef:
    return {
        "timestamp": ...,
        "type": ...,
        "id": ...,
    }
# HistoryEventTypeDef definition

class HistoryEventTypeDef(TypedDict):
    timestamp: datetime,
    type: HistoryEventTypeType,  # (1)
    id: int,
    previousEventId: NotRequired[int],
    activityFailedEventDetails: NotRequired[ActivityFailedEventDetailsTypeDef],  # (2)
    activityScheduleFailedEventDetails: NotRequired[ActivityScheduleFailedEventDetailsTypeDef],  # (3)
    activityScheduledEventDetails: NotRequired[ActivityScheduledEventDetailsTypeDef],  # (4)
    activityStartedEventDetails: NotRequired[ActivityStartedEventDetailsTypeDef],  # (5)
    activitySucceededEventDetails: NotRequired[ActivitySucceededEventDetailsTypeDef],  # (6)
    activityTimedOutEventDetails: NotRequired[ActivityTimedOutEventDetailsTypeDef],  # (7)
    taskFailedEventDetails: NotRequired[TaskFailedEventDetailsTypeDef],  # (8)
    taskScheduledEventDetails: NotRequired[TaskScheduledEventDetailsTypeDef],  # (9)
    taskStartFailedEventDetails: NotRequired[TaskStartFailedEventDetailsTypeDef],  # (10)
    taskStartedEventDetails: NotRequired[TaskStartedEventDetailsTypeDef],  # (11)
    taskSubmitFailedEventDetails: NotRequired[TaskSubmitFailedEventDetailsTypeDef],  # (12)
    taskSubmittedEventDetails: NotRequired[TaskSubmittedEventDetailsTypeDef],  # (13)
    taskSucceededEventDetails: NotRequired[TaskSucceededEventDetailsTypeDef],  # (14)
    taskTimedOutEventDetails: NotRequired[TaskTimedOutEventDetailsTypeDef],  # (15)
    executionFailedEventDetails: NotRequired[ExecutionFailedEventDetailsTypeDef],  # (16)
    executionStartedEventDetails: NotRequired[ExecutionStartedEventDetailsTypeDef],  # (17)
    executionSucceededEventDetails: NotRequired[ExecutionSucceededEventDetailsTypeDef],  # (18)
    executionAbortedEventDetails: NotRequired[ExecutionAbortedEventDetailsTypeDef],  # (19)
    executionTimedOutEventDetails: NotRequired[ExecutionTimedOutEventDetailsTypeDef],  # (20)
    mapStateStartedEventDetails: NotRequired[MapStateStartedEventDetailsTypeDef],  # (21)
    mapIterationStartedEventDetails: NotRequired[MapIterationEventDetailsTypeDef],  # (22)
    mapIterationSucceededEventDetails: NotRequired[MapIterationEventDetailsTypeDef],  # (22)
    mapIterationFailedEventDetails: NotRequired[MapIterationEventDetailsTypeDef],  # (22)
    mapIterationAbortedEventDetails: NotRequired[MapIterationEventDetailsTypeDef],  # (22)
    lambdaFunctionFailedEventDetails: NotRequired[LambdaFunctionFailedEventDetailsTypeDef],  # (26)
    lambdaFunctionScheduleFailedEventDetails: NotRequired[LambdaFunctionScheduleFailedEventDetailsTypeDef],  # (27)
    lambdaFunctionScheduledEventDetails: NotRequired[LambdaFunctionScheduledEventDetailsTypeDef],  # (28)
    lambdaFunctionStartFailedEventDetails: NotRequired[LambdaFunctionStartFailedEventDetailsTypeDef],  # (29)
    lambdaFunctionSucceededEventDetails: NotRequired[LambdaFunctionSucceededEventDetailsTypeDef],  # (30)
    lambdaFunctionTimedOutEventDetails: NotRequired[LambdaFunctionTimedOutEventDetailsTypeDef],  # (31)
    stateEnteredEventDetails: NotRequired[StateEnteredEventDetailsTypeDef],  # (32)
    stateExitedEventDetails: NotRequired[StateExitedEventDetailsTypeDef],  # (33)
    mapRunStartedEventDetails: NotRequired[MapRunStartedEventDetailsTypeDef],  # (34)
    mapRunFailedEventDetails: NotRequired[MapRunFailedEventDetailsTypeDef],  # (35)
  1. See HistoryEventTypeType
  2. See ActivityFailedEventDetailsTypeDef
  3. See ActivityScheduleFailedEventDetailsTypeDef
  4. See ActivityScheduledEventDetailsTypeDef
  5. See ActivityStartedEventDetailsTypeDef
  6. See ActivitySucceededEventDetailsTypeDef
  7. See ActivityTimedOutEventDetailsTypeDef
  8. See TaskFailedEventDetailsTypeDef
  9. See TaskScheduledEventDetailsTypeDef
  10. See TaskStartFailedEventDetailsTypeDef
  11. See TaskStartedEventDetailsTypeDef
  12. See TaskSubmitFailedEventDetailsTypeDef
  13. See TaskSubmittedEventDetailsTypeDef
  14. See TaskSucceededEventDetailsTypeDef
  15. See TaskTimedOutEventDetailsTypeDef
  16. See ExecutionFailedEventDetailsTypeDef
  17. See ExecutionStartedEventDetailsTypeDef
  18. See ExecutionSucceededEventDetailsTypeDef
  19. See ExecutionAbortedEventDetailsTypeDef
  20. See ExecutionTimedOutEventDetailsTypeDef
  21. See MapStateStartedEventDetailsTypeDef
  22. See MapIterationEventDetailsTypeDef
  23. See MapIterationEventDetailsTypeDef
  24. See MapIterationEventDetailsTypeDef
  25. See MapIterationEventDetailsTypeDef
  26. See LambdaFunctionFailedEventDetailsTypeDef
  27. See LambdaFunctionScheduleFailedEventDetailsTypeDef
  28. See LambdaFunctionScheduledEventDetailsTypeDef
  29. See LambdaFunctionStartFailedEventDetailsTypeDef
  30. See LambdaFunctionSucceededEventDetailsTypeDef
  31. See LambdaFunctionTimedOutEventDetailsTypeDef
  32. See StateEnteredEventDetailsTypeDef
  33. See StateExitedEventDetailsTypeDef
  34. See MapRunStartedEventDetailsTypeDef
  35. See MapRunFailedEventDetailsTypeDef

CreateStateMachineInputRequestTypeDef#

# CreateStateMachineInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import CreateStateMachineInputRequestTypeDef

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

class CreateStateMachineInputRequestTypeDef(TypedDict):
    name: str,
    definition: str,
    roleArn: str,
    type: NotRequired[StateMachineTypeType],  # (1)
    loggingConfiguration: NotRequired[LoggingConfigurationTypeDef],  # (2)
    tags: NotRequired[Sequence[TagTypeDef]],  # (3)
    tracingConfiguration: NotRequired[TracingConfigurationTypeDef],  # (4)
  1. See StateMachineTypeType
  2. See LoggingConfigurationTypeDef
  3. See TagTypeDef
  4. See TracingConfigurationTypeDef

DescribeStateMachineForExecutionOutputTypeDef#

# DescribeStateMachineForExecutionOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeStateMachineForExecutionOutputTypeDef

def get_value() -> DescribeStateMachineForExecutionOutputTypeDef:
    return {
        "stateMachineArn": ...,
        "name": ...,
        "definition": ...,
        "roleArn": ...,
        "updateDate": ...,
        "loggingConfiguration": ...,
        "tracingConfiguration": ...,
        "mapRunArn": ...,
        "label": ...,
        "ResponseMetadata": ...,
    }
# DescribeStateMachineForExecutionOutputTypeDef definition

class DescribeStateMachineForExecutionOutputTypeDef(TypedDict):
    stateMachineArn: str,
    name: str,
    definition: str,
    roleArn: str,
    updateDate: datetime,
    loggingConfiguration: LoggingConfigurationTypeDef,  # (1)
    tracingConfiguration: TracingConfigurationTypeDef,  # (2)
    mapRunArn: str,
    label: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LoggingConfigurationTypeDef
  2. See TracingConfigurationTypeDef
  3. See ResponseMetadataTypeDef

DescribeStateMachineOutputTypeDef#

# DescribeStateMachineOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import DescribeStateMachineOutputTypeDef

def get_value() -> DescribeStateMachineOutputTypeDef:
    return {
        "stateMachineArn": ...,
        "name": ...,
        "status": ...,
        "definition": ...,
        "roleArn": ...,
        "type": ...,
        "creationDate": ...,
        "loggingConfiguration": ...,
        "tracingConfiguration": ...,
        "label": ...,
        "ResponseMetadata": ...,
    }
# DescribeStateMachineOutputTypeDef definition

class DescribeStateMachineOutputTypeDef(TypedDict):
    stateMachineArn: str,
    name: str,
    status: StateMachineStatusType,  # (1)
    definition: str,
    roleArn: str,
    type: StateMachineTypeType,  # (2)
    creationDate: datetime,
    loggingConfiguration: LoggingConfigurationTypeDef,  # (3)
    tracingConfiguration: TracingConfigurationTypeDef,  # (4)
    label: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See StateMachineStatusType
  2. See StateMachineTypeType
  3. See LoggingConfigurationTypeDef
  4. See TracingConfigurationTypeDef
  5. See ResponseMetadataTypeDef

UpdateStateMachineInputRequestTypeDef#

# UpdateStateMachineInputRequestTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import UpdateStateMachineInputRequestTypeDef

def get_value() -> UpdateStateMachineInputRequestTypeDef:
    return {
        "stateMachineArn": ...,
    }
# UpdateStateMachineInputRequestTypeDef definition

class UpdateStateMachineInputRequestTypeDef(TypedDict):
    stateMachineArn: str,
    definition: NotRequired[str],
    roleArn: NotRequired[str],
    loggingConfiguration: NotRequired[LoggingConfigurationTypeDef],  # (1)
    tracingConfiguration: NotRequired[TracingConfigurationTypeDef],  # (2)
  1. See LoggingConfigurationTypeDef
  2. See TracingConfigurationTypeDef

GetExecutionHistoryOutputTypeDef#

# GetExecutionHistoryOutputTypeDef usage example

from mypy_boto3_stepfunctions.type_defs import GetExecutionHistoryOutputTypeDef

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

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