forked from aws/aws-lambda-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
APIGatewayCustomAuthorizerV2Request.cs
71 lines (59 loc) · 2.21 KB
/
APIGatewayCustomAuthorizerV2Request.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
using System.Collections.Generic;
namespace Amazon.Lambda.APIGatewayEvents
{
/// <summary>
/// For requests coming in to a custom API Gateway authorizer function.
/// https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
/// </summary>
public class APIGatewayCustomAuthorizerV2Request
{
/// <summary>
/// Gets or sets the 'type' property.
/// </summary>
public string Type { get; set; }
/// <summary>
/// Gets or sets the 'routeArn' property.
/// </summary>
public string RouteArn { get; set; }
/// <summary>
/// List of identity sources for the request.
/// </summary>
public List<string> IdentitySource { get; set; }
/// <summary>
/// Gets or sets the 'routeKey' property.
/// </summary>
public string RouteKey { get; set; }
/// <summary>
/// Raw url path for the caller.
/// </summary>
public string RawPath { get; set; }
/// <summary>
/// Raw query string for the caller.
/// </summary>
public string RawQueryString { get; set; }
/// <summary>
/// The cookies sent with the request.
/// </summary>
public List<string> Cookies { get; set; }
/// <summary>
/// The headers sent with the request.
/// </summary>
public Dictionary<string, string> Headers { get; set; }
/// <summary>
/// The query string parameters that were part of the request.
/// </summary>
public Dictionary<string, string> QueryStringParameters { get; set; }
/// <summary>
/// The path parameters that were part of the request.
/// </summary>
public Dictionary<string, string> PathParameters { get; set; }
/// <summary>
/// The stage variables defined for the stage in API Gateway.
/// </summary>
public Dictionary<string, string> StageVariables { get; set; }
/// <summary>
/// The request context for the request.
/// </summary>
public APIGatewayHttpApiV2ProxyRequest.ProxyRequestContext RequestContext { get; set; }
}
}