Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 100

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**To overwrite an existing API using a Swagger template**

Command::

  aws apigateway put-rest-api --rest-api-id 1234123412 --mode overwrite --body 'file:///path/to/API_Swagger_template.json'

**To merge a Swagger template into an existing API**

Command::

  aws apigateway put-rest-api --rest-api-id 1234123412 --mode merge --body 'file:///path/to/API_Swagger_template.json'