bcfreeflight
    Preparing search index...

    Class AwsLambdaApiResponse

    Represents the response structure for an AWS Lambda API Gateway response. This class encapsulates the necessary components needed to construct an HTTP response as required by AWS Lambda API Gateway integrations.

    Index

    Constructors

    • Constructs an instance with the given status code, base64 encoding flag, and response body.

      Parameters

      • statusCode: number

        The HTTP status code of the response.

      • isBase64Encoded: boolean

        Indicates whether the response body is base64 encoded.

      • body: string

        The response body content.

      Returns AwsLambdaApiResponse

    Properties

    body: string

    The response body content.

    headers: Record<string, string> = ...
    isBase64Encoded: boolean

    Indicates whether the response body is base64 encoded.

    statusCode: number

    The HTTP status code of the response.