[][src]Struct aws_lambda_events::event::apigw::ApiGatewayProxyRequestContext

pub struct ApiGatewayProxyRequestContext<T1 = Value> where
    T1: DeserializeOwned,
    T1: Serialize
{ pub account_id: Option<String>, pub resource_id: Option<String>, pub stage: Option<String>, pub request_id: Option<String>, pub identity: ApiGatewayRequestIdentity, pub resource_path: Option<String>, pub authorizer: HashMap<String, T1>, pub http_method: Option<String>, pub apiid: Option<String>, }

ApiGatewayProxyRequestContext contains the information to identify the AWS account and resources invoking the Lambda function. It also includes Cognito identity information for the caller.

Fields

account_id: Option<String>resource_id: Option<String>stage: Option<String>request_id: Option<String>identity: ApiGatewayRequestIdentityresource_path: Option<String>authorizer: HashMap<String, T1>http_method: Option<String>apiid: Option<String>

The API Gateway rest API Id

Trait Implementations

impl<T1: PartialEq> PartialEq<ApiGatewayProxyRequestContext<T1>> for ApiGatewayProxyRequestContext<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

impl<T1: Clone> Clone for ApiGatewayProxyRequestContext<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T1: Debug> Debug for ApiGatewayProxyRequestContext<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

impl<T1> Serialize for ApiGatewayProxyRequestContext<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

impl<'de, T1> Deserialize<'de> for ApiGatewayProxyRequestContext<T1> where
    T1: DeserializeOwned,
    T1: Serialize,
    T1: Default
[src]

Auto Trait Implementations

impl<T1> Send for ApiGatewayProxyRequestContext<T1> where
    T1: Send

impl<T1> Sync for ApiGatewayProxyRequestContext<T1> where
    T1: Sync

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

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

The type returned in the event of a conversion error.

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]