pub enum LambdaHeaders {
RequestId,
FunctionArn,
TraceId,
Deadline,
ClientContext,
CognitoIdentity,
}Expand description
Enum of the headers returned by Lambda’s /next API call.
Variants§
RequestId
The AWS request ID
FunctionArn
The ARN of the Lambda function being invoked
TraceId
The X-Ray trace ID generated for this invocation
Deadline
The deadline for the function execution in milliseconds
ClientContext
The client context header. This field is populated when the function is invoked from a mobile client.
CognitoIdentity
The Cognito Identity context for the invocation. This field is populated when the function is invoked with AWS credentials obtained from Cognito Identity.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LambdaHeaders
impl RefUnwindSafe for LambdaHeaders
impl Send for LambdaHeaders
impl Sync for LambdaHeaders
impl Unpin for LambdaHeaders
impl UnwindSafe for LambdaHeaders
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more