#[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§
source§impl Clone for RecursionDetectionStage
impl Clone for RecursionDetectionStage
source§fn clone(&self) -> RecursionDetectionStage
fn clone(&self) -> RecursionDetectionStage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RecursionDetectionStage
impl Debug for RecursionDetectionStage
source§impl Default for RecursionDetectionStage
impl Default for RecursionDetectionStage
source§fn default() -> RecursionDetectionStage
fn default() -> RecursionDetectionStage
Returns the “default value” for a type. Read more