From 8c90f42fe3f39ba7fdc7b5c63dc4bfeb1a61b6e1 Mon Sep 17 00:00:00 2001 From: Kaushik Surya Date: Thu, 26 Sep 2024 03:14:13 -0400 Subject: [PATCH] Changes to the middleware to support a handler stage --- extension/awsmiddleware/middleware.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extension/awsmiddleware/middleware.go b/extension/awsmiddleware/middleware.go index c1c0c131c760..b8f5e3b76e11 100644 --- a/extension/awsmiddleware/middleware.go +++ b/extension/awsmiddleware/middleware.go @@ -276,6 +276,8 @@ func toHandlerList(handlers *request.Handlers, stage HandlerStage) (*request.Han switch stage { case Build: return &handlers.Build, nil + case ValidateResponse: + return &handlers.ValidateResponse, nil case Sign: return &handlers.Sign, nil default: