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
If you're using AWS Lambda with API Gateway, you are most likely using the proxy integration type.
11
17
12
-
13
18
[Source Code on GitHub](https://github.com/moesif/moesif-aws-lambda-nodejs)
14
19
15
-
[Package on NPMJS](https://www.npmjs.com/package/moesif-aws-lambda)
16
-
17
20
<divclass="notice--info">
18
21
<h4>
19
22
Express apps
20
23
</h4>
21
24
<br>
22
25
<p>
23
26
Alternatively, if you're running the Express Framework on AWS Lambda and prefer to use Express middleware, Moesif has
24
-
<a href="https://www.moesif.com/docs/server-integration/express/">Express Middleware</a> also available. The Express Middleware isn't
27
+
<a href="https://www.moesif.com/docs/server-integration/express/">Express Middleware</a> also available. The Express Middleware isn't
25
28
specific to AWS lambda but won't capture AWS specific stuff like Trace Id.
26
29
</p>
27
30
</div>
@@ -98,7 +101,7 @@ options.identifyUser = function (event, context) {
98
101
#### __`getSessionToken`__
99
102
100
103
Type: `(event, context) => String`
101
-
getSessionToken a function that takes AWS lambda `event` and `context` objects as arguments and returns a
104
+
getSessionToken a function that takes AWS lambda `event` and `context` objects as arguments and returns a
102
105
session token (i.e. such as an API key).
103
106
104
107
@@ -129,7 +132,7 @@ options.getTags = function (event, context) {
129
132
#### __`getApiVersion`__
130
133
131
134
Type: `(event, context) => String`
132
-
getApiVersion is a function that takes AWS lambda `event` and `context` objects as arguments and
135
+
getApiVersion is a function that takes AWS lambda `event` and `context` objects as arguments and
133
136
returns a string to tag requests with a specific version of your API.
134
137
135
138
@@ -143,7 +146,7 @@ options.getApiVersion = function (event, context) {
143
146
#### __`skip`__
144
147
145
148
Type: `(event, context) => Boolean`
146
-
skip is a function that takes AWS lambda `event` and `context` objects as arguments and returns true
149
+
skip is a function that takes AWS lambda `event` and `context` objects as arguments and returns true
147
150
if the event should be skipped (i.e. not logged)
148
151
<br/>_The default is shown below and skips requests to the root path "/"._
149
152
@@ -162,8 +165,8 @@ options.skip = function (event, context) {
162
165
#### __`maskContent`__
163
166
164
167
Type: `MoesifEventModel => MoesifEventModel`
165
-
maskContent is a function that takes the final Moesif event model (rather than the AWS lambda event/context objects) as an
166
-
argument before being sent to Moesif. With maskContent, you can make modifications to headers or body such as
168
+
maskContent is a function that takes the final Moesif event model (rather than the AWS lambda event/context objects) as an
169
+
argument before being sent to Moesif. With maskContent, you can make modifications to headers or body such as
167
170
removing certain header or body fields.
168
171
169
172
@@ -282,3 +285,11 @@ The userId field is required.
282
285
## Other integrations
283
286
284
287
To view more more documentation on integration options, please visit __[the Integration Options Documentation](https://www.moesif.com/docs/getting-started/integration-options/).__
0 commit comments