Amazon API Gateway Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 31: Line 31:
Examples:
Examples:


* [Amazon_API_Gateway_HTTP_Proxy_Integration_Example|API Gateway HTTP Proxy Integration Example]]
* [[Amazon_API_Gateway_HTTP_Proxy_Integration_Example|API Gateway HTTP Proxy Integration Example]]


=API Deployment=
=API Deployment=

Revision as of 21:46, 8 February 2019

Internal

Interacting with Amazon API Gateway

Amazon API Gateway Console

https://console.aws.amazon.com/apigateway

AWS CLI

Sending REST API Invocations

Using AWS SDK

API Inspection

Resources

API Gateway Console -> APIs -> <API Name> -> Resources. The "Resources" pane shows the structure of the API as a tree of nodes.

Aslo:

Resources

Methods

API Gateway Console -> APIs -> <API Name> -> Resources -> Select a Resource node -> API methods defined on each resource are the leafs of the tree.

API Creation

With Amazon API Gateway Console: Create API.

Examples:

API Deployment

An API deployment happens in a stage.

API Gateway Console -> APIs -> <API Name> -> Actions -> Deploy API. This is where an existing or a new stage is specified.

Stage Manipulation

Stage Editor: API Gateway Console -> APIs -> <API Name> -> Stages -> <stage name>

API Testing