Typed dictionaries
Auto-generated documentation for SFN type annotations stubs module mypy-boto3-stepfunctions.
ActivityFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ActivityFailedEventDetailsTypeDef
def get_value() -> ActivityFailedEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class ActivityFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
ActivityListItemTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ActivityListItemTypeDef
def get_value() -> ActivityListItemTypeDef:
return {
"activityArn": ...,
"name": ...,
"creationDate": ...,
}
Definition
class ActivityListItemTypeDef(TypedDict):
activityArn: str,
name: str,
creationDate: datetime,
ActivityScheduleFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ActivityScheduleFailedEventDetailsTypeDef
def get_value() -> ActivityScheduleFailedEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class ActivityScheduleFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
HistoryEventExecutionDataDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import HistoryEventExecutionDataDetailsTypeDef
def get_value() -> HistoryEventExecutionDataDetailsTypeDef:
return {
"truncated": ...,
}
ActivityStartedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ActivityStartedEventDetailsTypeDef
def get_value() -> ActivityStartedEventDetailsTypeDef:
return {
"workerName": ...,
}
ActivityTimedOutEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ActivityTimedOutEventDetailsTypeDef
def get_value() -> ActivityTimedOutEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class ActivityTimedOutEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
BillingDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import BillingDetailsTypeDef
def get_value() -> BillingDetailsTypeDef:
return {
"billedMemoryUsedInMB": ...,
}
Definition
class BillingDetailsTypeDef(TypedDict):
billedMemoryUsedInMB: NotRequired[int],
billedDurationInMilliseconds: NotRequired[int],
CloudWatchEventsExecutionDataDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import CloudWatchEventsExecutionDataDetailsTypeDef
def get_value() -> CloudWatchEventsExecutionDataDetailsTypeDef:
return {
"included": ...,
}
Definition
class CloudWatchEventsExecutionDataDetailsTypeDef(TypedDict):
included: NotRequired[bool],
CloudWatchLogsLogGroupTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import CloudWatchLogsLogGroupTypeDef
def get_value() -> CloudWatchLogsLogGroupTypeDef:
return {
"logGroupArn": ...,
}
TagTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"key": ...,
}
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
TracingConfigurationTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TracingConfigurationTypeDef
def get_value() -> TracingConfigurationTypeDef:
return {
"enabled": ...,
}
DeleteActivityInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import DeleteActivityInputRequestTypeDef
def get_value() -> DeleteActivityInputRequestTypeDef:
return {
"activityArn": ...,
}
DeleteStateMachineInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import DeleteStateMachineInputRequestTypeDef
def get_value() -> DeleteStateMachineInputRequestTypeDef:
return {
"stateMachineArn": ...,
}
DescribeActivityInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import DescribeActivityInputRequestTypeDef
def get_value() -> DescribeActivityInputRequestTypeDef:
return {
"activityArn": ...,
}
DescribeExecutionInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import DescribeExecutionInputRequestTypeDef
def get_value() -> DescribeExecutionInputRequestTypeDef:
return {
"executionArn": ...,
}
DescribeMapRunInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import DescribeMapRunInputRequestTypeDef
def get_value() -> DescribeMapRunInputRequestTypeDef:
return {
"mapRunArn": ...,
}
MapRunExecutionCountsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import MapRunExecutionCountsTypeDef
def get_value() -> MapRunExecutionCountsTypeDef:
return {
"pending": ...,
"running": ...,
"succeeded": ...,
"failed": ...,
"timedOut": ...,
"aborted": ...,
"total": ...,
"resultsWritten": ...,
}
Definition
class MapRunExecutionCountsTypeDef(TypedDict):
pending: int,
running: int,
succeeded: int,
failed: int,
timedOut: int,
aborted: int,
total: int,
resultsWritten: int,
MapRunItemCountsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import MapRunItemCountsTypeDef
def get_value() -> MapRunItemCountsTypeDef:
return {
"pending": ...,
"running": ...,
"succeeded": ...,
"failed": ...,
"timedOut": ...,
"aborted": ...,
"total": ...,
"resultsWritten": ...,
}
Definition
class MapRunItemCountsTypeDef(TypedDict):
pending: int,
running: int,
succeeded: int,
failed: int,
timedOut: int,
aborted: int,
total: int,
resultsWritten: int,
DescribeStateMachineForExecutionInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import DescribeStateMachineForExecutionInputRequestTypeDef
def get_value() -> DescribeStateMachineForExecutionInputRequestTypeDef:
return {
"executionArn": ...,
}
DescribeStateMachineInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import DescribeStateMachineInputRequestTypeDef
def get_value() -> DescribeStateMachineInputRequestTypeDef:
return {
"stateMachineArn": ...,
}
ExecutionAbortedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ExecutionAbortedEventDetailsTypeDef
def get_value() -> ExecutionAbortedEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class ExecutionAbortedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
ExecutionFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ExecutionFailedEventDetailsTypeDef
def get_value() -> ExecutionFailedEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class ExecutionFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
ExecutionListItemTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ExecutionListItemTypeDef
def get_value() -> ExecutionListItemTypeDef:
return {
"executionArn": ...,
"stateMachineArn": ...,
"name": ...,
"status": ...,
"startDate": ...,
}
Definition
class ExecutionListItemTypeDef(TypedDict):
executionArn: str,
stateMachineArn: str,
name: str,
status: ExecutionStatusType, # (1)
startDate: datetime,
stopDate: NotRequired[datetime],
mapRunArn: NotRequired[str],
itemCount: NotRequired[int],
ExecutionTimedOutEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ExecutionTimedOutEventDetailsTypeDef
def get_value() -> ExecutionTimedOutEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class ExecutionTimedOutEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
GetActivityTaskInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import GetActivityTaskInputRequestTypeDef
def get_value() -> GetActivityTaskInputRequestTypeDef:
return {
"activityArn": ...,
}
Definition
class GetActivityTaskInputRequestTypeDef(TypedDict):
activityArn: str,
workerName: NotRequired[str],
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
GetExecutionHistoryInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import GetExecutionHistoryInputRequestTypeDef
def get_value() -> GetExecutionHistoryInputRequestTypeDef:
return {
"executionArn": ...,
}
Definition
class GetExecutionHistoryInputRequestTypeDef(TypedDict):
executionArn: str,
maxResults: NotRequired[int],
reverseOrder: NotRequired[bool],
nextToken: NotRequired[str],
includeExecutionData: NotRequired[bool],
LambdaFunctionFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import LambdaFunctionFailedEventDetailsTypeDef
def get_value() -> LambdaFunctionFailedEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class LambdaFunctionFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
LambdaFunctionScheduleFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import LambdaFunctionScheduleFailedEventDetailsTypeDef
def get_value() -> LambdaFunctionScheduleFailedEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class LambdaFunctionScheduleFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
LambdaFunctionStartFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import LambdaFunctionStartFailedEventDetailsTypeDef
def get_value() -> LambdaFunctionStartFailedEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class LambdaFunctionStartFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
LambdaFunctionTimedOutEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import LambdaFunctionTimedOutEventDetailsTypeDef
def get_value() -> LambdaFunctionTimedOutEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class LambdaFunctionTimedOutEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
MapIterationEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import MapIterationEventDetailsTypeDef
def get_value() -> MapIterationEventDetailsTypeDef:
return {
"name": ...,
}
Definition
class MapIterationEventDetailsTypeDef(TypedDict):
name: NotRequired[str],
index: NotRequired[int],
MapRunFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import MapRunFailedEventDetailsTypeDef
def get_value() -> MapRunFailedEventDetailsTypeDef:
return {
"error": ...,
}
Definition
class MapRunFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
MapRunStartedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import MapRunStartedEventDetailsTypeDef
def get_value() -> MapRunStartedEventDetailsTypeDef:
return {
"mapRunArn": ...,
}
MapStateStartedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import MapStateStartedEventDetailsTypeDef
def get_value() -> MapStateStartedEventDetailsTypeDef:
return {
"length": ...,
}
TaskFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TaskFailedEventDetailsTypeDef
def get_value() -> TaskFailedEventDetailsTypeDef:
return {
"resourceType": ...,
"resource": ...,
}
Definition
class TaskFailedEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
error: NotRequired[str],
cause: NotRequired[str],
TaskStartFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TaskStartFailedEventDetailsTypeDef
def get_value() -> TaskStartFailedEventDetailsTypeDef:
return {
"resourceType": ...,
"resource": ...,
}
Definition
class TaskStartFailedEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
error: NotRequired[str],
cause: NotRequired[str],
TaskStartedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TaskStartedEventDetailsTypeDef
def get_value() -> TaskStartedEventDetailsTypeDef:
return {
"resourceType": ...,
"resource": ...,
}
TaskSubmitFailedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TaskSubmitFailedEventDetailsTypeDef
def get_value() -> TaskSubmitFailedEventDetailsTypeDef:
return {
"resourceType": ...,
"resource": ...,
}
Definition
class TaskSubmitFailedEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
error: NotRequired[str],
cause: NotRequired[str],
TaskTimedOutEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TaskTimedOutEventDetailsTypeDef
def get_value() -> TaskTimedOutEventDetailsTypeDef:
return {
"resourceType": ...,
"resource": ...,
}
Definition
class TaskTimedOutEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
error: NotRequired[str],
cause: NotRequired[str],
TaskCredentialsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TaskCredentialsTypeDef
def get_value() -> TaskCredentialsTypeDef:
return {
"roleArn": ...,
}
ListActivitiesInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListActivitiesInputRequestTypeDef
def get_value() -> ListActivitiesInputRequestTypeDef:
return {
"maxResults": ...,
}
Definition
class ListActivitiesInputRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListExecutionsInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListExecutionsInputRequestTypeDef
def get_value() -> ListExecutionsInputRequestTypeDef:
return {
"stateMachineArn": ...,
}
Definition
class ListExecutionsInputRequestTypeDef(TypedDict):
stateMachineArn: NotRequired[str],
statusFilter: NotRequired[ExecutionStatusType], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
mapRunArn: NotRequired[str],
ListMapRunsInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListMapRunsInputRequestTypeDef
def get_value() -> ListMapRunsInputRequestTypeDef:
return {
"executionArn": ...,
}
Definition
class ListMapRunsInputRequestTypeDef(TypedDict):
executionArn: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
MapRunListItemTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import MapRunListItemTypeDef
def get_value() -> MapRunListItemTypeDef:
return {
"executionArn": ...,
"mapRunArn": ...,
"stateMachineArn": ...,
"startDate": ...,
}
Definition
class MapRunListItemTypeDef(TypedDict):
executionArn: str,
mapRunArn: str,
stateMachineArn: str,
startDate: datetime,
stopDate: NotRequired[datetime],
ListStateMachinesInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListStateMachinesInputRequestTypeDef
def get_value() -> ListStateMachinesInputRequestTypeDef:
return {
"maxResults": ...,
}
Definition
class ListStateMachinesInputRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
StateMachineListItemTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import StateMachineListItemTypeDef
def get_value() -> StateMachineListItemTypeDef:
return {
"stateMachineArn": ...,
"name": ...,
"type": ...,
"creationDate": ...,
}
Definition
class StateMachineListItemTypeDef(TypedDict):
stateMachineArn: str,
name: str,
type: StateMachineTypeType, # (1)
creationDate: datetime,
ListTagsForResourceInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListTagsForResourceInputRequestTypeDef
def get_value() -> ListTagsForResourceInputRequestTypeDef:
return {
"resourceArn": ...,
}
SendTaskFailureInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import SendTaskFailureInputRequestTypeDef
def get_value() -> SendTaskFailureInputRequestTypeDef:
return {
"taskToken": ...,
}
Definition
class SendTaskFailureInputRequestTypeDef(TypedDict):
taskToken: str,
error: NotRequired[str],
cause: NotRequired[str],
SendTaskHeartbeatInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import SendTaskHeartbeatInputRequestTypeDef
def get_value() -> SendTaskHeartbeatInputRequestTypeDef:
return {
"taskToken": ...,
}
SendTaskSuccessInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import SendTaskSuccessInputRequestTypeDef
def get_value() -> SendTaskSuccessInputRequestTypeDef:
return {
"taskToken": ...,
"output": ...,
}
StartExecutionInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import StartExecutionInputRequestTypeDef
def get_value() -> StartExecutionInputRequestTypeDef:
return {
"stateMachineArn": ...,
}
Definition
class StartExecutionInputRequestTypeDef(TypedDict):
stateMachineArn: str,
name: NotRequired[str],
input: NotRequired[str],
traceHeader: NotRequired[str],
StartSyncExecutionInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import StartSyncExecutionInputRequestTypeDef
def get_value() -> StartSyncExecutionInputRequestTypeDef:
return {
"stateMachineArn": ...,
}
Definition
class StartSyncExecutionInputRequestTypeDef(TypedDict):
stateMachineArn: str,
name: NotRequired[str],
input: NotRequired[str],
traceHeader: NotRequired[str],
StopExecutionInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import StopExecutionInputRequestTypeDef
def get_value() -> StopExecutionInputRequestTypeDef:
return {
"executionArn": ...,
}
Definition
class StopExecutionInputRequestTypeDef(TypedDict):
executionArn: str,
error: NotRequired[str],
cause: NotRequired[str],
UntagResourceInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import UntagResourceInputRequestTypeDef
def get_value() -> UntagResourceInputRequestTypeDef:
return {
"resourceArn": ...,
"tagKeys": ...,
}
Definition
class UntagResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateMapRunInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import UpdateMapRunInputRequestTypeDef
def get_value() -> UpdateMapRunInputRequestTypeDef:
return {
"mapRunArn": ...,
}
Definition
class UpdateMapRunInputRequestTypeDef(TypedDict):
mapRunArn: str,
maxConcurrency: NotRequired[int],
toleratedFailurePercentage: NotRequired[float],
toleratedFailureCount: NotRequired[int],
ActivityScheduledEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ActivityScheduledEventDetailsTypeDef
def get_value() -> ActivityScheduledEventDetailsTypeDef:
return {
"resource": ...,
}
Definition
class ActivityScheduledEventDetailsTypeDef(TypedDict):
resource: str,
input: NotRequired[str],
inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
timeoutInSeconds: NotRequired[int],
heartbeatInSeconds: NotRequired[int],
ActivitySucceededEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ActivitySucceededEventDetailsTypeDef
def get_value() -> ActivitySucceededEventDetailsTypeDef:
return {
"output": ...,
}
Definition
class ActivitySucceededEventDetailsTypeDef(TypedDict):
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
ExecutionStartedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ExecutionStartedEventDetailsTypeDef
def get_value() -> ExecutionStartedEventDetailsTypeDef:
return {
"input": ...,
}
Definition
class ExecutionStartedEventDetailsTypeDef(TypedDict):
input: NotRequired[str],
inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
roleArn: NotRequired[str],
ExecutionSucceededEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ExecutionSucceededEventDetailsTypeDef
def get_value() -> ExecutionSucceededEventDetailsTypeDef:
return {
"output": ...,
}
Definition
class ExecutionSucceededEventDetailsTypeDef(TypedDict):
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
LambdaFunctionSucceededEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import LambdaFunctionSucceededEventDetailsTypeDef
def get_value() -> LambdaFunctionSucceededEventDetailsTypeDef:
return {
"output": ...,
}
Definition
class LambdaFunctionSucceededEventDetailsTypeDef(TypedDict):
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
StateEnteredEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import StateEnteredEventDetailsTypeDef
def get_value() -> StateEnteredEventDetailsTypeDef:
return {
"name": ...,
}
Definition
class StateEnteredEventDetailsTypeDef(TypedDict):
name: str,
input: NotRequired[str],
inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
StateExitedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import StateExitedEventDetailsTypeDef
def get_value() -> StateExitedEventDetailsTypeDef:
return {
"name": ...,
}
Definition
class StateExitedEventDetailsTypeDef(TypedDict):
name: str,
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
TaskSubmittedEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TaskSubmittedEventDetailsTypeDef
def get_value() -> TaskSubmittedEventDetailsTypeDef:
return {
"resourceType": ...,
"resource": ...,
}
Definition
class TaskSubmittedEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
TaskSucceededEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TaskSucceededEventDetailsTypeDef
def get_value() -> TaskSucceededEventDetailsTypeDef:
return {
"resourceType": ...,
"resource": ...,
}
Definition
class TaskSucceededEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
LogDestinationTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import LogDestinationTypeDef
def get_value() -> LogDestinationTypeDef:
return {
"cloudWatchLogsLogGroup": ...,
}
Definition
class LogDestinationTypeDef(TypedDict):
cloudWatchLogsLogGroup: NotRequired[CloudWatchLogsLogGroupTypeDef], # (1)
CreateActivityInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import CreateActivityInputRequestTypeDef
def get_value() -> CreateActivityInputRequestTypeDef:
return {
"name": ...,
}
Definition
class CreateActivityInputRequestTypeDef(TypedDict):
name: str,
tags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
TagResourceInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TagResourceInputRequestTypeDef
def get_value() -> TagResourceInputRequestTypeDef:
return {
"resourceArn": ...,
"tags": ...,
}
Definition
class TagResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateActivityOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import CreateActivityOutputTypeDef
def get_value() -> CreateActivityOutputTypeDef:
return {
"activityArn": ...,
"creationDate": ...,
"ResponseMetadata": ...,
}
Definition
class CreateActivityOutputTypeDef(TypedDict):
activityArn: str,
creationDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateStateMachineOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import CreateStateMachineOutputTypeDef
def get_value() -> CreateStateMachineOutputTypeDef:
return {
"stateMachineArn": ...,
"creationDate": ...,
"ResponseMetadata": ...,
}
Definition
class CreateStateMachineOutputTypeDef(TypedDict):
stateMachineArn: str,
creationDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeActivityOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import DescribeActivityOutputTypeDef
def get_value() -> DescribeActivityOutputTypeDef:
return {
"activityArn": ...,
"name": ...,
"creationDate": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeActivityOutputTypeDef(TypedDict):
activityArn: str,
name: str,
creationDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
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": ...,
}
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)
- See ExecutionStatusType
- See CloudWatchEventsExecutionDataDetailsTypeDef
- See CloudWatchEventsExecutionDataDetailsTypeDef
- See ResponseMetadataTypeDef
GetActivityTaskOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import GetActivityTaskOutputTypeDef
def get_value() -> GetActivityTaskOutputTypeDef:
return {
"taskToken": ...,
"input": ...,
"ResponseMetadata": ...,
}
Definition
class GetActivityTaskOutputTypeDef(TypedDict):
taskToken: str,
input: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListActivitiesOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListActivitiesOutputTypeDef
def get_value() -> ListActivitiesOutputTypeDef:
return {
"activities": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListActivitiesOutputTypeDef(TypedDict):
activities: List[ActivityListItemTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTagsForResourceOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListTagsForResourceOutputTypeDef
def get_value() -> ListTagsForResourceOutputTypeDef:
return {
"tags": ...,
"ResponseMetadata": ...,
}
Definition
class ListTagsForResourceOutputTypeDef(TypedDict):
tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
StartExecutionOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import StartExecutionOutputTypeDef
def get_value() -> StartExecutionOutputTypeDef:
return {
"executionArn": ...,
"startDate": ...,
"ResponseMetadata": ...,
}
Definition
class StartExecutionOutputTypeDef(TypedDict):
executionArn: str,
startDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
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": ...,
}
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)
- See SyncExecutionStatusType
- See CloudWatchEventsExecutionDataDetailsTypeDef
- See CloudWatchEventsExecutionDataDetailsTypeDef
- See BillingDetailsTypeDef
- See ResponseMetadataTypeDef
StopExecutionOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import StopExecutionOutputTypeDef
def get_value() -> StopExecutionOutputTypeDef:
return {
"stopDate": ...,
"ResponseMetadata": ...,
}
Definition
class StopExecutionOutputTypeDef(TypedDict):
stopDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateStateMachineOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import UpdateStateMachineOutputTypeDef
def get_value() -> UpdateStateMachineOutputTypeDef:
return {
"updateDate": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateStateMachineOutputTypeDef(TypedDict):
updateDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
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": ...,
}
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)
- See MapRunStatusType
- See MapRunItemCountsTypeDef
- See MapRunExecutionCountsTypeDef
- See ResponseMetadataTypeDef
ListExecutionsOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListExecutionsOutputTypeDef
def get_value() -> ListExecutionsOutputTypeDef:
return {
"executions": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListExecutionsOutputTypeDef(TypedDict):
executions: List[ExecutionListItemTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef
def get_value() -> GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef:
return {
"executionArn": ...,
}
Definition
class GetExecutionHistoryInputGetExecutionHistoryPaginateTypeDef(TypedDict):
executionArn: str,
reverseOrder: NotRequired[bool],
includeExecutionData: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListActivitiesInputListActivitiesPaginateTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListActivitiesInputListActivitiesPaginateTypeDef
def get_value() -> ListActivitiesInputListActivitiesPaginateTypeDef:
return {
"PaginationConfig": ...,
}
Definition
class ListActivitiesInputListActivitiesPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListExecutionsInputListExecutionsPaginateTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListExecutionsInputListExecutionsPaginateTypeDef
def get_value() -> ListExecutionsInputListExecutionsPaginateTypeDef:
return {
"stateMachineArn": ...,
}
Definition
class ListExecutionsInputListExecutionsPaginateTypeDef(TypedDict):
stateMachineArn: NotRequired[str],
statusFilter: NotRequired[ExecutionStatusType], # (1)
mapRunArn: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListMapRunsInputListMapRunsPaginateTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListMapRunsInputListMapRunsPaginateTypeDef
def get_value() -> ListMapRunsInputListMapRunsPaginateTypeDef:
return {
"executionArn": ...,
}
Definition
class ListMapRunsInputListMapRunsPaginateTypeDef(TypedDict):
executionArn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListStateMachinesInputListStateMachinesPaginateTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListStateMachinesInputListStateMachinesPaginateTypeDef
def get_value() -> ListStateMachinesInputListStateMachinesPaginateTypeDef:
return {
"PaginationConfig": ...,
}
Definition
class ListStateMachinesInputListStateMachinesPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
LambdaFunctionScheduledEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import LambdaFunctionScheduledEventDetailsTypeDef
def get_value() -> LambdaFunctionScheduledEventDetailsTypeDef:
return {
"resource": ...,
}
Definition
class LambdaFunctionScheduledEventDetailsTypeDef(TypedDict):
resource: str,
input: NotRequired[str],
inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
timeoutInSeconds: NotRequired[int],
taskCredentials: NotRequired[TaskCredentialsTypeDef], # (2)
TaskScheduledEventDetailsTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import TaskScheduledEventDetailsTypeDef
def get_value() -> TaskScheduledEventDetailsTypeDef:
return {
"resourceType": ...,
"resource": ...,
"region": ...,
"parameters": ...,
}
Definition
class TaskScheduledEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
region: str,
parameters: str,
timeoutInSeconds: NotRequired[int],
heartbeatInSeconds: NotRequired[int],
taskCredentials: NotRequired[TaskCredentialsTypeDef], # (1)
ListMapRunsOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListMapRunsOutputTypeDef
def get_value() -> ListMapRunsOutputTypeDef:
return {
"mapRuns": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListMapRunsOutputTypeDef(TypedDict):
mapRuns: List[MapRunListItemTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListStateMachinesOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import ListStateMachinesOutputTypeDef
def get_value() -> ListStateMachinesOutputTypeDef:
return {
"stateMachines": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListStateMachinesOutputTypeDef(TypedDict):
stateMachines: List[StateMachineListItemTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
LoggingConfigurationTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import LoggingConfigurationTypeDef
def get_value() -> LoggingConfigurationTypeDef:
return {
"level": ...,
}
Definition
class LoggingConfigurationTypeDef(TypedDict):
level: NotRequired[LogLevelType], # (1)
includeExecutionData: NotRequired[bool],
destinations: NotRequired[Sequence[LogDestinationTypeDef]], # (2)
- See LogLevelType
- See LogDestinationTypeDef
HistoryEventTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import HistoryEventTypeDef
def get_value() -> HistoryEventTypeDef:
return {
"timestamp": ...,
"type": ...,
"id": ...,
}
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)
- See HistoryEventTypeType
- See ActivityFailedEventDetailsTypeDef
- See ActivityScheduleFailedEventDetailsTypeDef
- See ActivityScheduledEventDetailsTypeDef
- See ActivityStartedEventDetailsTypeDef
- See ActivitySucceededEventDetailsTypeDef
- See ActivityTimedOutEventDetailsTypeDef
- See TaskFailedEventDetailsTypeDef
- See TaskScheduledEventDetailsTypeDef
- See TaskStartFailedEventDetailsTypeDef
- See TaskStartedEventDetailsTypeDef
- See TaskSubmitFailedEventDetailsTypeDef
- See TaskSubmittedEventDetailsTypeDef
- See TaskSucceededEventDetailsTypeDef
- See TaskTimedOutEventDetailsTypeDef
- See ExecutionFailedEventDetailsTypeDef
- See ExecutionStartedEventDetailsTypeDef
- See ExecutionSucceededEventDetailsTypeDef
- See ExecutionAbortedEventDetailsTypeDef
- See ExecutionTimedOutEventDetailsTypeDef
- See MapStateStartedEventDetailsTypeDef
- See MapIterationEventDetailsTypeDef
- See MapIterationEventDetailsTypeDef
- See MapIterationEventDetailsTypeDef
- See MapIterationEventDetailsTypeDef
- See LambdaFunctionFailedEventDetailsTypeDef
- See LambdaFunctionScheduleFailedEventDetailsTypeDef
- See LambdaFunctionScheduledEventDetailsTypeDef
- See LambdaFunctionStartFailedEventDetailsTypeDef
- See LambdaFunctionSucceededEventDetailsTypeDef
- See LambdaFunctionTimedOutEventDetailsTypeDef
- See StateEnteredEventDetailsTypeDef
- See StateExitedEventDetailsTypeDef
- See MapRunStartedEventDetailsTypeDef
- See MapRunFailedEventDetailsTypeDef
CreateStateMachineInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import CreateStateMachineInputRequestTypeDef
def get_value() -> CreateStateMachineInputRequestTypeDef:
return {
"name": ...,
"definition": ...,
"roleArn": ...,
}
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)
- See StateMachineTypeType
- See LoggingConfigurationTypeDef
- See TagTypeDef
- See TracingConfigurationTypeDef
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": ...,
}
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)
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": ...,
}
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)
- See StateMachineStatusType
- See StateMachineTypeType
- See LoggingConfigurationTypeDef
- See TracingConfigurationTypeDef
- See ResponseMetadataTypeDef
UpdateStateMachineInputRequestTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import UpdateStateMachineInputRequestTypeDef
def get_value() -> UpdateStateMachineInputRequestTypeDef:
return {
"stateMachineArn": ...,
}
Definition
class UpdateStateMachineInputRequestTypeDef(TypedDict):
stateMachineArn: str,
definition: NotRequired[str],
roleArn: NotRequired[str],
loggingConfiguration: NotRequired[LoggingConfigurationTypeDef], # (1)
tracingConfiguration: NotRequired[TracingConfigurationTypeDef], # (2)
GetExecutionHistoryOutputTypeDef
Usage Example
from mypy_boto3_stepfunctions.type_defs import GetExecutionHistoryOutputTypeDef
def get_value() -> GetExecutionHistoryOutputTypeDef:
return {
"events": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}