Ask a Question

How to integrate with Amazon API gateway?

SOLVED
sandesh007
Occasional Contributor

How to integrate with Amazon API gateway?

I have swagger api and i want to use amazon api gateway to secure it? Where do I start?

@fehguy

19 REPLIES 19
sandesh007
Occasional Contributor

I just have this api which I want to secure and I am not sure which one should I go for...If I go for lambda I will have to create functions hence I want to go for anything which is easy to implement as I have todays date only to deploy api and make it live..

 

 

Please suggest where should I go from here 

Then I suggest using the proxy to secure it.  Please see my previous note about how to see the API in the Gateway UI, once you have the push successful, it is easy to add tokens, etc. to secure it.

-----
Tony Tam
SmartBear VP of Swagger Products
sandesh007
Occasional Contributor

So I will need to publish after all that we have done to push, am I right? Coz I still don't see it in aws console?

How do I make sure it is pushed to aws?

We have published a short screencast to show how this is done.  All required steps are there, please see the following:

 

SwaggerHub AWS API Gateway Integration

-----
Tony Tam
SmartBear VP of Swagger Products
sandesh007
Occasional Contributor

The email id associated with my swaggerhub account is not on github? Coz I followed the steps and I cant see api in aws console? I am using credential of user ( swaggerhub user which was created ) so can that swagger hub user can see that api? I have followed the procedure for more than 20 times but I can't see anything in aws api gateway under apis?

 

I must be doing something silly but really not sure what?

I'm confused.  So do you not get emails when there is a failure?  Please go to the settings page and ensure you have a valid email address and are receiving emails from SwaggerHub.  If you have an error or something incompatible with the Amazon API Gateway, you will get an email with the error message.

-----
Tony Tam
SmartBear VP of Swagger Products
sandesh007
Occasional Contributor

I am getting below error messages ..I am trying to play with it as well kindly have look at definition which I am trying to import at https://swaggerhub.com/api/sandy007/ffnodeapiswagg/1.0.0

 

Invalid model name specified: application/json=null

Model name must be alphanumeric: inline_response_200_1

Invalid model name specified: null

Reference to model 'inline_response_200_1' not found. Ignoring.

 

sandesh007
Occasional Contributor

After all the drilling down I am getting "Parameter type formData for parameter memberid not supported. Ignoring.", Ring a bell?

sandesh007
Occasional Contributor

If I make any changes to my api definition will it be synced in swaggerhub and aws?

As long as you make the changes inside SwaggerHub and have the AWS integration set up and enabled for that API - every time you click 'Save' it will be synced.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
cancel
Showing results for 
Search instead for 
Did you mean: