Expand description
Data structures used by operation inputs/outputs.
Modules§
Structs§
- Activity
Failed Event Details Contains details about an activity that failed during an execution.
- Activity
List Item Contains details about an activity.
- Activity
Schedule Failed Event Details Contains details about an activity schedule failure that occurred during an execution.
- Activity
Scheduled Event Details Contains details about an activity scheduled during an execution.
- Activity
Started Event Details Contains details about the start of an activity during an execution.
- Activity
Succeeded Event Details Contains details about an activity that successfully terminated during an execution.
- Activity
Timed OutEvent Details Contains details about an activity timeout that occurred during an execution.
- Assigned
Variables Details Provides details about assigned variables in an execution history event.
- Billing
Details An object that describes workflow billing details.
- Cloud
Watch Events Execution Data Details Provides details about execution input or output.
- Cloud
Watch Logs LogGroup - Encryption
Configuration Settings to configure server-side encryption.
For additional control over security, you can encrypt your data using a customer-managed key for Step Functions state machines and activities. You can configure a symmetric KMS key and data key reuse period when creating or updating a State Machine, and when creating an Activity. The execution history and state machine definition will be encrypted with the key applied to the State Machine. Activity inputs will be encrypted with the key applied to the Activity.
Step Functions automatically enables encryption at rest using Amazon Web Services owned keys at no charge. However, KMS charges apply when using a customer managed key. For more information about pricing, see Key Management Service pricing.
For more information on KMS, see What is Key Management Service?
- Evaluation
Failed Event Details Contains details about an evaluation failure that occurred while processing a state, for example, when a JSONata expression throws an error. This event will only be present in state machines that have QueryLanguage set to JSONata, or individual states set to JSONata.
- Execution
Aborted Event Details Contains details about an abort of an execution.
- Execution
Failed Event Details Contains details about an execution failure event.
- Execution
List Item Contains details about an execution.
- Execution
Redriven Event Details Contains details about a redriven execution.
- Execution
Started Event Details Contains details about the start of the execution.
- Execution
Succeeded Event Details Contains details about the successful termination of the execution.
- Execution
Timed OutEvent Details Contains details about the execution timeout that occurred during the execution.
- History
Event Contains details about the events of an execution.
- History
Event Execution Data Details Provides details about input or output in an execution history event.
- Inspection
Data Contains additional details about the state's execution, including its input and output data processing flow, and HTTP request and response information.
- Inspection
Data Request Contains additional details about the state's execution, including its input and output data processing flow, and HTTP request information.
- Inspection
Data Response Contains additional details about the state's execution, including its input and output data processing flow, and HTTP response information. The
inspectionLevel
request parameter specifies which details are returned.- Lambda
Function Failed Event Details Contains details about a Lambda function that failed during an execution.
- Lambda
Function Schedule Failed Event Details Contains details about a failed Lambda function schedule event that occurred during an execution.
- Lambda
Function Scheduled Event Details Contains details about a Lambda function scheduled during an execution.
- Lambda
Function Start Failed Event Details Contains details about a lambda function that failed to start during an execution.
- Lambda
Function Succeeded Event Details Contains details about a Lambda function that successfully terminated during an execution.
- Lambda
Function Timed OutEvent Details Contains details about a Lambda function timeout that occurred during an execution.
- LogDestination
- Logging
Configuration The
LoggingConfiguration
data type is used to set CloudWatch Logs options.- MapIteration
Event Details Contains details about an iteration of a Map state.
- MapRun
Execution Counts Contains details about all of the child workflow executions started by a Map Run.
- MapRun
Failed Event Details Contains details about a Map Run failure event that occurred during a state machine execution.
- MapRun
Item Counts Contains details about items that were processed in all of the child workflow executions that were started by a Map Run.
- MapRun
List Item Contains details about a specific Map Run.
- MapRun
Redriven Event Details Contains details about a Map Run that was redriven.
- MapRun
Started Event Details Contains details about a Map Run that was started during a state machine execution.
- MapState
Started Event Details Details about a Map state that was started.
- Routing
Configuration List Item Contains details about the routing configuration of a state machine alias. In a routing configuration, you define an array of objects that specify up to two state machine versions. You also specify the percentage of traffic to be routed to each version.
- State
Entered Event Details Contains details about a state entered during an execution.
- State
Exited Event Details Contains details about an exit from a state during an execution.
- State
Machine Alias List Item Contains details about a specific state machine alias.
- State
Machine List Item Contains details about the state machine.
- State
Machine Version List Item Contains details about a specific state machine version.
- Tag
Tags are key-value pairs that can be associated with Step Functions state machines and activities.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @
.- Task
Credentials Contains details about the credentials that Step Functions uses for a task.
- Task
Failed Event Details Contains details about a task failure event.
- Task
Scheduled Event Details Contains details about a task scheduled during an execution.
- Task
Start Failed Event Details Contains details about a task that failed to start during an execution.
- Task
Started Event Details Contains details about the start of a task during an execution.
- Task
Submit Failed Event Details Contains details about a task that failed to submit during an execution.
- Task
Submitted Event Details Contains details about a task submitted to a resource .
- Task
Succeeded Event Details Contains details about the successful completion of a task state.
- Task
Timed OutEvent Details Contains details about a resource timeout that occurred during an execution.
- Tracing
Configuration Selects whether or not the state machine's X-Ray tracing is enabled. Default is
false
- Validate
State Machine Definition Diagnostic Describes potential issues found during state machine validation. Rather than raise an exception, validation will return a list of diagnostic elements containing diagnostic information.
The ValidateStateMachineDefinitionlAPI might add new diagnostics in the future, adjust diagnostic codes, or change the message wording. Your automated processes should only rely on the value of the result field value (OK, FAIL). Do not rely on the exact order, count, or wording of diagnostic messages.
List of warning codes
- NO_DOLLAR
-
No
.$
on a field that appears to be a JSONPath or Intrinsic Function. - NO_PATH
-
Field value looks like a path, but field name does not end with 'Path'.
- PASS_RESULT_IS_STATIC
-
Attempt to use a path in the result of a pass state.
List of error codes
- INVALID_JSON_DESCRIPTION
-
JSON syntax problem found.
- MISSING_DESCRIPTION
-
Received a null or empty workflow input.
- SCHEMA_VALIDATION_FAILED
-
Schema validation reported errors.
- INVALID_RESOURCE
-
The value of a Task-state resource field is invalid.
- MISSING_END_STATE
-
The workflow does not have a terminal state.
- DUPLICATE_STATE_NAME
-
The same state name appears more than once.
- INVALID_STATE_NAME
-
The state name does not follow the naming convention.
- STATE_MACHINE_NAME_EMPTY
-
The state machine name has not been specified.
- STATE_MACHINE_NAME_INVALID
-
The state machine name does not follow the naming convention.
- STATE_MACHINE_NAME_TOO_LONG
-
The state name exceeds the allowed length.
- STATE_MACHINE_NAME_ALREADY_EXISTS
-
The state name already exists.
- DUPLICATE_LABEL_NAME
-
A label name appears more than once.
- INVALID_LABEL_NAME
-
You have provided an invalid label name.
- MISSING_TRANSITION_TARGET
-
The value of "Next" field doesn't match a known state name.
- TOO_DEEPLY_NESTED
-
The states are too deeply nested.
Enums§
- Encryption
Type - When writing a match expression against
EncryptionType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Execution
Redrive Filter - When writing a match expression against
ExecutionRedriveFilter
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Execution
Redrive Status - When writing a match expression against
ExecutionRedriveStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Execution
Status - When writing a match expression against
ExecutionStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - History
Event Type - When writing a match expression against
HistoryEventType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Included
Data - When writing a match expression against
IncludedData
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Inspection
Level - When writing a match expression against
InspectionLevel
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - KmsKey
State - When writing a match expression against
KmsKeyState
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - LogLevel
- When writing a match expression against
LogLevel
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - MapRun
Status - When writing a match expression against
MapRunStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - State
Machine Status - When writing a match expression against
StateMachineStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - State
Machine Type - When writing a match expression against
StateMachineType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Sync
Execution Status - When writing a match expression against
SyncExecutionStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Test
Execution Status - When writing a match expression against
TestExecutionStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Validate
State Machine Definition Result Code - When writing a match expression against
ValidateStateMachineDefinitionResultCode
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Validate
State Machine Definition Severity - When writing a match expression against
ValidateStateMachineDefinitionSeverity
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Validation
Exception Reason - When writing a match expression against
ValidationExceptionReason
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.