GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs.rs
  • lambda-extension-1.1.1
  • Permalink
  • Docs.rs crate page
  • Apache-2.0
  • Repository
  • crates.io
  • Source
  • bnusunny
  • maxday
  • jlizen
  • darklight3it
  • async-stream ^0.3 normal
  • chrono ^0.4.35 normal

This view

  • Original page
  • New address

GeezerVison is showing docs.rs — lambda_extension - Rust

Crate lambda_extension 

Source
Expand description

This module includes utilities to create Lambda Runtime Extensions.

Create a type that conforms to the Extension trait. This type can then be passed to the the lambda_extension::run function, which launches and runs the Lambda runtime extension.

Re-exports§

pub use self;

Modules§

requests
Include several request builders to interact with the Extension API.
tracingtracing
Utilities to initialize and use tracing and tracing-subscriber in Lambda Functions. This module provides primitives to work with tracing and tracing-subscriber in Lambda functions.

Structs§

Extension
An Extension that runs event, log and telemetry processors
ExtensionError
Simple error that encapsulates human readable descriptions
Identity
A no-op generic processor
InitReportMetrics
Init report metrics
InvokeEvent
Event received when there is a new Lambda invocation.
LambdaEvent
Wrapper with information about the next event that the Lambda Runtime is going to process
LambdaLog
Payload received from the Lambda Logs API See: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-logs-api.html#runtimes-logs-api-msg
LambdaTelemetry
Payload received from the Telemetry API
LogBuffering
Log buffering configuration. Allows Lambda to buffer logs before delivering them to a subscriber.
LogPlatformReportMetrics
Platform report metrics
MakeIdentity
Service factory to generate no-op generic processors
RegisteredExtension
An extension registered by calling Extension::register.
ReportMetrics
Report metrics
RuntimeDoneMetrics
Runtime done metrics
SharedService
A MakeService that produces services by cloning an inner service.
ShutdownEvent
Event received when a Lambda function shuts down.
Span
Span
TraceContext
Tracing Context
Tracing
Request tracing information

Enums§

InitPhase
Phase in which initialization occurs
InitType
Type of Initialization
LambdaLogRecord
Record in a LambdaLog entry
LambdaTelemetryRecord
Record in a LambdaTelemetry entry
NextEvent
Event that the extension receives in either the INVOKE or SHUTDOWN phase
Status
Status of invocation/initialization
TracingType
Type of tracing

Traits§

Service
An asynchronous function from a Request to a Response.

Functions§

run
Execute the given events processor
service_fn
Returns a new ServiceFn with the given closure.

Type Aliases§

Error
Error type that extensions may result in
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.