@@ -30,22 +30,23 @@ type APIGatewayProxyResponse struct {
3030// APIGatewayProxyRequestContext contains the information to identify the AWS account and resources invoking the
3131// Lambda function. It also includes Cognito identity information for the caller.
3232type APIGatewayProxyRequestContext struct {
33- AccountID string `json:"accountId"`
34- ResourceID string `json:"resourceId"`
35- OperationName string `json:"operationName,omitempty"`
36- Stage string `json:"stage"`
37- DomainName string `json:"domainName"`
38- DomainPrefix string `json:"domainPrefix"`
39- RequestID string `json:"requestId"`
40- Protocol string `json:"protocol"`
41- Identity APIGatewayRequestIdentity `json:"identity"`
42- ResourcePath string `json:"resourcePath"`
43- Path string `json:"path"`
44- Authorizer map [string ]interface {} `json:"authorizer"`
45- HTTPMethod string `json:"httpMethod"`
46- RequestTime string `json:"requestTime"`
47- RequestTimeEpoch int64 `json:"requestTimeEpoch"`
48- APIID string `json:"apiId"` // The API Gateway rest API Id
33+ AccountID string `json:"accountId"`
34+ ResourceID string `json:"resourceId"`
35+ OperationName string `json:"operationName,omitempty"`
36+ Stage string `json:"stage"`
37+ DomainName string `json:"domainName"`
38+ DomainPrefix string `json:"domainPrefix"`
39+ RequestID string `json:"requestId"`
40+ ExtendedRequestID string `json:"extendedRequestId"`
41+ Protocol string `json:"protocol"`
42+ Identity APIGatewayRequestIdentity `json:"identity"`
43+ ResourcePath string `json:"resourcePath"`
44+ Path string `json:"path"`
45+ Authorizer map [string ]interface {} `json:"authorizer"`
46+ HTTPMethod string `json:"httpMethod"`
47+ RequestTime string `json:"requestTime"`
48+ RequestTimeEpoch int64 `json:"requestTimeEpoch"`
49+ APIID string `json:"apiId"` // The API Gateway rest API Id
4950}
5051
5152// APIGatewayV2HTTPRequest contains data coming from the new HTTP API Gateway
0 commit comments