Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/serverless/examples
/ functions
Functions
456 in github.com/serverless/examples
⨍
Functions
456
◇
Types & classes
92
↳
Endpoints
4
↓ 144 callers
Method
error
(code: number = 1000, message: string)
aws-node-rest-api-typescript/app/utils/message.ts:42
↓ 27 callers
Method
send
(event)
aws-node-twilio-send-text-message/messenger.js:8
↓ 11 callers
Method
update
* Update a book by id * @param event
aws-node-rest-api-typescript/app/controller/books.ts:38
↓ 9 callers
Function
createAgent
* Create the LangGraph agent with memory tool. * Mirrors the Python example's graph-based agent architecture.
aws-bedrock-agentcore/javascript/langgraph-memory/index.js:146
↓ 9 callers
Function
createErrorResponse
(statusCode, message)
aws-node-rest-api-mongodb/handler.js:10
↓ 9 callers
Function
createErrorResponse
(statusCode, message)
aws-node-http-api-mongodb/handler.js:10
↓ 7 callers
Method
find
* Find book list
aws-node-rest-api-typescript/app/controller/books.ts:55
↓ 6 callers
Method
create
* Create book * @param {*} event
aws-node-rest-api-typescript/app/controller/books.ts:16
↓ 6 callers
Function
ensureSession
()
aws-bedrock-agentcore/javascript/langgraph-comprehensive/agents/index.js:165
↓ 6 callers
Method
save
(self, conditional_operator=None, **expected_values)
aws-python-pynamodb-s3-sigurl/asset/asset_model.py:45
↓ 5 callers
Function
parseInt
(value)
aws-python-alexa-skill/handler.py:4
↓ 5 callers
Method
success
(data: object)
aws-node-rest-api-typescript/app/utils/message.ts:36
↓ 4 callers
Function
dbConnectAndExecute
(dbUrl, fn)
aws-node-rest-api-mongodb/handler.js:18
↓ 4 callers
Function
dbConnectAndExecute
(dbUrl, fn)
aws-node-http-api-mongodb/handler.js:18
↓ 4 callers
Function
invoke_agent
Invoke the AgentCore Runtime agent.
aws-bedrock-agentcore/python/langgraph-memory/test-invoke.py:32
↓ 4 callers
Function
invoke_agent
Invoke an AgentCore Runtime agent.
aws-bedrock-agentcore/python/langgraph-multi-gateway/test-invoke.py:36
↓ 4 callers
Function
testCallTool
(name, args, id)
aws-bedrock-agentcore/javascript/mcp-server/test-invoke.js:106
↓ 3 callers
Method
bodyToString
* Serverless: According to the API Gateway specs, the body content must be stringified
aws-node-rest-api-typescript/app/utils/message.ts:23
↓ 3 callers
Function
callApi
()
aws-node-fullstack/frontend/src/DemoApp.js:113
↓ 3 callers
Function
count_recordings_in_s3
Count the number of recording files in the S3 bucket.
aws-bedrock-agentcore/python/langgraph-browser-custom/test-invoke.py:49
↓ 3 callers
Function
invoke
(actionName, params)
openwhisk-node-chaining-functions/handler.js:7
↓ 3 callers
Function
invoke
(method, params, id)
aws-bedrock-agentcore/javascript/mcp-server/test-invoke.js:32
↓ 3 callers
Function
invokeAgent
(inputText)
aws-bedrock-agentcore/javascript/langgraph-streaming/test-invoke.js:36
↓ 3 callers
Function
invoke_agent
Invoke the AgentCore Runtime agent.
aws-bedrock-agentcore/python/langgraph-gateway/test-invoke.py:28
↓ 3 callers
Function
invoke_agent
Invoke the browser agent with a prompt.
aws-bedrock-agentcore/python/strands-browser/test-invoke.py:37
↓ 3 callers
Function
invoke_agent
Invoke the browser agent with a prompt.
aws-bedrock-agentcore/python/langgraph-browser/test-invoke.py:36
↓ 3 callers
Function
make_result
(value)
aws-python-rest-api-with-faunadb/todos/makeresult.py:6
↓ 2 callers
Function
_to_epoch
(fauna_time)
aws-python-rest-api-with-faunadb/todos/makeresult.py:3
↓ 2 callers
Function
buildGithubPayload
(state, description)
aws-node-github-check/libs/response-lib.js:8
↓ 2 callers
Function
buildResponse
(statusCode, body)
aws-node-github-check/libs/response-lib.js:1
↓ 2 callers
Function
configure_telegram
Configures the bot with a Telegram Token. Returns a bot instance.
aws-python-telegram-bot/handler.py:25
↓ 2 callers
Function
createConn
()
aws-node-heroku-postgres/handler.js:26
↓ 2 callers
Function
create_200_response
(message)
aws-python-auth0-custom-authorizers-api/lambda_handlers.py:85
↓ 2 callers
Method
deleteOne
* Delete book by id * @param event
aws-node-rest-api-typescript/app/controller/books.ts:92
↓ 2 callers
Function
eventStreamToMap
ugly hack because the types events.DynamoDBAttributeValue != *dynamodb.AttributeValue
aws-golang-dynamo-stream-to-elasticsearch/dstream/update.go:68
↓ 2 callers
Function
findAttributeByKeyType
(schema []*dynamodb.KeySchemaElement, keyType string)
aws-golang-dynamo-stream-to-elasticsearch/dstream/details.go:52
↓ 2 callers
Method
findOne
* Query book by id * @param event
aws-node-rest-api-typescript/app/controller/books.ts:71
↓ 2 callers
Method
get_key
(self)
aws-python-pynamodb-s3-sigurl/asset/asset_model.py:42
↓ 2 callers
Function
get_latest_recordings
Get the latest recording files from S3.
aws-bedrock-agentcore/python/langgraph-browser-custom/test-invoke.py:62
↓ 2 callers
Function
http
(url, qs)
openwhisk-node-and-docker-chaining-functions/handler.js:7
↓ 2 callers
Method
index
()
aws-golang-dynamo-stream-to-elasticsearch/dstream/update.go:62
↓ 2 callers
Function
invokeAgent
(inputText)
aws-bedrock-agentcore/javascript/langgraph-gateway/test-invoke.js:27
↓ 2 callers
Function
invokeAgent
(inputText, sessionId)
aws-bedrock-agentcore/javascript/langgraph-comprehensive/test-invoke.js:98
↓ 2 callers
Function
invokeAgent
(inputText)
aws-bedrock-agentcore/javascript/langgraph-memory/test-invoke.js:30
↓ 2 callers
Function
invokeAgent
(inputText)
aws-bedrock-agentcore/javascript/langgraph-basic/test-invoke.js:33
↓ 2 callers
Function
invokeAgent
(inputText)
aws-bedrock-agentcore/javascript/langgraph-code-interpreter/test-invoke.js:27
↓ 2 callers
Function
invokeAgent
(inputText)
aws-bedrock-agentcore/javascript/langgraph-basic-dockerfile/test-invoke.js:33
↓ 2 callers
Function
invokeAgent
(runtimeArn, inputText, label)
aws-bedrock-agentcore/javascript/langgraph-multi-gateway/test-invoke.js:26
↓ 2 callers
Function
invoke_agent
Invoke the AgentCore Runtime agent.
aws-bedrock-agentcore/python/langgraph-basic-docker/test-invoke.py:27
↓ 2 callers
Function
invoke_agent
Invoke the AgentCore Runtime agent.
aws-bedrock-agentcore/python/langgraph-basic-code/test-invoke.py:27
↓ 2 callers
Function
promisify
aws-node-graphql-api-with-dynamodb/handler.js:13
↓ 2 callers
Function
renderApp
()
aws-node-single-page-app-via-cloudfront/app/app.js:4
↓ 2 callers
Method
runAwsCommand
(args)
aws-node-single-page-app-via-cloudfront/serverless-single-page-app-plugin/index.js:39
↓ 2 callers
Function
runner
(cb)
aws-node-fullstack/frontend/src/DemoApp.js:201
↓ 2 callers
Method
save
(self, conditional_operator=None, **expected_values)
aws-python-http-api-with-pynamodb/todos/todo_model.py:23
↓ 2 callers
Method
save
(self, conditional_operator=None, **expected_values)
aws-python-rest-api-with-pynamodb/todos/todo_model.py:23
↓ 2 callers
Function
success
(body)
aws-node-github-check/libs/response-lib.js:16
↓ 2 callers
Function
test_private_agent
Test the private agent with internal lookup tool.
aws-bedrock-agentcore/python/langgraph-multi-gateway/test-invoke.py:107
↓ 2 callers
Function
test_public_agent
Test the public agent with calculator tool.
aws-bedrock-agentcore/python/langgraph-multi-gateway/test-invoke.py:85
↓ 2 callers
Function
updateUI
()
aws-python-auth0-custom-authorizers-api/frontend/app.js:21
↓ 2 callers
Function
updateUI
()
aws-node-auth0-custom-authorizers-api/frontend/app.js:21
↓ 1 callers
Method
Get
Get Extracts out the attribute Value of Hash Key and Range key from the describe table output
aws-golang-dynamo-stream-to-elasticsearch/dstream/details.go:23
↓ 1 callers
Method
PushRecords
PushRecords sends a particular batch of docs over to elasticsearch endpoint
aws-golang-stream-kinesis-to-elasticsearch/elastic/elastic.go:31
↓ 1 callers
Method
Update
Update takes a reference to adstream.Details object; which is used to figure out which Elasticsearch Index to update; And an item map[string]events.Dy
aws-golang-dynamo-stream-to-elasticsearch/dstream/update.go:23
↓ 1 callers
Method
__str__
(self)
aws-python-pynamodb-s3-sigurl/asset/asset_model.py:39
↓ 1 callers
Function
_evaluate_node
Recursively evaluate an AST node.
aws-bedrock-agentcore/python/langgraph-gateway/handlers/calculator.py:126
↓ 1 callers
Function
_evaluate_node
Recursively evaluate an AST node.
aws-bedrock-agentcore/python/langgraph-multi-gateway/handlers/calculator.py:88
↓ 1 callers
Method
_process
(event, context)
aws-node-dynamic-image-resizer/src/lib/BaseHandler.js:11
↓ 1 callers
Method
_process
(event)
aws-node-dynamic-image-resizer/src/handlers/resizer/resizeHandler.js:9
↓ 1 callers
Function
bench
()
aws-node-typescript-nest/bench.js:6
↓ 1 callers
Function
bootstrapServer
()
aws-node-typescript-nest/src/main.ts:25
↓ 1 callers
Function
browserCleanup
()
aws-bedrock-agentcore/javascript/langgraph-comprehensive/agents/index.js:458
↓ 1 callers
Method
build
()
aws-java-simple-http-endpoint/src/main/java/com/serverless/ApiGatewayResponse.java:112
↓ 1 callers
Method
builder
()
aws-java-simple-http-endpoint/src/main/java/com/serverless/ApiGatewayResponse.java:44
↓ 1 callers
Function
changeNickname
(firstName, nickname)
aws-node-graphql-api-with-dynamodb/handler.js:36
↓ 1 callers
Function
chatbot_node
Main chatbot node that invokes the LLM. The LLM can decide to use gateway tools or respond directly.
aws-bedrock-agentcore/python/langgraph-gateway/agent.py:45
↓ 1 callers
Function
chatbot_node
Main chatbot node that invokes the LLM.
aws-bedrock-agentcore/python/langgraph-multi-gateway/private_agent.py:40
↓ 1 callers
Function
chatbot_node
Main chatbot node that invokes the LLM.
aws-bedrock-agentcore/python/langgraph-multi-gateway/public_agent.py:39
↓ 1 callers
Function
codeCleanup
()
aws-bedrock-agentcore/javascript/langgraph-comprehensive/agents/index.js:459
↓ 1 callers
Function
convert_certificate_to_pem
(public_key)
aws-python-auth0-custom-authorizers-api/lambda_handlers.py:71
↓ 1 callers
Function
createAgent
* Create a Strands agent with browser capabilities.
aws-bedrock-agentcore/javascript/strands-browser/index.js:60
↓ 1 callers
Method
createBook
* Create book * @param params
aws-node-rest-api-typescript/app/service/books.ts:14
↓ 1 callers
Function
createBrowserTools
(browser)
aws-bedrock-agentcore/javascript/langgraph-comprehensive/agents/index.js:162
↓ 1 callers
Function
createCodeInterpreterTools
(codeInterpreter)
aws-bedrock-agentcore/javascript/langgraph-comprehensive/agents/index.js:251
↓ 1 callers
Function
createConn
()
aws-node-mongodb-atlas/handler.js:36
↓ 1 callers
Function
createMcpServer
()
aws-bedrock-agentcore/javascript/mcp-server/index.js:22
↓ 1 callers
Function
createMcpSession
* Create an MCP client connected to the gateway with SigV4 auth.
aws-bedrock-agentcore/javascript/langgraph-gateway/index.js:69
↓ 1 callers
Function
createPrivateMcpSession
* Connect to the private gateway with AWS SigV4 auth.
aws-bedrock-agentcore/javascript/langgraph-multi-gateway/private-agent.js:66
↓ 1 callers
Function
createPublicMcpSession
* Connect to the public gateway (no auth required).
aws-bedrock-agentcore/javascript/langgraph-multi-gateway/public-agent.js:31
↓ 1 callers
Function
createSignedFetch
* Create a SigV4-signed fetch function for the gateway.
aws-bedrock-agentcore/javascript/langgraph-gateway/index.js:43
↓ 1 callers
Function
createSignedFetch
(credentials)
aws-bedrock-agentcore/javascript/langgraph-comprehensive/agents/index.js:83
↓ 1 callers
Function
createSignedFetch
* Create a SigV4-signed fetch function for the gateway.
aws-bedrock-agentcore/javascript/langgraph-multi-gateway/private-agent.js:40
↓ 1 callers
Function
create_agent
Create a Strands agent with browser capabilities. Returns: Configured Strands Agent instance
aws-bedrock-agentcore/python/strands-browser/agent.py:48
↓ 1 callers
Function
create_agent
Create and configure the LangGraph agent. Args: actor_id: Actor identifier for memory session_id: Session identifier for mem
aws-bedrock-agentcore/python/langgraph-memory/agent.py:49
↓ 1 callers
Function
create_aws_lambda_response
(status_code, message, headers)
aws-python-auth0-custom-authorizers-api/lambda_handlers.py:95
↓ 1 callers
Function
dbExecute
(db, fn)
aws-node-rest-api-mongodb/handler.js:16
↓ 1 callers
Function
dbExecute
(db, fn)
aws-node-http-api-mongodb/handler.js:16
↓ 1 callers
Method
deleteOneBookById
* Delete book by id * @param id
aws-node-rest-api-typescript/app/service/books.ts:61
↓ 1 callers
Method
docID
(item map[string]events.DynamoDBAttributeValue)
aws-golang-dynamo-stream-to-elasticsearch/dstream/update.go:51
↓ 1 callers
Method
docType
()
aws-golang-dynamo-stream-to-elasticsearch/dstream/update.go:44
next →
1–100 of 456, ranked by callers