Skip to main content

httpApiHandler

Callable

  • httpApiHandler<Configuration, Service, Profile, Body, Path, Query, Headers, Result, Security, Authorizer, D>(definition: D & HTTPHandler<Configuration, Service, Profile, Body, Path, Query, Headers, Result, Security, Authorizer, http>, __namedParameters?: { _kernel?: <Handler>(handler: Handler, event: APIGatewayProxyEventV2Schema | APIGatewayProxyEventSchema, context: LambdaContext<unknown, unknown, unknown>) => Promise<Try<APIGatewayProxyResult | APIGatewayProxyResultV2>> }): D & EventHandlerFn<Configuration, Service, Profile, Result>

  • Type parameters

    • Configuration
    • Service: undefined | DefaultServices
    • Profile
    • Body
    • Path
    • Query
    • Headers
    • Result: Responses
    • Security: SecurityRequirements
    • Authorizer: AuthorizerSchema
    • D

    Parameters

    Returns D & EventHandlerFn<Configuration, Service, Profile, Result>