Type definitions#
Auto-generated documentation for SFN type annotations stubs module types-boto3-stepfunctions.
ActivityFailedEventDetailsTypeDef#
# ActivityFailedEventDetailsTypeDef definition
class ActivityFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
ActivityListItemTypeDef#
# ActivityListItemTypeDef definition
class ActivityListItemTypeDef(TypedDict):
activityArn: str,
name: str,
creationDate: datetime,
ActivityScheduleFailedEventDetailsTypeDef#
# ActivityScheduleFailedEventDetailsTypeDef definition
class ActivityScheduleFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
HistoryEventExecutionDataDetailsTypeDef#
# HistoryEventExecutionDataDetailsTypeDef definition
class HistoryEventExecutionDataDetailsTypeDef(TypedDict):
truncated: NotRequired[bool],
ActivityStartedEventDetailsTypeDef#
# ActivityStartedEventDetailsTypeDef definition
class ActivityStartedEventDetailsTypeDef(TypedDict):
workerName: NotRequired[str],
ActivityTimedOutEventDetailsTypeDef#
# ActivityTimedOutEventDetailsTypeDef definition
class ActivityTimedOutEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
AssignedVariablesDetailsTypeDef#
# AssignedVariablesDetailsTypeDef definition
class AssignedVariablesDetailsTypeDef(TypedDict):
truncated: NotRequired[bool],
BillingDetailsTypeDef#
# BillingDetailsTypeDef definition
class BillingDetailsTypeDef(TypedDict):
billedMemoryUsedInMB: NotRequired[int],
billedDurationInMilliseconds: NotRequired[int],
CloudWatchEventsExecutionDataDetailsTypeDef#
# CloudWatchEventsExecutionDataDetailsTypeDef definition
class CloudWatchEventsExecutionDataDetailsTypeDef(TypedDict):
included: NotRequired[bool],
CloudWatchLogsLogGroupTypeDef#
# CloudWatchLogsLogGroupTypeDef definition
class CloudWatchLogsLogGroupTypeDef(TypedDict):
logGroupArn: NotRequired[str],
EncryptionConfigurationTypeDef#
# EncryptionConfigurationTypeDef definition
class EncryptionConfigurationTypeDef(TypedDict):
type: EncryptionTypeType, # (1)
kmsKeyId: NotRequired[str],
kmsDataKeyReusePeriodSeconds: NotRequired[int],
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
key: NotRequired[str],
value: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
RoutingConfigurationListItemTypeDef#
# RoutingConfigurationListItemTypeDef definition
class RoutingConfigurationListItemTypeDef(TypedDict):
stateMachineVersionArn: str,
weight: int,
TracingConfigurationTypeDef#
# TracingConfigurationTypeDef definition
class TracingConfigurationTypeDef(TypedDict):
enabled: NotRequired[bool],
DeleteActivityInputRequestTypeDef#
# DeleteActivityInputRequestTypeDef definition
class DeleteActivityInputRequestTypeDef(TypedDict):
activityArn: str,
DeleteStateMachineAliasInputRequestTypeDef#
# DeleteStateMachineAliasInputRequestTypeDef definition
class DeleteStateMachineAliasInputRequestTypeDef(TypedDict):
stateMachineAliasArn: str,
DeleteStateMachineInputRequestTypeDef#
# DeleteStateMachineInputRequestTypeDef definition
class DeleteStateMachineInputRequestTypeDef(TypedDict):
stateMachineArn: str,
DeleteStateMachineVersionInputRequestTypeDef#
# DeleteStateMachineVersionInputRequestTypeDef definition
class DeleteStateMachineVersionInputRequestTypeDef(TypedDict):
stateMachineVersionArn: str,
DescribeActivityInputRequestTypeDef#
# DescribeActivityInputRequestTypeDef definition
class DescribeActivityInputRequestTypeDef(TypedDict):
activityArn: str,
DescribeExecutionInputRequestTypeDef#
# DescribeExecutionInputRequestTypeDef definition
class DescribeExecutionInputRequestTypeDef(TypedDict):
executionArn: str,
includedData: NotRequired[IncludedDataType], # (1)
- See IncludedDataType
DescribeMapRunInputRequestTypeDef#
# DescribeMapRunInputRequestTypeDef definition
class DescribeMapRunInputRequestTypeDef(TypedDict):
mapRunArn: str,
MapRunExecutionCountsTypeDef#
# MapRunExecutionCountsTypeDef definition
class MapRunExecutionCountsTypeDef(TypedDict):
pending: int,
running: int,
succeeded: int,
failed: int,
timedOut: int,
aborted: int,
total: int,
resultsWritten: int,
failuresNotRedrivable: NotRequired[int],
pendingRedrive: NotRequired[int],
MapRunItemCountsTypeDef#
# MapRunItemCountsTypeDef definition
class MapRunItemCountsTypeDef(TypedDict):
pending: int,
running: int,
succeeded: int,
failed: int,
timedOut: int,
aborted: int,
total: int,
resultsWritten: int,
failuresNotRedrivable: NotRequired[int],
pendingRedrive: NotRequired[int],
DescribeStateMachineAliasInputRequestTypeDef#
# DescribeStateMachineAliasInputRequestTypeDef definition
class DescribeStateMachineAliasInputRequestTypeDef(TypedDict):
stateMachineAliasArn: str,
DescribeStateMachineForExecutionInputRequestTypeDef#
# DescribeStateMachineForExecutionInputRequestTypeDef definition
class DescribeStateMachineForExecutionInputRequestTypeDef(TypedDict):
executionArn: str,
includedData: NotRequired[IncludedDataType], # (1)
- See IncludedDataType
DescribeStateMachineInputRequestTypeDef#
# DescribeStateMachineInputRequestTypeDef definition
class DescribeStateMachineInputRequestTypeDef(TypedDict):
stateMachineArn: str,
includedData: NotRequired[IncludedDataType], # (1)
- See IncludedDataType
EvaluationFailedEventDetailsTypeDef#
# EvaluationFailedEventDetailsTypeDef definition
class EvaluationFailedEventDetailsTypeDef(TypedDict):
state: str,
error: NotRequired[str],
cause: NotRequired[str],
location: NotRequired[str],
ExecutionAbortedEventDetailsTypeDef#
# ExecutionAbortedEventDetailsTypeDef definition
class ExecutionAbortedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
ExecutionFailedEventDetailsTypeDef#
# ExecutionFailedEventDetailsTypeDef definition
class ExecutionFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
ExecutionListItemTypeDef#
# 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],
stateMachineVersionArn: NotRequired[str],
stateMachineAliasArn: NotRequired[str],
redriveCount: NotRequired[int],
redriveDate: NotRequired[datetime],
ExecutionRedrivenEventDetailsTypeDef#
# ExecutionRedrivenEventDetailsTypeDef definition
class ExecutionRedrivenEventDetailsTypeDef(TypedDict):
redriveCount: NotRequired[int],
ExecutionTimedOutEventDetailsTypeDef#
# ExecutionTimedOutEventDetailsTypeDef definition
class ExecutionTimedOutEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
GetActivityTaskInputRequestTypeDef#
# GetActivityTaskInputRequestTypeDef definition
class GetActivityTaskInputRequestTypeDef(TypedDict):
activityArn: str,
workerName: NotRequired[str],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
GetExecutionHistoryInputRequestTypeDef#
# GetExecutionHistoryInputRequestTypeDef definition
class GetExecutionHistoryInputRequestTypeDef(TypedDict):
executionArn: str,
maxResults: NotRequired[int],
reverseOrder: NotRequired[bool],
nextToken: NotRequired[str],
includeExecutionData: NotRequired[bool],
LambdaFunctionFailedEventDetailsTypeDef#
# LambdaFunctionFailedEventDetailsTypeDef definition
class LambdaFunctionFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
LambdaFunctionScheduleFailedEventDetailsTypeDef#
# LambdaFunctionScheduleFailedEventDetailsTypeDef definition
class LambdaFunctionScheduleFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
LambdaFunctionStartFailedEventDetailsTypeDef#
# LambdaFunctionStartFailedEventDetailsTypeDef definition
class LambdaFunctionStartFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
LambdaFunctionTimedOutEventDetailsTypeDef#
# LambdaFunctionTimedOutEventDetailsTypeDef definition
class LambdaFunctionTimedOutEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
MapIterationEventDetailsTypeDef#
# MapIterationEventDetailsTypeDef definition
class MapIterationEventDetailsTypeDef(TypedDict):
name: NotRequired[str],
index: NotRequired[int],
MapRunFailedEventDetailsTypeDef#
# MapRunFailedEventDetailsTypeDef definition
class MapRunFailedEventDetailsTypeDef(TypedDict):
error: NotRequired[str],
cause: NotRequired[str],
MapRunRedrivenEventDetailsTypeDef#
# MapRunRedrivenEventDetailsTypeDef definition
class MapRunRedrivenEventDetailsTypeDef(TypedDict):
mapRunArn: NotRequired[str],
redriveCount: NotRequired[int],
MapRunStartedEventDetailsTypeDef#
# MapRunStartedEventDetailsTypeDef definition
class MapRunStartedEventDetailsTypeDef(TypedDict):
mapRunArn: NotRequired[str],
MapStateStartedEventDetailsTypeDef#
# MapStateStartedEventDetailsTypeDef definition
class MapStateStartedEventDetailsTypeDef(TypedDict):
length: NotRequired[int],
TaskFailedEventDetailsTypeDef#
# TaskFailedEventDetailsTypeDef definition
class TaskFailedEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
error: NotRequired[str],
cause: NotRequired[str],
TaskStartFailedEventDetailsTypeDef#
# TaskStartFailedEventDetailsTypeDef definition
class TaskStartFailedEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
error: NotRequired[str],
cause: NotRequired[str],
TaskStartedEventDetailsTypeDef#
# TaskStartedEventDetailsTypeDef definition
class TaskStartedEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
TaskSubmitFailedEventDetailsTypeDef#
# TaskSubmitFailedEventDetailsTypeDef definition
class TaskSubmitFailedEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
error: NotRequired[str],
cause: NotRequired[str],
TaskTimedOutEventDetailsTypeDef#
# TaskTimedOutEventDetailsTypeDef definition
class TaskTimedOutEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
error: NotRequired[str],
cause: NotRequired[str],
InspectionDataRequestTypeDef#
# InspectionDataRequestTypeDef definition
class InspectionDataRequestTypeDef(TypedDict):
protocol: NotRequired[str],
method: NotRequired[str],
url: NotRequired[str],
headers: NotRequired[str],
body: NotRequired[str],
InspectionDataResponseTypeDef#
# InspectionDataResponseTypeDef definition
class InspectionDataResponseTypeDef(TypedDict):
protocol: NotRequired[str],
statusCode: NotRequired[str],
statusMessage: NotRequired[str],
headers: NotRequired[str],
body: NotRequired[str],
TaskCredentialsTypeDef#
# TaskCredentialsTypeDef definition
class TaskCredentialsTypeDef(TypedDict):
roleArn: NotRequired[str],
ListActivitiesInputRequestTypeDef#
# ListActivitiesInputRequestTypeDef definition
class ListActivitiesInputRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListExecutionsInputRequestTypeDef#
# ListExecutionsInputRequestTypeDef definition
class ListExecutionsInputRequestTypeDef(TypedDict):
stateMachineArn: NotRequired[str],
statusFilter: NotRequired[ExecutionStatusType], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
mapRunArn: NotRequired[str],
redriveFilter: NotRequired[ExecutionRedriveFilterType], # (2)
ListMapRunsInputRequestTypeDef#
# ListMapRunsInputRequestTypeDef definition
class ListMapRunsInputRequestTypeDef(TypedDict):
executionArn: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
MapRunListItemTypeDef#
# MapRunListItemTypeDef definition
class MapRunListItemTypeDef(TypedDict):
executionArn: str,
mapRunArn: str,
stateMachineArn: str,
startDate: datetime,
stopDate: NotRequired[datetime],
ListStateMachineAliasesInputRequestTypeDef#
# ListStateMachineAliasesInputRequestTypeDef definition
class ListStateMachineAliasesInputRequestTypeDef(TypedDict):
stateMachineArn: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
StateMachineAliasListItemTypeDef#
# StateMachineAliasListItemTypeDef definition
class StateMachineAliasListItemTypeDef(TypedDict):
stateMachineAliasArn: str,
creationDate: datetime,
ListStateMachineVersionsInputRequestTypeDef#
# ListStateMachineVersionsInputRequestTypeDef definition
class ListStateMachineVersionsInputRequestTypeDef(TypedDict):
stateMachineArn: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
StateMachineVersionListItemTypeDef#
# StateMachineVersionListItemTypeDef definition
class StateMachineVersionListItemTypeDef(TypedDict):
stateMachineVersionArn: str,
creationDate: datetime,
ListStateMachinesInputRequestTypeDef#
# ListStateMachinesInputRequestTypeDef definition
class ListStateMachinesInputRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
StateMachineListItemTypeDef#
# StateMachineListItemTypeDef definition
class StateMachineListItemTypeDef(TypedDict):
stateMachineArn: str,
name: str,
type: StateMachineTypeType, # (1)
creationDate: datetime,
ListTagsForResourceInputRequestTypeDef#
# ListTagsForResourceInputRequestTypeDef definition
class ListTagsForResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
PublishStateMachineVersionInputRequestTypeDef#
# PublishStateMachineVersionInputRequestTypeDef definition
class PublishStateMachineVersionInputRequestTypeDef(TypedDict):
stateMachineArn: str,
revisionId: NotRequired[str],
description: NotRequired[str],
RedriveExecutionInputRequestTypeDef#
# RedriveExecutionInputRequestTypeDef definition
class RedriveExecutionInputRequestTypeDef(TypedDict):
executionArn: str,
clientToken: NotRequired[str],
SendTaskFailureInputRequestTypeDef#
# SendTaskFailureInputRequestTypeDef definition
class SendTaskFailureInputRequestTypeDef(TypedDict):
taskToken: str,
error: NotRequired[str],
cause: NotRequired[str],
SendTaskHeartbeatInputRequestTypeDef#
# SendTaskHeartbeatInputRequestTypeDef definition
class SendTaskHeartbeatInputRequestTypeDef(TypedDict):
taskToken: str,
SendTaskSuccessInputRequestTypeDef#
# SendTaskSuccessInputRequestTypeDef definition
class SendTaskSuccessInputRequestTypeDef(TypedDict):
taskToken: str,
output: str,
StartExecutionInputRequestTypeDef#
# StartExecutionInputRequestTypeDef definition
class StartExecutionInputRequestTypeDef(TypedDict):
stateMachineArn: str,
name: NotRequired[str],
input: NotRequired[str],
traceHeader: NotRequired[str],
StartSyncExecutionInputRequestTypeDef#
# StartSyncExecutionInputRequestTypeDef definition
class StartSyncExecutionInputRequestTypeDef(TypedDict):
stateMachineArn: str,
name: NotRequired[str],
input: NotRequired[str],
traceHeader: NotRequired[str],
includedData: NotRequired[IncludedDataType], # (1)
- See IncludedDataType
StopExecutionInputRequestTypeDef#
# StopExecutionInputRequestTypeDef definition
class StopExecutionInputRequestTypeDef(TypedDict):
executionArn: str,
error: NotRequired[str],
cause: NotRequired[str],
TestStateInputRequestTypeDef#
# TestStateInputRequestTypeDef definition
class TestStateInputRequestTypeDef(TypedDict):
definition: str,
roleArn: NotRequired[str],
input: NotRequired[str],
inspectionLevel: NotRequired[InspectionLevelType], # (1)
revealSecrets: NotRequired[bool],
variables: NotRequired[str],
UntagResourceInputRequestTypeDef#
# UntagResourceInputRequestTypeDef definition
class UntagResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateMapRunInputRequestTypeDef#
# UpdateMapRunInputRequestTypeDef definition
class UpdateMapRunInputRequestTypeDef(TypedDict):
mapRunArn: str,
maxConcurrency: NotRequired[int],
toleratedFailurePercentage: NotRequired[float],
toleratedFailureCount: NotRequired[int],
ValidateStateMachineDefinitionDiagnosticTypeDef#
# ValidateStateMachineDefinitionDiagnosticTypeDef definition
class ValidateStateMachineDefinitionDiagnosticTypeDef(TypedDict):
severity: ValidateStateMachineDefinitionSeverityType, # (1)
code: str,
message: str,
location: NotRequired[str],
ValidateStateMachineDefinitionInputRequestTypeDef#
# ValidateStateMachineDefinitionInputRequestTypeDef definition
class ValidateStateMachineDefinitionInputRequestTypeDef(TypedDict):
definition: str,
type: NotRequired[StateMachineTypeType], # (1)
severity: NotRequired[ValidateStateMachineDefinitionSeverityType], # (2)
maxResults: NotRequired[int],
ActivityScheduledEventDetailsTypeDef#
# ActivityScheduledEventDetailsTypeDef definition
class ActivityScheduledEventDetailsTypeDef(TypedDict):
resource: str,
input: NotRequired[str],
inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
timeoutInSeconds: NotRequired[int],
heartbeatInSeconds: NotRequired[int],
ActivitySucceededEventDetailsTypeDef#
# ActivitySucceededEventDetailsTypeDef definition
class ActivitySucceededEventDetailsTypeDef(TypedDict):
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
ExecutionStartedEventDetailsTypeDef#
# ExecutionStartedEventDetailsTypeDef definition
class ExecutionStartedEventDetailsTypeDef(TypedDict):
input: NotRequired[str],
inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
roleArn: NotRequired[str],
stateMachineAliasArn: NotRequired[str],
stateMachineVersionArn: NotRequired[str],
ExecutionSucceededEventDetailsTypeDef#
# ExecutionSucceededEventDetailsTypeDef definition
class ExecutionSucceededEventDetailsTypeDef(TypedDict):
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
LambdaFunctionSucceededEventDetailsTypeDef#
# LambdaFunctionSucceededEventDetailsTypeDef definition
class LambdaFunctionSucceededEventDetailsTypeDef(TypedDict):
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
StateEnteredEventDetailsTypeDef#
# StateEnteredEventDetailsTypeDef definition
class StateEnteredEventDetailsTypeDef(TypedDict):
name: str,
input: NotRequired[str],
inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
TaskSubmittedEventDetailsTypeDef#
# TaskSubmittedEventDetailsTypeDef definition
class TaskSubmittedEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
TaskSucceededEventDetailsTypeDef#
# TaskSucceededEventDetailsTypeDef definition
class TaskSucceededEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
StateExitedEventDetailsTypeDef#
# StateExitedEventDetailsTypeDef definition
class StateExitedEventDetailsTypeDef(TypedDict):
name: str,
output: NotRequired[str],
outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
assignedVariables: NotRequired[dict[str, str]],
assignedVariablesDetails: NotRequired[AssignedVariablesDetailsTypeDef], # (2)
LogDestinationTypeDef#
# LogDestinationTypeDef definition
class LogDestinationTypeDef(TypedDict):
cloudWatchLogsLogGroup: NotRequired[CloudWatchLogsLogGroupTypeDef], # (1)
CreateActivityInputRequestTypeDef#
# CreateActivityInputRequestTypeDef definition
class CreateActivityInputRequestTypeDef(TypedDict):
name: str,
tags: NotRequired[Sequence[TagTypeDef]], # (1)
encryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef], # (2)
TagResourceInputRequestTypeDef#
# TagResourceInputRequestTypeDef definition
class TagResourceInputRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
CreateActivityOutputTypeDef#
# CreateActivityOutputTypeDef definition
class CreateActivityOutputTypeDef(TypedDict):
activityArn: str,
creationDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateStateMachineAliasOutputTypeDef#
# CreateStateMachineAliasOutputTypeDef definition
class CreateStateMachineAliasOutputTypeDef(TypedDict):
stateMachineAliasArn: str,
creationDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateStateMachineOutputTypeDef#
# CreateStateMachineOutputTypeDef definition
class CreateStateMachineOutputTypeDef(TypedDict):
stateMachineArn: str,
creationDate: datetime,
stateMachineVersionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeActivityOutputTypeDef#
# DescribeActivityOutputTypeDef definition
class DescribeActivityOutputTypeDef(TypedDict):
activityArn: str,
name: str,
creationDate: datetime,
encryptionConfiguration: EncryptionConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeExecutionOutputTypeDef#
# DescribeExecutionOutputTypeDef definition
class DescribeExecutionOutputTypeDef(TypedDict):
executionArn: str,
stateMachineArn: str,
name: str,
status: ExecutionStatusType, # (1)
startDate: datetime,
input: str,
inputDetails: CloudWatchEventsExecutionDataDetailsTypeDef, # (2)
redriveCount: int,
redriveStatus: ExecutionRedriveStatusType, # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (5)
stopDate: NotRequired[datetime],
output: NotRequired[str],
outputDetails: NotRequired[CloudWatchEventsExecutionDataDetailsTypeDef], # (2)
traceHeader: NotRequired[str],
mapRunArn: NotRequired[str],
error: NotRequired[str],
cause: NotRequired[str],
stateMachineVersionArn: NotRequired[str],
stateMachineAliasArn: NotRequired[str],
redriveDate: NotRequired[datetime],
redriveStatusReason: NotRequired[str],
- See ExecutionStatusType
- See CloudWatchEventsExecutionDataDetailsTypeDef
- See CloudWatchEventsExecutionDataDetailsTypeDef
- See ExecutionRedriveStatusType
- See ResponseMetadataTypeDef
GetActivityTaskOutputTypeDef#
# GetActivityTaskOutputTypeDef definition
class GetActivityTaskOutputTypeDef(TypedDict):
taskToken: str,
input: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListActivitiesOutputTypeDef#
# ListActivitiesOutputTypeDef definition
class ListActivitiesOutputTypeDef(TypedDict):
activities: list[ActivityListItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListTagsForResourceOutputTypeDef#
# ListTagsForResourceOutputTypeDef definition
class ListTagsForResourceOutputTypeDef(TypedDict):
tags: list[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
PublishStateMachineVersionOutputTypeDef#
# PublishStateMachineVersionOutputTypeDef definition
class PublishStateMachineVersionOutputTypeDef(TypedDict):
creationDate: datetime,
stateMachineVersionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
RedriveExecutionOutputTypeDef#
# RedriveExecutionOutputTypeDef definition
class RedriveExecutionOutputTypeDef(TypedDict):
redriveDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartExecutionOutputTypeDef#
# StartExecutionOutputTypeDef definition
class StartExecutionOutputTypeDef(TypedDict):
executionArn: str,
startDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartSyncExecutionOutputTypeDef#
# 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)
- See SyncExecutionStatusType
- See CloudWatchEventsExecutionDataDetailsTypeDef
- See CloudWatchEventsExecutionDataDetailsTypeDef
- See BillingDetailsTypeDef
- See ResponseMetadataTypeDef
StopExecutionOutputTypeDef#
# StopExecutionOutputTypeDef definition
class StopExecutionOutputTypeDef(TypedDict):
stopDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateStateMachineAliasOutputTypeDef#
# UpdateStateMachineAliasOutputTypeDef definition
class UpdateStateMachineAliasOutputTypeDef(TypedDict):
updateDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateStateMachineOutputTypeDef#
# UpdateStateMachineOutputTypeDef definition
class UpdateStateMachineOutputTypeDef(TypedDict):
updateDate: datetime,
revisionId: str,
stateMachineVersionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateStateMachineAliasInputRequestTypeDef#
# CreateStateMachineAliasInputRequestTypeDef definition
class CreateStateMachineAliasInputRequestTypeDef(TypedDict):
name: str,
routingConfiguration: Sequence[RoutingConfigurationListItemTypeDef], # (1)
description: NotRequired[str],
DescribeStateMachineAliasOutputTypeDef#
# DescribeStateMachineAliasOutputTypeDef definition
class DescribeStateMachineAliasOutputTypeDef(TypedDict):
stateMachineAliasArn: str,
name: str,
description: str,
routingConfiguration: list[RoutingConfigurationListItemTypeDef], # (1)
creationDate: datetime,
updateDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateStateMachineAliasInputRequestTypeDef#
# UpdateStateMachineAliasInputRequestTypeDef definition
class UpdateStateMachineAliasInputRequestTypeDef(TypedDict):
stateMachineAliasArn: str,
description: NotRequired[str],
routingConfiguration: NotRequired[Sequence[RoutingConfigurationListItemTypeDef]], # (1)
DescribeMapRunOutputTypeDef#
# 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)
redriveCount: int,
redriveDate: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See MapRunStatusType
- See MapRunItemCountsTypeDef
- See MapRunExecutionCountsTypeDef
- See ResponseMetadataTypeDef
ListExecutionsOutputTypeDef#
# ListExecutionsOutputTypeDef definition
class ListExecutionsOutputTypeDef(TypedDict):
executions: list[ExecutionListItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
GetExecutionHistoryInputPaginateTypeDef#
# GetExecutionHistoryInputPaginateTypeDef definition
class GetExecutionHistoryInputPaginateTypeDef(TypedDict):
executionArn: str,
reverseOrder: NotRequired[bool],
includeExecutionData: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListActivitiesInputPaginateTypeDef#
# ListActivitiesInputPaginateTypeDef definition
class ListActivitiesInputPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListExecutionsInputPaginateTypeDef#
# ListExecutionsInputPaginateTypeDef definition
class ListExecutionsInputPaginateTypeDef(TypedDict):
stateMachineArn: NotRequired[str],
statusFilter: NotRequired[ExecutionStatusType], # (1)
mapRunArn: NotRequired[str],
redriveFilter: NotRequired[ExecutionRedriveFilterType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListMapRunsInputPaginateTypeDef#
# ListMapRunsInputPaginateTypeDef definition
class ListMapRunsInputPaginateTypeDef(TypedDict):
executionArn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListStateMachinesInputPaginateTypeDef#
# ListStateMachinesInputPaginateTypeDef definition
class ListStateMachinesInputPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
InspectionDataTypeDef#
# InspectionDataTypeDef definition
class InspectionDataTypeDef(TypedDict):
input: NotRequired[str],
afterArguments: NotRequired[str],
afterInputPath: NotRequired[str],
afterParameters: NotRequired[str],
result: NotRequired[str],
afterResultSelector: NotRequired[str],
afterResultPath: NotRequired[str],
request: NotRequired[InspectionDataRequestTypeDef], # (1)
response: NotRequired[InspectionDataResponseTypeDef], # (2)
variables: NotRequired[str],
LambdaFunctionScheduledEventDetailsTypeDef#
# LambdaFunctionScheduledEventDetailsTypeDef definition
class LambdaFunctionScheduledEventDetailsTypeDef(TypedDict):
resource: str,
input: NotRequired[str],
inputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef], # (1)
timeoutInSeconds: NotRequired[int],
taskCredentials: NotRequired[TaskCredentialsTypeDef], # (2)
TaskScheduledEventDetailsTypeDef#
# TaskScheduledEventDetailsTypeDef definition
class TaskScheduledEventDetailsTypeDef(TypedDict):
resourceType: str,
resource: str,
region: str,
parameters: str,
timeoutInSeconds: NotRequired[int],
heartbeatInSeconds: NotRequired[int],
taskCredentials: NotRequired[TaskCredentialsTypeDef], # (1)
ListMapRunsOutputTypeDef#
# ListMapRunsOutputTypeDef definition
class ListMapRunsOutputTypeDef(TypedDict):
mapRuns: list[MapRunListItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListStateMachineAliasesOutputTypeDef#
# ListStateMachineAliasesOutputTypeDef definition
class ListStateMachineAliasesOutputTypeDef(TypedDict):
stateMachineAliases: list[StateMachineAliasListItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListStateMachineVersionsOutputTypeDef#
# ListStateMachineVersionsOutputTypeDef definition
class ListStateMachineVersionsOutputTypeDef(TypedDict):
stateMachineVersions: list[StateMachineVersionListItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListStateMachinesOutputTypeDef#
# ListStateMachinesOutputTypeDef definition
class ListStateMachinesOutputTypeDef(TypedDict):
stateMachines: list[StateMachineListItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ValidateStateMachineDefinitionOutputTypeDef#
# ValidateStateMachineDefinitionOutputTypeDef definition
class ValidateStateMachineDefinitionOutputTypeDef(TypedDict):
result: ValidateStateMachineDefinitionResultCodeType, # (1)
diagnostics: list[ValidateStateMachineDefinitionDiagnosticTypeDef], # (2)
truncated: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ValidateStateMachineDefinitionResultCodeType
- See ValidateStateMachineDefinitionDiagnosticTypeDef
- See ResponseMetadataTypeDef
LoggingConfigurationOutputTypeDef#
# LoggingConfigurationOutputTypeDef definition
class LoggingConfigurationOutputTypeDef(TypedDict):
level: NotRequired[LogLevelType], # (1)
includeExecutionData: NotRequired[bool],
destinations: NotRequired[list[LogDestinationTypeDef]], # (2)
- See LogLevelType
- See LogDestinationTypeDef
LoggingConfigurationTypeDef#
# LoggingConfigurationTypeDef definition
class LoggingConfigurationTypeDef(TypedDict):
level: NotRequired[LogLevelType], # (1)
includeExecutionData: NotRequired[bool],
destinations: NotRequired[Sequence[LogDestinationTypeDef]], # (2)
- See LogLevelType
- See LogDestinationTypeDef
TestStateOutputTypeDef#
# TestStateOutputTypeDef definition
class TestStateOutputTypeDef(TypedDict):
output: str,
error: str,
cause: str,
inspectionData: InspectionDataTypeDef, # (1)
nextState: str,
status: TestExecutionStatusType, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
HistoryEventTypeDef#
# 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)
executionRedrivenEventDetails: NotRequired[ExecutionRedrivenEventDetailsTypeDef], # (21)
mapStateStartedEventDetails: NotRequired[MapStateStartedEventDetailsTypeDef], # (22)
mapIterationStartedEventDetails: NotRequired[MapIterationEventDetailsTypeDef], # (23)
mapIterationSucceededEventDetails: NotRequired[MapIterationEventDetailsTypeDef], # (23)
mapIterationFailedEventDetails: NotRequired[MapIterationEventDetailsTypeDef], # (23)
mapIterationAbortedEventDetails: NotRequired[MapIterationEventDetailsTypeDef], # (23)
lambdaFunctionFailedEventDetails: NotRequired[LambdaFunctionFailedEventDetailsTypeDef], # (27)
lambdaFunctionScheduleFailedEventDetails: NotRequired[LambdaFunctionScheduleFailedEventDetailsTypeDef], # (28)
lambdaFunctionScheduledEventDetails: NotRequired[LambdaFunctionScheduledEventDetailsTypeDef], # (29)
lambdaFunctionStartFailedEventDetails: NotRequired[LambdaFunctionStartFailedEventDetailsTypeDef], # (30)
lambdaFunctionSucceededEventDetails: NotRequired[LambdaFunctionSucceededEventDetailsTypeDef], # (31)
lambdaFunctionTimedOutEventDetails: NotRequired[LambdaFunctionTimedOutEventDetailsTypeDef], # (32)
stateEnteredEventDetails: NotRequired[StateEnteredEventDetailsTypeDef], # (33)
stateExitedEventDetails: NotRequired[StateExitedEventDetailsTypeDef], # (34)
mapRunStartedEventDetails: NotRequired[MapRunStartedEventDetailsTypeDef], # (35)
mapRunFailedEventDetails: NotRequired[MapRunFailedEventDetailsTypeDef], # (36)
mapRunRedrivenEventDetails: NotRequired[MapRunRedrivenEventDetailsTypeDef], # (37)
evaluationFailedEventDetails: NotRequired[EvaluationFailedEventDetailsTypeDef], # (38)
- 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 ExecutionRedrivenEventDetailsTypeDef
- 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
- See MapRunRedrivenEventDetailsTypeDef
- See EvaluationFailedEventDetailsTypeDef
DescribeStateMachineForExecutionOutputTypeDef#
# DescribeStateMachineForExecutionOutputTypeDef definition
class DescribeStateMachineForExecutionOutputTypeDef(TypedDict):
stateMachineArn: str,
name: str,
definition: str,
roleArn: str,
updateDate: datetime,
loggingConfiguration: LoggingConfigurationOutputTypeDef, # (1)
tracingConfiguration: TracingConfigurationTypeDef, # (2)
mapRunArn: str,
label: str,
revisionId: str,
encryptionConfiguration: EncryptionConfigurationTypeDef, # (3)
variableReferences: dict[str, list[str]],
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See LoggingConfigurationOutputTypeDef
- See TracingConfigurationTypeDef
- See EncryptionConfigurationTypeDef
- See ResponseMetadataTypeDef
DescribeStateMachineOutputTypeDef#
# DescribeStateMachineOutputTypeDef definition
class DescribeStateMachineOutputTypeDef(TypedDict):
stateMachineArn: str,
name: str,
status: StateMachineStatusType, # (1)
definition: str,
roleArn: str,
type: StateMachineTypeType, # (2)
creationDate: datetime,
loggingConfiguration: LoggingConfigurationOutputTypeDef, # (3)
tracingConfiguration: TracingConfigurationTypeDef, # (4)
label: str,
revisionId: str,
description: str,
encryptionConfiguration: EncryptionConfigurationTypeDef, # (5)
variableReferences: dict[str, list[str]],
ResponseMetadata: ResponseMetadataTypeDef, # (6)
- See StateMachineStatusType
- See StateMachineTypeType
- See LoggingConfigurationOutputTypeDef
- See TracingConfigurationTypeDef
- See EncryptionConfigurationTypeDef
- See ResponseMetadataTypeDef
CreateStateMachineInputRequestTypeDef#
# 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)
publish: NotRequired[bool],
versionDescription: NotRequired[str],
encryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef], # (5)
- See StateMachineTypeType
- See LoggingConfigurationTypeDef
- See TagTypeDef
- See TracingConfigurationTypeDef
- See EncryptionConfigurationTypeDef
UpdateStateMachineInputRequestTypeDef#
# UpdateStateMachineInputRequestTypeDef definition
class UpdateStateMachineInputRequestTypeDef(TypedDict):
stateMachineArn: str,
definition: NotRequired[str],
roleArn: NotRequired[str],
loggingConfiguration: NotRequired[LoggingConfigurationTypeDef], # (1)
tracingConfiguration: NotRequired[TracingConfigurationTypeDef], # (2)
publish: NotRequired[bool],
versionDescription: NotRequired[str],
encryptionConfiguration: NotRequired[EncryptionConfigurationTypeDef], # (3)
GetExecutionHistoryOutputTypeDef#
# GetExecutionHistoryOutputTypeDef definition
class GetExecutionHistoryOutputTypeDef(TypedDict):
events: list[HistoryEventTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],