

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

# 应用程序集成
<a name="application-integration"></a>

部署 [Amazon API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html)，通过 `HTTP` API 从 SAP S/4HANA 中提取数据。API Gateway 可使用来自 IDOC、BAPI 和 RFC 的数据。这些数据需转换为 Web 服务调用。有关更多信息，请参阅 [AWS 博客](https://aws.amazon.com/blogs/awsforsap/category/application-services/amazon-api-gateway-application-services/)。下图说明了此场景。

![采用 Amazon API Gateway 的数据流](http://docs.aws.amazon.com/zh_cn/sap/latest/general/images/data-integration.png)


数据流

1. 带有 SAP VPC 的 RISE 通过 Tr AWS ansit Gateway 连接到你不由 SAP 管理的 AWS 账户。

1. Amazon API Gateway 配置为将身份验证路由到 AWS Lambda 和 Amazon Cognito

1. Amazon Cognito 对会话进行身份验证。

1. 经过身份验证后，Amazon API Gateway 会将包裹路由到 AWS Lambda。

1.  AWS Lambda 将数据存储在亚马逊 S3 存储桶中。