You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""The identifier API Gateway assigns to your API."""
83
+
awsEndpointRequestId: Optional[str]
84
+
"""The AWS endpoint's request ID."""
59
85
deploymentId: str
60
-
domainName: Optional[str]
86
+
"""The ID of the API deployment."""
87
+
domainName: str
88
+
"""The full domain name used to invoke the API. This should be the same as the incoming Host header."""
61
89
domainPrefix: str
90
+
"""The first label of the $context.domainName."""
62
91
extendedRequestId: str
63
-
httpMethod: str# TODO: type?
64
-
identity: ContextVarsIdentity
65
-
isCanaryRequest: bool|str# TODO: verify type
92
+
"""The extended ID that API Gateway generates and assigns to the API request. """
93
+
httpMethod: str
94
+
"""The HTTP method used"""
95
+
identity: Optional[ContextVarsIdentity]
96
+
isCanaryRequest: Optional[bool|str] # TODO: verify type
97
+
"""Indicates if the request was directed to the canary"""
66
98
path: str
99
+
"""The request path."""
67
100
protocol: str
101
+
"""The request protocol"""
68
102
requestId: str
103
+
"""An ID for the request. Clients can override this request ID. """
69
104
requestTime: str
70
-
requestTimeEpoch: str# TODO: type?
71
-
resourceId: str
72
-
resourcePath: str
105
+
"""The CLF-formatted request time (dd/MMM/yyyy:HH:mm:ss +-hhmm)."""
106
+
requestTimeEpoch: int
107
+
"""The Epoch-formatted request time, in milliseconds."""
108
+
resourceId: Optional[str]
109
+
"""The identifier that API Gateway assigns to your resource."""
110
+
resourcePath: Optional[str]
111
+
"""The path to your resource"""
73
112
stage: str
113
+
"""The deployment stage of the API request """
74
114
wafResponseCode: Optional[str]
115
+
"""The response received from AWS WAF: WAF_ALLOW or WAF_BLOCK. Will not be set if the stage is not associated with a web ACL"""
75
116
webaclArn: Optional[str]
117
+
"""The complete ARN of the web ACL that is used to decide whether to allow or block the request. Will not be set if the stage is not associated with a web ACL."""
0 commit comments