# Deploying an API definition to AWS API Gateway

Use the Talend Cloud API Designer public API to automatically update your API to AWS API Gateway.

This example explains how to import a new API definition or update an existing one in AWS API Gateway from Talend Cloud API Designer.

![Diagram of the process where the API definition is fetched by the CI/CD pipeline from Talend Cloud and then pushed to the AWS API Gateway.](https://help.qlik.com/talend/en-US/api-designer-user-guide/Resources/images/amazon_api_gateway_6.png)

To do this, you must first fetch your API from Talend Cloud, then you need to deploy it to AWS API Gateway using a command line script or a CI/CD pipeline.

The following procedures use AWS CLI, but you can also use the AWS API Gateway REST API.

For more information, see the following resources:

* [Fetching your API documentation with the management API](https://help.qlik.com/talend/r/en-US/Cloud/api-designer-user-guide/fetching-api-documentation-with-management-api)
* [AWS Command Line Interface User Guide](https://docs.aws.amazon.com/cli/latest/userguide/index.html)
* [AWS API Gateway Developer Guide](https://docs.aws.amazon.com/en_en/apigateway/latest/developerguide/index.html)
* [AWS API Gateway REST API Reference](https://docs.aws.amazon.com/apigateway/api-reference/)

### In this section

* [Fetching an API definition for AWS API Gateway](https://help.qlik.com/talend/en-US/api-designer-user-guide/Cloud/fetching-api-definition-for-aws-api-gateway)
* [Importing an API definition to AWS API Gateway](https://help.qlik.com/talend/en-US/api-designer-user-guide/Cloud/importing-api-definition-to-aws-api-gateway)
* [Updating an API definition on AWS API Gateway](https://help.qlik.com/talend/en-US/api-designer-user-guide/Cloud/updating-api-definition-on-aws-api-gateway)