ts-lambda-api - v2.5.2
    Preparing search index...

    Interface SerializeHandlerArguments<Input>

    interface SerializeHandlerArguments<Input extends object> {
        input: Input;
        request?: unknown;
    }

    Type Parameters

    • Input extends object

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    input: Input

    User input to a command. Reflects the userland representation of the union of data types the command can effectively handle.

    request?: unknown

    The user input serialized as a request object. The request object is unknown, so you cannot modify it directly. When work with request, you need to guard its type to e.g. HttpRequest with 'instanceof' operand

    During the build phase of the execution of a middleware stack, a built request may or may not be available.