from typing import Dict
from typing import Any
import json


def lambda_response(body: Dict[str, str], status_code: int) -> Dict[str, Any]:
    """Function to create a serialized JSON response string for the lambda handler."""
    return {
        "body": json.dumps(body),
        "headers": {"Content-Type": "application/json"},
        "isBase64Encoded": False,
        "statusCode": status_code,
    }