Optimized integrations for Step Functions
The following topics include the supported APIs, parameters, and request/response syntax
in the Amazon States Language for coordinating other Amazon services. The topics also provide example code.
You can call Optimized integrations services directly from the Amazon States Language in the Resource
field
of a Task
state.
You can use three service integration patterns:
-
Request a Response (default) - wait for HTTP response, then go to the next state
-
Run a Job (.sync) - wait for the job to complete
-
Wait for Callback (.waitForTaskToken) - pause a workflow until a task token is returned
Standard Workflows and Express Workflows support the same integrations but not the same integration patterns.
Optimized integrations pattern support is different for each integration.
Express Workflows do not support Run a Job (.sync) or Wait for Callback (.waitForTaskToken).
For more information, see Standard vs. Express Workflows.
- Standard Workflows
-
Supported service integrations
Service Request Response Run a Job (.sync) Wait for Callback (.waitForTaskToken) Optimized integrations Amazon API Gateway ✓ ✓ Amazon Athena ✓ ✓ Amazon Batch ✓ ✓ Amazon Bedrock ✓ ✓ ✓ Amazon CodeBuild ✓ ✓ Amazon DynamoDB ✓ Amazon ECS/Fargate ✓ ✓ ✓ Amazon EKS ✓ ✓ ✓ Amazon EMR ✓ ✓ Amazon EMR on EKS ✓ ✓ Amazon EMR Serverless ✓ ✓ Amazon EventBridge ✓ ✓ Amazon Glue ✓ ✓ Amazon Glue DataBrew ✓ ✓ Amazon Lambda ✓ ✓ Amazon SageMaker ✓ ✓ Amazon SNS ✓ ✓ Amazon SQS ✓ ✓ Amazon Step Functions ✓ ✓ ✓ Amazon SDK integrations Over two hundred ✓ ✓ - Express Workflows
-
Supported service integrations
Service Request Response Run a Job (.sync) Wait for Callback (.waitForTaskToken) Optimized integrations Amazon API Gateway ✓ Amazon Athena ✓ Amazon Batch ✓ Amazon Bedrock ✓ Amazon CodeBuild ✓ Amazon DynamoDB ✓ Amazon ECS/Fargate ✓ Amazon EKS ✓ Amazon EMR ✓ Amazon EMR on EKS ✓ Amazon EMR Serverless ✓ Amazon EventBridge ✓ Amazon Glue ✓ Amazon Glue DataBrew ✓ Amazon Lambda ✓ Amazon SageMaker ✓ Amazon SNS ✓ Amazon SQS ✓ Amazon Step Functions ✓ Amazon SDK integrations Over two hundred ✓