From ed523dbd0856decef3a18d46d57739c10d476b66 Mon Sep 17 00:00:00 2001 From: Shantanu Kotambkar Date: Fri, 15 Oct 2021 06:59:11 +0000 Subject: [PATCH] generated clients --- service/s3/api_op_PutObject.go | 3 +++ service/s3/api_op_UploadPart.go | 3 +++ service/s3/api_op_WriteGetObjectResponse.go | 3 +++ 3 files changed, 9 insertions(+) diff --git a/service/s3/api_op_PutObject.go b/service/s3/api_op_PutObject.go index 2e94e7eb537..d8347bdf419 100644 --- a/service/s3/api_op_PutObject.go +++ b/service/s3/api_op_PutObject.go @@ -419,6 +419,9 @@ func (c *Client) addOperationPutObjectMiddlewares(stack *middleware.Stack, optio if err = v4.AddContentSHA256HeaderMiddleware(stack); err != nil { return err } + if err = v4.SwapPayloadSHA256ResolverMiddleware(stack); err != nil { + return err + } if err = disableAcceptEncodingGzip(stack); err != nil { return err } diff --git a/service/s3/api_op_UploadPart.go b/service/s3/api_op_UploadPart.go index 374c96d3dd9..d65c726a988 100644 --- a/service/s3/api_op_UploadPart.go +++ b/service/s3/api_op_UploadPart.go @@ -311,6 +311,9 @@ func (c *Client) addOperationUploadPartMiddlewares(stack *middleware.Stack, opti if err = v4.AddContentSHA256HeaderMiddleware(stack); err != nil { return err } + if err = v4.SwapPayloadSHA256ResolverMiddleware(stack); err != nil { + return err + } if err = disableAcceptEncodingGzip(stack); err != nil { return err } diff --git a/service/s3/api_op_WriteGetObjectResponse.go b/service/s3/api_op_WriteGetObjectResponse.go index d5a1008ad72..003ac88aeae 100644 --- a/service/s3/api_op_WriteGetObjectResponse.go +++ b/service/s3/api_op_WriteGetObjectResponse.go @@ -326,6 +326,9 @@ func (c *Client) addOperationWriteGetObjectResponseMiddlewares(stack *middleware if err = addResponseErrorMiddleware(stack); err != nil { return err } + if err = v4.SwapPayloadSHA256ResolverMiddleware(stack); err != nil { + return err + } if err = disableAcceptEncodingGzip(stack); err != nil { return err }