FaasBase.Aws.Request (FaasBase v1.2.0) View Source
A request for AWS Lambda. (format v1 and v2 in API Gateway)
properties
:method
- method:version
- version:route_key
- routeKey:raw_path
- rawPath:raw_query_string
- rawQueryString:cookies
- cookies:headers
- headers:query_string_parameters
- queryStringParameters:request_context
- requestContext:body
- body:path_parameters
- pathParameters:is_base64_encoded
- isBase64Encoded:stage_variables
- stageVariables:resource
- resource:path
- path:http_method
- httpMethod:multi_value_headers
- multiValueHeaders:multi_value_query_string_parameters
- multiValueQueryStringParameters
Link to this section Summary
Functions
create request from event
Link to this section Types
Specs
t() :: %FaasBase.Aws.Request{ body: String.t(), cookies: [String.t()], headers: map(), http_method: String.t(), is_base64_encoded: boolean(), method: atom(), multi_value_headers: map(), multi_value_query_string_parameters: map(), path: String.t(), path_parameters: map(), query_string_parameters: map(), raw_path: String.t(), raw_query_string: String.t(), request_context: map(), resource: String.t(), route_key: String.t(), stage_variables: map(), version: String.t() }
Link to this section Functions
create request from event