using System.Collections.Generic; namespace Amazon.Lambda.APIGatewayEvents { /// /// For requests coming in to a custom API Gateway authorizer function. /// https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html /// public class APIGatewayCustomAuthorizerV2Request { /// /// Gets or sets the 'type' property. /// public string Type { get; set; } /// /// Gets or sets the 'routeArn' property. /// public string RouteArn { get; set; } /// /// List of identity sources for the request. /// public List IdentitySource { get; set; } /// /// Gets or sets the 'routeKey' property. /// public string RouteKey { get; set; } /// /// Raw url path for the caller. /// public string RawPath { get; set; } /// /// Raw query string for the caller. /// public string RawQueryString { get; set; } /// /// The cookies sent with the request. /// public List Cookies { get; set; } /// /// The headers sent with the request. /// public Dictionary Headers { get; set; } /// /// The query string parameters that were part of the request. /// public Dictionary QueryStringParameters { get; set; } /// /// The path parameters that were part of the request. /// public Dictionary PathParameters { get; set; } /// /// The stage variables defined for the stage in API Gateway. /// public Dictionary StageVariables { get; set; } /// /// The request context for the request. /// public APIGatewayHttpApiV2ProxyRequest.ProxyRequestContext RequestContext { get; set; } } }