# 將 API 定義部署至 AWS API Gateway

使用 API Contracts 公開 API 自動將您的 API 更新至 AWS API Gateway。

本範例說明如何從 API 合約匯入新的 API 定義或更新 AWS API Gateway 中的現有定義。

![CI/CD 管道從 Qlik Talend Cloud 擷取 API 定義，然後推送至 AWS API Gateway 的流程圖。](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Resources/Images/ApiDesigner/amazon_api_gateway_6.png)

若要執行此操作，您必須先從 Qlik Talend Cloud 擷取您的 API，然後您需要使用命令列指令碼或 CI/CD 管道將其部署至 AWS API Gateway。

下列程序使用 AWS CLI，但您也可以使用 AWS API Gateway REST API。

如需詳細資訊，請參閱下列資源：

* [擷取 AWS API Gateway 的 API 定義](https://help.qlik.com/zh-TW/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/APIDesigner/FetchingApiDefinitionForAwsApiGateway.htm)
* [AWS Command Line Interface 使用者指南](https://docs.aws.amazon.com/cli/latest/userguide/index.html)
* [AWS API Gateway 開發人員指南](https://docs.aws.amazon.com/en_en/apigateway/latest/developerguide/index.html)
* [AWS API Gateway REST API 參考](https://docs.aws.amazon.com/apigateway/api-reference/)