API Reference
    Preparing search index...
    CleanupFunction: (request: MiddyLikeRequest) => Promise<void>

    Cleanup function that is used to cleanup resources when a middleware returns early. Each Powertools for AWS middleware that needs to perform cleanup operations will store a cleanup function with this signature in the request.internal object.

    Type declaration