Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws-samples/aws-lambda-extensions
/ functions
Functions
395 in github.com/aws-samples/aws-lambda-extensions
⨍
Functions
395
◇
Types & classes
170
↓ 30 callers
Method
String
String function
go-example-adaptive-batching-extension/agent/metrics.go:133
↓ 17 callers
Method
Get
Get number of items off the queue
go-example-adaptive-batching-extension/queuewrapper/queuewrapper.go:43
↓ 10 callers
Method
send
(self, payload)
python-example-elasticsearch-extension/extensions/logs_api_elasticsearch_extension/elasticsearch_producer.py:14
↓ 9 callers
Method
start
()
nodejs-example-lambda-runtime-api-proxy-extension/nodejs-example-lambda-runtime-api-proxy-extension/runtime-api-proxy.mjs:13
↓ 7 callers
Method
len
Get the content length of the buffer
rust-example-lambda-runtime-api-proxy-extension/src/util/limited_buffer.rs:41
↓ 6 callers
Method
Len
The number of elements in the queue
go-example-adaptive-batching-extension/queuewrapper/queuewrapper.go:66
↓ 6 callers
Method
Put
Abstracts the put function, still puts item on queue in a thread safe manner
go-example-adaptive-batching-extension/queuewrapper/queuewrapper.go:30
↓ 6 callers
Function
prettyPrint
(v interface{})
go-example-crash-uploader-extension/main.go:100
↓ 5 callers
Method
Empty
Is the queue empty?
go-example-adaptive-batching-extension/queuewrapper/queuewrapper.go:73
↓ 4 callers
Method
ExitError
ExitError reports an error to the platform before exiting. Call it when you encounter an unexpected failure
go-example-crash-uploader-extension/extension/client.go:173
↓ 4 callers
Function
sandbox_runtime_api
()
rust-example-lambda-runtime-api-proxy-extension/src/env.rs:49
↓ 3 callers
Method
InitError
InitError reports an initialization error to the platform. Call it when you registered but failed to initialize
go-example-crash-uploader-extension/extension/client.go:142
↓ 3 callers
Method
Size
How much the queue is storing in bytes
go-example-adaptive-batching-extension/queuewrapper/queuewrapper.go:59
↓ 3 callers
Method
Start
Start initiates the server in a goroutine where the logs will be sent
go-example-logs-api-extension/agent/http.go:49
↓ 3 callers
Function
async_invoke
(f: F)
rust-example-lambda-runtime-api-proxy-extension/src/util/limited_buffer.rs:225
↓ 3 callers
Function
handleShutdown
(event)
nodejs-example-extension/nodejs-example-extension/index.js:9
↓ 3 callers
Function
handleShutdown
(event)
nodejs-example-logs-api-extension/nodejs-example-logs-api-extension/index.js:27
↓ 3 callers
Function
handleShutdown
(event)
nodejs-example-telemetry-api-extension/nodejs-example-telemetry-api-extension/index.js:70
↓ 3 callers
Function
latch_runtime_env
()
rust-example-lambda-runtime-api-proxy-extension/src/env.rs:22
↓ 3 callers
Function
proxyPost
(w http.ResponseWriter, headers http.Header, url string, body io.ReadCloser)
go-example-lambda-runtime-api-proxy-extension/src/proxy/proxy.go:127
↓ 3 callers
Function
readBody
(bodyBuffer io.ReadCloser)
go-example-lambda-runtime-api-proxy-extension/src/proxy/proxy.go:161
↓ 3 callers
Function
retrieveEnvironmentVariable
Helper function Given an environment variable, read it in and set the proper value Returns the value received, value will never exceed the maximum val
go-example-adaptive-batching-extension/agent/metrics.go:99
↓ 3 callers
Function
send_request
Send a request through a {hyper::Client}
rust-example-lambda-runtime-api-proxy-extension/src/sandbox.rs:44
↓ 3 callers
Method
writeLogs
Send logs to kinesis firehose
kinesisfirehose-logs-extension-demo/agent/kinesisfirehose.go:60
↓ 3 callers
Method
writeLogs
Send logs to kinesis stream
kinesis-stream-logs-extension-demo/agent/kinesisstream.go:62
↓ 2 callers
Method
Dispatch
(ctx context.Context, logEventsQueue *queue.Queue, force bool)
go-example-telemetry-api-extension/telemetryApi/dispatcher.go:42
↓ 2 callers
Method
FlushLog
FlushLog writes the log buffer to S3 in a file
go-example-adaptive-batching-extension/agent/logger.go:105
↓ 2 callers
Function
GetAttributeValue
Supports attributeValue with data types "S" and "N"
cache-extension-demo/plugins/dynamodb.go:140
↓ 2 callers
Function
GetCacheExpiry
Return cache expiry timestamp based on "time.Now() + CACHE_EXTENSION_TTL"
cache-extension-demo/plugins/utils.go:33
↓ 2 callers
Function
GetData
Read data from Dynamodb
cache-extension-demo/plugins/dynamodb.go:51
↓ 2 callers
Function
GetKey
Generate key to store in map based with a format "tableName+"-"+hashKeyValue+"-"+sortKeyValue"
cache-extension-demo/plugins/dynamodb.go:113
↓ 2 callers
Function
GetParameter
Initialize parameter cache
cache-extension-demo/plugins/parameters.go:51
↓ 2 callers
Function
GetSsmClient
Get SSM Client and cache it based on region
cache-extension-demo/plugins/parameters.go:76
↓ 2 callers
Function
IsExpired
Check whether cache has expired
cache-extension-demo/plugins/utils.go:28
↓ 2 callers
Function
PrettyPrint
Method for pretty printing objects in logs
cache-extension-demo/plugins/utils.go:49
↓ 2 callers
Method
Reset
Reset the monitor. Zero out all the counters, set time to current time
go-example-adaptive-batching-extension/agent/metrics.go:90
↓ 2 callers
Method
Shutdown
Shutdown finalizes the logging and terminates the listener
kinesisfirehose-logs-extension-demo/agent/http.go:160
↓ 2 callers
Method
Shutdown
Shutdown finalizes the logging and terminates the listener
kinesis-stream-logs-extension-demo/agent/http.go:160
↓ 2 callers
Method
Shutdown
Shutdown finalizes the logging and terminates the listener
go-example-adaptive-batching-extension/agent/http.go:213
↓ 2 callers
Method
Shutdown
Shutdown finalizes the logging and terminates the listener
go-example-logs-api-extension/agent/http.go:161
↓ 2 callers
Function
copyHeaders
(original http.Header, target http.Header)
go-example-lambda-runtime-api-proxy-extension/src/proxy/proxy.go:146
↓ 2 callers
Function
dispatch_telmetery
(queue, force)
python-example-telemetry-prometheus-extension/python-example-telemetry-prometheus-extension/telemetry_dispatcher.py:95
↓ 2 callers
Function
dispatch_telmetery
(queue, force)
python-example-telemetry-api-extension/python_example_telemetry_api_extension/telemetry_dispatcher.py:8
↓ 2 callers
Function
dispatch_telmetery
(queue, force)
python-example-telemetry-opensearch-extension/python-example-telemetry-opensearch-extension/telemetry_dispatcher.py:66
↓ 2 callers
Function
finalizeResponse
(w http.ResponseWriter, body []byte, headers http.Header)
go-example-lambda-runtime-api-proxy-extension/src/proxy/proxy.go:152
↓ 2 callers
Function
generateFileName
Create a unique file name Format: {function-name}-{timestamp}-{uuid}
go-example-adaptive-batching-extension/agent/logger.go:176
↓ 2 callers
Function
getFilesWithSubstring
(rootDirectory string, substring string)
go-example-crash-uploader-extension/files_with_substring.go:36
↓ 2 callers
Function
listenerPort
()
kinesisfirehose-logs-extension-demo/agent/http.go:169
↓ 2 callers
Function
listenerPort
()
kinesis-stream-logs-extension-demo/agent/http.go:169
↓ 2 callers
Function
make_uri
(path: &str)
rust-example-lambda-runtime-api-proxy-extension/src/sandbox.rs:94
↓ 2 callers
Function
next
(extensionId)
nodejs-example-logs-api-extension/nodejs-example-logs-api-extension/extensions-api.js:30
↓ 2 callers
Method
next
()
nodejs-example-lambda-runtime-api-proxy-extension/nodejs-example-lambda-runtime-api-proxy-extension/extensions-api-client.mjs:42
↓ 2 callers
Function
prettyPrint
(v interface{})
go-example-extension/main.go:70
↓ 2 callers
Function
prettyPrint
(v interface{})
go-example-ipc-extension/main.go:79
↓ 2 callers
Method
register
()
nodejs-example-lambda-runtime-api-proxy-extension/nodejs-example-lambda-runtime-api-proxy-extension/extensions-api-client.mjs:21
↓ 2 callers
Function
request
(verb string, url string, body io.Reader, headers http.Header)
go-example-lambda-runtime-api-proxy-extension/src/proxy/proxy.go:181
↓ 2 callers
Method
reset
ResetLogger resets the log buffer and generates a new file name
go-example-adaptive-batching-extension/agent/logger.go:92
↓ 2 callers
Method
subscribe
(self, agent_id, subscription_body)
python-example-logs-api-extension/extensions/logs_api_http_extension/logs_api_client.py:23
↓ 2 callers
Function
unmarshalBody
(body []byte)
go-example-lambda-runtime-api-proxy-extension/src/proxy/proxy.go:171
↓ 2 callers
Function
uploadLogs
()
nodejs-example-logs-api-extension/nodejs-example-logs-api-extension/index.js:86
↓ 2 callers
Method
uploadPart
(buffer []byte)
go-example-logs-api-extension/agent/logger.go:210
↓ 1 callers
Method
AbortMultipartUpload
AbortMultipartUpload terminates the multi part upload process and discard any parts uploaded to S3 so far. This function is to be called whenever comp
go-example-logs-api-extension/agent/logger.go:276
↓ 1 callers
Method
CountInvoke
Count a new invoke
go-example-adaptive-batching-extension/agent/metrics.go:62
↓ 1 callers
Function
GetDynamoDbClient
Get Dynamodb to read data
cache-extension-demo/plugins/dynamodb.go:122
↓ 1 callers
Method
Init
Init initializes the configuration for the Logs API and subscribes to the Logs API for HTTP
kinesisfirehose-logs-extension-demo/agent/http.go:123
↓ 1 callers
Method
Init
Init initializes the configuration for the Logs API and subscribes to the Logs API for HTTP
kinesis-stream-logs-extension-demo/agent/http.go:123
↓ 1 callers
Method
Init
Init initializes the configuration for the Logs API and subscribes to the Logs API for HTTP
go-example-adaptive-batching-extension/agent/http.go:125
↓ 1 callers
Method
Init
Init initializes the configuration for the Logs API and subscribes to the Logs API for HTTP
go-example-logs-api-extension/agent/http.go:122
↓ 1 callers
Function
InitCache
Initialize individual cache
cache-extension-demo/extension/entry.go:48
↓ 1 callers
Function
ListenOnAddress
()
kinesisfirehose-logs-extension-demo/agent/http.go:39
↓ 1 callers
Function
ListenOnAddress
()
kinesis-stream-logs-extension-demo/agent/http.go:39
↓ 1 callers
Function
ListenOnAddress
()
go-example-adaptive-batching-extension/agent/http.go:42
↓ 1 callers
Function
ListenOnAddress
()
go-example-logs-api-extension/agent/http.go:39
↓ 1 callers
Function
LoadConfigFile
Load the config file
cache-extension-demo/extension/entry.go:81
↓ 1 callers
Function
NewLogsApiHttpListener
NewLogsApiHttpListener returns a LogsApiHttpListener with the given log queue
kinesisfirehose-logs-extension-demo/agent/http.go:31
↓ 1 callers
Function
NewLogsApiHttpListener
NewLogsApiHttpListener returns a LogsApiHttpListener with the given log queue
kinesis-stream-logs-extension-demo/agent/http.go:31
↓ 1 callers
Function
NewLogsApiHttpListener
NewLogsApiHttpListener returns a LogsApiHttpListener with the given log queue
go-example-adaptive-batching-extension/agent/http.go:34
↓ 1 callers
Function
NewLogsApiHttpListener
NewLogsApiHttpListener returns a LogsApiHttpListener with the given log queue
go-example-logs-api-extension/agent/http.go:31
↓ 1 callers
Function
NewMultiPartsData
NewMultiPartsData returns a new MultiPartsData
go-example-logs-api-extension/agent/logger.go:53
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
go-example-extension/extension/client.go:112
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
kinesisfirehose-logs-extension-demo/extension/client.go:112
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
go-example-lambda-runtime-api-proxy-extension/src/extension/client.go:125
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
kinesis-stream-logs-extension-demo/extension/client.go:112
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
go-example-crash-uploader-extension/extension/client.go:112
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
go-example-adaptive-batching-extension/extension/client.go:112
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
go-example-ipc-extension/extension/client.go:105
↓ 1 callers
Method
NextEvent
Blocks while long polling for the next Lambda invoke or shutdown
go-example-telemetry-api-extension/extensionApi/client.go:126
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
cache-extension-demo/extension/client.go:105
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
go-example-logs-api-extension/extension/client.go:112
↓ 1 callers
Method
ProcessEvents
<summary> Extension registration and event loop handling </summary> <param name="onInit">Optional lambda extension that is invoked when extension has
csharp-example-extension/ExtensionClient.cs:138
↓ 1 callers
Method
PushLog
PushLog converts to byte array and pushes it to kinesis firehose
kinesisfirehose-logs-extension-demo/agent/kinesisfirehose.go:42
↓ 1 callers
Method
PushLog
PushLog converts to byte array and pushes it to kinesis stream
kinesis-stream-logs-extension-demo/agent/kinesisstream.go:44
↓ 1 callers
Method
PushLog
PushLog writes the received logs to a buffer and takes actions depending on the current state of the logger.
go-example-logs-api-extension/agent/logger.go:97
↓ 1 callers
Method
Register
Register will register the extension with the Extensions API
go-example-extension/extension/client.go:74
↓ 1 callers
Method
Register
Register will register the extension with the Extensions API
kinesisfirehose-logs-extension-demo/extension/client.go:74
↓ 1 callers
Method
Register
Register will register the extension with the Extensions API
go-example-lambda-runtime-api-proxy-extension/src/extension/client.go:78
↓ 1 callers
Method
Register
Register will register the extension with the Extensions API
kinesis-stream-logs-extension-demo/extension/client.go:74
↓ 1 callers
Method
Register
Register will register the extension with the Extensions API
go-example-crash-uploader-extension/extension/client.go:74
↓ 1 callers
Method
Register
Register will register the extension with the Extensions API
go-example-adaptive-batching-extension/extension/client.go:74
↓ 1 callers
Method
Register
Register will register the extension with the Extensions API
go-example-ipc-extension/extension/client.go:68
next →
1–100 of 395, ranked by callers