# AWS API GatewayにAPI定義をデプロイ

API Contracts パブリック API を使い、API を AWS API Gateway へ自動的にアップデートします。

この例では、API Contracts からの AWS API Gateway で新しい API 定義をインポートする方法、または既存の API 定義をアップデートする方法について説明します。

![API定義がCI/CDパイプラインによってQlik Talend Cloudから取得され、AWS API Gatewayにプッシュされるプロセスの図。](https://help.qlik.com/ja-JP/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/ja-JP/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/APIDesigner/FetchingApiDefinitionForAwsApiGateway.htm)
* [『AWS Command Line Interface User Guide』(AWSコマンドラインインターフェイスユーザーガイド)](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/)