Struct aws_lambda_events::event::apigw::ApiGatewayProxyRequest
source · pub struct ApiGatewayProxyRequest {
pub resource: Option<String>,
pub path: Option<String>,
pub http_method: Option<String>,
pub headers: HashMap<String, String>,
pub multi_value_headers: HashMap<String, Vec<String>>,
pub query_string_parameters: HashMap<String, String>,
pub multi_value_query_string_parameters: HashMap<String, Vec<String>>,
pub path_parameters: HashMap<String, String>,
pub stage_variables: HashMap<String, String>,
pub request_context: ApiGatewayProxyRequestContext,
pub body: Option<String>,
pub is_base64_encoded: Option<bool>,
}
Expand description
ApiGatewayProxyRequest
contains data coming from the API Gateway proxy
Fields§
§resource: Option<String>
The resource path defined in API Gateway
path: Option<String>
The url path for the caller
http_method: Option<String>
§headers: HashMap<String, String>
§multi_value_headers: HashMap<String, Vec<String>>
§query_string_parameters: HashMap<String, String>
§multi_value_query_string_parameters: HashMap<String, Vec<String>>
§path_parameters: HashMap<String, String>
§stage_variables: HashMap<String, String>
§request_context: ApiGatewayProxyRequestContext
§body: Option<String>
§is_base64_encoded: Option<bool>
Trait Implementations§
source§impl Clone for ApiGatewayProxyRequest
impl Clone for ApiGatewayProxyRequest
source§fn clone(&self) -> ApiGatewayProxyRequest
fn clone(&self) -> ApiGatewayProxyRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApiGatewayProxyRequest
impl Debug for ApiGatewayProxyRequest
source§impl<'de> Deserialize<'de> for ApiGatewayProxyRequest
impl<'de> Deserialize<'de> for ApiGatewayProxyRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more