将优化的服务与 Step Functions 集成 - Amazon Step Functions
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

将优化的服务与 Step Functions 集成

您的工作流可以使用 Task 状态的 Resource 字段直接调用优化服务。以下主题说明了在 Amazon States Language 中协调其他 Amazon 服务所支持的 API、参数和请求/响应语法。

根据工作流类型和可用性,您的工作流使用以下三种服务集成模式之一来调用服务:

标准工作流程和快速工作流程支持相同的集成,但支持的集成模式不同。

  • 标准工作流程支持请求响应 集成。某些服务支持运行任务 (.sync)等待回调 (.waitForTaskToken),在某些情况下同时支持这两者。有关详细信息,请参阅以下优化集成表。

  • 快速工作流程仅支持请求响应 集成。

为协助在两种类型之间做出选择,请参阅在 Step Functions 中选择工作流程类型

Step Functions 中的 Amazon SDK 集成

集成 服务 请求响应 运行任务:.sync 等待回调:.waitForTaskToken
超过两百项服务 标准和快速 不支持 Standard

Step Functions 中的优化集成

集成 服务 请求响应 运行任务:.sync 等待回调:.waitForTaskToken
Amazon API Gateway 标准和快速 不支持 Standard
Amazon Athena 标准和快速 Standard 不支持
Amazon Batch 标准和快速 Standard 不支持
Amazon Bedrock 标准和快速 Standard Standard
Amazon CodeBuild 标准和快速 Standard 不支持
Amazon DynamoDB 标准和快速 不支持 不支持
Amazon ECS/Fargate 标准和快速 Standard Standard
Amazon EKS 标准和快速 Standard Standard
Amazon EMR 标准和快速 Standard 不支持
Amazon EMR on EKS 标准和快速 Standard 不支持
Amazon EMR Serverless 标准和快速 Standard 不支持
Amazon EventBridge 标准和快速 不支持 Standard
Amazon Glue 标准和快速 Standard 不支持
Amazon Glue DataBrew 标准和快速 Standard 不支持
Amazon Lambda 标准和快速 不支持 Standard
AWS Elemental MediaConvert 标准和快速 Standard 不支持
Amazon SageMaker AI 标准和快速 Standard 不支持
Amazon SNS 标准和快速 不支持 Standard
Amazon SQS 标准和快速 不支持 Standard
Amazon Step Functions 标准和快速 Standard Standard