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

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

将优化的服务与 Step Functions 集成

您可以在 Task 状态的 Resource 字段中直接从 Amazon States Language 调用优化集成服务。以下主题包括 Amazon States 语言中用于协调其他 Amazon 服务的支持APIs、参数、请求/响应语法。

您可以使用三种服务集成模式:

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

  • 标准工作流程支持请求响应 集成。某些服务支持 Run a Job (.sync)等待回调 (. waitForTask代币),在某些情况下两者兼而有之。有关详细信息,请参阅以下优化集成表。

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

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

Amazon SDKStep Functions 中的集成

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

Step Functions 中的优化集成

集成 服务 请求响应 运行任务:.sync 等待回电-. waitForTask代币
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