[−][src]Struct netlify_lambda_http::request::Identity
Identity assoicated with API Gateway request
Fields
source_ip: String
The source IP address of the TCP connection making the request to API Gateway.
cognito_identity_id: Option<String>
The Amazon Cognito identity ID of the caller making the request. Available only if the request was signed with Amazon Cognito credentials.
cognito_identity_pool_id: Option<String>
The Amazon Cognito identity pool ID of the caller making the request. Available only if the request was signed with Amazon Cognito credentials.
cognito_authentication_provider: Option<String>
A comma-separated list of the Amazon Cognito authentication providers used by the caller making the request. Available only if the request was signed with Amazon Cognito credentials.
cognito_authentication_type: Option<String>
The Amazon Cognito authentication type of the caller making the request. Available only if the request was signed with Amazon Cognito credentials.
account_id: Option<String>
The AWS account ID associated with the request.
caller: Option<String>
The principal identifier of the caller making the request.
api_key: Option<String>
For API methods that require an API key, this variable is the API key associated with the method request. For methods that don't require an API key, this variable is null.
access_key: Option<String>
Undocumented. Can be the API key ID associated with an API request that requires an API key.
The description of api_key
and access_key
may actually be reversed.
user: Option<String>
The principal identifier of the user making the request. Used in Lambda authorizers.
user_agent: Option<String>
The User-Agent header of the API caller.
user_arn: Option<String>
The Amazon Resource Name (ARN) of the effective user identified after authentication.
Trait Implementations
impl Clone for Identity
[src]
impl Debug for Identity
[src]
impl Default for Identity
[src]
impl<'de> Deserialize<'de> for Identity
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,