Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awsdocs/aws-lambda-developer-guide
/ index.js
File
index.js
sample-apps/blank-nodejs/function/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
AWSXRay = require(
'aws-xray-sdk-core'
);
2
const
{ LambdaClient, GetAccountSettingsCommand } = require(
'@aws-sdk/client-lambda'
);
3
4
// Create client outside of handler to reuse
Callers
nothing calls this directly
Calls
3
serialize
Function · 0.70
getAccountSettings
Function · 0.70
log
Method · 0.45
Tested by
no test coverage detected