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

pub struct ApiGatewayWebsocketProxyRequestContext<T1 = Value, T2 = Value> where
    T1: DeserializeOwned,
    T1: Serialize,
    T2: DeserializeOwned,
    T2: 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: T1, pub http_method: Option<String>, pub apiid: Option<String>, pub connected_at: i64, pub connection_id: Option<String>, pub domain_name: Option<String>, pub error: Option<String>, pub event_type: Option<String>, pub extended_request_id: Option<String>, pub integration_latency: Option<String>, pub message_direction: Option<String>, pub message_id: T2, pub request_time: Option<String>, pub request_time_epoch: i64, pub route_key: Option<String>, pub status: Option<String>, }

ApiGatewayWebsocketProxyRequestContext 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: T1http_method: Option<String>apiid: Option<String>

The API Gateway rest API Id

connected_at: i64connection_id: Option<String>domain_name: Option<String>error: Option<String>event_type: Option<String>extended_request_id: Option<String>integration_latency: Option<String>message_direction: Option<String>message_id: T2request_time: Option<String>request_time_epoch: i64route_key: Option<String>status: Option<String>

Trait Implementations

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

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

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

Performs copy-assignment from source. Read more

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

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

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

Auto Trait Implementations

impl<T1, T2> Send for ApiGatewayWebsocketProxyRequestContext<T1, T2> where
    T1: Send,
    T2: Send

impl<T1, T2> Sync for ApiGatewayWebsocketProxyRequestContext<T1, T2> where
    T1: Sync,
    T2: 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]