[][src]Enum lambda_runtime_client::LambdaHeaders

pub enum LambdaHeaders {
    RequestId,
    FunctionArn,
    TraceId,
    Deadline,
    ClientContext,
    CognitoIdentity,
}

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

impl Display for LambdaHeaders
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T