#[non_exhaustive]pub struct RecursionDetectionStage { /* private fields */ }
Expand description
Recursion Detection Middleware
This middleware inspects the value of the AWS_LAMBDA_FUNCTION_NAME
and _X_AMZN_TRACE_ID
environment
variables to detect if the request is being invoked in a lambda function. If it is, the X-Amzn-Trace-Id
header
will be set. This enables downstream services to prevent accidentally infinitely recursive invocations spawned
from lambda.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RecursionDetectionStage
impl Send for RecursionDetectionStage
impl Sync for RecursionDetectionStage
impl Unpin for RecursionDetectionStage
impl UnwindSafe for RecursionDetectionStage
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more