bcfreeflight
    Preparing search index...

    Class AwsLambdaResponseFactory

    Represents a factory class for creating AWS Lambda API response objects.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Creates an instance of AwsLambdaApiResponse with the provided status code and response.

      Parameters

      • statusCode: number

        The HTTP status code of the response.

      • response: any

        The response data to be sent back, which can be of any type.

      Returns AwsLambdaApiResponse

      The constructed API response object containing the status code, error flag, and stringified response body.