Skip to content

Type definitions#

Index > SFN > 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],
  1. See EncryptionTypeType

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)
  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)
  1. See IncludedDataType

DescribeStateMachineInputRequestTypeDef#

# DescribeStateMachineInputRequestTypeDef definition

class DescribeStateMachineInputRequestTypeDef(TypedDict):
    stateMachineArn: str,
    includedData: NotRequired[IncludedDataType],  # (1)
  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],
  1. See ExecutionStatusType

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)
  1. See ExecutionStatusType
  2. See ExecutionRedriveFilterType

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,
  1. See StateMachineTypeType

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)
  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],
  1. See InspectionLevelType

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],
  1. See ValidateStateMachineDefinitionSeverityType

ValidateStateMachineDefinitionInputRequestTypeDef#

# ValidateStateMachineDefinitionInputRequestTypeDef definition

class ValidateStateMachineDefinitionInputRequestTypeDef(TypedDict):
    definition: str,
    type: NotRequired[StateMachineTypeType],  # (1)
    severity: NotRequired[ValidateStateMachineDefinitionSeverityType],  # (2)
    maxResults: NotRequired[int],
  1. See StateMachineTypeType
  2. See ValidateStateMachineDefinitionSeverityType

ActivityScheduledEventDetailsTypeDef#

# 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 definition

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

ExecutionStartedEventDetailsTypeDef#

# ExecutionStartedEventDetailsTypeDef definition

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

ExecutionSucceededEventDetailsTypeDef#

# ExecutionSucceededEventDetailsTypeDef definition

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

LambdaFunctionSucceededEventDetailsTypeDef#

# LambdaFunctionSucceededEventDetailsTypeDef definition

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

StateEnteredEventDetailsTypeDef#

# StateEnteredEventDetailsTypeDef definition

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

TaskSubmittedEventDetailsTypeDef#

# TaskSubmittedEventDetailsTypeDef definition

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

TaskSucceededEventDetailsTypeDef#

# TaskSucceededEventDetailsTypeDef definition

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

StateExitedEventDetailsTypeDef#

# StateExitedEventDetailsTypeDef definition

class StateExitedEventDetailsTypeDef(TypedDict):
    name: str,
    output: NotRequired[str],
    outputDetails: NotRequired[HistoryEventExecutionDataDetailsTypeDef],  # (1)
    assignedVariables: NotRequired[dict[str, str]],
    assignedVariablesDetails: NotRequired[AssignedVariablesDetailsTypeDef],  # (2)
  1. See HistoryEventExecutionDataDetailsTypeDef
  2. See AssignedVariablesDetailsTypeDef

LogDestinationTypeDef#

# LogDestinationTypeDef definition

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

CreateActivityInputRequestTypeDef#

# CreateActivityInputRequestTypeDef definition

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

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef definition

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

CreateActivityOutputTypeDef#

# CreateActivityOutputTypeDef definition

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

CreateStateMachineAliasOutputTypeDef#

# CreateStateMachineAliasOutputTypeDef definition

class CreateStateMachineAliasOutputTypeDef(TypedDict):
    stateMachineAliasArn: str,
    creationDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateStateMachineOutputTypeDef#

# CreateStateMachineOutputTypeDef definition

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

DescribeActivityOutputTypeDef#

# DescribeActivityOutputTypeDef definition

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

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],
  1. See ExecutionStatusType
  2. See CloudWatchEventsExecutionDataDetailsTypeDef
  3. See CloudWatchEventsExecutionDataDetailsTypeDef
  4. See ExecutionRedriveStatusType
  5. See ResponseMetadataTypeDef

GetActivityTaskOutputTypeDef#

# GetActivityTaskOutputTypeDef definition

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

ListActivitiesOutputTypeDef#

# ListActivitiesOutputTypeDef definition

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

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef definition

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

PublishStateMachineVersionOutputTypeDef#

# PublishStateMachineVersionOutputTypeDef definition

class PublishStateMachineVersionOutputTypeDef(TypedDict):
    creationDate: datetime,
    stateMachineVersionArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RedriveExecutionOutputTypeDef#

# RedriveExecutionOutputTypeDef definition

class RedriveExecutionOutputTypeDef(TypedDict):
    redriveDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartExecutionOutputTypeDef#

# StartExecutionOutputTypeDef definition

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

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)
  1. See SyncExecutionStatusType
  2. See CloudWatchEventsExecutionDataDetailsTypeDef
  3. See CloudWatchEventsExecutionDataDetailsTypeDef
  4. See BillingDetailsTypeDef
  5. See ResponseMetadataTypeDef

StopExecutionOutputTypeDef#

# StopExecutionOutputTypeDef definition

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

UpdateStateMachineAliasOutputTypeDef#

# UpdateStateMachineAliasOutputTypeDef definition

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

UpdateStateMachineOutputTypeDef#

# UpdateStateMachineOutputTypeDef definition

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

CreateStateMachineAliasInputRequestTypeDef#

# CreateStateMachineAliasInputRequestTypeDef definition

class CreateStateMachineAliasInputRequestTypeDef(TypedDict):
    name: str,
    routingConfiguration: Sequence[RoutingConfigurationListItemTypeDef],  # (1)
    description: NotRequired[str],
  1. See RoutingConfigurationListItemTypeDef

DescribeStateMachineAliasOutputTypeDef#

# DescribeStateMachineAliasOutputTypeDef definition

class DescribeStateMachineAliasOutputTypeDef(TypedDict):
    stateMachineAliasArn: str,
    name: str,
    description: str,
    routingConfiguration: list[RoutingConfigurationListItemTypeDef],  # (1)
    creationDate: datetime,
    updateDate: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RoutingConfigurationListItemTypeDef
  2. See ResponseMetadataTypeDef

UpdateStateMachineAliasInputRequestTypeDef#

# UpdateStateMachineAliasInputRequestTypeDef definition

class UpdateStateMachineAliasInputRequestTypeDef(TypedDict):
    stateMachineAliasArn: str,
    description: NotRequired[str],
    routingConfiguration: NotRequired[Sequence[RoutingConfigurationListItemTypeDef]],  # (1)
  1. See RoutingConfigurationListItemTypeDef

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)
  1. See MapRunStatusType
  2. See MapRunItemCountsTypeDef
  3. See MapRunExecutionCountsTypeDef
  4. See ResponseMetadataTypeDef

ListExecutionsOutputTypeDef#

# ListExecutionsOutputTypeDef definition

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

GetExecutionHistoryInputPaginateTypeDef#

# GetExecutionHistoryInputPaginateTypeDef definition

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

ListActivitiesInputPaginateTypeDef#

# ListActivitiesInputPaginateTypeDef definition

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

ListExecutionsInputPaginateTypeDef#

# ListExecutionsInputPaginateTypeDef definition

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

ListMapRunsInputPaginateTypeDef#

# ListMapRunsInputPaginateTypeDef definition

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

ListStateMachinesInputPaginateTypeDef#

# ListStateMachinesInputPaginateTypeDef definition

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

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],
  1. See InspectionDataRequestTypeDef
  2. See InspectionDataResponseTypeDef

LambdaFunctionScheduledEventDetailsTypeDef#

# 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 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 definition

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

ListStateMachineAliasesOutputTypeDef#

# ListStateMachineAliasesOutputTypeDef definition

class ListStateMachineAliasesOutputTypeDef(TypedDict):
    stateMachineAliases: list[StateMachineAliasListItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See StateMachineAliasListItemTypeDef
  2. See ResponseMetadataTypeDef

ListStateMachineVersionsOutputTypeDef#

# ListStateMachineVersionsOutputTypeDef definition

class ListStateMachineVersionsOutputTypeDef(TypedDict):
    stateMachineVersions: list[StateMachineVersionListItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See StateMachineVersionListItemTypeDef
  2. See ResponseMetadataTypeDef

ListStateMachinesOutputTypeDef#

# ListStateMachinesOutputTypeDef definition

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

ValidateStateMachineDefinitionOutputTypeDef#

# ValidateStateMachineDefinitionOutputTypeDef definition

class ValidateStateMachineDefinitionOutputTypeDef(TypedDict):
    result: ValidateStateMachineDefinitionResultCodeType,  # (1)
    diagnostics: list[ValidateStateMachineDefinitionDiagnosticTypeDef],  # (2)
    truncated: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ValidateStateMachineDefinitionResultCodeType
  2. See ValidateStateMachineDefinitionDiagnosticTypeDef
  3. See ResponseMetadataTypeDef

LoggingConfigurationOutputTypeDef#

# LoggingConfigurationOutputTypeDef definition

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

LoggingConfigurationTypeDef#

# LoggingConfigurationTypeDef definition

class LoggingConfigurationTypeDef(TypedDict):
    level: NotRequired[LogLevelType],  # (1)
    includeExecutionData: NotRequired[bool],
    destinations: NotRequired[Sequence[LogDestinationTypeDef]],  # (2)
  1. See LogLevelType
  2. 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)
  1. See InspectionDataTypeDef
  2. See TestExecutionStatusType
  3. See ResponseMetadataTypeDef

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)
  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 ExecutionRedrivenEventDetailsTypeDef
  22. See MapStateStartedEventDetailsTypeDef
  23. See MapIterationEventDetailsTypeDef
  24. See MapIterationEventDetailsTypeDef
  25. See MapIterationEventDetailsTypeDef
  26. See MapIterationEventDetailsTypeDef
  27. See LambdaFunctionFailedEventDetailsTypeDef
  28. See LambdaFunctionScheduleFailedEventDetailsTypeDef
  29. See LambdaFunctionScheduledEventDetailsTypeDef
  30. See LambdaFunctionStartFailedEventDetailsTypeDef
  31. See LambdaFunctionSucceededEventDetailsTypeDef
  32. See LambdaFunctionTimedOutEventDetailsTypeDef
  33. See StateEnteredEventDetailsTypeDef
  34. See StateExitedEventDetailsTypeDef
  35. See MapRunStartedEventDetailsTypeDef
  36. See MapRunFailedEventDetailsTypeDef
  37. See MapRunRedrivenEventDetailsTypeDef
  38. 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)
  1. See LoggingConfigurationOutputTypeDef
  2. See TracingConfigurationTypeDef
  3. See EncryptionConfigurationTypeDef
  4. 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)
  1. See StateMachineStatusType
  2. See StateMachineTypeType
  3. See LoggingConfigurationOutputTypeDef
  4. See TracingConfigurationTypeDef
  5. See EncryptionConfigurationTypeDef
  6. 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)
  1. See StateMachineTypeType
  2. See LoggingConfigurationTypeDef
  3. See TagTypeDef
  4. See TracingConfigurationTypeDef
  5. 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)
  1. See LoggingConfigurationTypeDef
  2. See TracingConfigurationTypeDef
  3. See EncryptionConfigurationTypeDef

GetExecutionHistoryOutputTypeDef#

# GetExecutionHistoryOutputTypeDef definition

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