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
Fix defaults to work with the lambda emulator better (awslabs#4)
* Fix api gateway serializer.
Add missing fields.
Signed-off-by: David Calavera <[email protected]>
* Set default log names.
So the lambda emulator works as expected.
Signed-off-by: David Calavera <[email protected]>
/// The deployment stage of the API request (for example, Beta or Prod).
157
158
pubstage:String,
159
+
/// The domain name of the API Gateway.
160
+
pubdomain_name:String,
161
+
/// The domain prefix of the API Gateway.
162
+
pubdomain_prefix:String,
158
163
/// The ID that API Gateway assigns to the API request.
159
164
pubrequest_id:String,
160
165
/// The path to your resource. For example, for the non-proxy request URI of `https://{rest-api-id.execute-api.{region}.amazonaws.com/{stage}/root/child`, The $context.resourcePath value is /root/child.
161
166
pubresource_path:String,
167
+
/// The HTTP protocol used for this request.
168
+
pubprotocol:String,
162
169
/// The HTTP method used. Valid values include: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.
163
170
pubhttp_method:String,
164
171
/// The stringified value of the specified key-value pair of the context map returned from an API Gateway Lambda authorizer function.
0 commit comments