Category "aws-api-gateway"

How to pass a params from POST to AWS Lambda from Amazon API Gateway

In this question How to pass a querystring or route parameter to AWS Lambda from Amazon API Gateway shows how to map query string params to AWS lambda using AP

AWS custom domain mapping with uri parameters

I’m using a serverless micro services architecture and have multiple REST API GWs. All APIs are mapped using Custom Domain to a base URL. For example: API

Identify Google signed in user in AWS Lambda invoked by API Gateway

When any internet user enters a certain URL, I serve up an html dashboard that is generated from an AWS Lambda written in Python. This requires a bit of setup f

AWS API Gateway path based routing to private integrations

I am using AWS HTTP API Gateway to route requests to my integrations in the VPC. I've added a custom domain and I want to route my requests to my integrations b

convert javascript code to bookmarklet for easy access

I have this code that I am trying to use as a bookmarklet. fetch('https://hf.space/embed/Alifarsi/news_summarizer/+/api/predict/', { method: "POST", body: JSON.

AWS User is not authorized to access this resource

I'm new to AWS API Gateway and Lambda and I am wondering if anyone could help? I generate an access token using Auth0 and it works on postman returning all of

Defining URL Query String Parameters in AWS::Serverless::Api SAM template

How do I define and validate URL Query String Parameters for an AWS::Serverless::Api in a SAM template? They don't seem to be mentioned in the documentation htt

AWS API gateway response body template mapping (foreach)

I am trying to save data in S3 through firehose proxied by API gateway. I have create an API gateway endpoint that uses the AWS service integration type and Put

SerializationException:Start of structure or map found where not expected: API Gateway to Step function

I am using the standard blog tutorial on integrating api gateway with step functions from here: https://docs.aws.amazon.com/step-functions/latest/dg/tutorial-ap

How to enable Cloudwatch logging for AWS API GW via Cloudformation template

I am trying to enable cloudwatch logs for AWS API Gateway via cloudformation template but it does not enables. I have tried setting up logginglevel to INFO in b

How can I create route path in terraform for AWS apigateway version2?

I am using terraform to create API Gateway version2 on AWS. By looking at the page: https://www.terraform.io/docs/providers/aws/r/apigatewayv2_route.html, it do

AWS lambda api gateway error "Malformed Lambda proxy response"

I am trying to set up a hello world example with AWS lambda and serving it through api gateway. I clicked the "Create a Lambda Function", which set up the api g

AWS API Gateway with proxy Lambda: Invalid permissions on Lambda function

I am using AWS API Gateway with a proxy Lambda, when the name of the lambda function is coming as a stage variable. Meaning I have a single API integration whic

How to use multiple Cognito user pools for a single endpoint with AWS API Gateway?

I've recently implemented an API Gateway as a proxy with a single proxy endpoint. I'm using Cognito as authorisation mechanism and as long as I have only one u

Terraform: How to create API Gateway endpoints and methods from a list of objects?

I want to create a terraform (v0.12+) module that outputs an AWS API Gateway with Lambda integration(s). I cannot quite understand how (or if it is even possibl

Does AWS API Gateway private integration with ALB works with ALB https listener

I have a public API gateway with HTTP API I'm trying to forward traffic to an internal ALB with private link. It works well for an HTTP listener but I can't mak

Using an API key in Amazon API Gateway

I have created an API Key and added it to my functions. I have then deployed the api and tested it but still get: "message": "Forbidden" How do I pass the api