using System.Collections.Generic; namespace Amazon.Lambda.APIGatewayEvents { /// /// For requests coming in to a custom API Gateway authorizer function. /// public class APIGatewayCustomAuthorizerRequest { /// /// Gets or sets the 'type' property. /// public string Type { get; set; } /// /// Gets or sets the 'authorizationToken' property. /// public string AuthorizationToken { get; set; } /// /// Gets or sets the 'methodArn' property. /// public string MethodArn { get; set; } /// /// The url path for the caller. For Request type API Gateway Custom Authorizer only. /// public string Path { get; set; } /// /// The HTTP method used. For Request type API Gateway Custom Authorizer only. /// public string HttpMethod { get; set; } /// /// The headers sent with the request. For Request type API Gateway Custom Authorizer only. /// public IDictionary Headers {get;set;} /// /// The query string parameters that were part of the request. For Request type API Gateway Custom Authorizer only. /// public IDictionary QueryStringParameters { get; set; } /// /// The path parameters that were part of the request. For Request type API Gateway Custom Authorizer only. /// public IDictionary PathParameters { get; set; } /// /// The stage variables defined for the stage in API Gateway. For Request type API Gateway Custom Authorizer only. /// public IDictionary StageVariables { get; set; } /// /// The request context for the request. For Request type API Gateway Custom Authorizer only. /// public APIGatewayProxyRequest.ProxyRequestContext RequestContext { get; set; } } }