Module http

Module http 

Source
Expand description

HTTP event extractors for API Gateway.

Provides trace context extraction from API Gateway events:

Structs§

ApiGatewayV1Extractor
Extractor for API Gateway REST API (v1) events.
ApiGatewayV2Extractor
Extractor for API Gateway HTTP API (v2) events.

Functions§

convert_xray_to_traceparent
Converts X-Ray trace header to W3C traceparent format.
parse_xray_trace_id
Parses X-Ray trace ID format to 32-character hex string.

Type Aliases§

HttpEventExtractor
Type alias for the most common HTTP extractor (API Gateway HTTP API v2).