Struct aws_lambda_events::event::apigw::ApiGatewayProxyRequest [−][src]
pub struct ApiGatewayProxyRequest {
pub resource: Option<String>,
pub path: Option<String>,
pub http_method: Method,
pub headers: HeaderMap,
pub multi_value_headers: HeaderMap,
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: Method
headers: HeaderMap
multi_value_headers: HeaderMap
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
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ApiGatewayProxyRequest
impl Send for ApiGatewayProxyRequest
impl Sync for ApiGatewayProxyRequest
impl Unpin for ApiGatewayProxyRequest
impl UnwindSafe for ApiGatewayProxyRequest
Blanket Implementations
Mutably borrows from an owned value. Read more