Skip to content

Amazon.Lambda.APIGatewayEvents.APIGatewayProxyRequest is missing methodArn parameter #681

@ProfessionalAmateur

Description

@ProfessionalAmateur

The documentation for a REQUEST type custom lambda authorizer shows there should be a parameter called methodArn in the APIGatewayProxy request but I am not seeing in in the class. I'm using the AWS SDK using .net-core3.1. Am I using the correct input class for the function handler or is the methodArn parameter missing?

namespace Amazon.Lambda.APIGatewayEvents
{
   public class APIGatewayProxyRequest
   {
      public APIGatewayProxyRequest();

      public string Resource { get; set; }
      public string Path { get; set; }
      public string HttpMethod { get; set; }
      public IDictionary<string, string> Headers { get; set; }
      public IDictionary<string, IList<string>> MultiValueHeaders { get; set; }
      public IDictionary<string, string> QueryStringParameters { get; set; }
      public IDictionary<string, IList<string>> MultiValueQueryStringParameters { get; set; }
      public IDictionary<string, string> PathParameters { get; set; }
      public IDictionary<string, string> StageVariables { get; set; }
      public ProxyRequestContext RequestContext { get; set; }
      public string Body { get; set; }
      public bool IsBase64Encoded { get; set; }

      <...SNIP...>
   }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions