diff --git a/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go b/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go index 8f5135f6f64..227a9d2f9f1 100644 --- a/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go +++ b/internal/protocoltest/awsrestjson/api_op_AllQueryStringTypes.go @@ -94,7 +94,10 @@ func addOperationAllQueryStringTypesMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go b/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go index 7f7a51a961f..35ded4386ff 100644 --- a/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go +++ b/internal/protocoltest/awsrestjson/api_op_ConstantAndVariableQueryString.go @@ -62,7 +62,10 @@ func addOperationConstantAndVariableQueryStringMiddlewares(stack *middleware.Sta if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go b/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go index f922befdeb7..547b27d8e8d 100644 --- a/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go +++ b/internal/protocoltest/awsrestjson/api_op_ConstantQueryString.go @@ -63,7 +63,10 @@ func addOperationConstantQueryStringMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go index 1102131f947..dc1e7c77634 100644 --- a/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_EmptyInputAndEmptyOutput.go @@ -60,7 +60,10 @@ func addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middleware.Stack, op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go b/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go index 1afc73c657e..5b35f10ab0a 100644 --- a/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/awsrestjson/api_op_GreetingWithErrors.go @@ -73,7 +73,10 @@ func addOperationGreetingWithErrorsMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go index 360ff7f7164..27021c94714 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraits.go @@ -65,7 +65,10 @@ func addOperationHttpPayloadTraitsMiddlewares(stack *middleware.Stack, options O if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go index c4104a5583b..648e41fb572 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadTraitsWithMediaType.go @@ -69,7 +69,10 @@ func addOperationHttpPayloadTraitsWithMediaTypeMiddlewares(stack *middleware.Sta if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go b/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go index 529c90468d5..32e6662f8f0 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPayloadWithStructure.go @@ -62,7 +62,10 @@ func addOperationHttpPayloadWithStructureMiddlewares(stack *middleware.Stack, op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go index 3036f62675c..898b7385b1c 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeaders.go @@ -65,7 +65,10 @@ func addOperationHttpPrefixHeadersMiddlewares(stack *middleware.Stack, options O if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse.go b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse.go index 8e3028522a3..2ed0233da45 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpPrefixHeadersResponse.go @@ -61,7 +61,10 @@ func addOperationHttpPrefixHeadersResponseMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go index 9d6693a0e25..59aade5ca0c 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithGreedyLabelInPath.go @@ -62,7 +62,10 @@ func addOperationHttpRequestWithGreedyLabelInPathMiddlewares(stack *middleware.S if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go index a1eb5a983de..f3f6b7678ee 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabels.go @@ -88,7 +88,10 @@ func addOperationHttpRequestWithLabelsMiddlewares(stack *middleware.Stack, optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go index 7c45ca0dca7..d55830d8a85 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpRequestWithLabelsAndTimestampFormat.go @@ -80,7 +80,10 @@ func addOperationHttpRequestWithLabelsAndTimestampFormatMiddlewares(stack *middl if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go b/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go index 788cf6c6adc..95ad242dff2 100644 --- a/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go +++ b/internal/protocoltest/awsrestjson/api_op_HttpResponseCode.go @@ -58,7 +58,10 @@ func addOperationHttpResponseCodeMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go b/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go index e80305cac4f..6f0442cc614 100644 --- a/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go +++ b/internal/protocoltest/awsrestjson/api_op_IgnoreQueryParamsInResponse.go @@ -61,7 +61,10 @@ func addOperationIgnoreQueryParamsInResponseMiddlewares(stack *middleware.Stack, if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_InlineDocument.go b/internal/protocoltest/awsrestjson/api_op_InlineDocument.go index bbccd75461f..717853615a6 100644 --- a/internal/protocoltest/awsrestjson/api_op_InlineDocument.go +++ b/internal/protocoltest/awsrestjson/api_op_InlineDocument.go @@ -65,7 +65,10 @@ func addOperationInlineDocumentMiddlewares(stack *middleware.Stack, options Opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_InlineDocumentAsPayload.go b/internal/protocoltest/awsrestjson/api_op_InlineDocumentAsPayload.go index 101248a0bb8..3ddbd335088 100644 --- a/internal/protocoltest/awsrestjson/api_op_InlineDocumentAsPayload.go +++ b/internal/protocoltest/awsrestjson/api_op_InlineDocumentAsPayload.go @@ -61,7 +61,10 @@ func addOperationInlineDocumentAsPayloadMiddlewares(stack *middleware.Stack, opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go b/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go index bc3a523d146..9f728f15155 100644 --- a/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_InputAndOutputWithHeaders.go @@ -123,7 +123,10 @@ func addOperationInputAndOutputWithHeadersMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go b/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go index 9dfe1cc3ed6..b604025e5c1 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonBlobs.go @@ -60,7 +60,10 @@ func addOperationJsonBlobsMiddlewares(stack *middleware.Stack, options Options) if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_JsonEnums.go b/internal/protocoltest/awsrestjson/api_op_JsonEnums.go index c0d9373050f..5b86c2d96d0 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonEnums.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonEnums.go @@ -81,7 +81,10 @@ func addOperationJsonEnumsMiddlewares(stack *middleware.Stack, options Options) if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_JsonLists.go b/internal/protocoltest/awsrestjson/api_op_JsonLists.go index b020ce22a85..03ff89c21bd 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonLists.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonLists.go @@ -106,7 +106,10 @@ func addOperationJsonListsMiddlewares(stack *middleware.Stack, options Options) if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_JsonMaps.go b/internal/protocoltest/awsrestjson/api_op_JsonMaps.go index 963d7ebd940..29487b6eda6 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonMaps.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonMaps.go @@ -89,7 +89,10 @@ func addOperationJsonMapsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go b/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go index 40405b66221..9a2378c0f99 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonTimestamps.go @@ -74,7 +74,10 @@ func addOperationJsonTimestampsMiddlewares(stack *middleware.Stack, options Opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_JsonUnions.go b/internal/protocoltest/awsrestjson/api_op_JsonUnions.go index d1e4b2e814a..fa3bf581cf5 100644 --- a/internal/protocoltest/awsrestjson/api_op_JsonUnions.go +++ b/internal/protocoltest/awsrestjson/api_op_JsonUnions.go @@ -67,7 +67,10 @@ func addOperationJsonUnionsMiddlewares(stack *middleware.Stack, options Options) if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go b/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go index 37e49dd9a4e..d08f895a15d 100644 --- a/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go +++ b/internal/protocoltest/awsrestjson/api_op_MediaTypeHeader.go @@ -64,7 +64,10 @@ func addOperationMediaTypeHeaderMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go b/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go index 084799f207d..55927fff5f5 100644 --- a/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_NoInputAndNoOutput.go @@ -59,7 +59,10 @@ func addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go b/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go index 02599c11667..896cf23a229 100644 --- a/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/awsrestjson/api_op_NoInputAndOutput.go @@ -59,7 +59,10 @@ func addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go index 4f8184e8c32..afea56437f0 100644 --- a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go +++ b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersClient.go @@ -68,7 +68,10 @@ func addOperationNullAndEmptyHeadersClientMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go index 7736003ccad..ed725dc1c1d 100644 --- a/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go +++ b/internal/protocoltest/awsrestjson/api_op_NullAndEmptyHeadersServer.go @@ -68,7 +68,10 @@ func addOperationNullAndEmptyHeadersServerMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go b/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go index dcf0a916563..93ed517cb6b 100644 --- a/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go +++ b/internal/protocoltest/awsrestjson/api_op_OmitsNullSerializesEmptyString.go @@ -60,7 +60,10 @@ func addOperationOmitsNullSerializesEmptyStringMiddlewares(stack *middleware.Sta if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go index 6cda48fb6c0..f5c62564359 100644 --- a/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/awsrestjson/api_op_QueryIdempotencyTokenAutoFill.go @@ -59,7 +59,10 @@ func addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *middleware.Stac if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go b/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go index a69b8cc4046..eb5972964a0 100644 --- a/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go +++ b/internal/protocoltest/awsrestjson/api_op_RecursiveShapes.go @@ -61,7 +61,10 @@ func addOperationRecursiveShapesMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go b/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go index 36896203f70..4b019783e5f 100644 --- a/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/awsrestjson/api_op_SimpleScalarProperties.go @@ -95,7 +95,10 @@ func addOperationSimpleScalarPropertiesMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go index c672795a1fb..11c71dbdfba 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraits.go @@ -67,7 +67,10 @@ func addOperationStreamingTraitsMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go index 8b714494d39..70c2399483e 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsRequireLength.go @@ -67,7 +67,10 @@ func addOperationStreamingTraitsRequireLengthMiddlewares(stack *middleware.Stack if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go index a0497229a4c..aaf4f9d4bf9 100644 --- a/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go +++ b/internal/protocoltest/awsrestjson/api_op_StreamingTraitsWithMediaType.go @@ -71,7 +71,10 @@ func addOperationStreamingTraitsWithMediaTypeMiddlewares(stack *middleware.Stack if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go b/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go index f7adbe646af..2deacd6121b 100644 --- a/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go +++ b/internal/protocoltest/awsrestjson/api_op_TimestampFormatHeaders.go @@ -85,7 +85,10 @@ func addOperationTimestampFormatHeadersMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go index 1613e333e54..7c2f216d00a 100644 --- a/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/ec2query/api_op_EmptyInputAndEmptyOutput.go @@ -59,7 +59,10 @@ func addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middleware.Stack, op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go b/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go index 460e7a50af7..78a9140f464 100644 --- a/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/ec2query/api_op_GreetingWithErrors.go @@ -67,7 +67,10 @@ func addOperationGreetingWithErrorsMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go b/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go index 6968028eedc..b1b1cd9aa19 100644 --- a/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go +++ b/internal/protocoltest/ec2query/api_op_IgnoresWrappingXmlName.go @@ -60,7 +60,10 @@ func addOperationIgnoresWrappingXmlNameMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_NestedStructures.go b/internal/protocoltest/ec2query/api_op_NestedStructures.go index c237c2ffc04..70fe9eb8b94 100644 --- a/internal/protocoltest/ec2query/api_op_NestedStructures.go +++ b/internal/protocoltest/ec2query/api_op_NestedStructures.go @@ -59,7 +59,10 @@ func addOperationNestedStructuresMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go b/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go index 2b42e8e253a..08f6fb0e198 100644 --- a/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/ec2query/api_op_NoInputAndOutput.go @@ -59,7 +59,10 @@ func addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go index 7ab6e5f60bc..92355a64625 100644 --- a/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/ec2query/api_op_QueryIdempotencyTokenAutoFill.go @@ -59,7 +59,10 @@ func addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *middleware.Stac if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_QueryLists.go b/internal/protocoltest/ec2query/api_op_QueryLists.go index 4f26689fe36..224c4f6d73d 100644 --- a/internal/protocoltest/ec2query/api_op_QueryLists.go +++ b/internal/protocoltest/ec2query/api_op_QueryLists.go @@ -65,7 +65,10 @@ func addOperationQueryListsMiddlewares(stack *middleware.Stack, options Options) if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_QueryTimestamps.go b/internal/protocoltest/ec2query/api_op_QueryTimestamps.go index bce2ebde16b..d1609b3ca43 100644 --- a/internal/protocoltest/ec2query/api_op_QueryTimestamps.go +++ b/internal/protocoltest/ec2query/api_op_QueryTimestamps.go @@ -72,7 +72,10 @@ func addOperationQueryTimestampsMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go b/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go index e1c76d99eb3..90b6f6cb70d 100644 --- a/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go +++ b/internal/protocoltest/ec2query/api_op_RecursiveXmlShapes.go @@ -60,7 +60,10 @@ func addOperationRecursiveXmlShapesMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_SimpleInputParams.go b/internal/protocoltest/ec2query/api_op_SimpleInputParams.go index be265e95734..e2e8d51c6f2 100644 --- a/internal/protocoltest/ec2query/api_op_SimpleInputParams.go +++ b/internal/protocoltest/ec2query/api_op_SimpleInputParams.go @@ -77,7 +77,10 @@ func addOperationSimpleInputParamsMiddlewares(stack *middleware.Stack, options O if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go b/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go index 15172490d36..ccee90ac1d8 100644 --- a/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go +++ b/internal/protocoltest/ec2query/api_op_SimpleScalarXmlProperties.go @@ -76,7 +76,10 @@ func addOperationSimpleScalarXmlPropertiesMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_XmlBlobs.go b/internal/protocoltest/ec2query/api_op_XmlBlobs.go index 9480f497b7a..0e2cca55f90 100644 --- a/internal/protocoltest/ec2query/api_op_XmlBlobs.go +++ b/internal/protocoltest/ec2query/api_op_XmlBlobs.go @@ -59,7 +59,10 @@ func addOperationXmlBlobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go b/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go index 3540b9efbf0..080fd17527d 100644 --- a/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go +++ b/internal/protocoltest/ec2query/api_op_XmlEmptyBlobs.go @@ -58,7 +58,10 @@ func addOperationXmlEmptyBlobsMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go b/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go index 50c2a2293d9..c61e66b7ba7 100644 --- a/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go +++ b/internal/protocoltest/ec2query/api_op_XmlEmptyLists.go @@ -85,7 +85,10 @@ func addOperationXmlEmptyListsMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_XmlEnums.go b/internal/protocoltest/ec2query/api_op_XmlEnums.go index 3d54eb96c21..f4a732af66b 100644 --- a/internal/protocoltest/ec2query/api_op_XmlEnums.go +++ b/internal/protocoltest/ec2query/api_op_XmlEnums.go @@ -70,7 +70,10 @@ func addOperationXmlEnumsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_XmlLists.go b/internal/protocoltest/ec2query/api_op_XmlLists.go index 1ff12f61559..1fadff934e3 100644 --- a/internal/protocoltest/ec2query/api_op_XmlLists.go +++ b/internal/protocoltest/ec2query/api_op_XmlLists.go @@ -106,7 +106,10 @@ func addOperationXmlListsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_XmlNamespaces.go b/internal/protocoltest/ec2query/api_op_XmlNamespaces.go index c3a18601008..dc766773fc5 100644 --- a/internal/protocoltest/ec2query/api_op_XmlNamespaces.go +++ b/internal/protocoltest/ec2query/api_op_XmlNamespaces.go @@ -59,7 +59,10 @@ func addOperationXmlNamespacesMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/ec2query/api_op_XmlTimestamps.go b/internal/protocoltest/ec2query/api_op_XmlTimestamps.go index 0740f091536..95fb180a3e2 100644 --- a/internal/protocoltest/ec2query/api_op_XmlTimestamps.go +++ b/internal/protocoltest/ec2query/api_op_XmlTimestamps.go @@ -67,7 +67,10 @@ func addOperationXmlTimestampsMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go b/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go index 7b32fe6ce68..1cc18cbff5a 100644 --- a/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_EmptyOperation.go @@ -63,7 +63,10 @@ func addOperationEmptyOperationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go b/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go index 6c25a2e85f7..e9c15bf7b46 100644 --- a/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/jsonrpc/api_op_GreetingWithErrors.go @@ -77,7 +77,10 @@ func addOperationGreetingWithErrorsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc/api_op_JsonEnums.go b/internal/protocoltest/jsonrpc/api_op_JsonEnums.go index b61b479b2fd..e452bc3d11e 100644 --- a/internal/protocoltest/jsonrpc/api_op_JsonEnums.go +++ b/internal/protocoltest/jsonrpc/api_op_JsonEnums.go @@ -88,7 +88,10 @@ func addOperationJsonEnumsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc/api_op_JsonUnions.go b/internal/protocoltest/jsonrpc/api_op_JsonUnions.go index e5cd71ac62d..55b20bd51b9 100644 --- a/internal/protocoltest/jsonrpc/api_op_JsonUnions.go +++ b/internal/protocoltest/jsonrpc/api_op_JsonUnions.go @@ -74,7 +74,10 @@ func addOperationJsonUnionsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go b/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go index 72e0a13e3c3..6deb5d41219 100644 --- a/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_KitchenSinkOperation.go @@ -170,7 +170,10 @@ func addOperationKitchenSinkOperationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc/api_op_NullOperation.go b/internal/protocoltest/jsonrpc/api_op_NullOperation.go index 960123fedaa..e63a7850b54 100644 --- a/internal/protocoltest/jsonrpc/api_op_NullOperation.go +++ b/internal/protocoltest/jsonrpc/api_op_NullOperation.go @@ -74,7 +74,10 @@ func addOperationNullOperationMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go b/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go index b6536bcc4ab..5f8516e83d4 100644 --- a/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go +++ b/internal/protocoltest/jsonrpc/api_op_OperationWithOptionalInputOutput.go @@ -66,7 +66,10 @@ func addOperationOperationWithOptionalInputOutputMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go b/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go index 025462a198a..3c25d38f002 100644 --- a/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go +++ b/internal/protocoltest/jsonrpc/api_op_PutAndGetInlineDocuments.go @@ -68,7 +68,10 @@ func addOperationPutAndGetInlineDocumentsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go index 35b698344fa..08381029517 100644 --- a/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/jsonrpc10/api_op_EmptyInputAndEmptyOutput.go @@ -60,7 +60,10 @@ func addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middleware.Stack, op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go b/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go index def42830909..c8837a57e72 100644 --- a/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/jsonrpc10/api_op_GreetingWithErrors.go @@ -70,7 +70,10 @@ func addOperationGreetingWithErrorsMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go b/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go index 73b288effc0..11497371190 100644 --- a/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go +++ b/internal/protocoltest/jsonrpc10/api_op_JsonUnions.go @@ -67,7 +67,10 @@ func addOperationJsonUnionsMiddlewares(stack *middleware.Stack, options Options) if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go b/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go index 68cc81e99ef..487ee5bb170 100644 --- a/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/jsonrpc10/api_op_NoInputAndNoOutput.go @@ -59,7 +59,10 @@ func addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go b/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go index ffad884b46f..59c433a34c3 100644 --- a/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/jsonrpc10/api_op_NoInputAndOutput.go @@ -59,7 +59,10 @@ func addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go index 28dcbf896fb..dec4011eeba 100644 --- a/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/query/api_op_EmptyInputAndEmptyOutput.go @@ -59,7 +59,10 @@ func addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middleware.Stack, op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_FlattenedXmlMap.go b/internal/protocoltest/query/api_op_FlattenedXmlMap.go index 9e704d3e94a..7b12f35461a 100644 --- a/internal/protocoltest/query/api_op_FlattenedXmlMap.go +++ b/internal/protocoltest/query/api_op_FlattenedXmlMap.go @@ -60,7 +60,10 @@ func addOperationFlattenedXmlMapMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go index 1d2f201a1e4..478d7a21379 100644 --- a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go +++ b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlName.go @@ -59,7 +59,10 @@ func addOperationFlattenedXmlMapWithXmlNameMiddlewares(stack *middleware.Stack, if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go index 1005c0012ac..3d1b99de68e 100644 --- a/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go +++ b/internal/protocoltest/query/api_op_FlattenedXmlMapWithXmlNamespace.go @@ -59,7 +59,10 @@ func addOperationFlattenedXmlMapWithXmlNamespaceMiddlewares(stack *middleware.St if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_GreetingWithErrors.go b/internal/protocoltest/query/api_op_GreetingWithErrors.go index 38622d994c4..8a52249b509 100644 --- a/internal/protocoltest/query/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/query/api_op_GreetingWithErrors.go @@ -67,7 +67,10 @@ func addOperationGreetingWithErrorsMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go b/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go index e99d11749bc..93f4f5d576c 100644 --- a/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go +++ b/internal/protocoltest/query/api_op_IgnoresWrappingXmlName.go @@ -61,7 +61,10 @@ func addOperationIgnoresWrappingXmlNameMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_NestedStructures.go b/internal/protocoltest/query/api_op_NestedStructures.go index 0e885f23122..998b7fcd08d 100644 --- a/internal/protocoltest/query/api_op_NestedStructures.go +++ b/internal/protocoltest/query/api_op_NestedStructures.go @@ -59,7 +59,10 @@ func addOperationNestedStructuresMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_NoInputAndNoOutput.go b/internal/protocoltest/query/api_op_NoInputAndNoOutput.go index 1adb7095ca8..30ff43d242d 100644 --- a/internal/protocoltest/query/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/query/api_op_NoInputAndNoOutput.go @@ -59,7 +59,10 @@ func addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_NoInputAndOutput.go b/internal/protocoltest/query/api_op_NoInputAndOutput.go index 36d155c59df..f5c166d0398 100644 --- a/internal/protocoltest/query/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/query/api_op_NoInputAndOutput.go @@ -59,7 +59,10 @@ func addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go index d5d3585dd05..4734fa463fc 100644 --- a/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/query/api_op_QueryIdempotencyTokenAutoFill.go @@ -59,7 +59,10 @@ func addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *middleware.Stac if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_QueryLists.go b/internal/protocoltest/query/api_op_QueryLists.go index 38eff7991d2..48fc0acaf6e 100644 --- a/internal/protocoltest/query/api_op_QueryLists.go +++ b/internal/protocoltest/query/api_op_QueryLists.go @@ -67,7 +67,10 @@ func addOperationQueryListsMiddlewares(stack *middleware.Stack, options Options) if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_QueryMaps.go b/internal/protocoltest/query/api_op_QueryMaps.go index bc5e4cae47a..f8c71aa1e51 100644 --- a/internal/protocoltest/query/api_op_QueryMaps.go +++ b/internal/protocoltest/query/api_op_QueryMaps.go @@ -71,7 +71,10 @@ func addOperationQueryMapsMiddlewares(stack *middleware.Stack, options Options) if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_QueryTimestamps.go b/internal/protocoltest/query/api_op_QueryTimestamps.go index 9b20929e671..310f9588712 100644 --- a/internal/protocoltest/query/api_op_QueryTimestamps.go +++ b/internal/protocoltest/query/api_op_QueryTimestamps.go @@ -72,7 +72,10 @@ func addOperationQueryTimestampsMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_RecursiveXmlShapes.go b/internal/protocoltest/query/api_op_RecursiveXmlShapes.go index 0dbc99a98cb..35f2191b9c9 100644 --- a/internal/protocoltest/query/api_op_RecursiveXmlShapes.go +++ b/internal/protocoltest/query/api_op_RecursiveXmlShapes.go @@ -60,7 +60,10 @@ func addOperationRecursiveXmlShapesMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_SimpleInputParams.go b/internal/protocoltest/query/api_op_SimpleInputParams.go index 6a7edbd86c7..f996529da11 100644 --- a/internal/protocoltest/query/api_op_SimpleInputParams.go +++ b/internal/protocoltest/query/api_op_SimpleInputParams.go @@ -71,7 +71,10 @@ func addOperationSimpleInputParamsMiddlewares(stack *middleware.Stack, options O if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go b/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go index 1980561703b..ec905ca1db2 100644 --- a/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go +++ b/internal/protocoltest/query/api_op_SimpleScalarXmlProperties.go @@ -76,7 +76,10 @@ func addOperationSimpleScalarXmlPropertiesMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlBlobs.go b/internal/protocoltest/query/api_op_XmlBlobs.go index dd47596b1a0..83e7554a52b 100644 --- a/internal/protocoltest/query/api_op_XmlBlobs.go +++ b/internal/protocoltest/query/api_op_XmlBlobs.go @@ -59,7 +59,10 @@ func addOperationXmlBlobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlEmptyBlobs.go b/internal/protocoltest/query/api_op_XmlEmptyBlobs.go index 868beffc203..f74bc328286 100644 --- a/internal/protocoltest/query/api_op_XmlEmptyBlobs.go +++ b/internal/protocoltest/query/api_op_XmlEmptyBlobs.go @@ -58,7 +58,10 @@ func addOperationXmlEmptyBlobsMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlEmptyLists.go b/internal/protocoltest/query/api_op_XmlEmptyLists.go index 18b9676f545..14fcdf2edf6 100644 --- a/internal/protocoltest/query/api_op_XmlEmptyLists.go +++ b/internal/protocoltest/query/api_op_XmlEmptyLists.go @@ -85,7 +85,10 @@ func addOperationXmlEmptyListsMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlEmptyMaps.go b/internal/protocoltest/query/api_op_XmlEmptyMaps.go index 9cafb6c3ec6..8fd9f065676 100644 --- a/internal/protocoltest/query/api_op_XmlEmptyMaps.go +++ b/internal/protocoltest/query/api_op_XmlEmptyMaps.go @@ -59,7 +59,10 @@ func addOperationXmlEmptyMapsMiddlewares(stack *middleware.Stack, options Option if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlEnums.go b/internal/protocoltest/query/api_op_XmlEnums.go index 32ea12a87e9..ae7ade25b94 100644 --- a/internal/protocoltest/query/api_op_XmlEnums.go +++ b/internal/protocoltest/query/api_op_XmlEnums.go @@ -70,7 +70,10 @@ func addOperationXmlEnumsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlLists.go b/internal/protocoltest/query/api_op_XmlLists.go index f4ff2a6ae26..b7e79876dca 100644 --- a/internal/protocoltest/query/api_op_XmlLists.go +++ b/internal/protocoltest/query/api_op_XmlLists.go @@ -103,7 +103,10 @@ func addOperationXmlListsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlMaps.go b/internal/protocoltest/query/api_op_XmlMaps.go index 19be0fca1dd..5d62cc0e59b 100644 --- a/internal/protocoltest/query/api_op_XmlMaps.go +++ b/internal/protocoltest/query/api_op_XmlMaps.go @@ -60,7 +60,10 @@ func addOperationXmlMapsMiddlewares(stack *middleware.Stack, options Options) (e if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlMapsXmlName.go b/internal/protocoltest/query/api_op_XmlMapsXmlName.go index 85f71860ee9..292574ec0c2 100644 --- a/internal/protocoltest/query/api_op_XmlMapsXmlName.go +++ b/internal/protocoltest/query/api_op_XmlMapsXmlName.go @@ -59,7 +59,10 @@ func addOperationXmlMapsXmlNameMiddlewares(stack *middleware.Stack, options Opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlNamespaces.go b/internal/protocoltest/query/api_op_XmlNamespaces.go index 9f34baacfd3..7dbb37d9059 100644 --- a/internal/protocoltest/query/api_op_XmlNamespaces.go +++ b/internal/protocoltest/query/api_op_XmlNamespaces.go @@ -59,7 +59,10 @@ func addOperationXmlNamespacesMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/query/api_op_XmlTimestamps.go b/internal/protocoltest/query/api_op_XmlTimestamps.go index 243c5c3a5a6..95a49d0c8f1 100644 --- a/internal/protocoltest/query/api_op_XmlTimestamps.go +++ b/internal/protocoltest/query/api_op_XmlTimestamps.go @@ -67,7 +67,10 @@ func addOperationXmlTimestampsMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go b/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go index 7e7b1f54b16..3fd4b1f7db5 100644 --- a/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go +++ b/internal/protocoltest/restxml/api_op_AllQueryStringTypes.go @@ -94,7 +94,10 @@ func addOperationAllQueryStringTypesMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go b/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go index c228887ae64..50c45fc3e15 100644 --- a/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go +++ b/internal/protocoltest/restxml/api_op_ConstantAndVariableQueryString.go @@ -62,7 +62,10 @@ func addOperationConstantAndVariableQueryStringMiddlewares(stack *middleware.Sta if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_ConstantQueryString.go b/internal/protocoltest/restxml/api_op_ConstantQueryString.go index afa2fa71467..69eecbda63f 100644 --- a/internal/protocoltest/restxml/api_op_ConstantQueryString.go +++ b/internal/protocoltest/restxml/api_op_ConstantQueryString.go @@ -63,7 +63,10 @@ func addOperationConstantQueryStringMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go b/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go index 9f759f7671d..f904f4b93eb 100644 --- a/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go +++ b/internal/protocoltest/restxml/api_op_EmptyInputAndEmptyOutput.go @@ -60,7 +60,10 @@ func addOperationEmptyInputAndEmptyOutputMiddlewares(stack *middleware.Stack, op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go b/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go index dd68a4258db..696aabc5ccc 100644 --- a/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go +++ b/internal/protocoltest/restxml/api_op_FlattenedXmlMap.go @@ -61,7 +61,10 @@ func addOperationFlattenedXmlMapMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go index c5f7bb65f67..63785b247f8 100644 --- a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go +++ b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlName.go @@ -60,7 +60,10 @@ func addOperationFlattenedXmlMapWithXmlNameMiddlewares(stack *middleware.Stack, if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go index eb9be2b516b..33d39ef52cf 100644 --- a/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go +++ b/internal/protocoltest/restxml/api_op_FlattenedXmlMapWithXmlNamespace.go @@ -59,7 +59,10 @@ func addOperationFlattenedXmlMapWithXmlNamespaceMiddlewares(stack *middleware.St if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_GreetingWithErrors.go b/internal/protocoltest/restxml/api_op_GreetingWithErrors.go index 5910ca8473b..e64055ed2da 100644 --- a/internal/protocoltest/restxml/api_op_GreetingWithErrors.go +++ b/internal/protocoltest/restxml/api_op_GreetingWithErrors.go @@ -71,7 +71,10 @@ func addOperationGreetingWithErrorsMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go b/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go index be5897de461..7ba83d766c5 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadTraits.go @@ -65,7 +65,10 @@ func addOperationHttpPayloadTraitsMiddlewares(stack *middleware.Stack, options O if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go b/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go index caf50b127fc..50c8e6bb07d 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadTraitsWithMediaType.go @@ -69,7 +69,10 @@ func addOperationHttpPayloadTraitsWithMediaTypeMiddlewares(stack *middleware.Sta if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go index 5963bd59aa4..d6c2df452bd 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithStructure.go @@ -62,7 +62,10 @@ func addOperationHttpPayloadWithStructureMiddlewares(stack *middleware.Stack, op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go index 90812267280..ae42e9b146e 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlName.go @@ -62,7 +62,10 @@ func addOperationHttpPayloadWithXmlNameMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go index 802f3406ae0..a798ee1e87f 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespace.go @@ -61,7 +61,10 @@ func addOperationHttpPayloadWithXmlNamespaceMiddlewares(stack *middleware.Stack, if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go index 7794ec7a663..f8363064206 100644 --- a/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go +++ b/internal/protocoltest/restxml/api_op_HttpPayloadWithXmlNamespaceAndPrefix.go @@ -61,7 +61,10 @@ func addOperationHttpPayloadWithXmlNamespaceAndPrefixMiddlewares(stack *middlewa if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go index 4a64d5caf83..02f69e176da 100644 --- a/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go +++ b/internal/protocoltest/restxml/api_op_HttpPrefixHeaders.go @@ -65,7 +65,10 @@ func addOperationHttpPrefixHeadersMiddlewares(stack *middleware.Stack, options O if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go b/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go index b52b48a2670..100a4e3f338 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithGreedyLabelInPath.go @@ -62,7 +62,10 @@ func addOperationHttpRequestWithGreedyLabelInPathMiddlewares(stack *middleware.S if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go b/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go index 2dd3d2c042d..a6cc3eab6b5 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithLabels.go @@ -88,7 +88,10 @@ func addOperationHttpRequestWithLabelsMiddlewares(stack *middleware.Stack, optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go b/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go index c5e86a6d6d5..c82cf9f5206 100644 --- a/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go +++ b/internal/protocoltest/restxml/api_op_HttpRequestWithLabelsAndTimestampFormat.go @@ -80,7 +80,10 @@ func addOperationHttpRequestWithLabelsAndTimestampFormatMiddlewares(stack *middl if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_HttpResponseCode.go b/internal/protocoltest/restxml/api_op_HttpResponseCode.go index 85ed06ebba2..393fdf5b30a 100644 --- a/internal/protocoltest/restxml/api_op_HttpResponseCode.go +++ b/internal/protocoltest/restxml/api_op_HttpResponseCode.go @@ -58,7 +58,10 @@ func addOperationHttpResponseCodeMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go b/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go index b486f726aa4..1fea8aed260 100644 --- a/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go +++ b/internal/protocoltest/restxml/api_op_IgnoreQueryParamsInResponse.go @@ -61,7 +61,10 @@ func addOperationIgnoreQueryParamsInResponseMiddlewares(stack *middleware.Stack, if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go b/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go index 4d918358029..c16ebd4e203 100644 --- a/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go +++ b/internal/protocoltest/restxml/api_op_InputAndOutputWithHeaders.go @@ -123,7 +123,10 @@ func addOperationInputAndOutputWithHeadersMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go b/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go index b74056620ee..27a81e3d14b 100644 --- a/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go +++ b/internal/protocoltest/restxml/api_op_NoInputAndNoOutput.go @@ -59,7 +59,10 @@ func addOperationNoInputAndNoOutputMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_NoInputAndOutput.go b/internal/protocoltest/restxml/api_op_NoInputAndOutput.go index d0c09e4696c..fedb0ce399c 100644 --- a/internal/protocoltest/restxml/api_op_NoInputAndOutput.go +++ b/internal/protocoltest/restxml/api_op_NoInputAndOutput.go @@ -59,7 +59,10 @@ func addOperationNoInputAndOutputMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go index 2617f0304a5..69845a0a7ff 100644 --- a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go +++ b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersClient.go @@ -68,7 +68,10 @@ func addOperationNullAndEmptyHeadersClientMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go index 3cba0147207..d558aba690c 100644 --- a/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go +++ b/internal/protocoltest/restxml/api_op_NullAndEmptyHeadersServer.go @@ -68,7 +68,10 @@ func addOperationNullAndEmptyHeadersServerMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go b/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go index 8722706fcb7..df5729af68e 100644 --- a/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go +++ b/internal/protocoltest/restxml/api_op_OmitsNullSerializesEmptyString.go @@ -60,7 +60,10 @@ func addOperationOmitsNullSerializesEmptyStringMiddlewares(stack *middleware.Sta if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go b/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go index e16db521bce..b41eef0fb0a 100644 --- a/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go +++ b/internal/protocoltest/restxml/api_op_QueryIdempotencyTokenAutoFill.go @@ -59,7 +59,10 @@ func addOperationQueryIdempotencyTokenAutoFillMiddlewares(stack *middleware.Stac if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_RecursiveShapes.go b/internal/protocoltest/restxml/api_op_RecursiveShapes.go index 1a9f1230b31..3501b1a825d 100644 --- a/internal/protocoltest/restxml/api_op_RecursiveShapes.go +++ b/internal/protocoltest/restxml/api_op_RecursiveShapes.go @@ -61,7 +61,10 @@ func addOperationRecursiveShapesMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go b/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go index c671a084745..b9c6853137b 100644 --- a/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go +++ b/internal/protocoltest/restxml/api_op_SimpleScalarProperties.go @@ -95,7 +95,10 @@ func addOperationSimpleScalarPropertiesMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go b/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go index 8cd2a8db050..3da870f2bc8 100644 --- a/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go +++ b/internal/protocoltest/restxml/api_op_TimestampFormatHeaders.go @@ -85,7 +85,10 @@ func addOperationTimestampFormatHeadersMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlAttributes.go b/internal/protocoltest/restxml/api_op_XmlAttributes.go index 857c249e068..59d65f55190 100644 --- a/internal/protocoltest/restxml/api_op_XmlAttributes.go +++ b/internal/protocoltest/restxml/api_op_XmlAttributes.go @@ -64,7 +64,10 @@ func addOperationXmlAttributesMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go b/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go index d7b02851286..142f7ff0602 100644 --- a/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go +++ b/internal/protocoltest/restxml/api_op_XmlAttributesOnPayload.go @@ -61,7 +61,10 @@ func addOperationXmlAttributesOnPayloadMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlBlobs.go b/internal/protocoltest/restxml/api_op_XmlBlobs.go index d93db119781..382e33ba15c 100644 --- a/internal/protocoltest/restxml/api_op_XmlBlobs.go +++ b/internal/protocoltest/restxml/api_op_XmlBlobs.go @@ -60,7 +60,10 @@ func addOperationXmlBlobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go b/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go index fc2e867951d..3ec282467c7 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyBlobs.go @@ -60,7 +60,10 @@ func addOperationXmlEmptyBlobsMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyLists.go b/internal/protocoltest/restxml/api_op_XmlEmptyLists.go index f09fa8cfa04..f0033cec9b2 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyLists.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyLists.go @@ -111,7 +111,10 @@ func addOperationXmlEmptyListsMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go b/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go index a955a5d68f7..467f8188b28 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyMaps.go @@ -60,7 +60,10 @@ func addOperationXmlEmptyMapsMiddlewares(stack *middleware.Stack, options Option if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go b/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go index 5712e75a302..1c6c90cb4ac 100644 --- a/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go +++ b/internal/protocoltest/restxml/api_op_XmlEmptyStrings.go @@ -59,7 +59,10 @@ func addOperationXmlEmptyStringsMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlEnums.go b/internal/protocoltest/restxml/api_op_XmlEnums.go index 801f254870e..250516f7bb3 100644 --- a/internal/protocoltest/restxml/api_op_XmlEnums.go +++ b/internal/protocoltest/restxml/api_op_XmlEnums.go @@ -81,7 +81,10 @@ func addOperationXmlEnumsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlLists.go b/internal/protocoltest/restxml/api_op_XmlLists.go index 3d113dd7a9a..0a65306188b 100644 --- a/internal/protocoltest/restxml/api_op_XmlLists.go +++ b/internal/protocoltest/restxml/api_op_XmlLists.go @@ -132,7 +132,10 @@ func addOperationXmlListsMiddlewares(stack *middleware.Stack, options Options) ( if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlMaps.go b/internal/protocoltest/restxml/api_op_XmlMaps.go index ffa6133fb89..7ea8b4e88df 100644 --- a/internal/protocoltest/restxml/api_op_XmlMaps.go +++ b/internal/protocoltest/restxml/api_op_XmlMaps.go @@ -61,7 +61,10 @@ func addOperationXmlMapsMiddlewares(stack *middleware.Stack, options Options) (e if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go b/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go index 47e5d41e643..1241723c12e 100644 --- a/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go +++ b/internal/protocoltest/restxml/api_op_XmlMapsXmlName.go @@ -60,7 +60,10 @@ func addOperationXmlMapsXmlNameMiddlewares(stack *middleware.Stack, options Opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlNamespaces.go b/internal/protocoltest/restxml/api_op_XmlNamespaces.go index d28ed1718a3..a24e513e160 100644 --- a/internal/protocoltest/restxml/api_op_XmlNamespaces.go +++ b/internal/protocoltest/restxml/api_op_XmlNamespaces.go @@ -60,7 +60,10 @@ func addOperationXmlNamespacesMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/internal/protocoltest/restxml/api_op_XmlTimestamps.go b/internal/protocoltest/restxml/api_op_XmlTimestamps.go index d47af8d9b86..0d59804ee2d 100644 --- a/internal/protocoltest/restxml/api_op_XmlTimestamps.go +++ b/internal/protocoltest/restxml/api_op_XmlTimestamps.go @@ -74,7 +74,10 @@ func addOperationXmlTimestampsMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_CreateAnalyzer.go b/service/accessanalyzer/api_op_CreateAnalyzer.go index e7ea2bbfb4b..3714fe95f90 100644 --- a/service/accessanalyzer/api_op_CreateAnalyzer.go +++ b/service/accessanalyzer/api_op_CreateAnalyzer.go @@ -92,7 +92,10 @@ func addOperationCreateAnalyzerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_CreateArchiveRule.go b/service/accessanalyzer/api_op_CreateArchiveRule.go index 76fe9e031de..9ea84855196 100644 --- a/service/accessanalyzer/api_op_CreateArchiveRule.go +++ b/service/accessanalyzer/api_op_CreateArchiveRule.go @@ -85,7 +85,10 @@ func addOperationCreateArchiveRuleMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_DeleteAnalyzer.go b/service/accessanalyzer/api_op_DeleteAnalyzer.go index 06be8508e64..8f34f9a626e 100644 --- a/service/accessanalyzer/api_op_DeleteAnalyzer.go +++ b/service/accessanalyzer/api_op_DeleteAnalyzer.go @@ -75,7 +75,10 @@ func addOperationDeleteAnalyzerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_DeleteArchiveRule.go b/service/accessanalyzer/api_op_DeleteArchiveRule.go index 061dba5cb97..6aac61bba0e 100644 --- a/service/accessanalyzer/api_op_DeleteArchiveRule.go +++ b/service/accessanalyzer/api_op_DeleteArchiveRule.go @@ -78,7 +78,10 @@ func addOperationDeleteArchiveRuleMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_GetAnalyzedResource.go b/service/accessanalyzer/api_op_GetAnalyzedResource.go index 27bc669f0b9..d7a336fbd91 100644 --- a/service/accessanalyzer/api_op_GetAnalyzedResource.go +++ b/service/accessanalyzer/api_op_GetAnalyzedResource.go @@ -82,7 +82,10 @@ func addOperationGetAnalyzedResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_GetAnalyzer.go b/service/accessanalyzer/api_op_GetAnalyzer.go index f2adcb3e73b..4e7069b8876 100644 --- a/service/accessanalyzer/api_op_GetAnalyzer.go +++ b/service/accessanalyzer/api_op_GetAnalyzer.go @@ -78,7 +78,10 @@ func addOperationGetAnalyzerMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_GetArchiveRule.go b/service/accessanalyzer/api_op_GetArchiveRule.go index ab8006affc1..bb39e3f7517 100644 --- a/service/accessanalyzer/api_op_GetArchiveRule.go +++ b/service/accessanalyzer/api_op_GetArchiveRule.go @@ -83,7 +83,10 @@ func addOperationGetArchiveRuleMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_GetFinding.go b/service/accessanalyzer/api_op_GetFinding.go index 2a3b86dec97..2a122e5088e 100644 --- a/service/accessanalyzer/api_op_GetFinding.go +++ b/service/accessanalyzer/api_op_GetFinding.go @@ -81,7 +81,10 @@ func addOperationGetFindingMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_ListAnalyzedResources.go b/service/accessanalyzer/api_op_ListAnalyzedResources.go index 54f54986b2d..16cf44b445c 100644 --- a/service/accessanalyzer/api_op_ListAnalyzedResources.go +++ b/service/accessanalyzer/api_op_ListAnalyzedResources.go @@ -92,7 +92,10 @@ func addOperationListAnalyzedResourcesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_ListAnalyzers.go b/service/accessanalyzer/api_op_ListAnalyzers.go index 3d9761287db..44c131fa850 100644 --- a/service/accessanalyzer/api_op_ListAnalyzers.go +++ b/service/accessanalyzer/api_op_ListAnalyzers.go @@ -86,7 +86,10 @@ func addOperationListAnalyzersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_ListArchiveRules.go b/service/accessanalyzer/api_op_ListArchiveRules.go index 4648fdf11aa..460caf8a2cb 100644 --- a/service/accessanalyzer/api_op_ListArchiveRules.go +++ b/service/accessanalyzer/api_op_ListArchiveRules.go @@ -88,7 +88,10 @@ func addOperationListArchiveRulesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_ListFindings.go b/service/accessanalyzer/api_op_ListFindings.go index 1f4b3345181..03514da55f9 100644 --- a/service/accessanalyzer/api_op_ListFindings.go +++ b/service/accessanalyzer/api_op_ListFindings.go @@ -95,7 +95,10 @@ func addOperationListFindingsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_ListTagsForResource.go b/service/accessanalyzer/api_op_ListTagsForResource.go index 627af875304..fa8e182ee28 100644 --- a/service/accessanalyzer/api_op_ListTagsForResource.go +++ b/service/accessanalyzer/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_StartResourceScan.go b/service/accessanalyzer/api_op_StartResourceScan.go index 14c84b65c26..e3da86eee82 100644 --- a/service/accessanalyzer/api_op_StartResourceScan.go +++ b/service/accessanalyzer/api_op_StartResourceScan.go @@ -76,7 +76,10 @@ func addOperationStartResourceScanMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_TagResource.go b/service/accessanalyzer/api_op_TagResource.go index 1a00d35dd50..073829e9e66 100644 --- a/service/accessanalyzer/api_op_TagResource.go +++ b/service/accessanalyzer/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_UntagResource.go b/service/accessanalyzer/api_op_UntagResource.go index 221645b677a..f99e88a0e7c 100644 --- a/service/accessanalyzer/api_op_UntagResource.go +++ b/service/accessanalyzer/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_UpdateArchiveRule.go b/service/accessanalyzer/api_op_UpdateArchiveRule.go index 0094e83a827..d874028599f 100644 --- a/service/accessanalyzer/api_op_UpdateArchiveRule.go +++ b/service/accessanalyzer/api_op_UpdateArchiveRule.go @@ -85,7 +85,10 @@ func addOperationUpdateArchiveRuleMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/accessanalyzer/api_op_UpdateFindings.go b/service/accessanalyzer/api_op_UpdateFindings.go index d0c0f32eaed..91b4ee7a991 100644 --- a/service/accessanalyzer/api_op_UpdateFindings.go +++ b/service/accessanalyzer/api_op_UpdateFindings.go @@ -88,7 +88,10 @@ func addOperationUpdateFindingsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_AddTagsToCertificate.go b/service/acm/api_op_AddTagsToCertificate.go index cebc763d8f6..adb3e95b289 100644 --- a/service/acm/api_op_AddTagsToCertificate.go +++ b/service/acm/api_op_AddTagsToCertificate.go @@ -94,7 +94,10 @@ func addOperationAddTagsToCertificateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_DeleteCertificate.go b/service/acm/api_op_DeleteCertificate.go index 16b7550a973..20cacef30e2 100644 --- a/service/acm/api_op_DeleteCertificate.go +++ b/service/acm/api_op_DeleteCertificate.go @@ -80,7 +80,10 @@ func addOperationDeleteCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_DescribeCertificate.go b/service/acm/api_op_DescribeCertificate.go index 19993af56c2..1501468d17d 100644 --- a/service/acm/api_op_DescribeCertificate.go +++ b/service/acm/api_op_DescribeCertificate.go @@ -85,7 +85,10 @@ func addOperationDescribeCertificateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_ExportCertificate.go b/service/acm/api_op_ExportCertificate.go index c9389b8e9ef..6d332627d51 100644 --- a/service/acm/api_op_ExportCertificate.go +++ b/service/acm/api_op_ExportCertificate.go @@ -98,7 +98,10 @@ func addOperationExportCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_GetCertificate.go b/service/acm/api_op_GetCertificate.go index 0395e596f72..c988c14e868 100644 --- a/service/acm/api_op_GetCertificate.go +++ b/service/acm/api_op_GetCertificate.go @@ -86,7 +86,10 @@ func addOperationGetCertificateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_ImportCertificate.go b/service/acm/api_op_ImportCertificate.go index f4b76394bf3..5245221a3c0 100644 --- a/service/acm/api_op_ImportCertificate.go +++ b/service/acm/api_op_ImportCertificate.go @@ -155,7 +155,10 @@ func addOperationImportCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_ListCertificates.go b/service/acm/api_op_ListCertificates.go index 0c3aedae7c5..159c8b52c97 100644 --- a/service/acm/api_op_ListCertificates.go +++ b/service/acm/api_op_ListCertificates.go @@ -94,7 +94,10 @@ func addOperationListCertificatesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_ListTagsForCertificate.go b/service/acm/api_op_ListTagsForCertificate.go index 3752a98d1ae..f80aa0d3246 100644 --- a/service/acm/api_op_ListTagsForCertificate.go +++ b/service/acm/api_op_ListTagsForCertificate.go @@ -82,7 +82,10 @@ func addOperationListTagsForCertificateMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_RemoveTagsFromCertificate.go b/service/acm/api_op_RemoveTagsFromCertificate.go index 645accca167..721df1dab82 100644 --- a/service/acm/api_op_RemoveTagsFromCertificate.go +++ b/service/acm/api_op_RemoveTagsFromCertificate.go @@ -86,7 +86,10 @@ func addOperationRemoveTagsFromCertificateMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_RenewCertificate.go b/service/acm/api_op_RenewCertificate.go index 9ca2894c28c..557d4ea52e0 100644 --- a/service/acm/api_op_RenewCertificate.go +++ b/service/acm/api_op_RenewCertificate.go @@ -81,7 +81,10 @@ func addOperationRenewCertificateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_RequestCertificate.go b/service/acm/api_op_RequestCertificate.go index 9043c928417..b7014892b5e 100644 --- a/service/acm/api_op_RequestCertificate.go +++ b/service/acm/api_op_RequestCertificate.go @@ -159,7 +159,10 @@ func addOperationRequestCertificateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_ResendValidationEmail.go b/service/acm/api_op_ResendValidationEmail.go index 8a07e3b2e4f..2d21ec3416f 100644 --- a/service/acm/api_op_ResendValidationEmail.go +++ b/service/acm/api_op_ResendValidationEmail.go @@ -113,7 +113,10 @@ func addOperationResendValidationEmailMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acm/api_op_UpdateCertificateOptions.go b/service/acm/api_op_UpdateCertificateOptions.go index a9bfb62ac3c..c8f6ac767fe 100644 --- a/service/acm/api_op_UpdateCertificateOptions.go +++ b/service/acm/api_op_UpdateCertificateOptions.go @@ -83,7 +83,10 @@ func addOperationUpdateCertificateOptionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_CreateCertificateAuthority.go b/service/acmpca/api_op_CreateCertificateAuthority.go index d482050827d..5cd0ab3af21 100644 --- a/service/acmpca/api_op_CreateCertificateAuthority.go +++ b/service/acmpca/api_op_CreateCertificateAuthority.go @@ -123,7 +123,10 @@ func addOperationCreateCertificateAuthorityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go b/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go index cb8588b9545..130a5e8f1ba 100644 --- a/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go +++ b/service/acmpca/api_op_CreateCertificateAuthorityAuditReport.go @@ -102,7 +102,10 @@ func addOperationCreateCertificateAuthorityAuditReportMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_CreatePermission.go b/service/acmpca/api_op_CreatePermission.go index 048bfc7dc01..8e34d2372bf 100644 --- a/service/acmpca/api_op_CreatePermission.go +++ b/service/acmpca/api_op_CreatePermission.go @@ -111,7 +111,10 @@ func addOperationCreatePermissionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_DeleteCertificateAuthority.go b/service/acmpca/api_op_DeleteCertificateAuthority.go index 526fc1782f0..80f04299aa9 100644 --- a/service/acmpca/api_op_DeleteCertificateAuthority.go +++ b/service/acmpca/api_op_DeleteCertificateAuthority.go @@ -102,7 +102,10 @@ func addOperationDeleteCertificateAuthorityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_DeletePermission.go b/service/acmpca/api_op_DeletePermission.go index 8481fe969be..e80c8cada0d 100644 --- a/service/acmpca/api_op_DeletePermission.go +++ b/service/acmpca/api_op_DeletePermission.go @@ -105,7 +105,10 @@ func addOperationDeletePermissionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_DeletePolicy.go b/service/acmpca/api_op_DeletePolicy.go index d77f1d9f07c..720d5f196c3 100644 --- a/service/acmpca/api_op_DeletePolicy.go +++ b/service/acmpca/api_op_DeletePolicy.go @@ -102,7 +102,10 @@ func addOperationDeletePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_DescribeCertificateAuthority.go b/service/acmpca/api_op_DescribeCertificateAuthority.go index 0edec00f515..9a6c51f2cb1 100644 --- a/service/acmpca/api_op_DescribeCertificateAuthority.go +++ b/service/acmpca/api_op_DescribeCertificateAuthority.go @@ -108,7 +108,10 @@ func addOperationDescribeCertificateAuthorityMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go b/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go index c6d8bdda764..694172394bf 100644 --- a/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go +++ b/service/acmpca/api_op_DescribeCertificateAuthorityAuditReport.go @@ -105,7 +105,10 @@ func addOperationDescribeCertificateAuthorityAuditReportMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_GetCertificate.go b/service/acmpca/api_op_GetCertificate.go index b9d01466370..7dc1d0cb24d 100644 --- a/service/acmpca/api_op_GetCertificate.go +++ b/service/acmpca/api_op_GetCertificate.go @@ -104,7 +104,10 @@ func addOperationGetCertificateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_GetCertificateAuthorityCertificate.go b/service/acmpca/api_op_GetCertificateAuthorityCertificate.go index ba2a127ce7a..a7cf4144ecc 100644 --- a/service/acmpca/api_op_GetCertificateAuthorityCertificate.go +++ b/service/acmpca/api_op_GetCertificateAuthorityCertificate.go @@ -84,7 +84,10 @@ func addOperationGetCertificateAuthorityCertificateMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_GetCertificateAuthorityCsr.go b/service/acmpca/api_op_GetCertificateAuthorityCsr.go index 755ac2dd836..b4250bf88c0 100644 --- a/service/acmpca/api_op_GetCertificateAuthorityCsr.go +++ b/service/acmpca/api_op_GetCertificateAuthorityCsr.go @@ -91,7 +91,10 @@ func addOperationGetCertificateAuthorityCsrMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_GetPolicy.go b/service/acmpca/api_op_GetPolicy.go index 92626b17366..8f4d90c22ec 100644 --- a/service/acmpca/api_op_GetPolicy.go +++ b/service/acmpca/api_op_GetPolicy.go @@ -99,7 +99,10 @@ func addOperationGetPolicyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go b/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go index dc7ad8fa9d4..4df010a035c 100644 --- a/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go +++ b/service/acmpca/api_op_ImportCertificateAuthorityCertificate.go @@ -182,7 +182,10 @@ func addOperationImportCertificateAuthorityCertificateMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_IssueCertificate.go b/service/acmpca/api_op_IssueCertificate.go index 79cfba2397f..20169570c46 100644 --- a/service/acmpca/api_op_IssueCertificate.go +++ b/service/acmpca/api_op_IssueCertificate.go @@ -186,7 +186,10 @@ func addOperationIssueCertificateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_ListCertificateAuthorities.go b/service/acmpca/api_op_ListCertificateAuthorities.go index ea3f6c3b4f2..b763f8c572a 100644 --- a/service/acmpca/api_op_ListCertificateAuthorities.go +++ b/service/acmpca/api_op_ListCertificateAuthorities.go @@ -92,7 +92,10 @@ func addOperationListCertificateAuthoritiesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_ListPermissions.go b/service/acmpca/api_op_ListPermissions.go index e6326fd36bc..2fc7b04ce4e 100644 --- a/service/acmpca/api_op_ListPermissions.go +++ b/service/acmpca/api_op_ListPermissions.go @@ -119,7 +119,10 @@ func addOperationListPermissionsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_ListTags.go b/service/acmpca/api_op_ListTags.go index 62b93e09693..e44ee745e7e 100644 --- a/service/acmpca/api_op_ListTags.go +++ b/service/acmpca/api_op_ListTags.go @@ -101,7 +101,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_PutPolicy.go b/service/acmpca/api_op_PutPolicy.go index 673dddf91ba..eeac1b11133 100644 --- a/service/acmpca/api_op_PutPolicy.go +++ b/service/acmpca/api_op_PutPolicy.go @@ -108,7 +108,10 @@ func addOperationPutPolicyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_RestoreCertificateAuthority.go b/service/acmpca/api_op_RestoreCertificateAuthority.go index ec2f4d82f48..e4f4c46380d 100644 --- a/service/acmpca/api_op_RestoreCertificateAuthority.go +++ b/service/acmpca/api_op_RestoreCertificateAuthority.go @@ -92,7 +92,10 @@ func addOperationRestoreCertificateAuthorityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_RevokeCertificate.go b/service/acmpca/api_op_RevokeCertificate.go index 222e8d27fb8..fb4c380a664 100644 --- a/service/acmpca/api_op_RevokeCertificate.go +++ b/service/acmpca/api_op_RevokeCertificate.go @@ -110,7 +110,10 @@ func addOperationRevokeCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_TagCertificateAuthority.go b/service/acmpca/api_op_TagCertificateAuthority.go index ad98bead5fd..da56afc44f6 100644 --- a/service/acmpca/api_op_TagCertificateAuthority.go +++ b/service/acmpca/api_op_TagCertificateAuthority.go @@ -90,7 +90,10 @@ func addOperationTagCertificateAuthorityMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_UntagCertificateAuthority.go b/service/acmpca/api_op_UntagCertificateAuthority.go index 9062dadfa24..926494c182e 100644 --- a/service/acmpca/api_op_UntagCertificateAuthority.go +++ b/service/acmpca/api_op_UntagCertificateAuthority.go @@ -87,7 +87,10 @@ func addOperationUntagCertificateAuthorityMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/acmpca/api_op_UpdateCertificateAuthority.go b/service/acmpca/api_op_UpdateCertificateAuthority.go index 3f499e1b188..8515b39aa53 100644 --- a/service/acmpca/api_op_UpdateCertificateAuthority.go +++ b/service/acmpca/api_op_UpdateCertificateAuthority.go @@ -85,7 +85,10 @@ func addOperationUpdateCertificateAuthorityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ApproveSkill.go b/service/alexaforbusiness/api_op_ApproveSkill.go index 221d2295841..7a6711ab1d0 100644 --- a/service/alexaforbusiness/api_op_ApproveSkill.go +++ b/service/alexaforbusiness/api_op_ApproveSkill.go @@ -71,7 +71,10 @@ func addOperationApproveSkillMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_AssociateContactWithAddressBook.go b/service/alexaforbusiness/api_op_AssociateContactWithAddressBook.go index fdf88191e4a..8cc0d4ed0b8 100644 --- a/service/alexaforbusiness/api_op_AssociateContactWithAddressBook.go +++ b/service/alexaforbusiness/api_op_AssociateContactWithAddressBook.go @@ -74,7 +74,10 @@ func addOperationAssociateContactWithAddressBookMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_AssociateDeviceWithNetworkProfile.go b/service/alexaforbusiness/api_op_AssociateDeviceWithNetworkProfile.go index 52b545a4c5a..f214a65a52a 100644 --- a/service/alexaforbusiness/api_op_AssociateDeviceWithNetworkProfile.go +++ b/service/alexaforbusiness/api_op_AssociateDeviceWithNetworkProfile.go @@ -74,7 +74,10 @@ func addOperationAssociateDeviceWithNetworkProfileMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_AssociateDeviceWithRoom.go b/service/alexaforbusiness/api_op_AssociateDeviceWithRoom.go index cda2186d739..84036469b11 100644 --- a/service/alexaforbusiness/api_op_AssociateDeviceWithRoom.go +++ b/service/alexaforbusiness/api_op_AssociateDeviceWithRoom.go @@ -73,7 +73,10 @@ func addOperationAssociateDeviceWithRoomMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_AssociateSkillGroupWithRoom.go b/service/alexaforbusiness/api_op_AssociateSkillGroupWithRoom.go index e5e25e7ff96..ea45d9743e4 100644 --- a/service/alexaforbusiness/api_op_AssociateSkillGroupWithRoom.go +++ b/service/alexaforbusiness/api_op_AssociateSkillGroupWithRoom.go @@ -71,7 +71,10 @@ func addOperationAssociateSkillGroupWithRoomMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_AssociateSkillWithSkillGroup.go b/service/alexaforbusiness/api_op_AssociateSkillWithSkillGroup.go index e8b5ef4607b..bf984826164 100644 --- a/service/alexaforbusiness/api_op_AssociateSkillWithSkillGroup.go +++ b/service/alexaforbusiness/api_op_AssociateSkillWithSkillGroup.go @@ -72,7 +72,10 @@ func addOperationAssociateSkillWithSkillGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_AssociateSkillWithUsers.go b/service/alexaforbusiness/api_op_AssociateSkillWithUsers.go index b133cfe8944..adf6b41299d 100644 --- a/service/alexaforbusiness/api_op_AssociateSkillWithUsers.go +++ b/service/alexaforbusiness/api_op_AssociateSkillWithUsers.go @@ -69,7 +69,10 @@ func addOperationAssociateSkillWithUsersMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateAddressBook.go b/service/alexaforbusiness/api_op_CreateAddressBook.go index 980aae77c13..1698db62506 100644 --- a/service/alexaforbusiness/api_op_CreateAddressBook.go +++ b/service/alexaforbusiness/api_op_CreateAddressBook.go @@ -80,7 +80,10 @@ func addOperationCreateAddressBookMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateBusinessReportSchedule.go b/service/alexaforbusiness/api_op_CreateBusinessReportSchedule.go index d177210c43d..1437a046340 100644 --- a/service/alexaforbusiness/api_op_CreateBusinessReportSchedule.go +++ b/service/alexaforbusiness/api_op_CreateBusinessReportSchedule.go @@ -102,7 +102,10 @@ func addOperationCreateBusinessReportScheduleMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateConferenceProvider.go b/service/alexaforbusiness/api_op_CreateConferenceProvider.go index 120151103c4..451d6e833de 100644 --- a/service/alexaforbusiness/api_op_CreateConferenceProvider.go +++ b/service/alexaforbusiness/api_op_CreateConferenceProvider.go @@ -94,7 +94,10 @@ func addOperationCreateConferenceProviderMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateContact.go b/service/alexaforbusiness/api_op_CreateContact.go index 0d85be55c37..1caf0afdb43 100644 --- a/service/alexaforbusiness/api_op_CreateContact.go +++ b/service/alexaforbusiness/api_op_CreateContact.go @@ -95,7 +95,10 @@ func addOperationCreateContactMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateGatewayGroup.go b/service/alexaforbusiness/api_op_CreateGatewayGroup.go index a90de3f4652..62b7764343c 100644 --- a/service/alexaforbusiness/api_op_CreateGatewayGroup.go +++ b/service/alexaforbusiness/api_op_CreateGatewayGroup.go @@ -82,7 +82,10 @@ func addOperationCreateGatewayGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateNetworkProfile.go b/service/alexaforbusiness/api_op_CreateNetworkProfile.go index cfc12c3bf54..113f65d60c9 100644 --- a/service/alexaforbusiness/api_op_CreateNetworkProfile.go +++ b/service/alexaforbusiness/api_op_CreateNetworkProfile.go @@ -114,7 +114,10 @@ func addOperationCreateNetworkProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateProfile.go b/service/alexaforbusiness/api_op_CreateProfile.go index 32202b483e8..ee91b3e3534 100644 --- a/service/alexaforbusiness/api_op_CreateProfile.go +++ b/service/alexaforbusiness/api_op_CreateProfile.go @@ -122,7 +122,10 @@ func addOperationCreateProfileMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateRoom.go b/service/alexaforbusiness/api_op_CreateRoom.go index daa5d9eb0b6..b4522110bb4 100644 --- a/service/alexaforbusiness/api_op_CreateRoom.go +++ b/service/alexaforbusiness/api_op_CreateRoom.go @@ -90,7 +90,10 @@ func addOperationCreateRoomMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateSkillGroup.go b/service/alexaforbusiness/api_op_CreateSkillGroup.go index d88061f13c1..1b415533ccb 100644 --- a/service/alexaforbusiness/api_op_CreateSkillGroup.go +++ b/service/alexaforbusiness/api_op_CreateSkillGroup.go @@ -84,7 +84,10 @@ func addOperationCreateSkillGroupMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_CreateUser.go b/service/alexaforbusiness/api_op_CreateUser.go index 6d24ffa477a..f531088247c 100644 --- a/service/alexaforbusiness/api_op_CreateUser.go +++ b/service/alexaforbusiness/api_op_CreateUser.go @@ -90,7 +90,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteAddressBook.go b/service/alexaforbusiness/api_op_DeleteAddressBook.go index 7fa1d81ead2..63a05b5d9fe 100644 --- a/service/alexaforbusiness/api_op_DeleteAddressBook.go +++ b/service/alexaforbusiness/api_op_DeleteAddressBook.go @@ -69,7 +69,10 @@ func addOperationDeleteAddressBookMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteBusinessReportSchedule.go b/service/alexaforbusiness/api_op_DeleteBusinessReportSchedule.go index 3cc21108c96..d020d05355e 100644 --- a/service/alexaforbusiness/api_op_DeleteBusinessReportSchedule.go +++ b/service/alexaforbusiness/api_op_DeleteBusinessReportSchedule.go @@ -69,7 +69,10 @@ func addOperationDeleteBusinessReportScheduleMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteConferenceProvider.go b/service/alexaforbusiness/api_op_DeleteConferenceProvider.go index 8851f014507..81d42ef618f 100644 --- a/service/alexaforbusiness/api_op_DeleteConferenceProvider.go +++ b/service/alexaforbusiness/api_op_DeleteConferenceProvider.go @@ -69,7 +69,10 @@ func addOperationDeleteConferenceProviderMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteContact.go b/service/alexaforbusiness/api_op_DeleteContact.go index 804ddf8ddd9..781acc5b12e 100644 --- a/service/alexaforbusiness/api_op_DeleteContact.go +++ b/service/alexaforbusiness/api_op_DeleteContact.go @@ -69,7 +69,10 @@ func addOperationDeleteContactMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteDevice.go b/service/alexaforbusiness/api_op_DeleteDevice.go index 0c191260e3e..ed88777a058 100644 --- a/service/alexaforbusiness/api_op_DeleteDevice.go +++ b/service/alexaforbusiness/api_op_DeleteDevice.go @@ -69,7 +69,10 @@ func addOperationDeleteDeviceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteDeviceUsageData.go b/service/alexaforbusiness/api_op_DeleteDeviceUsageData.go index cfe905a8ba4..b1de4a5ef23 100644 --- a/service/alexaforbusiness/api_op_DeleteDeviceUsageData.go +++ b/service/alexaforbusiness/api_op_DeleteDeviceUsageData.go @@ -78,7 +78,10 @@ func addOperationDeleteDeviceUsageDataMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteGatewayGroup.go b/service/alexaforbusiness/api_op_DeleteGatewayGroup.go index 968b1a63116..9081da946d2 100644 --- a/service/alexaforbusiness/api_op_DeleteGatewayGroup.go +++ b/service/alexaforbusiness/api_op_DeleteGatewayGroup.go @@ -69,7 +69,10 @@ func addOperationDeleteGatewayGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteNetworkProfile.go b/service/alexaforbusiness/api_op_DeleteNetworkProfile.go index dc0096dd525..f91103993da 100644 --- a/service/alexaforbusiness/api_op_DeleteNetworkProfile.go +++ b/service/alexaforbusiness/api_op_DeleteNetworkProfile.go @@ -69,7 +69,10 @@ func addOperationDeleteNetworkProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteProfile.go b/service/alexaforbusiness/api_op_DeleteProfile.go index 11637f1fe32..35cee227a23 100644 --- a/service/alexaforbusiness/api_op_DeleteProfile.go +++ b/service/alexaforbusiness/api_op_DeleteProfile.go @@ -67,7 +67,10 @@ func addOperationDeleteProfileMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteRoom.go b/service/alexaforbusiness/api_op_DeleteRoom.go index 139a1a2ca13..237c97d1ccb 100644 --- a/service/alexaforbusiness/api_op_DeleteRoom.go +++ b/service/alexaforbusiness/api_op_DeleteRoom.go @@ -67,7 +67,10 @@ func addOperationDeleteRoomMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteRoomSkillParameter.go b/service/alexaforbusiness/api_op_DeleteRoomSkillParameter.go index a936e1afcba..d22eaa249cb 100644 --- a/service/alexaforbusiness/api_op_DeleteRoomSkillParameter.go +++ b/service/alexaforbusiness/api_op_DeleteRoomSkillParameter.go @@ -77,7 +77,10 @@ func addOperationDeleteRoomSkillParameterMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteSkillAuthorization.go b/service/alexaforbusiness/api_op_DeleteSkillAuthorization.go index 65113eb40ce..464f562c219 100644 --- a/service/alexaforbusiness/api_op_DeleteSkillAuthorization.go +++ b/service/alexaforbusiness/api_op_DeleteSkillAuthorization.go @@ -72,7 +72,10 @@ func addOperationDeleteSkillAuthorizationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteSkillGroup.go b/service/alexaforbusiness/api_op_DeleteSkillGroup.go index 14388b330fd..940404507d2 100644 --- a/service/alexaforbusiness/api_op_DeleteSkillGroup.go +++ b/service/alexaforbusiness/api_op_DeleteSkillGroup.go @@ -67,7 +67,10 @@ func addOperationDeleteSkillGroupMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DeleteUser.go b/service/alexaforbusiness/api_op_DeleteUser.go index c0fc8105ed9..f285b5f88f1 100644 --- a/service/alexaforbusiness/api_op_DeleteUser.go +++ b/service/alexaforbusiness/api_op_DeleteUser.go @@ -72,7 +72,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DisassociateContactFromAddressBook.go b/service/alexaforbusiness/api_op_DisassociateContactFromAddressBook.go index 36dd896bfd5..052bef158d6 100644 --- a/service/alexaforbusiness/api_op_DisassociateContactFromAddressBook.go +++ b/service/alexaforbusiness/api_op_DisassociateContactFromAddressBook.go @@ -74,7 +74,10 @@ func addOperationDisassociateContactFromAddressBookMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DisassociateDeviceFromRoom.go b/service/alexaforbusiness/api_op_DisassociateDeviceFromRoom.go index af8bf21491c..49494b6b470 100644 --- a/service/alexaforbusiness/api_op_DisassociateDeviceFromRoom.go +++ b/service/alexaforbusiness/api_op_DisassociateDeviceFromRoom.go @@ -69,7 +69,10 @@ func addOperationDisassociateDeviceFromRoomMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DisassociateSkillFromSkillGroup.go b/service/alexaforbusiness/api_op_DisassociateSkillFromSkillGroup.go index 23a443464e2..2635e625190 100644 --- a/service/alexaforbusiness/api_op_DisassociateSkillFromSkillGroup.go +++ b/service/alexaforbusiness/api_op_DisassociateSkillFromSkillGroup.go @@ -72,7 +72,10 @@ func addOperationDisassociateSkillFromSkillGroupMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DisassociateSkillFromUsers.go b/service/alexaforbusiness/api_op_DisassociateSkillFromUsers.go index d9d46e76bb9..3ed189e79ab 100644 --- a/service/alexaforbusiness/api_op_DisassociateSkillFromUsers.go +++ b/service/alexaforbusiness/api_op_DisassociateSkillFromUsers.go @@ -70,7 +70,10 @@ func addOperationDisassociateSkillFromUsersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_DisassociateSkillGroupFromRoom.go b/service/alexaforbusiness/api_op_DisassociateSkillGroupFromRoom.go index 2e0842eb6c4..fc2c5620f26 100644 --- a/service/alexaforbusiness/api_op_DisassociateSkillGroupFromRoom.go +++ b/service/alexaforbusiness/api_op_DisassociateSkillGroupFromRoom.go @@ -71,7 +71,10 @@ func addOperationDisassociateSkillGroupFromRoomMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ForgetSmartHomeAppliances.go b/service/alexaforbusiness/api_op_ForgetSmartHomeAppliances.go index 34225cf6ca6..0af7b97c8b2 100644 --- a/service/alexaforbusiness/api_op_ForgetSmartHomeAppliances.go +++ b/service/alexaforbusiness/api_op_ForgetSmartHomeAppliances.go @@ -69,7 +69,10 @@ func addOperationForgetSmartHomeAppliancesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetAddressBook.go b/service/alexaforbusiness/api_op_GetAddressBook.go index 4fd3c1c624b..b2b76ccd133 100644 --- a/service/alexaforbusiness/api_op_GetAddressBook.go +++ b/service/alexaforbusiness/api_op_GetAddressBook.go @@ -74,7 +74,10 @@ func addOperationGetAddressBookMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetConferencePreference.go b/service/alexaforbusiness/api_op_GetConferencePreference.go index 5636789d05c..e9d597227d4 100644 --- a/service/alexaforbusiness/api_op_GetConferencePreference.go +++ b/service/alexaforbusiness/api_op_GetConferencePreference.go @@ -69,7 +69,10 @@ func addOperationGetConferencePreferenceMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetConferenceProvider.go b/service/alexaforbusiness/api_op_GetConferenceProvider.go index 2851ee3305f..7a253af699e 100644 --- a/service/alexaforbusiness/api_op_GetConferenceProvider.go +++ b/service/alexaforbusiness/api_op_GetConferenceProvider.go @@ -74,7 +74,10 @@ func addOperationGetConferenceProviderMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetContact.go b/service/alexaforbusiness/api_op_GetContact.go index cabbb7e817b..cb67118d15d 100644 --- a/service/alexaforbusiness/api_op_GetContact.go +++ b/service/alexaforbusiness/api_op_GetContact.go @@ -74,7 +74,10 @@ func addOperationGetContactMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetDevice.go b/service/alexaforbusiness/api_op_GetDevice.go index feaa9c6a586..7cf7c428067 100644 --- a/service/alexaforbusiness/api_op_GetDevice.go +++ b/service/alexaforbusiness/api_op_GetDevice.go @@ -72,7 +72,10 @@ func addOperationGetDeviceMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetGateway.go b/service/alexaforbusiness/api_op_GetGateway.go index d9afecbce7a..2b49254ef88 100644 --- a/service/alexaforbusiness/api_op_GetGateway.go +++ b/service/alexaforbusiness/api_op_GetGateway.go @@ -74,7 +74,10 @@ func addOperationGetGatewayMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetGatewayGroup.go b/service/alexaforbusiness/api_op_GetGatewayGroup.go index 365e184df64..90ca63cc86c 100644 --- a/service/alexaforbusiness/api_op_GetGatewayGroup.go +++ b/service/alexaforbusiness/api_op_GetGatewayGroup.go @@ -74,7 +74,10 @@ func addOperationGetGatewayGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetInvitationConfiguration.go b/service/alexaforbusiness/api_op_GetInvitationConfiguration.go index e03f8391532..96044b9090c 100644 --- a/service/alexaforbusiness/api_op_GetInvitationConfiguration.go +++ b/service/alexaforbusiness/api_op_GetInvitationConfiguration.go @@ -77,7 +77,10 @@ func addOperationGetInvitationConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetNetworkProfile.go b/service/alexaforbusiness/api_op_GetNetworkProfile.go index 086cb8fd279..02965e16790 100644 --- a/service/alexaforbusiness/api_op_GetNetworkProfile.go +++ b/service/alexaforbusiness/api_op_GetNetworkProfile.go @@ -74,7 +74,10 @@ func addOperationGetNetworkProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetProfile.go b/service/alexaforbusiness/api_op_GetProfile.go index dff80e0f899..2b4b450ab58 100644 --- a/service/alexaforbusiness/api_op_GetProfile.go +++ b/service/alexaforbusiness/api_op_GetProfile.go @@ -72,7 +72,10 @@ func addOperationGetProfileMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetRoom.go b/service/alexaforbusiness/api_op_GetRoom.go index 2e54901a323..36181028994 100644 --- a/service/alexaforbusiness/api_op_GetRoom.go +++ b/service/alexaforbusiness/api_op_GetRoom.go @@ -72,7 +72,10 @@ func addOperationGetRoomMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetRoomSkillParameter.go b/service/alexaforbusiness/api_op_GetRoomSkillParameter.go index 4b0760f6eec..e498c536879 100644 --- a/service/alexaforbusiness/api_op_GetRoomSkillParameter.go +++ b/service/alexaforbusiness/api_op_GetRoomSkillParameter.go @@ -83,7 +83,10 @@ func addOperationGetRoomSkillParameterMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_GetSkillGroup.go b/service/alexaforbusiness/api_op_GetSkillGroup.go index 5706840841a..c32dc973b4a 100644 --- a/service/alexaforbusiness/api_op_GetSkillGroup.go +++ b/service/alexaforbusiness/api_op_GetSkillGroup.go @@ -72,7 +72,10 @@ func addOperationGetSkillGroupMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListBusinessReportSchedules.go b/service/alexaforbusiness/api_op_ListBusinessReportSchedules.go index aa80dc471c6..d804d4dbb9d 100644 --- a/service/alexaforbusiness/api_op_ListBusinessReportSchedules.go +++ b/service/alexaforbusiness/api_op_ListBusinessReportSchedules.go @@ -81,7 +81,10 @@ func addOperationListBusinessReportSchedulesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListConferenceProviders.go b/service/alexaforbusiness/api_op_ListConferenceProviders.go index 8f2eb976654..8256233d911 100644 --- a/service/alexaforbusiness/api_op_ListConferenceProviders.go +++ b/service/alexaforbusiness/api_op_ListConferenceProviders.go @@ -79,7 +79,10 @@ func addOperationListConferenceProvidersMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListDeviceEvents.go b/service/alexaforbusiness/api_op_ListDeviceEvents.go index 907010eddf7..a4d89b08a82 100644 --- a/service/alexaforbusiness/api_op_ListDeviceEvents.go +++ b/service/alexaforbusiness/api_op_ListDeviceEvents.go @@ -96,7 +96,10 @@ func addOperationListDeviceEventsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListGatewayGroups.go b/service/alexaforbusiness/api_op_ListGatewayGroups.go index 1341e642cb4..b5138a5822f 100644 --- a/service/alexaforbusiness/api_op_ListGatewayGroups.go +++ b/service/alexaforbusiness/api_op_ListGatewayGroups.go @@ -80,7 +80,10 @@ func addOperationListGatewayGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListGateways.go b/service/alexaforbusiness/api_op_ListGateways.go index 5b9350b30dd..16c07a79047 100644 --- a/service/alexaforbusiness/api_op_ListGateways.go +++ b/service/alexaforbusiness/api_op_ListGateways.go @@ -84,7 +84,10 @@ func addOperationListGatewaysMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListSkills.go b/service/alexaforbusiness/api_op_ListSkills.go index 46554782df4..bfa832c24e7 100644 --- a/service/alexaforbusiness/api_op_ListSkills.go +++ b/service/alexaforbusiness/api_op_ListSkills.go @@ -92,7 +92,10 @@ func addOperationListSkillsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListSkillsStoreCategories.go b/service/alexaforbusiness/api_op_ListSkillsStoreCategories.go index b3a00a768ee..0cf2afc4654 100644 --- a/service/alexaforbusiness/api_op_ListSkillsStoreCategories.go +++ b/service/alexaforbusiness/api_op_ListSkillsStoreCategories.go @@ -79,7 +79,10 @@ func addOperationListSkillsStoreCategoriesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListSkillsStoreSkillsByCategory.go b/service/alexaforbusiness/api_op_ListSkillsStoreSkillsByCategory.go index 5787ac94f62..360a98b2e34 100644 --- a/service/alexaforbusiness/api_op_ListSkillsStoreSkillsByCategory.go +++ b/service/alexaforbusiness/api_op_ListSkillsStoreSkillsByCategory.go @@ -84,7 +84,10 @@ func addOperationListSkillsStoreSkillsByCategoryMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListSmartHomeAppliances.go b/service/alexaforbusiness/api_op_ListSmartHomeAppliances.go index 821a9aaa17f..63782e09c21 100644 --- a/service/alexaforbusiness/api_op_ListSmartHomeAppliances.go +++ b/service/alexaforbusiness/api_op_ListSmartHomeAppliances.go @@ -84,7 +84,10 @@ func addOperationListSmartHomeAppliancesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ListTags.go b/service/alexaforbusiness/api_op_ListTags.go index 955d01df006..5c097d47e8d 100644 --- a/service/alexaforbusiness/api_op_ListTags.go +++ b/service/alexaforbusiness/api_op_ListTags.go @@ -88,7 +88,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_PutConferencePreference.go b/service/alexaforbusiness/api_op_PutConferencePreference.go index fc82253d2e0..d1b75e3a863 100644 --- a/service/alexaforbusiness/api_op_PutConferencePreference.go +++ b/service/alexaforbusiness/api_op_PutConferencePreference.go @@ -71,7 +71,10 @@ func addOperationPutConferencePreferenceMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_PutInvitationConfiguration.go b/service/alexaforbusiness/api_op_PutInvitationConfiguration.go index 0e59670c30f..d8c0c799df1 100644 --- a/service/alexaforbusiness/api_op_PutInvitationConfiguration.go +++ b/service/alexaforbusiness/api_op_PutInvitationConfiguration.go @@ -78,7 +78,10 @@ func addOperationPutInvitationConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_PutRoomSkillParameter.go b/service/alexaforbusiness/api_op_PutRoomSkillParameter.go index 8f645f3ced5..d65298442b3 100644 --- a/service/alexaforbusiness/api_op_PutRoomSkillParameter.go +++ b/service/alexaforbusiness/api_op_PutRoomSkillParameter.go @@ -79,7 +79,10 @@ func addOperationPutRoomSkillParameterMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_PutSkillAuthorization.go b/service/alexaforbusiness/api_op_PutSkillAuthorization.go index 23ff34550aa..f3004aa98f5 100644 --- a/service/alexaforbusiness/api_op_PutSkillAuthorization.go +++ b/service/alexaforbusiness/api_op_PutSkillAuthorization.go @@ -80,7 +80,10 @@ func addOperationPutSkillAuthorizationMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_RegisterAVSDevice.go b/service/alexaforbusiness/api_op_RegisterAVSDevice.go index c7e470dec29..765f06b4fff 100644 --- a/service/alexaforbusiness/api_op_RegisterAVSDevice.go +++ b/service/alexaforbusiness/api_op_RegisterAVSDevice.go @@ -100,7 +100,10 @@ func addOperationRegisterAVSDeviceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_RejectSkill.go b/service/alexaforbusiness/api_op_RejectSkill.go index 2fd1761a1a0..e7896338b00 100644 --- a/service/alexaforbusiness/api_op_RejectSkill.go +++ b/service/alexaforbusiness/api_op_RejectSkill.go @@ -72,7 +72,10 @@ func addOperationRejectSkillMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_ResolveRoom.go b/service/alexaforbusiness/api_op_ResolveRoom.go index 01087c29782..88e8c2b59a4 100644 --- a/service/alexaforbusiness/api_op_ResolveRoom.go +++ b/service/alexaforbusiness/api_op_ResolveRoom.go @@ -86,7 +86,10 @@ func addOperationResolveRoomMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_RevokeInvitation.go b/service/alexaforbusiness/api_op_RevokeInvitation.go index 51f298c6e65..194ad761257 100644 --- a/service/alexaforbusiness/api_op_RevokeInvitation.go +++ b/service/alexaforbusiness/api_op_RevokeInvitation.go @@ -70,7 +70,10 @@ func addOperationRevokeInvitationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SearchAddressBooks.go b/service/alexaforbusiness/api_op_SearchAddressBooks.go index 6f740ce4e8b..f5b372cd5c1 100644 --- a/service/alexaforbusiness/api_op_SearchAddressBooks.go +++ b/service/alexaforbusiness/api_op_SearchAddressBooks.go @@ -95,7 +95,10 @@ func addOperationSearchAddressBooksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SearchContacts.go b/service/alexaforbusiness/api_op_SearchContacts.go index bd8bdf58a40..85ff16466ee 100644 --- a/service/alexaforbusiness/api_op_SearchContacts.go +++ b/service/alexaforbusiness/api_op_SearchContacts.go @@ -95,7 +95,10 @@ func addOperationSearchContactsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SearchDevices.go b/service/alexaforbusiness/api_op_SearchDevices.go index 955b0e5bfd8..44245b22dc4 100644 --- a/service/alexaforbusiness/api_op_SearchDevices.go +++ b/service/alexaforbusiness/api_op_SearchDevices.go @@ -98,7 +98,10 @@ func addOperationSearchDevicesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SearchNetworkProfiles.go b/service/alexaforbusiness/api_op_SearchNetworkProfiles.go index 208b196be3b..932d2681d4f 100644 --- a/service/alexaforbusiness/api_op_SearchNetworkProfiles.go +++ b/service/alexaforbusiness/api_op_SearchNetworkProfiles.go @@ -98,7 +98,10 @@ func addOperationSearchNetworkProfilesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SearchProfiles.go b/service/alexaforbusiness/api_op_SearchProfiles.go index d5af25d4c43..92529d7318f 100644 --- a/service/alexaforbusiness/api_op_SearchProfiles.go +++ b/service/alexaforbusiness/api_op_SearchProfiles.go @@ -94,7 +94,10 @@ func addOperationSearchProfilesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SearchRooms.go b/service/alexaforbusiness/api_op_SearchRooms.go index f14e8a15b5b..e11dc7f8dce 100644 --- a/service/alexaforbusiness/api_op_SearchRooms.go +++ b/service/alexaforbusiness/api_op_SearchRooms.go @@ -94,7 +94,10 @@ func addOperationSearchRoomsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SearchSkillGroups.go b/service/alexaforbusiness/api_op_SearchSkillGroups.go index 3ab854b05ee..335b17b8451 100644 --- a/service/alexaforbusiness/api_op_SearchSkillGroups.go +++ b/service/alexaforbusiness/api_op_SearchSkillGroups.go @@ -96,7 +96,10 @@ func addOperationSearchSkillGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SearchUsers.go b/service/alexaforbusiness/api_op_SearchUsers.go index 0df289656b2..7ef4fa72860 100644 --- a/service/alexaforbusiness/api_op_SearchUsers.go +++ b/service/alexaforbusiness/api_op_SearchUsers.go @@ -95,7 +95,10 @@ func addOperationSearchUsersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SendAnnouncement.go b/service/alexaforbusiness/api_op_SendAnnouncement.go index 00dd47839fe..2f49eba186b 100644 --- a/service/alexaforbusiness/api_op_SendAnnouncement.go +++ b/service/alexaforbusiness/api_op_SendAnnouncement.go @@ -93,7 +93,10 @@ func addOperationSendAnnouncementMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_SendInvitation.go b/service/alexaforbusiness/api_op_SendInvitation.go index ac303e0dfa9..3be114f61bd 100644 --- a/service/alexaforbusiness/api_op_SendInvitation.go +++ b/service/alexaforbusiness/api_op_SendInvitation.go @@ -68,7 +68,10 @@ func addOperationSendInvitationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_StartDeviceSync.go b/service/alexaforbusiness/api_op_StartDeviceSync.go index 232b41ff739..a06313fc3ab 100644 --- a/service/alexaforbusiness/api_op_StartDeviceSync.go +++ b/service/alexaforbusiness/api_op_StartDeviceSync.go @@ -94,7 +94,10 @@ func addOperationStartDeviceSyncMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_StartSmartHomeApplianceDiscovery.go b/service/alexaforbusiness/api_op_StartSmartHomeApplianceDiscovery.go index b9328cb9df2..153206e24de 100644 --- a/service/alexaforbusiness/api_op_StartSmartHomeApplianceDiscovery.go +++ b/service/alexaforbusiness/api_op_StartSmartHomeApplianceDiscovery.go @@ -69,7 +69,10 @@ func addOperationStartSmartHomeApplianceDiscoveryMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_TagResource.go b/service/alexaforbusiness/api_op_TagResource.go index 175c37a8c14..da345b2045f 100644 --- a/service/alexaforbusiness/api_op_TagResource.go +++ b/service/alexaforbusiness/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UntagResource.go b/service/alexaforbusiness/api_op_UntagResource.go index 81858725fb6..de0d1db569a 100644 --- a/service/alexaforbusiness/api_op_UntagResource.go +++ b/service/alexaforbusiness/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateAddressBook.go b/service/alexaforbusiness/api_op_UpdateAddressBook.go index c5f307eb55d..2173dc0dbad 100644 --- a/service/alexaforbusiness/api_op_UpdateAddressBook.go +++ b/service/alexaforbusiness/api_op_UpdateAddressBook.go @@ -75,7 +75,10 @@ func addOperationUpdateAddressBookMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateBusinessReportSchedule.go b/service/alexaforbusiness/api_op_UpdateBusinessReportSchedule.go index 66b5892847c..e5302d2e00e 100644 --- a/service/alexaforbusiness/api_op_UpdateBusinessReportSchedule.go +++ b/service/alexaforbusiness/api_op_UpdateBusinessReportSchedule.go @@ -87,7 +87,10 @@ func addOperationUpdateBusinessReportScheduleMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateConferenceProvider.go b/service/alexaforbusiness/api_op_UpdateConferenceProvider.go index 637c160f35f..eb06660b46a 100644 --- a/service/alexaforbusiness/api_op_UpdateConferenceProvider.go +++ b/service/alexaforbusiness/api_op_UpdateConferenceProvider.go @@ -86,7 +86,10 @@ func addOperationUpdateConferenceProviderMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateContact.go b/service/alexaforbusiness/api_op_UpdateContact.go index a70eeca6830..afd20719903 100644 --- a/service/alexaforbusiness/api_op_UpdateContact.go +++ b/service/alexaforbusiness/api_op_UpdateContact.go @@ -90,7 +90,10 @@ func addOperationUpdateContactMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateDevice.go b/service/alexaforbusiness/api_op_UpdateDevice.go index d5f09187a6d..895f6f9d363 100644 --- a/service/alexaforbusiness/api_op_UpdateDevice.go +++ b/service/alexaforbusiness/api_op_UpdateDevice.go @@ -70,7 +70,10 @@ func addOperationUpdateDeviceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateGateway.go b/service/alexaforbusiness/api_op_UpdateGateway.go index 67bcbe81867..104e802222e 100644 --- a/service/alexaforbusiness/api_op_UpdateGateway.go +++ b/service/alexaforbusiness/api_op_UpdateGateway.go @@ -80,7 +80,10 @@ func addOperationUpdateGatewayMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateGatewayGroup.go b/service/alexaforbusiness/api_op_UpdateGatewayGroup.go index 2b2d57da996..104a156d6bf 100644 --- a/service/alexaforbusiness/api_op_UpdateGatewayGroup.go +++ b/service/alexaforbusiness/api_op_UpdateGatewayGroup.go @@ -76,7 +76,10 @@ func addOperationUpdateGatewayGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateNetworkProfile.go b/service/alexaforbusiness/api_op_UpdateNetworkProfile.go index 24a7bd45bc3..671b021a9c8 100644 --- a/service/alexaforbusiness/api_op_UpdateNetworkProfile.go +++ b/service/alexaforbusiness/api_op_UpdateNetworkProfile.go @@ -92,7 +92,10 @@ func addOperationUpdateNetworkProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateProfile.go b/service/alexaforbusiness/api_op_UpdateProfile.go index 8b6e19fc239..06a7ec2a251 100644 --- a/service/alexaforbusiness/api_op_UpdateProfile.go +++ b/service/alexaforbusiness/api_op_UpdateProfile.go @@ -106,7 +106,10 @@ func addOperationUpdateProfileMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateRoom.go b/service/alexaforbusiness/api_op_UpdateRoom.go index b72541cd40e..ff48cc665c2 100644 --- a/service/alexaforbusiness/api_op_UpdateRoom.go +++ b/service/alexaforbusiness/api_op_UpdateRoom.go @@ -79,7 +79,10 @@ func addOperationUpdateRoomMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/alexaforbusiness/api_op_UpdateSkillGroup.go b/service/alexaforbusiness/api_op_UpdateSkillGroup.go index dee2d44dee6..74c2ef33121 100644 --- a/service/alexaforbusiness/api_op_UpdateSkillGroup.go +++ b/service/alexaforbusiness/api_op_UpdateSkillGroup.go @@ -73,7 +73,10 @@ func addOperationUpdateSkillGroupMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_CreateApp.go b/service/amplify/api_op_CreateApp.go index bcfea427417..58cb6bbcf5a 100644 --- a/service/amplify/api_op_CreateApp.go +++ b/service/amplify/api_op_CreateApp.go @@ -138,7 +138,10 @@ func addOperationCreateAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_CreateBackendEnvironment.go b/service/amplify/api_op_CreateBackendEnvironment.go index aaa552846cb..1875c119c70 100644 --- a/service/amplify/api_op_CreateBackendEnvironment.go +++ b/service/amplify/api_op_CreateBackendEnvironment.go @@ -89,7 +89,10 @@ func addOperationCreateBackendEnvironmentMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_CreateBranch.go b/service/amplify/api_op_CreateBranch.go index dfee2954ec7..cfef2eb7361 100644 --- a/service/amplify/api_op_CreateBranch.go +++ b/service/amplify/api_op_CreateBranch.go @@ -136,7 +136,10 @@ func addOperationCreateBranchMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_CreateDeployment.go b/service/amplify/api_op_CreateDeployment.go index b35cb14f763..42e4e62828f 100644 --- a/service/amplify/api_op_CreateDeployment.go +++ b/service/amplify/api_op_CreateDeployment.go @@ -99,7 +99,10 @@ func addOperationCreateDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_CreateDomainAssociation.go b/service/amplify/api_op_CreateDomainAssociation.go index 1720c2843db..0bb7f02d21b 100644 --- a/service/amplify/api_op_CreateDomainAssociation.go +++ b/service/amplify/api_op_CreateDomainAssociation.go @@ -100,7 +100,10 @@ func addOperationCreateDomainAssociationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_CreateWebhook.go b/service/amplify/api_op_CreateWebhook.go index 37d3ae61d2d..26b846893e7 100644 --- a/service/amplify/api_op_CreateWebhook.go +++ b/service/amplify/api_op_CreateWebhook.go @@ -86,7 +86,10 @@ func addOperationCreateWebhookMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_DeleteApp.go b/service/amplify/api_op_DeleteApp.go index 320e8dae0a5..765bab9ef01 100644 --- a/service/amplify/api_op_DeleteApp.go +++ b/service/amplify/api_op_DeleteApp.go @@ -79,7 +79,10 @@ func addOperationDeleteAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_DeleteBackendEnvironment.go b/service/amplify/api_op_DeleteBackendEnvironment.go index b7bc5a56272..76222998f21 100644 --- a/service/amplify/api_op_DeleteBackendEnvironment.go +++ b/service/amplify/api_op_DeleteBackendEnvironment.go @@ -83,7 +83,10 @@ func addOperationDeleteBackendEnvironmentMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_DeleteBranch.go b/service/amplify/api_op_DeleteBranch.go index 347e9475984..771dc945b3c 100644 --- a/service/amplify/api_op_DeleteBranch.go +++ b/service/amplify/api_op_DeleteBranch.go @@ -83,7 +83,10 @@ func addOperationDeleteBranchMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_DeleteDomainAssociation.go b/service/amplify/api_op_DeleteDomainAssociation.go index 171152926c6..c6beb62ec1d 100644 --- a/service/amplify/api_op_DeleteDomainAssociation.go +++ b/service/amplify/api_op_DeleteDomainAssociation.go @@ -83,7 +83,10 @@ func addOperationDeleteDomainAssociationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_DeleteJob.go b/service/amplify/api_op_DeleteJob.go index 5cd7eab2776..516a3ff6151 100644 --- a/service/amplify/api_op_DeleteJob.go +++ b/service/amplify/api_op_DeleteJob.go @@ -88,7 +88,10 @@ func addOperationDeleteJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_DeleteWebhook.go b/service/amplify/api_op_DeleteWebhook.go index 41620bb3214..b53ac877357 100644 --- a/service/amplify/api_op_DeleteWebhook.go +++ b/service/amplify/api_op_DeleteWebhook.go @@ -78,7 +78,10 @@ func addOperationDeleteWebhookMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_GenerateAccessLogs.go b/service/amplify/api_op_GenerateAccessLogs.go index e5283960b55..4157469ea45 100644 --- a/service/amplify/api_op_GenerateAccessLogs.go +++ b/service/amplify/api_op_GenerateAccessLogs.go @@ -89,7 +89,10 @@ func addOperationGenerateAccessLogsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_GetApp.go b/service/amplify/api_op_GetApp.go index d0ee7481f86..65e8ea8ef75 100644 --- a/service/amplify/api_op_GetApp.go +++ b/service/amplify/api_op_GetApp.go @@ -78,7 +78,10 @@ func addOperationGetAppMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_GetArtifactUrl.go b/service/amplify/api_op_GetArtifactUrl.go index c41e92882e8..65aa82ee5c5 100644 --- a/service/amplify/api_op_GetArtifactUrl.go +++ b/service/amplify/api_op_GetArtifactUrl.go @@ -82,7 +82,10 @@ func addOperationGetArtifactUrlMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_GetBackendEnvironment.go b/service/amplify/api_op_GetBackendEnvironment.go index ce883bfa349..d4f7474865e 100644 --- a/service/amplify/api_op_GetBackendEnvironment.go +++ b/service/amplify/api_op_GetBackendEnvironment.go @@ -83,7 +83,10 @@ func addOperationGetBackendEnvironmentMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_GetBranch.go b/service/amplify/api_op_GetBranch.go index d2722d10ac3..d9a102fc880 100644 --- a/service/amplify/api_op_GetBranch.go +++ b/service/amplify/api_op_GetBranch.go @@ -82,7 +82,10 @@ func addOperationGetBranchMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_GetDomainAssociation.go b/service/amplify/api_op_GetDomainAssociation.go index 006ee5059de..0747294cefd 100644 --- a/service/amplify/api_op_GetDomainAssociation.go +++ b/service/amplify/api_op_GetDomainAssociation.go @@ -84,7 +84,10 @@ func addOperationGetDomainAssociationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_GetJob.go b/service/amplify/api_op_GetJob.go index 47fde34ffa3..fcac5c249f6 100644 --- a/service/amplify/api_op_GetJob.go +++ b/service/amplify/api_op_GetJob.go @@ -87,7 +87,10 @@ func addOperationGetJobMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_GetWebhook.go b/service/amplify/api_op_GetWebhook.go index 33880c0a9b2..cb263b29abf 100644 --- a/service/amplify/api_op_GetWebhook.go +++ b/service/amplify/api_op_GetWebhook.go @@ -78,7 +78,10 @@ func addOperationGetWebhookMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_ListApps.go b/service/amplify/api_op_ListApps.go index 5418d3be584..88d76622d21 100644 --- a/service/amplify/api_op_ListApps.go +++ b/service/amplify/api_op_ListApps.go @@ -85,7 +85,10 @@ func addOperationListAppsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_ListArtifacts.go b/service/amplify/api_op_ListArtifacts.go index b3cdcf9502a..8b06d0d901c 100644 --- a/service/amplify/api_op_ListArtifacts.go +++ b/service/amplify/api_op_ListArtifacts.go @@ -100,7 +100,10 @@ func addOperationListArtifactsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_ListBackendEnvironments.go b/service/amplify/api_op_ListBackendEnvironments.go index 246e1f3c8dc..d57fb1f04f1 100644 --- a/service/amplify/api_op_ListBackendEnvironments.go +++ b/service/amplify/api_op_ListBackendEnvironments.go @@ -93,7 +93,10 @@ func addOperationListBackendEnvironmentsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_ListBranches.go b/service/amplify/api_op_ListBranches.go index 304732792b6..d5446c5add2 100644 --- a/service/amplify/api_op_ListBranches.go +++ b/service/amplify/api_op_ListBranches.go @@ -90,7 +90,10 @@ func addOperationListBranchesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_ListDomainAssociations.go b/service/amplify/api_op_ListDomainAssociations.go index cb324a5f056..5b9075bf5ad 100644 --- a/service/amplify/api_op_ListDomainAssociations.go +++ b/service/amplify/api_op_ListDomainAssociations.go @@ -90,7 +90,10 @@ func addOperationListDomainAssociationsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_ListJobs.go b/service/amplify/api_op_ListJobs.go index 226bf6a3fb5..e5a1b4a8af6 100644 --- a/service/amplify/api_op_ListJobs.go +++ b/service/amplify/api_op_ListJobs.go @@ -95,7 +95,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_ListTagsForResource.go b/service/amplify/api_op_ListTagsForResource.go index 4c950e96291..61d1c690c69 100644 --- a/service/amplify/api_op_ListTagsForResource.go +++ b/service/amplify/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_ListWebhooks.go b/service/amplify/api_op_ListWebhooks.go index 009b64ce3c8..21fa8ee20cc 100644 --- a/service/amplify/api_op_ListWebhooks.go +++ b/service/amplify/api_op_ListWebhooks.go @@ -90,7 +90,10 @@ func addOperationListWebhooksMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_StartDeployment.go b/service/amplify/api_op_StartDeployment.go index b5e608be2f8..478d406af5d 100644 --- a/service/amplify/api_op_StartDeployment.go +++ b/service/amplify/api_op_StartDeployment.go @@ -92,7 +92,10 @@ func addOperationStartDeploymentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_StartJob.go b/service/amplify/api_op_StartJob.go index 6416ce0058a..3765bf30aa1 100644 --- a/service/amplify/api_op_StartJob.go +++ b/service/amplify/api_op_StartJob.go @@ -108,7 +108,10 @@ func addOperationStartJobMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_StopJob.go b/service/amplify/api_op_StopJob.go index 7a59ceda875..e1389d9a149 100644 --- a/service/amplify/api_op_StopJob.go +++ b/service/amplify/api_op_StopJob.go @@ -88,7 +88,10 @@ func addOperationStopJobMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_TagResource.go b/service/amplify/api_op_TagResource.go index a97ee4bc936..0fdd89431a1 100644 --- a/service/amplify/api_op_TagResource.go +++ b/service/amplify/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_UntagResource.go b/service/amplify/api_op_UntagResource.go index 6482c1b4fd5..24ff0349a66 100644 --- a/service/amplify/api_op_UntagResource.go +++ b/service/amplify/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_UpdateApp.go b/service/amplify/api_op_UpdateApp.go index f1855375c23..ef24eb1082a 100644 --- a/service/amplify/api_op_UpdateApp.go +++ b/service/amplify/api_op_UpdateApp.go @@ -137,7 +137,10 @@ func addOperationUpdateAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_UpdateBranch.go b/service/amplify/api_op_UpdateBranch.go index 3369949f757..30f10ca6c27 100644 --- a/service/amplify/api_op_UpdateBranch.go +++ b/service/amplify/api_op_UpdateBranch.go @@ -132,7 +132,10 @@ func addOperationUpdateBranchMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_UpdateDomainAssociation.go b/service/amplify/api_op_UpdateDomainAssociation.go index 55decfdb59a..c4cfa76f06f 100644 --- a/service/amplify/api_op_UpdateDomainAssociation.go +++ b/service/amplify/api_op_UpdateDomainAssociation.go @@ -99,7 +99,10 @@ func addOperationUpdateDomainAssociationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/amplify/api_op_UpdateWebhook.go b/service/amplify/api_op_UpdateWebhook.go index 26de9a5a4a2..3ea6c39e681 100644 --- a/service/amplify/api_op_UpdateWebhook.go +++ b/service/amplify/api_op_UpdateWebhook.go @@ -84,7 +84,10 @@ func addOperationUpdateWebhookMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateApiKey.go b/service/apigateway/api_op_CreateApiKey.go index 74cd99857fc..2ed3559fff4 100644 --- a/service/apigateway/api_op_CreateApiKey.go +++ b/service/apigateway/api_op_CreateApiKey.go @@ -133,7 +133,10 @@ func addOperationCreateApiKeyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateAuthorizer.go b/service/apigateway/api_op_CreateAuthorizer.go index ab3f14efd10..32f1dba1024 100644 --- a/service/apigateway/api_op_CreateAuthorizer.go +++ b/service/apigateway/api_op_CreateAuthorizer.go @@ -238,7 +238,10 @@ func addOperationCreateAuthorizerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateBasePathMapping.go b/service/apigateway/api_op_CreateBasePathMapping.go index bf1c4a2d61f..1380100cd77 100644 --- a/service/apigateway/api_op_CreateBasePathMapping.go +++ b/service/apigateway/api_op_CreateBasePathMapping.go @@ -102,7 +102,10 @@ func addOperationCreateBasePathMappingMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateDeployment.go b/service/apigateway/api_op_CreateDeployment.go index 46f23ae55e9..a543f3ef53e 100644 --- a/service/apigateway/api_op_CreateDeployment.go +++ b/service/apigateway/api_op_CreateDeployment.go @@ -124,7 +124,10 @@ func addOperationCreateDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateDocumentationPart.go b/service/apigateway/api_op_CreateDocumentationPart.go index 12cccfa1e20..5e6f068a6af 100644 --- a/service/apigateway/api_op_CreateDocumentationPart.go +++ b/service/apigateway/api_op_CreateDocumentationPart.go @@ -115,7 +115,10 @@ func addOperationCreateDocumentationPartMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateDocumentationVersion.go b/service/apigateway/api_op_CreateDocumentationVersion.go index a80f1ec3a11..b0d3217d5ff 100644 --- a/service/apigateway/api_op_CreateDocumentationVersion.go +++ b/service/apigateway/api_op_CreateDocumentationVersion.go @@ -96,7 +96,10 @@ func addOperationCreateDocumentationVersionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateDomainName.go b/service/apigateway/api_op_CreateDomainName.go index 955d080e052..bf9c095b0c9 100644 --- a/service/apigateway/api_op_CreateDomainName.go +++ b/service/apigateway/api_op_CreateDomainName.go @@ -216,7 +216,10 @@ func addOperationCreateDomainNameMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateModel.go b/service/apigateway/api_op_CreateModel.go index 4fbe6d11312..73e35f5735d 100644 --- a/service/apigateway/api_op_CreateModel.go +++ b/service/apigateway/api_op_CreateModel.go @@ -116,7 +116,10 @@ func addOperationCreateModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateRequestValidator.go b/service/apigateway/api_op_CreateRequestValidator.go index 15311a75ee5..f59b51fab38 100644 --- a/service/apigateway/api_op_CreateRequestValidator.go +++ b/service/apigateway/api_op_CreateRequestValidator.go @@ -104,7 +104,10 @@ func addOperationCreateRequestValidatorMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateResource.go b/service/apigateway/api_op_CreateResource.go index 8d6b3329dd9..df7f81a9894 100644 --- a/service/apigateway/api_op_CreateResource.go +++ b/service/apigateway/api_op_CreateResource.go @@ -177,7 +177,10 @@ func addOperationCreateResourceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateRestApi.go b/service/apigateway/api_op_CreateRestApi.go index 90810452c09..73232a4d66f 100644 --- a/service/apigateway/api_op_CreateRestApi.go +++ b/service/apigateway/api_op_CreateRestApi.go @@ -184,7 +184,10 @@ func addOperationCreateRestApiMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateStage.go b/service/apigateway/api_op_CreateStage.go index 6466ed7f9c4..99997bda080 100644 --- a/service/apigateway/api_op_CreateStage.go +++ b/service/apigateway/api_op_CreateStage.go @@ -176,7 +176,10 @@ func addOperationCreateStageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateUsagePlan.go b/service/apigateway/api_op_CreateUsagePlan.go index b244a2e8f73..84351422725 100644 --- a/service/apigateway/api_op_CreateUsagePlan.go +++ b/service/apigateway/api_op_CreateUsagePlan.go @@ -122,7 +122,10 @@ func addOperationCreateUsagePlanMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateUsagePlanKey.go b/service/apigateway/api_op_CreateUsagePlanKey.go index 9bb10e6e922..7b9422e41d2 100644 --- a/service/apigateway/api_op_CreateUsagePlanKey.go +++ b/service/apigateway/api_op_CreateUsagePlanKey.go @@ -99,7 +99,10 @@ func addOperationCreateUsagePlanKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_CreateVpcLink.go b/service/apigateway/api_op_CreateVpcLink.go index 77d2965a864..c2e3c275fb2 100644 --- a/service/apigateway/api_op_CreateVpcLink.go +++ b/service/apigateway/api_op_CreateVpcLink.go @@ -126,7 +126,10 @@ func addOperationCreateVpcLinkMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteApiKey.go b/service/apigateway/api_op_DeleteApiKey.go index 547b830145d..ffbb7f5fc49 100644 --- a/service/apigateway/api_op_DeleteApiKey.go +++ b/service/apigateway/api_op_DeleteApiKey.go @@ -70,7 +70,10 @@ func addOperationDeleteApiKeyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteAuthorizer.go b/service/apigateway/api_op_DeleteAuthorizer.go index 5aa57bdfbd1..95edb7a979b 100644 --- a/service/apigateway/api_op_DeleteAuthorizer.go +++ b/service/apigateway/api_op_DeleteAuthorizer.go @@ -76,7 +76,10 @@ func addOperationDeleteAuthorizerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteBasePathMapping.go b/service/apigateway/api_op_DeleteBasePathMapping.go index 628dbb158e5..fcc021e8a68 100644 --- a/service/apigateway/api_op_DeleteBasePathMapping.go +++ b/service/apigateway/api_op_DeleteBasePathMapping.go @@ -76,7 +76,10 @@ func addOperationDeleteBasePathMappingMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteClientCertificate.go b/service/apigateway/api_op_DeleteClientCertificate.go index 01bb8370f1f..052e149c939 100644 --- a/service/apigateway/api_op_DeleteClientCertificate.go +++ b/service/apigateway/api_op_DeleteClientCertificate.go @@ -70,7 +70,10 @@ func addOperationDeleteClientCertificateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteDeployment.go b/service/apigateway/api_op_DeleteDeployment.go index 7adb9baa971..79fbb7dff3a 100644 --- a/service/apigateway/api_op_DeleteDeployment.go +++ b/service/apigateway/api_op_DeleteDeployment.go @@ -76,7 +76,10 @@ func addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteDocumentationPart.go b/service/apigateway/api_op_DeleteDocumentationPart.go index c7a384dac3b..dc7be6b383d 100644 --- a/service/apigateway/api_op_DeleteDocumentationPart.go +++ b/service/apigateway/api_op_DeleteDocumentationPart.go @@ -74,7 +74,10 @@ func addOperationDeleteDocumentationPartMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteDocumentationVersion.go b/service/apigateway/api_op_DeleteDocumentationVersion.go index fbfd4093aee..2575aa274c9 100644 --- a/service/apigateway/api_op_DeleteDocumentationVersion.go +++ b/service/apigateway/api_op_DeleteDocumentationVersion.go @@ -74,7 +74,10 @@ func addOperationDeleteDocumentationVersionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteDomainName.go b/service/apigateway/api_op_DeleteDomainName.go index 04c377e6e52..a0a670d8d2f 100644 --- a/service/apigateway/api_op_DeleteDomainName.go +++ b/service/apigateway/api_op_DeleteDomainName.go @@ -70,7 +70,10 @@ func addOperationDeleteDomainNameMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteGatewayResponse.go b/service/apigateway/api_op_DeleteGatewayResponse.go index f7bf81c56d8..e6d6cfd252b 100644 --- a/service/apigateway/api_op_DeleteGatewayResponse.go +++ b/service/apigateway/api_op_DeleteGatewayResponse.go @@ -124,7 +124,10 @@ func addOperationDeleteGatewayResponseMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteIntegration.go b/service/apigateway/api_op_DeleteIntegration.go index e81cc7092aa..0d26327ad3b 100644 --- a/service/apigateway/api_op_DeleteIntegration.go +++ b/service/apigateway/api_op_DeleteIntegration.go @@ -80,7 +80,10 @@ func addOperationDeleteIntegrationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteIntegrationResponse.go b/service/apigateway/api_op_DeleteIntegrationResponse.go index 26cbb0f4a4b..afd5e157453 100644 --- a/service/apigateway/api_op_DeleteIntegrationResponse.go +++ b/service/apigateway/api_op_DeleteIntegrationResponse.go @@ -86,7 +86,10 @@ func addOperationDeleteIntegrationResponseMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteMethod.go b/service/apigateway/api_op_DeleteMethod.go index e9cf5798fbf..f05fd676b17 100644 --- a/service/apigateway/api_op_DeleteMethod.go +++ b/service/apigateway/api_op_DeleteMethod.go @@ -80,7 +80,10 @@ func addOperationDeleteMethodMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteMethodResponse.go b/service/apigateway/api_op_DeleteMethodResponse.go index b1b766f7165..255ec400d8c 100644 --- a/service/apigateway/api_op_DeleteMethodResponse.go +++ b/service/apigateway/api_op_DeleteMethodResponse.go @@ -85,7 +85,10 @@ func addOperationDeleteMethodResponseMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteModel.go b/service/apigateway/api_op_DeleteModel.go index d2bee3c04cc..555551df0e9 100644 --- a/service/apigateway/api_op_DeleteModel.go +++ b/service/apigateway/api_op_DeleteModel.go @@ -75,7 +75,10 @@ func addOperationDeleteModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteRequestValidator.go b/service/apigateway/api_op_DeleteRequestValidator.go index a49a678a003..52b22d165fd 100644 --- a/service/apigateway/api_op_DeleteRequestValidator.go +++ b/service/apigateway/api_op_DeleteRequestValidator.go @@ -75,7 +75,10 @@ func addOperationDeleteRequestValidatorMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteResource.go b/service/apigateway/api_op_DeleteResource.go index dafd6ed0dae..9f91fe16388 100644 --- a/service/apigateway/api_op_DeleteResource.go +++ b/service/apigateway/api_op_DeleteResource.go @@ -75,7 +75,10 @@ func addOperationDeleteResourceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteRestApi.go b/service/apigateway/api_op_DeleteRestApi.go index 9f5b6a7f623..91a0f1ba21e 100644 --- a/service/apigateway/api_op_DeleteRestApi.go +++ b/service/apigateway/api_op_DeleteRestApi.go @@ -70,7 +70,10 @@ func addOperationDeleteRestApiMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteStage.go b/service/apigateway/api_op_DeleteStage.go index 6cbc863e82c..335f564c1d5 100644 --- a/service/apigateway/api_op_DeleteStage.go +++ b/service/apigateway/api_op_DeleteStage.go @@ -75,7 +75,10 @@ func addOperationDeleteStageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteUsagePlan.go b/service/apigateway/api_op_DeleteUsagePlan.go index 97c5232e09d..7489e66a1b8 100644 --- a/service/apigateway/api_op_DeleteUsagePlan.go +++ b/service/apigateway/api_op_DeleteUsagePlan.go @@ -70,7 +70,10 @@ func addOperationDeleteUsagePlanMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteUsagePlanKey.go b/service/apigateway/api_op_DeleteUsagePlanKey.go index 97c64bb5a04..afe6e85085b 100644 --- a/service/apigateway/api_op_DeleteUsagePlanKey.go +++ b/service/apigateway/api_op_DeleteUsagePlanKey.go @@ -78,7 +78,10 @@ func addOperationDeleteUsagePlanKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_DeleteVpcLink.go b/service/apigateway/api_op_DeleteVpcLink.go index 5e2ae469218..beb84767d74 100644 --- a/service/apigateway/api_op_DeleteVpcLink.go +++ b/service/apigateway/api_op_DeleteVpcLink.go @@ -71,7 +71,10 @@ func addOperationDeleteVpcLinkMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_FlushStageAuthorizersCache.go b/service/apigateway/api_op_FlushStageAuthorizersCache.go index dac377a1b95..b6c833d59c4 100644 --- a/service/apigateway/api_op_FlushStageAuthorizersCache.go +++ b/service/apigateway/api_op_FlushStageAuthorizersCache.go @@ -75,7 +75,10 @@ func addOperationFlushStageAuthorizersCacheMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_FlushStageCache.go b/service/apigateway/api_op_FlushStageCache.go index 23aa0e56a46..dc04f39d649 100644 --- a/service/apigateway/api_op_FlushStageCache.go +++ b/service/apigateway/api_op_FlushStageCache.go @@ -75,7 +75,10 @@ func addOperationFlushStageCacheMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GenerateClientCertificate.go b/service/apigateway/api_op_GenerateClientCertificate.go index a606185c871..7a054753e02 100644 --- a/service/apigateway/api_op_GenerateClientCertificate.go +++ b/service/apigateway/api_op_GenerateClientCertificate.go @@ -100,7 +100,10 @@ func addOperationGenerateClientCertificateMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetAccount.go b/service/apigateway/api_op_GetAccount.go index ceb8f3567b9..f50326da6e2 100644 --- a/service/apigateway/api_op_GetAccount.go +++ b/service/apigateway/api_op_GetAccount.go @@ -126,7 +126,10 @@ func addOperationGetAccountMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetApiKey.go b/service/apigateway/api_op_GetApiKey.go index 11b3f5bd3bc..69c388140c3 100644 --- a/service/apigateway/api_op_GetApiKey.go +++ b/service/apigateway/api_op_GetApiKey.go @@ -112,7 +112,10 @@ func addOperationGetApiKeyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetApiKeys.go b/service/apigateway/api_op_GetApiKeys.go index 59c7f6c0ee2..7cc177a0a58 100644 --- a/service/apigateway/api_op_GetApiKeys.go +++ b/service/apigateway/api_op_GetApiKeys.go @@ -99,7 +99,10 @@ func addOperationGetApiKeysMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetAuthorizer.go b/service/apigateway/api_op_GetAuthorizer.go index 36c271a4dbd..af43f05f5dc 100644 --- a/service/apigateway/api_op_GetAuthorizer.go +++ b/service/apigateway/api_op_GetAuthorizer.go @@ -163,7 +163,10 @@ func addOperationGetAuthorizerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetAuthorizers.go b/service/apigateway/api_op_GetAuthorizers.go index 65c3b8d3b92..1414ffda86a 100644 --- a/service/apigateway/api_op_GetAuthorizers.go +++ b/service/apigateway/api_op_GetAuthorizers.go @@ -91,7 +91,10 @@ func addOperationGetAuthorizersMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetBasePathMapping.go b/service/apigateway/api_op_GetBasePathMapping.go index 08c7eeef77d..783b0171015 100644 --- a/service/apigateway/api_op_GetBasePathMapping.go +++ b/service/apigateway/api_op_GetBasePathMapping.go @@ -94,7 +94,10 @@ func addOperationGetBasePathMappingMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetBasePathMappings.go b/service/apigateway/api_op_GetBasePathMappings.go index ac0140d4d59..bda4b4cd896 100644 --- a/service/apigateway/api_op_GetBasePathMappings.go +++ b/service/apigateway/api_op_GetBasePathMappings.go @@ -88,7 +88,10 @@ func addOperationGetBasePathMappingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetClientCertificate.go b/service/apigateway/api_op_GetClientCertificate.go index 5a5b809a2a9..eca85d0886f 100644 --- a/service/apigateway/api_op_GetClientCertificate.go +++ b/service/apigateway/api_op_GetClientCertificate.go @@ -97,7 +97,10 @@ func addOperationGetClientCertificateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetClientCertificates.go b/service/apigateway/api_op_GetClientCertificates.go index 755c6c0273e..c49193121d5 100644 --- a/service/apigateway/api_op_GetClientCertificates.go +++ b/service/apigateway/api_op_GetClientCertificates.go @@ -84,7 +84,10 @@ func addOperationGetClientCertificatesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetDeployment.go b/service/apigateway/api_op_GetDeployment.go index 751d4645768..61a3dcf43f3 100644 --- a/service/apigateway/api_op_GetDeployment.go +++ b/service/apigateway/api_op_GetDeployment.go @@ -111,7 +111,10 @@ func addOperationGetDeploymentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetDeployments.go b/service/apigateway/api_op_GetDeployments.go index 25f3b02d65c..6e80a277174 100644 --- a/service/apigateway/api_op_GetDeployments.go +++ b/service/apigateway/api_op_GetDeployments.go @@ -97,7 +97,10 @@ func addOperationGetDeploymentsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetDocumentationPart.go b/service/apigateway/api_op_GetDocumentationPart.go index 930973597aa..c1d1846493a 100644 --- a/service/apigateway/api_op_GetDocumentationPart.go +++ b/service/apigateway/api_op_GetDocumentationPart.go @@ -107,7 +107,10 @@ func addOperationGetDocumentationPartMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetDocumentationParts.go b/service/apigateway/api_op_GetDocumentationParts.go index b0aced8c63f..61b90b6876b 100644 --- a/service/apigateway/api_op_GetDocumentationParts.go +++ b/service/apigateway/api_op_GetDocumentationParts.go @@ -102,7 +102,10 @@ func addOperationGetDocumentationPartsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetDocumentationVersion.go b/service/apigateway/api_op_GetDocumentationVersion.go index 21d23d4fa65..9445d5dc33c 100644 --- a/service/apigateway/api_op_GetDocumentationVersion.go +++ b/service/apigateway/api_op_GetDocumentationVersion.go @@ -90,7 +90,10 @@ func addOperationGetDocumentationVersionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetDocumentationVersions.go b/service/apigateway/api_op_GetDocumentationVersions.go index e718b179c7c..85b4578f2fb 100644 --- a/service/apigateway/api_op_GetDocumentationVersions.go +++ b/service/apigateway/api_op_GetDocumentationVersions.go @@ -89,7 +89,10 @@ func addOperationGetDocumentationVersionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetDomainName.go b/service/apigateway/api_op_GetDomainName.go index a46c62ac0b1..1b7940a6e62 100644 --- a/service/apigateway/api_op_GetDomainName.go +++ b/service/apigateway/api_op_GetDomainName.go @@ -163,7 +163,10 @@ func addOperationGetDomainNameMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetDomainNames.go b/service/apigateway/api_op_GetDomainNames.go index 68811d78847..35c9be59a79 100644 --- a/service/apigateway/api_op_GetDomainNames.go +++ b/service/apigateway/api_op_GetDomainNames.go @@ -83,7 +83,10 @@ func addOperationGetDomainNamesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetExport.go b/service/apigateway/api_op_GetExport.go index f1a16df77a5..a1ac992fe48 100644 --- a/service/apigateway/api_op_GetExport.go +++ b/service/apigateway/api_op_GetExport.go @@ -107,7 +107,10 @@ func addOperationGetExportMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetGatewayResponse.go b/service/apigateway/api_op_GetGatewayResponse.go index 22a402fbc9a..7dfdbab99c2 100644 --- a/service/apigateway/api_op_GetGatewayResponse.go +++ b/service/apigateway/api_op_GetGatewayResponse.go @@ -233,7 +233,10 @@ func addOperationGetGatewayResponseMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetGatewayResponses.go b/service/apigateway/api_op_GetGatewayResponses.go index c10fe183353..4921f30d915 100644 --- a/service/apigateway/api_op_GetGatewayResponses.go +++ b/service/apigateway/api_op_GetGatewayResponses.go @@ -307,7 +307,10 @@ func addOperationGetGatewayResponsesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetIntegration.go b/service/apigateway/api_op_GetIntegration.go index 1f9f902a675..5af6d3599c1 100644 --- a/service/apigateway/api_op_GetIntegration.go +++ b/service/apigateway/api_op_GetIntegration.go @@ -277,7 +277,10 @@ func addOperationGetIntegrationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetIntegrationResponse.go b/service/apigateway/api_op_GetIntegrationResponse.go index 1525325caac..7e232b7f18f 100644 --- a/service/apigateway/api_op_GetIntegrationResponse.go +++ b/service/apigateway/api_op_GetIntegrationResponse.go @@ -137,7 +137,10 @@ func addOperationGetIntegrationResponseMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetMethod.go b/service/apigateway/api_op_GetMethod.go index 22cf109eb5d..a5c9d7fb6b4 100644 --- a/service/apigateway/api_op_GetMethod.go +++ b/service/apigateway/api_op_GetMethod.go @@ -311,7 +311,10 @@ func addOperationGetMethodMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetMethodResponse.go b/service/apigateway/api_op_GetMethodResponse.go index 47eb1de1ac8..99ccb955a9b 100644 --- a/service/apigateway/api_op_GetMethodResponse.go +++ b/service/apigateway/api_op_GetMethodResponse.go @@ -140,7 +140,10 @@ func addOperationGetMethodResponseMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetModel.go b/service/apigateway/api_op_GetModel.go index 930f8e245a2..073fa6a2085 100644 --- a/service/apigateway/api_op_GetModel.go +++ b/service/apigateway/api_op_GetModel.go @@ -109,7 +109,10 @@ func addOperationGetModelMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetModelTemplate.go b/service/apigateway/api_op_GetModelTemplate.go index 8c1e4fc7bc9..1557e81e57a 100644 --- a/service/apigateway/api_op_GetModelTemplate.go +++ b/service/apigateway/api_op_GetModelTemplate.go @@ -84,7 +84,10 @@ func addOperationGetModelTemplateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetModels.go b/service/apigateway/api_op_GetModels.go index 7045c01b14c..4048523d48d 100644 --- a/service/apigateway/api_op_GetModels.go +++ b/service/apigateway/api_op_GetModels.go @@ -89,7 +89,10 @@ func addOperationGetModelsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetRequestValidator.go b/service/apigateway/api_op_GetRequestValidator.go index 00ed0935187..7bd19eb5c57 100644 --- a/service/apigateway/api_op_GetRequestValidator.go +++ b/service/apigateway/api_op_GetRequestValidator.go @@ -98,7 +98,10 @@ func addOperationGetRequestValidatorMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetRequestValidators.go b/service/apigateway/api_op_GetRequestValidators.go index d1fe375ab8c..4d3d422f0ab 100644 --- a/service/apigateway/api_op_GetRequestValidators.go +++ b/service/apigateway/api_op_GetRequestValidators.go @@ -91,7 +91,10 @@ func addOperationGetRequestValidatorsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetResource.go b/service/apigateway/api_op_GetResource.go index 5523d399208..491ac5b6bc3 100644 --- a/service/apigateway/api_op_GetResource.go +++ b/service/apigateway/api_op_GetResource.go @@ -180,7 +180,10 @@ func addOperationGetResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetResources.go b/service/apigateway/api_op_GetResources.go index 83e99bb6d20..c6e61a7a35d 100644 --- a/service/apigateway/api_op_GetResources.go +++ b/service/apigateway/api_op_GetResources.go @@ -96,7 +96,10 @@ func addOperationGetResourcesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetRestApi.go b/service/apigateway/api_op_GetRestApi.go index 886ab9bc503..7c256163e1a 100644 --- a/service/apigateway/api_op_GetRestApi.go +++ b/service/apigateway/api_op_GetRestApi.go @@ -134,7 +134,10 @@ func addOperationGetRestApiMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetRestApis.go b/service/apigateway/api_op_GetRestApis.go index 5a00efe3804..4ce8e1a948a 100644 --- a/service/apigateway/api_op_GetRestApis.go +++ b/service/apigateway/api_op_GetRestApis.go @@ -85,7 +85,10 @@ func addOperationGetRestApisMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetSdk.go b/service/apigateway/api_op_GetSdk.go index 59686bd67bf..e195c1d9e64 100644 --- a/service/apigateway/api_op_GetSdk.go +++ b/service/apigateway/api_op_GetSdk.go @@ -99,7 +99,10 @@ func addOperationGetSdkMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetSdkType.go b/service/apigateway/api_op_GetSdkType.go index cdcc2a9de64..3ec28a4f336 100644 --- a/service/apigateway/api_op_GetSdkType.go +++ b/service/apigateway/api_op_GetSdkType.go @@ -84,7 +84,10 @@ func addOperationGetSdkTypeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetSdkTypes.go b/service/apigateway/api_op_GetSdkTypes.go index b0c8ecce002..8ed1307a447 100644 --- a/service/apigateway/api_op_GetSdkTypes.go +++ b/service/apigateway/api_op_GetSdkTypes.go @@ -77,7 +77,10 @@ func addOperationGetSdkTypesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetStage.go b/service/apigateway/api_op_GetStage.go index b8ce32071fd..46e94d81481 100644 --- a/service/apigateway/api_op_GetStage.go +++ b/service/apigateway/api_op_GetStage.go @@ -140,7 +140,10 @@ func addOperationGetStageMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetStages.go b/service/apigateway/api_op_GetStages.go index 07cce02f93c..a6dc9c1e82b 100644 --- a/service/apigateway/api_op_GetStages.go +++ b/service/apigateway/api_op_GetStages.go @@ -81,7 +81,10 @@ func addOperationGetStagesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetTags.go b/service/apigateway/api_op_GetTags.go index 8286e784e3b..d6de9bc5d3e 100644 --- a/service/apigateway/api_op_GetTags.go +++ b/service/apigateway/api_op_GetTags.go @@ -83,7 +83,10 @@ func addOperationGetTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetUsage.go b/service/apigateway/api_op_GetUsage.go index 2cccf75e139..d83de86e8b5 100644 --- a/service/apigateway/api_op_GetUsage.go +++ b/service/apigateway/api_op_GetUsage.go @@ -116,7 +116,10 @@ func addOperationGetUsageMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetUsagePlan.go b/service/apigateway/api_op_GetUsagePlan.go index 5bdc76183ca..a81ebcc7dc8 100644 --- a/service/apigateway/api_op_GetUsagePlan.go +++ b/service/apigateway/api_op_GetUsagePlan.go @@ -102,7 +102,10 @@ func addOperationGetUsagePlanMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetUsagePlanKey.go b/service/apigateway/api_op_GetUsagePlanKey.go index b1a6026c617..1bc1207ce20 100644 --- a/service/apigateway/api_op_GetUsagePlanKey.go +++ b/service/apigateway/api_op_GetUsagePlanKey.go @@ -95,7 +95,10 @@ func addOperationGetUsagePlanKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetUsagePlanKeys.go b/service/apigateway/api_op_GetUsagePlanKeys.go index b2e5f223377..6f03aa500fb 100644 --- a/service/apigateway/api_op_GetUsagePlanKeys.go +++ b/service/apigateway/api_op_GetUsagePlanKeys.go @@ -97,7 +97,10 @@ func addOperationGetUsagePlanKeysMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetUsagePlans.go b/service/apigateway/api_op_GetUsagePlans.go index 5286dd6df7c..790ae994749 100644 --- a/service/apigateway/api_op_GetUsagePlans.go +++ b/service/apigateway/api_op_GetUsagePlans.go @@ -87,7 +87,10 @@ func addOperationGetUsagePlansMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetVpcLink.go b/service/apigateway/api_op_GetVpcLink.go index 55458f0f0e9..2ca2e64b0a5 100644 --- a/service/apigateway/api_op_GetVpcLink.go +++ b/service/apigateway/api_op_GetVpcLink.go @@ -106,7 +106,10 @@ func addOperationGetVpcLinkMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_GetVpcLinks.go b/service/apigateway/api_op_GetVpcLinks.go index 8914e0dce94..56876637d04 100644 --- a/service/apigateway/api_op_GetVpcLinks.go +++ b/service/apigateway/api_op_GetVpcLinks.go @@ -86,7 +86,10 @@ func addOperationGetVpcLinksMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_ImportApiKeys.go b/service/apigateway/api_op_ImportApiKeys.go index 14b07815b6a..44a8a4187d5 100644 --- a/service/apigateway/api_op_ImportApiKeys.go +++ b/service/apigateway/api_op_ImportApiKeys.go @@ -85,7 +85,10 @@ func addOperationImportApiKeysMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_ImportDocumentationParts.go b/service/apigateway/api_op_ImportDocumentationParts.go index 42b52879f49..e5658e462ea 100644 --- a/service/apigateway/api_op_ImportDocumentationParts.go +++ b/service/apigateway/api_op_ImportDocumentationParts.go @@ -93,7 +93,10 @@ func addOperationImportDocumentationPartsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_ImportRestApi.go b/service/apigateway/api_op_ImportRestApi.go index e46b7ea9d71..b7aec7f4e1b 100644 --- a/service/apigateway/api_op_ImportRestApi.go +++ b/service/apigateway/api_op_ImportRestApi.go @@ -151,7 +151,10 @@ func addOperationImportRestApiMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_PutGatewayResponse.go b/service/apigateway/api_op_PutGatewayResponse.go index 2ad14e6f4bf..8593764d2d9 100644 --- a/service/apigateway/api_op_PutGatewayResponse.go +++ b/service/apigateway/api_op_PutGatewayResponse.go @@ -246,7 +246,10 @@ func addOperationPutGatewayResponseMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_PutIntegration.go b/service/apigateway/api_op_PutIntegration.go index eb07b7d7890..94960c943ab 100644 --- a/service/apigateway/api_op_PutIntegration.go +++ b/service/apigateway/api_op_PutIntegration.go @@ -394,7 +394,10 @@ func addOperationPutIntegrationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_PutIntegrationResponse.go b/service/apigateway/api_op_PutIntegrationResponse.go index 6112f28597f..ccde07c7637 100644 --- a/service/apigateway/api_op_PutIntegrationResponse.go +++ b/service/apigateway/api_op_PutIntegrationResponse.go @@ -172,7 +172,10 @@ func addOperationPutIntegrationResponseMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_PutMethod.go b/service/apigateway/api_op_PutMethod.go index 2c14346dcbb..b02d5849763 100644 --- a/service/apigateway/api_op_PutMethod.go +++ b/service/apigateway/api_op_PutMethod.go @@ -359,7 +359,10 @@ func addOperationPutMethodMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_PutMethodResponse.go b/service/apigateway/api_op_PutMethodResponse.go index 1effd387173..bfaa869a331 100644 --- a/service/apigateway/api_op_PutMethodResponse.go +++ b/service/apigateway/api_op_PutMethodResponse.go @@ -159,7 +159,10 @@ func addOperationPutMethodResponseMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_PutRestApi.go b/service/apigateway/api_op_PutRestApi.go index eadec9244e0..3f6f5d4a76b 100644 --- a/service/apigateway/api_op_PutRestApi.go +++ b/service/apigateway/api_op_PutRestApi.go @@ -152,7 +152,10 @@ func addOperationPutRestApiMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_TagResource.go b/service/apigateway/api_op_TagResource.go index d07d1212040..b9efe642fce 100644 --- a/service/apigateway/api_op_TagResource.go +++ b/service/apigateway/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_TestInvokeAuthorizer.go b/service/apigateway/api_op_TestInvokeAuthorizer.go index 3eb0beafd8c..a78d25fe9d0 100644 --- a/service/apigateway/api_op_TestInvokeAuthorizer.go +++ b/service/apigateway/api_op_TestInvokeAuthorizer.go @@ -128,7 +128,10 @@ func addOperationTestInvokeAuthorizerMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_TestInvokeMethod.go b/service/apigateway/api_op_TestInvokeMethod.go index 36f35fa1378..b5aed2efb7a 100644 --- a/service/apigateway/api_op_TestInvokeMethod.go +++ b/service/apigateway/api_op_TestInvokeMethod.go @@ -126,7 +126,10 @@ func addOperationTestInvokeMethodMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UntagResource.go b/service/apigateway/api_op_UntagResource.go index 4e862df84c0..621e2be8259 100644 --- a/service/apigateway/api_op_UntagResource.go +++ b/service/apigateway/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateAccount.go b/service/apigateway/api_op_UpdateAccount.go index 0391530961a..e41a4f1c0b1 100644 --- a/service/apigateway/api_op_UpdateAccount.go +++ b/service/apigateway/api_op_UpdateAccount.go @@ -130,7 +130,10 @@ func addOperationUpdateAccountMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateApiKey.go b/service/apigateway/api_op_UpdateApiKey.go index 0480d795630..6ff20397702 100644 --- a/service/apigateway/api_op_UpdateApiKey.go +++ b/service/apigateway/api_op_UpdateApiKey.go @@ -113,7 +113,10 @@ func addOperationUpdateApiKeyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateAuthorizer.go b/service/apigateway/api_op_UpdateAuthorizer.go index e002de37f7d..8eda35a5e0a 100644 --- a/service/apigateway/api_op_UpdateAuthorizer.go +++ b/service/apigateway/api_op_UpdateAuthorizer.go @@ -167,7 +167,10 @@ func addOperationUpdateAuthorizerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateBasePathMapping.go b/service/apigateway/api_op_UpdateBasePathMapping.go index 9a4637c243f..43eedebcbf5 100644 --- a/service/apigateway/api_op_UpdateBasePathMapping.go +++ b/service/apigateway/api_op_UpdateBasePathMapping.go @@ -97,7 +97,10 @@ func addOperationUpdateBasePathMappingMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateClientCertificate.go b/service/apigateway/api_op_UpdateClientCertificate.go index 62af8675c72..12b2693d872 100644 --- a/service/apigateway/api_op_UpdateClientCertificate.go +++ b/service/apigateway/api_op_UpdateClientCertificate.go @@ -102,7 +102,10 @@ func addOperationUpdateClientCertificateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateDeployment.go b/service/apigateway/api_op_UpdateDeployment.go index 11142813479..0467d8daafd 100644 --- a/service/apigateway/api_op_UpdateDeployment.go +++ b/service/apigateway/api_op_UpdateDeployment.go @@ -105,7 +105,10 @@ func addOperationUpdateDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateDocumentationPart.go b/service/apigateway/api_op_UpdateDocumentationPart.go index 7d571747d43..793f99b8856 100644 --- a/service/apigateway/api_op_UpdateDocumentationPart.go +++ b/service/apigateway/api_op_UpdateDocumentationPart.go @@ -111,7 +111,10 @@ func addOperationUpdateDocumentationPartMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateDocumentationVersion.go b/service/apigateway/api_op_UpdateDocumentationVersion.go index f2a3ccf248e..a0b5f07115f 100644 --- a/service/apigateway/api_op_UpdateDocumentationVersion.go +++ b/service/apigateway/api_op_UpdateDocumentationVersion.go @@ -95,7 +95,10 @@ func addOperationUpdateDocumentationVersionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateDomainName.go b/service/apigateway/api_op_UpdateDomainName.go index 2e710bb2d4e..fa194690e0b 100644 --- a/service/apigateway/api_op_UpdateDomainName.go +++ b/service/apigateway/api_op_UpdateDomainName.go @@ -166,7 +166,10 @@ func addOperationUpdateDomainNameMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateGatewayResponse.go b/service/apigateway/api_op_UpdateGatewayResponse.go index 0e3cbd823b6..a7f7a717e79 100644 --- a/service/apigateway/api_op_UpdateGatewayResponse.go +++ b/service/apigateway/api_op_UpdateGatewayResponse.go @@ -237,7 +237,10 @@ func addOperationUpdateGatewayResponseMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateIntegration.go b/service/apigateway/api_op_UpdateIntegration.go index 83763fc45c3..41d91d259a0 100644 --- a/service/apigateway/api_op_UpdateIntegration.go +++ b/service/apigateway/api_op_UpdateIntegration.go @@ -281,7 +281,10 @@ func addOperationUpdateIntegrationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateIntegrationResponse.go b/service/apigateway/api_op_UpdateIntegrationResponse.go index 4362044daef..156a65bd3b9 100644 --- a/service/apigateway/api_op_UpdateIntegrationResponse.go +++ b/service/apigateway/api_op_UpdateIntegrationResponse.go @@ -142,7 +142,10 @@ func addOperationUpdateIntegrationResponseMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateMethod.go b/service/apigateway/api_op_UpdateMethod.go index 13a30024f07..74850c02cd4 100644 --- a/service/apigateway/api_op_UpdateMethod.go +++ b/service/apigateway/api_op_UpdateMethod.go @@ -315,7 +315,10 @@ func addOperationUpdateMethodMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateMethodResponse.go b/service/apigateway/api_op_UpdateMethodResponse.go index 9f7884395e9..3109a735e4b 100644 --- a/service/apigateway/api_op_UpdateMethodResponse.go +++ b/service/apigateway/api_op_UpdateMethodResponse.go @@ -145,7 +145,10 @@ func addOperationUpdateMethodResponseMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateModel.go b/service/apigateway/api_op_UpdateModel.go index 4e2916d953a..dd7677915c2 100644 --- a/service/apigateway/api_op_UpdateModel.go +++ b/service/apigateway/api_op_UpdateModel.go @@ -109,7 +109,10 @@ func addOperationUpdateModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateRequestValidator.go b/service/apigateway/api_op_UpdateRequestValidator.go index e2c6629313d..57297b21802 100644 --- a/service/apigateway/api_op_UpdateRequestValidator.go +++ b/service/apigateway/api_op_UpdateRequestValidator.go @@ -103,7 +103,10 @@ func addOperationUpdateRequestValidatorMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateResource.go b/service/apigateway/api_op_UpdateResource.go index ef2a1c7d63c..b87e29884a3 100644 --- a/service/apigateway/api_op_UpdateResource.go +++ b/service/apigateway/api_op_UpdateResource.go @@ -176,7 +176,10 @@ func addOperationUpdateResourceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateRestApi.go b/service/apigateway/api_op_UpdateRestApi.go index e528106f738..1adf8b5104f 100644 --- a/service/apigateway/api_op_UpdateRestApi.go +++ b/service/apigateway/api_op_UpdateRestApi.go @@ -138,7 +138,10 @@ func addOperationUpdateRestApiMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateStage.go b/service/apigateway/api_op_UpdateStage.go index 80e385c79fe..00e47a188f9 100644 --- a/service/apigateway/api_op_UpdateStage.go +++ b/service/apigateway/api_op_UpdateStage.go @@ -144,7 +144,10 @@ func addOperationUpdateStageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateUsage.go b/service/apigateway/api_op_UpdateUsage.go index 4bed6a1456b..eeeb0649230 100644 --- a/service/apigateway/api_op_UpdateUsage.go +++ b/service/apigateway/api_op_UpdateUsage.go @@ -107,7 +107,10 @@ func addOperationUpdateUsageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateUsagePlan.go b/service/apigateway/api_op_UpdateUsagePlan.go index 889333a038d..8ea87e1b37c 100644 --- a/service/apigateway/api_op_UpdateUsagePlan.go +++ b/service/apigateway/api_op_UpdateUsagePlan.go @@ -106,7 +106,10 @@ func addOperationUpdateUsagePlanMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigateway/api_op_UpdateVpcLink.go b/service/apigateway/api_op_UpdateVpcLink.go index 1d8cf215276..2b863e4b25e 100644 --- a/service/apigateway/api_op_UpdateVpcLink.go +++ b/service/apigateway/api_op_UpdateVpcLink.go @@ -110,7 +110,10 @@ func addOperationUpdateVpcLinkMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewaymanagementapi/api_op_DeleteConnection.go b/service/apigatewaymanagementapi/api_op_DeleteConnection.go index 03e5e1eaf84..f14953fb4b6 100644 --- a/service/apigatewaymanagementapi/api_op_DeleteConnection.go +++ b/service/apigatewaymanagementapi/api_op_DeleteConnection.go @@ -67,7 +67,10 @@ func addOperationDeleteConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewaymanagementapi/api_op_GetConnection.go b/service/apigatewaymanagementapi/api_op_GetConnection.go index bde1b682875..d37353518e0 100644 --- a/service/apigatewaymanagementapi/api_op_GetConnection.go +++ b/service/apigatewaymanagementapi/api_op_GetConnection.go @@ -78,7 +78,10 @@ func addOperationGetConnectionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewaymanagementapi/api_op_PostToConnection.go b/service/apigatewaymanagementapi/api_op_PostToConnection.go index 6e5ca54b2d3..4bda87e8ae2 100644 --- a/service/apigatewaymanagementapi/api_op_PostToConnection.go +++ b/service/apigatewaymanagementapi/api_op_PostToConnection.go @@ -74,7 +74,10 @@ func addOperationPostToConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateApi.go b/service/apigatewayv2/api_op_CreateApi.go index 305b941666a..9d5479ca619 100644 --- a/service/apigatewayv2/api_op_CreateApi.go +++ b/service/apigatewayv2/api_op_CreateApi.go @@ -203,7 +203,10 @@ func addOperationCreateApiMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateApiMapping.go b/service/apigatewayv2/api_op_CreateApiMapping.go index 9a53f2d0bb0..d88afd62610 100644 --- a/service/apigatewayv2/api_op_CreateApiMapping.go +++ b/service/apigatewayv2/api_op_CreateApiMapping.go @@ -96,7 +96,10 @@ func addOperationCreateApiMappingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateAuthorizer.go b/service/apigatewayv2/api_op_CreateAuthorizer.go index 54f76262004..1cb2271c51d 100644 --- a/service/apigatewayv2/api_op_CreateAuthorizer.go +++ b/service/apigatewayv2/api_op_CreateAuthorizer.go @@ -230,7 +230,10 @@ func addOperationCreateAuthorizerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateDeployment.go b/service/apigatewayv2/api_op_CreateDeployment.go index b1b3e3e1279..d12e5ce35a5 100644 --- a/service/apigatewayv2/api_op_CreateDeployment.go +++ b/service/apigatewayv2/api_op_CreateDeployment.go @@ -97,7 +97,10 @@ func addOperationCreateDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateDomainName.go b/service/apigatewayv2/api_op_CreateDomainName.go index 8dc1a692218..4d01faf8302 100644 --- a/service/apigatewayv2/api_op_CreateDomainName.go +++ b/service/apigatewayv2/api_op_CreateDomainName.go @@ -96,7 +96,10 @@ func addOperationCreateDomainNameMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateIntegration.go b/service/apigatewayv2/api_op_CreateIntegration.go index 8d03e293ca4..50e4fcf42b1 100644 --- a/service/apigatewayv2/api_op_CreateIntegration.go +++ b/service/apigatewayv2/api_op_CreateIntegration.go @@ -321,7 +321,10 @@ func addOperationCreateIntegrationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateIntegrationResponse.go b/service/apigatewayv2/api_op_CreateIntegrationResponse.go index 8e277114b61..aac5ab5eea8 100644 --- a/service/apigatewayv2/api_op_CreateIntegrationResponse.go +++ b/service/apigatewayv2/api_op_CreateIntegrationResponse.go @@ -150,7 +150,10 @@ func addOperationCreateIntegrationResponseMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateModel.go b/service/apigatewayv2/api_op_CreateModel.go index f59de8db1d8..eb5dde3df57 100644 --- a/service/apigatewayv2/api_op_CreateModel.go +++ b/service/apigatewayv2/api_op_CreateModel.go @@ -104,7 +104,10 @@ func addOperationCreateModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateRoute.go b/service/apigatewayv2/api_op_CreateRoute.go index 3bcec4ee3f4..975c49ad7a2 100644 --- a/service/apigatewayv2/api_op_CreateRoute.go +++ b/service/apigatewayv2/api_op_CreateRoute.go @@ -170,7 +170,10 @@ func addOperationCreateRouteMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateRouteResponse.go b/service/apigatewayv2/api_op_CreateRouteResponse.go index 74684d3f238..06fd90b4d7a 100644 --- a/service/apigatewayv2/api_op_CreateRouteResponse.go +++ b/service/apigatewayv2/api_op_CreateRouteResponse.go @@ -108,7 +108,10 @@ func addOperationCreateRouteResponseMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateStage.go b/service/apigatewayv2/api_op_CreateStage.go index cdd786d4d4d..7d14ef3ac09 100644 --- a/service/apigatewayv2/api_op_CreateStage.go +++ b/service/apigatewayv2/api_op_CreateStage.go @@ -159,7 +159,10 @@ func addOperationCreateStageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_CreateVpcLink.go b/service/apigatewayv2/api_op_CreateVpcLink.go index 5374424fb6c..c477fa2e9af 100644 --- a/service/apigatewayv2/api_op_CreateVpcLink.go +++ b/service/apigatewayv2/api_op_CreateVpcLink.go @@ -111,7 +111,10 @@ func addOperationCreateVpcLinkMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteAccessLogSettings.go b/service/apigatewayv2/api_op_DeleteAccessLogSettings.go index b9a964064c9..bc805c946da 100644 --- a/service/apigatewayv2/api_op_DeleteAccessLogSettings.go +++ b/service/apigatewayv2/api_op_DeleteAccessLogSettings.go @@ -76,7 +76,10 @@ func addOperationDeleteAccessLogSettingsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteApi.go b/service/apigatewayv2/api_op_DeleteApi.go index b87d6842f92..6513c3e6481 100644 --- a/service/apigatewayv2/api_op_DeleteApi.go +++ b/service/apigatewayv2/api_op_DeleteApi.go @@ -69,7 +69,10 @@ func addOperationDeleteApiMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteApiMapping.go b/service/apigatewayv2/api_op_DeleteApiMapping.go index 9a66cd58d22..96f3ab54087 100644 --- a/service/apigatewayv2/api_op_DeleteApiMapping.go +++ b/service/apigatewayv2/api_op_DeleteApiMapping.go @@ -74,7 +74,10 @@ func addOperationDeleteApiMappingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteAuthorizer.go b/service/apigatewayv2/api_op_DeleteAuthorizer.go index 23f384132e1..a1b25c737bc 100644 --- a/service/apigatewayv2/api_op_DeleteAuthorizer.go +++ b/service/apigatewayv2/api_op_DeleteAuthorizer.go @@ -74,7 +74,10 @@ func addOperationDeleteAuthorizerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteCorsConfiguration.go b/service/apigatewayv2/api_op_DeleteCorsConfiguration.go index 4bbac95af91..eed3c57b7a0 100644 --- a/service/apigatewayv2/api_op_DeleteCorsConfiguration.go +++ b/service/apigatewayv2/api_op_DeleteCorsConfiguration.go @@ -69,7 +69,10 @@ func addOperationDeleteCorsConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteDeployment.go b/service/apigatewayv2/api_op_DeleteDeployment.go index 5241c0b8f05..e8e23f2d036 100644 --- a/service/apigatewayv2/api_op_DeleteDeployment.go +++ b/service/apigatewayv2/api_op_DeleteDeployment.go @@ -74,7 +74,10 @@ func addOperationDeleteDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteDomainName.go b/service/apigatewayv2/api_op_DeleteDomainName.go index f3d437dfba3..355569958b5 100644 --- a/service/apigatewayv2/api_op_DeleteDomainName.go +++ b/service/apigatewayv2/api_op_DeleteDomainName.go @@ -69,7 +69,10 @@ func addOperationDeleteDomainNameMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteIntegration.go b/service/apigatewayv2/api_op_DeleteIntegration.go index 05d09cc07ff..7d8292c8195 100644 --- a/service/apigatewayv2/api_op_DeleteIntegration.go +++ b/service/apigatewayv2/api_op_DeleteIntegration.go @@ -74,7 +74,10 @@ func addOperationDeleteIntegrationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteIntegrationResponse.go b/service/apigatewayv2/api_op_DeleteIntegrationResponse.go index cdadf014352..68b94092cb3 100644 --- a/service/apigatewayv2/api_op_DeleteIntegrationResponse.go +++ b/service/apigatewayv2/api_op_DeleteIntegrationResponse.go @@ -79,7 +79,10 @@ func addOperationDeleteIntegrationResponseMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteModel.go b/service/apigatewayv2/api_op_DeleteModel.go index fef13041630..807213978bb 100644 --- a/service/apigatewayv2/api_op_DeleteModel.go +++ b/service/apigatewayv2/api_op_DeleteModel.go @@ -74,7 +74,10 @@ func addOperationDeleteModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteRoute.go b/service/apigatewayv2/api_op_DeleteRoute.go index 4911ce68ec8..dc0d841f544 100644 --- a/service/apigatewayv2/api_op_DeleteRoute.go +++ b/service/apigatewayv2/api_op_DeleteRoute.go @@ -74,7 +74,10 @@ func addOperationDeleteRouteMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go b/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go index 62c3e5a409f..d6d62edb7f6 100644 --- a/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go +++ b/service/apigatewayv2/api_op_DeleteRouteRequestParameter.go @@ -79,7 +79,10 @@ func addOperationDeleteRouteRequestParameterMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteRouteResponse.go b/service/apigatewayv2/api_op_DeleteRouteResponse.go index b451983e3c1..df372550159 100644 --- a/service/apigatewayv2/api_op_DeleteRouteResponse.go +++ b/service/apigatewayv2/api_op_DeleteRouteResponse.go @@ -79,7 +79,10 @@ func addOperationDeleteRouteResponseMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteRouteSettings.go b/service/apigatewayv2/api_op_DeleteRouteSettings.go index bb3971ceb99..661119b9468 100644 --- a/service/apigatewayv2/api_op_DeleteRouteSettings.go +++ b/service/apigatewayv2/api_op_DeleteRouteSettings.go @@ -80,7 +80,10 @@ func addOperationDeleteRouteSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteStage.go b/service/apigatewayv2/api_op_DeleteStage.go index 5b6aa505070..5a2e890a5cc 100644 --- a/service/apigatewayv2/api_op_DeleteStage.go +++ b/service/apigatewayv2/api_op_DeleteStage.go @@ -75,7 +75,10 @@ func addOperationDeleteStageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_DeleteVpcLink.go b/service/apigatewayv2/api_op_DeleteVpcLink.go index 44199167a40..06f2071860a 100644 --- a/service/apigatewayv2/api_op_DeleteVpcLink.go +++ b/service/apigatewayv2/api_op_DeleteVpcLink.go @@ -69,7 +69,10 @@ func addOperationDeleteVpcLinkMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_ExportApi.go b/service/apigatewayv2/api_op_ExportApi.go index a80d83e0ca3..ca4ce38db85 100644 --- a/service/apigatewayv2/api_op_ExportApi.go +++ b/service/apigatewayv2/api_op_ExportApi.go @@ -98,7 +98,10 @@ func addOperationExportApiMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetApi.go b/service/apigatewayv2/api_op_GetApi.go index f1458bc996a..dc3b4ccc408 100644 --- a/service/apigatewayv2/api_op_GetApi.go +++ b/service/apigatewayv2/api_op_GetApi.go @@ -137,7 +137,10 @@ func addOperationGetApiMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetApiMapping.go b/service/apigatewayv2/api_op_GetApiMapping.go index fa09aa726d1..61698f1c6ba 100644 --- a/service/apigatewayv2/api_op_GetApiMapping.go +++ b/service/apigatewayv2/api_op_GetApiMapping.go @@ -87,7 +87,10 @@ func addOperationGetApiMappingMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetApiMappings.go b/service/apigatewayv2/api_op_GetApiMappings.go index 877a11b730e..d09832c2f3e 100644 --- a/service/apigatewayv2/api_op_GetApiMappings.go +++ b/service/apigatewayv2/api_op_GetApiMappings.go @@ -85,7 +85,10 @@ func addOperationGetApiMappingsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetApis.go b/service/apigatewayv2/api_op_GetApis.go index e5c69fbafe0..2caa346b789 100644 --- a/service/apigatewayv2/api_op_GetApis.go +++ b/service/apigatewayv2/api_op_GetApis.go @@ -80,7 +80,10 @@ func addOperationGetApisMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetAuthorizer.go b/service/apigatewayv2/api_op_GetAuthorizer.go index 2b754f2abdc..6eaf12ef761 100644 --- a/service/apigatewayv2/api_op_GetAuthorizer.go +++ b/service/apigatewayv2/api_op_GetAuthorizer.go @@ -153,7 +153,10 @@ func addOperationGetAuthorizerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetAuthorizers.go b/service/apigatewayv2/api_op_GetAuthorizers.go index 267f29ca06a..f000dc8d860 100644 --- a/service/apigatewayv2/api_op_GetAuthorizers.go +++ b/service/apigatewayv2/api_op_GetAuthorizers.go @@ -85,7 +85,10 @@ func addOperationGetAuthorizersMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetDeployment.go b/service/apigatewayv2/api_op_GetDeployment.go index c2138cf4747..77fe44cad91 100644 --- a/service/apigatewayv2/api_op_GetDeployment.go +++ b/service/apigatewayv2/api_op_GetDeployment.go @@ -95,7 +95,10 @@ func addOperationGetDeploymentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetDeployments.go b/service/apigatewayv2/api_op_GetDeployments.go index 600e9c2e430..5f45672fb2a 100644 --- a/service/apigatewayv2/api_op_GetDeployments.go +++ b/service/apigatewayv2/api_op_GetDeployments.go @@ -85,7 +85,10 @@ func addOperationGetDeploymentsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetDomainName.go b/service/apigatewayv2/api_op_GetDomainName.go index 5eb2115fbec..aaa8670bfd1 100644 --- a/service/apigatewayv2/api_op_GetDomainName.go +++ b/service/apigatewayv2/api_op_GetDomainName.go @@ -86,7 +86,10 @@ func addOperationGetDomainNameMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetDomainNames.go b/service/apigatewayv2/api_op_GetDomainNames.go index 729828d5b8a..3744ff104db 100644 --- a/service/apigatewayv2/api_op_GetDomainNames.go +++ b/service/apigatewayv2/api_op_GetDomainNames.go @@ -80,7 +80,10 @@ func addOperationGetDomainNamesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetIntegration.go b/service/apigatewayv2/api_op_GetIntegration.go index 843ca9c53e6..cc99f22351a 100644 --- a/service/apigatewayv2/api_op_GetIntegration.go +++ b/service/apigatewayv2/api_op_GetIntegration.go @@ -206,7 +206,10 @@ func addOperationGetIntegrationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetIntegrationResponse.go b/service/apigatewayv2/api_op_GetIntegrationResponse.go index 65bfbf1b378..2cd67a0c311 100644 --- a/service/apigatewayv2/api_op_GetIntegrationResponse.go +++ b/service/apigatewayv2/api_op_GetIntegrationResponse.go @@ -118,7 +118,10 @@ func addOperationGetIntegrationResponseMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetIntegrationResponses.go b/service/apigatewayv2/api_op_GetIntegrationResponses.go index d52d6c1c3c1..904a3b41fa2 100644 --- a/service/apigatewayv2/api_op_GetIntegrationResponses.go +++ b/service/apigatewayv2/api_op_GetIntegrationResponses.go @@ -90,7 +90,10 @@ func addOperationGetIntegrationResponsesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetIntegrations.go b/service/apigatewayv2/api_op_GetIntegrations.go index d5a5594abd2..43ee74ebeeb 100644 --- a/service/apigatewayv2/api_op_GetIntegrations.go +++ b/service/apigatewayv2/api_op_GetIntegrations.go @@ -85,7 +85,10 @@ func addOperationGetIntegrationsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetModel.go b/service/apigatewayv2/api_op_GetModel.go index 3b2d3f81f19..1b0045822f9 100644 --- a/service/apigatewayv2/api_op_GetModel.go +++ b/service/apigatewayv2/api_op_GetModel.go @@ -91,7 +91,10 @@ func addOperationGetModelMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetModelTemplate.go b/service/apigatewayv2/api_op_GetModelTemplate.go index 34a53ed6684..20e804c546c 100644 --- a/service/apigatewayv2/api_op_GetModelTemplate.go +++ b/service/apigatewayv2/api_op_GetModelTemplate.go @@ -78,7 +78,10 @@ func addOperationGetModelTemplateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetModels.go b/service/apigatewayv2/api_op_GetModels.go index 137886e070b..46b4b920b29 100644 --- a/service/apigatewayv2/api_op_GetModels.go +++ b/service/apigatewayv2/api_op_GetModels.go @@ -85,7 +85,10 @@ func addOperationGetModelsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetRoute.go b/service/apigatewayv2/api_op_GetRoute.go index d8b93912284..159da936f72 100644 --- a/service/apigatewayv2/api_op_GetRoute.go +++ b/service/apigatewayv2/api_op_GetRoute.go @@ -131,7 +131,10 @@ func addOperationGetRouteMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetRouteResponse.go b/service/apigatewayv2/api_op_GetRouteResponse.go index 0e0852c31f1..528e1c3a7fc 100644 --- a/service/apigatewayv2/api_op_GetRouteResponse.go +++ b/service/apigatewayv2/api_op_GetRouteResponse.go @@ -97,7 +97,10 @@ func addOperationGetRouteResponseMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetRouteResponses.go b/service/apigatewayv2/api_op_GetRouteResponses.go index 09730032555..34de19041d1 100644 --- a/service/apigatewayv2/api_op_GetRouteResponses.go +++ b/service/apigatewayv2/api_op_GetRouteResponses.go @@ -90,7 +90,10 @@ func addOperationGetRouteResponsesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetRoutes.go b/service/apigatewayv2/api_op_GetRoutes.go index 5a9818d05ab..156cc420895 100644 --- a/service/apigatewayv2/api_op_GetRoutes.go +++ b/service/apigatewayv2/api_op_GetRoutes.go @@ -85,7 +85,10 @@ func addOperationGetRoutesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetStage.go b/service/apigatewayv2/api_op_GetStage.go index bf42098bd14..bc70d1c576f 100644 --- a/service/apigatewayv2/api_op_GetStage.go +++ b/service/apigatewayv2/api_op_GetStage.go @@ -128,7 +128,10 @@ func addOperationGetStageMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetStages.go b/service/apigatewayv2/api_op_GetStages.go index bc81273a73f..983d02c7a7c 100644 --- a/service/apigatewayv2/api_op_GetStages.go +++ b/service/apigatewayv2/api_op_GetStages.go @@ -85,7 +85,10 @@ func addOperationGetStagesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetTags.go b/service/apigatewayv2/api_op_GetTags.go index e261044f152..3a683f9a1a9 100644 --- a/service/apigatewayv2/api_op_GetTags.go +++ b/service/apigatewayv2/api_op_GetTags.go @@ -73,7 +73,10 @@ func addOperationGetTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetVpcLink.go b/service/apigatewayv2/api_op_GetVpcLink.go index 85aebf462b8..1d8b52d31f1 100644 --- a/service/apigatewayv2/api_op_GetVpcLink.go +++ b/service/apigatewayv2/api_op_GetVpcLink.go @@ -99,7 +99,10 @@ func addOperationGetVpcLinkMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_GetVpcLinks.go b/service/apigatewayv2/api_op_GetVpcLinks.go index ec3c096cbfe..5778a4afa6b 100644 --- a/service/apigatewayv2/api_op_GetVpcLinks.go +++ b/service/apigatewayv2/api_op_GetVpcLinks.go @@ -80,7 +80,10 @@ func addOperationGetVpcLinksMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_ImportApi.go b/service/apigatewayv2/api_op_ImportApi.go index 1b6b1bf234a..a1f4f7fb295 100644 --- a/service/apigatewayv2/api_op_ImportApi.go +++ b/service/apigatewayv2/api_op_ImportApi.go @@ -149,7 +149,10 @@ func addOperationImportApiMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_ReimportApi.go b/service/apigatewayv2/api_op_ReimportApi.go index 8f22e270e10..c962b1cbc4a 100644 --- a/service/apigatewayv2/api_op_ReimportApi.go +++ b/service/apigatewayv2/api_op_ReimportApi.go @@ -154,7 +154,10 @@ func addOperationReimportApiMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_ResetAuthorizersCache.go b/service/apigatewayv2/api_op_ResetAuthorizersCache.go index de11af51b4d..8e50d7c4e88 100644 --- a/service/apigatewayv2/api_op_ResetAuthorizersCache.go +++ b/service/apigatewayv2/api_op_ResetAuthorizersCache.go @@ -75,7 +75,10 @@ func addOperationResetAuthorizersCacheMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_TagResource.go b/service/apigatewayv2/api_op_TagResource.go index 1afcbf29135..b1ae3fd8685 100644 --- a/service/apigatewayv2/api_op_TagResource.go +++ b/service/apigatewayv2/api_op_TagResource.go @@ -73,7 +73,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UntagResource.go b/service/apigatewayv2/api_op_UntagResource.go index cd170a4e087..13b8d0945f8 100644 --- a/service/apigatewayv2/api_op_UntagResource.go +++ b/service/apigatewayv2/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateApi.go b/service/apigatewayv2/api_op_UpdateApi.go index cfb80c66bcf..5c3309b8e6d 100644 --- a/service/apigatewayv2/api_op_UpdateApi.go +++ b/service/apigatewayv2/api_op_UpdateApi.go @@ -195,7 +195,10 @@ func addOperationUpdateApiMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateApiMapping.go b/service/apigatewayv2/api_op_UpdateApiMapping.go index 8c1a0445d87..0b86edc02d6 100644 --- a/service/apigatewayv2/api_op_UpdateApiMapping.go +++ b/service/apigatewayv2/api_op_UpdateApiMapping.go @@ -99,7 +99,10 @@ func addOperationUpdateApiMappingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateAuthorizer.go b/service/apigatewayv2/api_op_UpdateAuthorizer.go index 483307bfdec..9f986c0478c 100644 --- a/service/apigatewayv2/api_op_UpdateAuthorizer.go +++ b/service/apigatewayv2/api_op_UpdateAuthorizer.go @@ -229,7 +229,10 @@ func addOperationUpdateAuthorizerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateDeployment.go b/service/apigatewayv2/api_op_UpdateDeployment.go index 862465239ad..18b22339e60 100644 --- a/service/apigatewayv2/api_op_UpdateDeployment.go +++ b/service/apigatewayv2/api_op_UpdateDeployment.go @@ -99,7 +99,10 @@ func addOperationUpdateDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateDomainName.go b/service/apigatewayv2/api_op_UpdateDomainName.go index e7db224c811..bc6c7fab0fd 100644 --- a/service/apigatewayv2/api_op_UpdateDomainName.go +++ b/service/apigatewayv2/api_op_UpdateDomainName.go @@ -93,7 +93,10 @@ func addOperationUpdateDomainNameMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateIntegration.go b/service/apigatewayv2/api_op_UpdateIntegration.go index f7ab411fd5e..3c86c04b806 100644 --- a/service/apigatewayv2/api_op_UpdateIntegration.go +++ b/service/apigatewayv2/api_op_UpdateIntegration.go @@ -324,7 +324,10 @@ func addOperationUpdateIntegrationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateIntegrationResponse.go b/service/apigatewayv2/api_op_UpdateIntegrationResponse.go index 31d00fcf7f2..302d36c8c5d 100644 --- a/service/apigatewayv2/api_op_UpdateIntegrationResponse.go +++ b/service/apigatewayv2/api_op_UpdateIntegrationResponse.go @@ -154,7 +154,10 @@ func addOperationUpdateIntegrationResponseMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateModel.go b/service/apigatewayv2/api_op_UpdateModel.go index ef5c60bc76f..42177daf1ab 100644 --- a/service/apigatewayv2/api_op_UpdateModel.go +++ b/service/apigatewayv2/api_op_UpdateModel.go @@ -105,7 +105,10 @@ func addOperationUpdateModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateRoute.go b/service/apigatewayv2/api_op_UpdateRoute.go index 8d2be472346..1908af62bc6 100644 --- a/service/apigatewayv2/api_op_UpdateRoute.go +++ b/service/apigatewayv2/api_op_UpdateRoute.go @@ -173,7 +173,10 @@ func addOperationUpdateRouteMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateRouteResponse.go b/service/apigatewayv2/api_op_UpdateRouteResponse.go index c6a275f3db0..c72849d5b31 100644 --- a/service/apigatewayv2/api_op_UpdateRouteResponse.go +++ b/service/apigatewayv2/api_op_UpdateRouteResponse.go @@ -111,7 +111,10 @@ func addOperationUpdateRouteResponseMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateStage.go b/service/apigatewayv2/api_op_UpdateStage.go index ff8cd498e2b..8361c270117 100644 --- a/service/apigatewayv2/api_op_UpdateStage.go +++ b/service/apigatewayv2/api_op_UpdateStage.go @@ -157,7 +157,10 @@ func addOperationUpdateStageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/apigatewayv2/api_op_UpdateVpcLink.go b/service/apigatewayv2/api_op_UpdateVpcLink.go index 5ec8f3880d0..279599baba0 100644 --- a/service/apigatewayv2/api_op_UpdateVpcLink.go +++ b/service/apigatewayv2/api_op_UpdateVpcLink.go @@ -103,7 +103,10 @@ func addOperationUpdateVpcLinkMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_CreateApplication.go b/service/appconfig/api_op_CreateApplication.go index 2c58ed4c491..18c7d5dbb07 100644 --- a/service/appconfig/api_op_CreateApplication.go +++ b/service/appconfig/api_op_CreateApplication.go @@ -91,7 +91,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_CreateConfigurationProfile.go b/service/appconfig/api_op_CreateConfigurationProfile.go index bde8dad497b..847dff87a8a 100644 --- a/service/appconfig/api_op_CreateConfigurationProfile.go +++ b/service/appconfig/api_op_CreateConfigurationProfile.go @@ -141,7 +141,10 @@ func addOperationCreateConfigurationProfileMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_CreateDeploymentStrategy.go b/service/appconfig/api_op_CreateDeploymentStrategy.go index d4ab2e055a7..938c4c3494c 100644 --- a/service/appconfig/api_op_CreateDeploymentStrategy.go +++ b/service/appconfig/api_op_CreateDeploymentStrategy.go @@ -149,7 +149,10 @@ func addOperationCreateDeploymentStrategyMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_CreateEnvironment.go b/service/appconfig/api_op_CreateEnvironment.go index 33bc8f5863f..5ba868b66c4 100644 --- a/service/appconfig/api_op_CreateEnvironment.go +++ b/service/appconfig/api_op_CreateEnvironment.go @@ -112,7 +112,10 @@ func addOperationCreateEnvironmentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_CreateHostedConfigurationVersion.go b/service/appconfig/api_op_CreateHostedConfigurationVersion.go index f16574dc4a5..4f2472df5eb 100644 --- a/service/appconfig/api_op_CreateHostedConfigurationVersion.go +++ b/service/appconfig/api_op_CreateHostedConfigurationVersion.go @@ -116,7 +116,10 @@ func addOperationCreateHostedConfigurationVersionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_DeleteApplication.go b/service/appconfig/api_op_DeleteApplication.go index 0813e58155a..80388fe5ec2 100644 --- a/service/appconfig/api_op_DeleteApplication.go +++ b/service/appconfig/api_op_DeleteApplication.go @@ -70,7 +70,10 @@ func addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_DeleteConfigurationProfile.go b/service/appconfig/api_op_DeleteConfigurationProfile.go index 1c48381384f..5827e759091 100644 --- a/service/appconfig/api_op_DeleteConfigurationProfile.go +++ b/service/appconfig/api_op_DeleteConfigurationProfile.go @@ -75,7 +75,10 @@ func addOperationDeleteConfigurationProfileMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_DeleteDeploymentStrategy.go b/service/appconfig/api_op_DeleteDeploymentStrategy.go index 24aa991426b..1e90d0e5e98 100644 --- a/service/appconfig/api_op_DeleteDeploymentStrategy.go +++ b/service/appconfig/api_op_DeleteDeploymentStrategy.go @@ -70,7 +70,10 @@ func addOperationDeleteDeploymentStrategyMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_DeleteEnvironment.go b/service/appconfig/api_op_DeleteEnvironment.go index e02730e98b1..034037fbfa8 100644 --- a/service/appconfig/api_op_DeleteEnvironment.go +++ b/service/appconfig/api_op_DeleteEnvironment.go @@ -75,7 +75,10 @@ func addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_DeleteHostedConfigurationVersion.go b/service/appconfig/api_op_DeleteHostedConfigurationVersion.go index 5f3fb36a86c..e0e97a7cf31 100644 --- a/service/appconfig/api_op_DeleteHostedConfigurationVersion.go +++ b/service/appconfig/api_op_DeleteHostedConfigurationVersion.go @@ -79,7 +79,10 @@ func addOperationDeleteHostedConfigurationVersionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_GetApplication.go b/service/appconfig/api_op_GetApplication.go index 92eb6401b5f..2273b5be3f1 100644 --- a/service/appconfig/api_op_GetApplication.go +++ b/service/appconfig/api_op_GetApplication.go @@ -79,7 +79,10 @@ func addOperationGetApplicationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_GetConfiguration.go b/service/appconfig/api_op_GetConfiguration.go index 6788105b87c..e59ec3a8464 100644 --- a/service/appconfig/api_op_GetConfiguration.go +++ b/service/appconfig/api_op_GetConfiguration.go @@ -123,7 +123,10 @@ func addOperationGetConfigurationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_GetConfigurationProfile.go b/service/appconfig/api_op_GetConfigurationProfile.go index c44f4b8e312..86f51f01627 100644 --- a/service/appconfig/api_op_GetConfigurationProfile.go +++ b/service/appconfig/api_op_GetConfigurationProfile.go @@ -99,7 +99,10 @@ func addOperationGetConfigurationProfileMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_GetDeployment.go b/service/appconfig/api_op_GetDeployment.go index 01a8ec03bf9..3e0f10cf267 100644 --- a/service/appconfig/api_op_GetDeployment.go +++ b/service/appconfig/api_op_GetDeployment.go @@ -139,7 +139,10 @@ func addOperationGetDeploymentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_GetDeploymentStrategy.go b/service/appconfig/api_op_GetDeploymentStrategy.go index 72186a8b81b..cacf12ef3bb 100644 --- a/service/appconfig/api_op_GetDeploymentStrategy.go +++ b/service/appconfig/api_op_GetDeploymentStrategy.go @@ -101,7 +101,10 @@ func addOperationGetDeploymentStrategyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_GetEnvironment.go b/service/appconfig/api_op_GetEnvironment.go index c7ab00f2a80..ab74b7e8bb4 100644 --- a/service/appconfig/api_op_GetEnvironment.go +++ b/service/appconfig/api_op_GetEnvironment.go @@ -100,7 +100,10 @@ func addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_GetHostedConfigurationVersion.go b/service/appconfig/api_op_GetHostedConfigurationVersion.go index 4aba564e580..74cdaeff9ca 100644 --- a/service/appconfig/api_op_GetHostedConfigurationVersion.go +++ b/service/appconfig/api_op_GetHostedConfigurationVersion.go @@ -100,7 +100,10 @@ func addOperationGetHostedConfigurationVersionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_ListApplications.go b/service/appconfig/api_op_ListApplications.go index f9a71b707fe..799ff401f91 100644 --- a/service/appconfig/api_op_ListApplications.go +++ b/service/appconfig/api_op_ListApplications.go @@ -81,7 +81,10 @@ func addOperationListApplicationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_ListConfigurationProfiles.go b/service/appconfig/api_op_ListConfigurationProfiles.go index 1c25066d485..b9b8548d9b3 100644 --- a/service/appconfig/api_op_ListConfigurationProfiles.go +++ b/service/appconfig/api_op_ListConfigurationProfiles.go @@ -86,7 +86,10 @@ func addOperationListConfigurationProfilesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_ListDeploymentStrategies.go b/service/appconfig/api_op_ListDeploymentStrategies.go index bded16fa265..34018b6def2 100644 --- a/service/appconfig/api_op_ListDeploymentStrategies.go +++ b/service/appconfig/api_op_ListDeploymentStrategies.go @@ -81,7 +81,10 @@ func addOperationListDeploymentStrategiesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_ListDeployments.go b/service/appconfig/api_op_ListDeployments.go index 94c3d7de2c1..f09a4b32758 100644 --- a/service/appconfig/api_op_ListDeployments.go +++ b/service/appconfig/api_op_ListDeployments.go @@ -91,7 +91,10 @@ func addOperationListDeploymentsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_ListEnvironments.go b/service/appconfig/api_op_ListEnvironments.go index f35fecfc4a9..266f0dc644f 100644 --- a/service/appconfig/api_op_ListEnvironments.go +++ b/service/appconfig/api_op_ListEnvironments.go @@ -86,7 +86,10 @@ func addOperationListEnvironmentsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_ListHostedConfigurationVersions.go b/service/appconfig/api_op_ListHostedConfigurationVersions.go index 4cdc1aa4471..67fba31524d 100644 --- a/service/appconfig/api_op_ListHostedConfigurationVersions.go +++ b/service/appconfig/api_op_ListHostedConfigurationVersions.go @@ -92,7 +92,10 @@ func addOperationListHostedConfigurationVersionsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_ListTagsForResource.go b/service/appconfig/api_op_ListTagsForResource.go index 41c88b73d7f..7b031b084a8 100644 --- a/service/appconfig/api_op_ListTagsForResource.go +++ b/service/appconfig/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_StartDeployment.go b/service/appconfig/api_op_StartDeployment.go index 2d61f764503..f43173c0bed 100644 --- a/service/appconfig/api_op_StartDeployment.go +++ b/service/appconfig/api_op_StartDeployment.go @@ -157,7 +157,10 @@ func addOperationStartDeploymentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_StopDeployment.go b/service/appconfig/api_op_StopDeployment.go index 069bce166e9..27c345a82ad 100644 --- a/service/appconfig/api_op_StopDeployment.go +++ b/service/appconfig/api_op_StopDeployment.go @@ -140,7 +140,10 @@ func addOperationStopDeploymentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_TagResource.go b/service/appconfig/api_op_TagResource.go index 3bd440ea189..038606d6ea0 100644 --- a/service/appconfig/api_op_TagResource.go +++ b/service/appconfig/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_UntagResource.go b/service/appconfig/api_op_UntagResource.go index 751cd7f2b37..38d9f50fbd4 100644 --- a/service/appconfig/api_op_UntagResource.go +++ b/service/appconfig/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_UpdateApplication.go b/service/appconfig/api_op_UpdateApplication.go index 765b8050f73..01b6cb8d765 100644 --- a/service/appconfig/api_op_UpdateApplication.go +++ b/service/appconfig/api_op_UpdateApplication.go @@ -85,7 +85,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_UpdateConfigurationProfile.go b/service/appconfig/api_op_UpdateConfigurationProfile.go index 8aa0f577baa..faa1aac9de8 100644 --- a/service/appconfig/api_op_UpdateConfigurationProfile.go +++ b/service/appconfig/api_op_UpdateConfigurationProfile.go @@ -111,7 +111,10 @@ func addOperationUpdateConfigurationProfileMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_UpdateDeploymentStrategy.go b/service/appconfig/api_op_UpdateDeploymentStrategy.go index aa327b64e5e..fb7a0791cb7 100644 --- a/service/appconfig/api_op_UpdateDeploymentStrategy.go +++ b/service/appconfig/api_op_UpdateDeploymentStrategy.go @@ -131,7 +131,10 @@ func addOperationUpdateDeploymentStrategyMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_UpdateEnvironment.go b/service/appconfig/api_op_UpdateEnvironment.go index f11ad219ab9..18bf46229a5 100644 --- a/service/appconfig/api_op_UpdateEnvironment.go +++ b/service/appconfig/api_op_UpdateEnvironment.go @@ -104,7 +104,10 @@ func addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appconfig/api_op_ValidateConfiguration.go b/service/appconfig/api_op_ValidateConfiguration.go index d91c69e7a73..2d93d181416 100644 --- a/service/appconfig/api_op_ValidateConfiguration.go +++ b/service/appconfig/api_op_ValidateConfiguration.go @@ -79,7 +79,10 @@ func addOperationValidateConfigurationMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_CreateConnectorProfile.go b/service/appflow/api_op_CreateConnectorProfile.go index 3bb2a06a888..c6ac4960ba7 100644 --- a/service/appflow/api_op_CreateConnectorProfile.go +++ b/service/appflow/api_op_CreateConnectorProfile.go @@ -101,7 +101,10 @@ func addOperationCreateConnectorProfileMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_CreateFlow.go b/service/appflow/api_op_CreateFlow.go index afc1b331083..1b473beeda8 100644 --- a/service/appflow/api_op_CreateFlow.go +++ b/service/appflow/api_op_CreateFlow.go @@ -117,7 +117,10 @@ func addOperationCreateFlowMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_DeleteConnectorProfile.go b/service/appflow/api_op_DeleteConnectorProfile.go index 9daf72699f7..5a32c4682d7 100644 --- a/service/appflow/api_op_DeleteConnectorProfile.go +++ b/service/appflow/api_op_DeleteConnectorProfile.go @@ -74,7 +74,10 @@ func addOperationDeleteConnectorProfileMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_DeleteFlow.go b/service/appflow/api_op_DeleteFlow.go index 5d75546f9c2..6e323ae2976 100644 --- a/service/appflow/api_op_DeleteFlow.go +++ b/service/appflow/api_op_DeleteFlow.go @@ -76,7 +76,10 @@ func addOperationDeleteFlowMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_DescribeConnectorEntity.go b/service/appflow/api_op_DescribeConnectorEntity.go index cbd9fb2ac62..f3035f87e11 100644 --- a/service/appflow/api_op_DescribeConnectorEntity.go +++ b/service/appflow/api_op_DescribeConnectorEntity.go @@ -85,7 +85,10 @@ func addOperationDescribeConnectorEntityMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_DescribeConnectorProfiles.go b/service/appflow/api_op_DescribeConnectorProfiles.go index d71d239d6e9..34136983641 100644 --- a/service/appflow/api_op_DescribeConnectorProfiles.go +++ b/service/appflow/api_op_DescribeConnectorProfiles.go @@ -92,7 +92,10 @@ func addOperationDescribeConnectorProfilesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_DescribeConnectors.go b/service/appflow/api_op_DescribeConnectors.go index db3e836912d..b4751741146 100644 --- a/service/appflow/api_op_DescribeConnectors.go +++ b/service/appflow/api_op_DescribeConnectors.go @@ -83,7 +83,10 @@ func addOperationDescribeConnectorsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_DescribeFlow.go b/service/appflow/api_op_DescribeFlow.go index 449eb350f91..163b1dfb6ee 100644 --- a/service/appflow/api_op_DescribeFlow.go +++ b/service/appflow/api_op_DescribeFlow.go @@ -129,7 +129,10 @@ func addOperationDescribeFlowMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_DescribeFlowExecutionRecords.go b/service/appflow/api_op_DescribeFlowExecutionRecords.go index 43d44e2ca12..5922bcfafe4 100644 --- a/service/appflow/api_op_DescribeFlowExecutionRecords.go +++ b/service/appflow/api_op_DescribeFlowExecutionRecords.go @@ -86,7 +86,10 @@ func addOperationDescribeFlowExecutionRecordsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_ListConnectorEntities.go b/service/appflow/api_op_ListConnectorEntities.go index 220762aac52..8b37a39f3a7 100644 --- a/service/appflow/api_op_ListConnectorEntities.go +++ b/service/appflow/api_op_ListConnectorEntities.go @@ -90,7 +90,10 @@ func addOperationListConnectorEntitiesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_ListFlows.go b/service/appflow/api_op_ListFlows.go index e9685149073..6927eee4432 100644 --- a/service/appflow/api_op_ListFlows.go +++ b/service/appflow/api_op_ListFlows.go @@ -79,7 +79,10 @@ func addOperationListFlowsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_ListTagsForResource.go b/service/appflow/api_op_ListTagsForResource.go index 188aec99cef..aee8a5dab46 100644 --- a/service/appflow/api_op_ListTagsForResource.go +++ b/service/appflow/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_StartFlow.go b/service/appflow/api_op_StartFlow.go index 119feb924c4..699b238f26f 100644 --- a/service/appflow/api_op_StartFlow.go +++ b/service/appflow/api_op_StartFlow.go @@ -84,7 +84,10 @@ func addOperationStartFlowMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_StopFlow.go b/service/appflow/api_op_StopFlow.go index be9900747cc..e4b4595cd74 100644 --- a/service/appflow/api_op_StopFlow.go +++ b/service/appflow/api_op_StopFlow.go @@ -80,7 +80,10 @@ func addOperationStopFlowMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_TagResource.go b/service/appflow/api_op_TagResource.go index 5d45b9b0e80..749f2e7a7b2 100644 --- a/service/appflow/api_op_TagResource.go +++ b/service/appflow/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_UntagResource.go b/service/appflow/api_op_UntagResource.go index ae33832eda8..5b7bf6d5c88 100644 --- a/service/appflow/api_op_UntagResource.go +++ b/service/appflow/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_UpdateConnectorProfile.go b/service/appflow/api_op_UpdateConnectorProfile.go index b4228f0a47f..c6c957a97f9 100644 --- a/service/appflow/api_op_UpdateConnectorProfile.go +++ b/service/appflow/api_op_UpdateConnectorProfile.go @@ -85,7 +85,10 @@ func addOperationUpdateConnectorProfileMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appflow/api_op_UpdateFlow.go b/service/appflow/api_op_UpdateFlow.go index 6c3d19f9e10..f8ff2b29b86 100644 --- a/service/appflow/api_op_UpdateFlow.go +++ b/service/appflow/api_op_UpdateFlow.go @@ -99,7 +99,10 @@ func addOperationUpdateFlowMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appintegrations/api_op_CreateEventIntegration.go b/service/appintegrations/api_op_CreateEventIntegration.go index 7d2029f7edd..ed22c953e69 100644 --- a/service/appintegrations/api_op_CreateEventIntegration.go +++ b/service/appintegrations/api_op_CreateEventIntegration.go @@ -99,7 +99,10 @@ func addOperationCreateEventIntegrationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appintegrations/api_op_DeleteEventIntegration.go b/service/appintegrations/api_op_DeleteEventIntegration.go index 6df1e9a25cb..bd62fac20b2 100644 --- a/service/appintegrations/api_op_DeleteEventIntegration.go +++ b/service/appintegrations/api_op_DeleteEventIntegration.go @@ -71,7 +71,10 @@ func addOperationDeleteEventIntegrationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appintegrations/api_op_GetEventIntegration.go b/service/appintegrations/api_op_GetEventIntegration.go index cc8f9cc8c1c..27f43d88f2c 100644 --- a/service/appintegrations/api_op_GetEventIntegration.go +++ b/service/appintegrations/api_op_GetEventIntegration.go @@ -90,7 +90,10 @@ func addOperationGetEventIntegrationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appintegrations/api_op_ListEventIntegrationAssociations.go b/service/appintegrations/api_op_ListEventIntegrationAssociations.go index 6980d8702e5..658a6f2491a 100644 --- a/service/appintegrations/api_op_ListEventIntegrationAssociations.go +++ b/service/appintegrations/api_op_ListEventIntegrationAssociations.go @@ -86,7 +86,10 @@ func addOperationListEventIntegrationAssociationsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appintegrations/api_op_ListEventIntegrations.go b/service/appintegrations/api_op_ListEventIntegrations.go index 01fb5440b75..85ddb026ce0 100644 --- a/service/appintegrations/api_op_ListEventIntegrations.go +++ b/service/appintegrations/api_op_ListEventIntegrations.go @@ -80,7 +80,10 @@ func addOperationListEventIntegrationsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appintegrations/api_op_ListTagsForResource.go b/service/appintegrations/api_op_ListTagsForResource.go index 2acaa99eacd..3ec151ccc07 100644 --- a/service/appintegrations/api_op_ListTagsForResource.go +++ b/service/appintegrations/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appintegrations/api_op_TagResource.go b/service/appintegrations/api_op_TagResource.go index ea8910b7857..41ece81e956 100644 --- a/service/appintegrations/api_op_TagResource.go +++ b/service/appintegrations/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appintegrations/api_op_UntagResource.go b/service/appintegrations/api_op_UntagResource.go index 5ef9d0eb40e..386715fd5a8 100644 --- a/service/appintegrations/api_op_UntagResource.go +++ b/service/appintegrations/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appintegrations/api_op_UpdateEventIntegration.go b/service/appintegrations/api_op_UpdateEventIntegration.go index 7a5a36d76f9..31240405498 100644 --- a/service/appintegrations/api_op_UpdateEventIntegration.go +++ b/service/appintegrations/api_op_UpdateEventIntegration.go @@ -73,7 +73,10 @@ func addOperationUpdateEventIntegrationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_DeleteScalingPolicy.go b/service/applicationautoscaling/api_op_DeleteScalingPolicy.go index 5fe0d231da3..13d177cbe68 100644 --- a/service/applicationautoscaling/api_op_DeleteScalingPolicy.go +++ b/service/applicationautoscaling/api_op_DeleteScalingPolicy.go @@ -220,7 +220,10 @@ func addOperationDeleteScalingPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_DeleteScheduledAction.go b/service/applicationautoscaling/api_op_DeleteScheduledAction.go index 8b4f28b58c8..526072aa3f0 100644 --- a/service/applicationautoscaling/api_op_DeleteScheduledAction.go +++ b/service/applicationautoscaling/api_op_DeleteScheduledAction.go @@ -215,7 +215,10 @@ func addOperationDeleteScheduledActionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_DeregisterScalableTarget.go b/service/applicationautoscaling/api_op_DeregisterScalableTarget.go index c573534c7ee..47a11b464a6 100644 --- a/service/applicationautoscaling/api_op_DeregisterScalableTarget.go +++ b/service/applicationautoscaling/api_op_DeregisterScalableTarget.go @@ -212,7 +212,10 @@ func addOperationDeregisterScalableTargetMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_DescribeScalableTargets.go b/service/applicationautoscaling/api_op_DescribeScalableTargets.go index e73adf3bdb4..f86e0204581 100644 --- a/service/applicationautoscaling/api_op_DescribeScalableTargets.go +++ b/service/applicationautoscaling/api_op_DescribeScalableTargets.go @@ -225,7 +225,10 @@ func addOperationDescribeScalableTargetsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_DescribeScalingActivities.go b/service/applicationautoscaling/api_op_DescribeScalingActivities.go index 41b0f36ef51..c95af636245 100644 --- a/service/applicationautoscaling/api_op_DescribeScalingActivities.go +++ b/service/applicationautoscaling/api_op_DescribeScalingActivities.go @@ -226,7 +226,10 @@ func addOperationDescribeScalingActivitiesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_DescribeScalingPolicies.go b/service/applicationautoscaling/api_op_DescribeScalingPolicies.go index c9e75ad57a8..f999b38a819 100644 --- a/service/applicationautoscaling/api_op_DescribeScalingPolicies.go +++ b/service/applicationautoscaling/api_op_DescribeScalingPolicies.go @@ -234,7 +234,10 @@ func addOperationDescribeScalingPoliciesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_DescribeScheduledActions.go b/service/applicationautoscaling/api_op_DescribeScheduledActions.go index f1b16b4b06a..5c5e2f40d85 100644 --- a/service/applicationautoscaling/api_op_DescribeScheduledActions.go +++ b/service/applicationautoscaling/api_op_DescribeScheduledActions.go @@ -232,7 +232,10 @@ func addOperationDescribeScheduledActionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_PutScalingPolicy.go b/service/applicationautoscaling/api_op_PutScalingPolicy.go index 3cd2336973e..e06a1d668c3 100644 --- a/service/applicationautoscaling/api_op_PutScalingPolicy.go +++ b/service/applicationautoscaling/api_op_PutScalingPolicy.go @@ -268,7 +268,10 @@ func addOperationPutScalingPolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_PutScheduledAction.go b/service/applicationautoscaling/api_op_PutScheduledAction.go index 08bf192772b..8902e337943 100644 --- a/service/applicationautoscaling/api_op_PutScheduledAction.go +++ b/service/applicationautoscaling/api_op_PutScheduledAction.go @@ -262,7 +262,10 @@ func addOperationPutScheduledActionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationautoscaling/api_op_RegisterScalableTarget.go b/service/applicationautoscaling/api_op_RegisterScalableTarget.go index a7d7f6db04d..e97dc1233c5 100644 --- a/service/applicationautoscaling/api_op_RegisterScalableTarget.go +++ b/service/applicationautoscaling/api_op_RegisterScalableTarget.go @@ -281,7 +281,10 @@ func addOperationRegisterScalableTargetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go b/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go index b270b61ce02..cddfe108638 100644 --- a/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go +++ b/service/applicationdiscoveryservice/api_op_AssociateConfigurationItemsToApplication.go @@ -74,7 +74,10 @@ func addOperationAssociateConfigurationItemsToApplicationMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go b/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go index d709a6b979c..861790a3cc7 100644 --- a/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go +++ b/service/applicationdiscoveryservice/api_op_BatchDeleteImportData.go @@ -82,7 +82,10 @@ func addOperationBatchDeleteImportDataMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_CreateApplication.go b/service/applicationdiscoveryservice/api_op_CreateApplication.go index dbcbdc7c536..7b1b03edbd9 100644 --- a/service/applicationdiscoveryservice/api_op_CreateApplication.go +++ b/service/applicationdiscoveryservice/api_op_CreateApplication.go @@ -76,7 +76,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_CreateTags.go b/service/applicationdiscoveryservice/api_op_CreateTags.go index 50c511f442a..e22ea87c2e1 100644 --- a/service/applicationdiscoveryservice/api_op_CreateTags.go +++ b/service/applicationdiscoveryservice/api_op_CreateTags.go @@ -79,7 +79,10 @@ func addOperationCreateTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DeleteApplications.go b/service/applicationdiscoveryservice/api_op_DeleteApplications.go index e2e6f254942..d2d4d983064 100644 --- a/service/applicationdiscoveryservice/api_op_DeleteApplications.go +++ b/service/applicationdiscoveryservice/api_op_DeleteApplications.go @@ -69,7 +69,10 @@ func addOperationDeleteApplicationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DeleteTags.go b/service/applicationdiscoveryservice/api_op_DeleteTags.go index 788025e5ac6..d66dc9a6775 100644 --- a/service/applicationdiscoveryservice/api_op_DeleteTags.go +++ b/service/applicationdiscoveryservice/api_op_DeleteTags.go @@ -76,7 +76,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DescribeAgents.go b/service/applicationdiscoveryservice/api_op_DescribeAgents.go index b6a41a148b5..9f461542629 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeAgents.go +++ b/service/applicationdiscoveryservice/api_op_DescribeAgents.go @@ -100,7 +100,10 @@ func addOperationDescribeAgentsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go b/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go index b11a573d37c..f5de51fed26 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_DescribeConfigurations.go @@ -91,7 +91,10 @@ func addOperationDescribeConfigurationsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go b/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go index 02e2922851c..7bfb487c336 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go +++ b/service/applicationdiscoveryservice/api_op_DescribeContinuousExports.go @@ -85,7 +85,10 @@ func addOperationDescribeContinuousExportsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go b/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go index 06f5b219a9b..f07d9f19558 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_DescribeExportConfigurations.go @@ -86,7 +86,10 @@ func addOperationDescribeExportConfigurationsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go b/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go index 49c6982857c..2fb1091892f 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go +++ b/service/applicationdiscoveryservice/api_op_DescribeExportTasks.go @@ -99,7 +99,10 @@ func addOperationDescribeExportTasksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go b/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go index abb0ec60ff1..1feaac88b32 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go +++ b/service/applicationdiscoveryservice/api_op_DescribeImportTasks.go @@ -86,7 +86,10 @@ func addOperationDescribeImportTasksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DescribeTags.go b/service/applicationdiscoveryservice/api_op_DescribeTags.go index aac9af1cbc8..d55132d4555 100644 --- a/service/applicationdiscoveryservice/api_op_DescribeTags.go +++ b/service/applicationdiscoveryservice/api_op_DescribeTags.go @@ -98,7 +98,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go b/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go index f949a9a04c9..dd6a100f728 100644 --- a/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go +++ b/service/applicationdiscoveryservice/api_op_DisassociateConfigurationItemsFromApplication.go @@ -74,7 +74,10 @@ func addOperationDisassociateConfigurationItemsFromApplicationMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_ExportConfigurations.go b/service/applicationdiscoveryservice/api_op_ExportConfigurations.go index 290c4b097e0..28e0ea4568d 100644 --- a/service/applicationdiscoveryservice/api_op_ExportConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_ExportConfigurations.go @@ -75,7 +75,10 @@ func addOperationExportConfigurationsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go b/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go index c14538abedb..cff7990e613 100644 --- a/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go +++ b/service/applicationdiscoveryservice/api_op_GetDiscoverySummary.go @@ -86,7 +86,10 @@ func addOperationGetDiscoverySummaryMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_ListConfigurations.go b/service/applicationdiscoveryservice/api_op_ListConfigurations.go index 2b2a06dcee7..b6eeabd9267 100644 --- a/service/applicationdiscoveryservice/api_op_ListConfigurations.go +++ b/service/applicationdiscoveryservice/api_op_ListConfigurations.go @@ -108,7 +108,10 @@ func addOperationListConfigurationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go b/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go index af77bc57fbb..cd4902d5d1b 100644 --- a/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go +++ b/service/applicationdiscoveryservice/api_op_ListServerNeighbors.go @@ -104,7 +104,10 @@ func addOperationListServerNeighborsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_StartContinuousExport.go b/service/applicationdiscoveryservice/api_op_StartContinuousExport.go index a5e784c99af..1adf8649ff7 100644 --- a/service/applicationdiscoveryservice/api_op_StartContinuousExport.go +++ b/service/applicationdiscoveryservice/api_op_StartContinuousExport.go @@ -86,7 +86,10 @@ func addOperationStartContinuousExportMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go b/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go index b9e9beb0d1e..6c554ff606b 100644 --- a/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go +++ b/service/applicationdiscoveryservice/api_op_StartDataCollectionByAgentIds.go @@ -83,7 +83,10 @@ func addOperationStartDataCollectionByAgentIdsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_StartExportTask.go b/service/applicationdiscoveryservice/api_op_StartExportTask.go index a37ce176553..41f3f53ef83 100644 --- a/service/applicationdiscoveryservice/api_op_StartExportTask.go +++ b/service/applicationdiscoveryservice/api_op_StartExportTask.go @@ -99,7 +99,10 @@ func addOperationStartExportTaskMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_StartImportTask.go b/service/applicationdiscoveryservice/api_op_StartImportTask.go index 6a139fa340d..387a491f328 100644 --- a/service/applicationdiscoveryservice/api_op_StartImportTask.go +++ b/service/applicationdiscoveryservice/api_op_StartImportTask.go @@ -124,7 +124,10 @@ func addOperationStartImportTaskMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_StopContinuousExport.go b/service/applicationdiscoveryservice/api_op_StopContinuousExport.go index a926a3f7b26..2977035de7e 100644 --- a/service/applicationdiscoveryservice/api_op_StopContinuousExport.go +++ b/service/applicationdiscoveryservice/api_op_StopContinuousExport.go @@ -77,7 +77,10 @@ func addOperationStopContinuousExportMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go b/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go index f1f2fcddf13..5004bab8a7f 100644 --- a/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go +++ b/service/applicationdiscoveryservice/api_op_StopDataCollectionByAgentIds.go @@ -77,7 +77,10 @@ func addOperationStopDataCollectionByAgentIdsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationdiscoveryservice/api_op_UpdateApplication.go b/service/applicationdiscoveryservice/api_op_UpdateApplication.go index d4bba51584b..778082efc16 100644 --- a/service/applicationdiscoveryservice/api_op_UpdateApplication.go +++ b/service/applicationdiscoveryservice/api_op_UpdateApplication.go @@ -75,7 +75,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_CreateApplication.go b/service/applicationinsights/api_op_CreateApplication.go index ec5844a58b4..eb9b9144ca8 100644 --- a/service/applicationinsights/api_op_CreateApplication.go +++ b/service/applicationinsights/api_op_CreateApplication.go @@ -91,7 +91,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_CreateComponent.go b/service/applicationinsights/api_op_CreateComponent.go index 2e7fa39a73c..5b1b2a661ad 100644 --- a/service/applicationinsights/api_op_CreateComponent.go +++ b/service/applicationinsights/api_op_CreateComponent.go @@ -79,7 +79,10 @@ func addOperationCreateComponentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_CreateLogPattern.go b/service/applicationinsights/api_op_CreateLogPattern.go index c5ce98b35fc..9fca6337a8b 100644 --- a/service/applicationinsights/api_op_CreateLogPattern.go +++ b/service/applicationinsights/api_op_CreateLogPattern.go @@ -105,7 +105,10 @@ func addOperationCreateLogPatternMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DeleteApplication.go b/service/applicationinsights/api_op_DeleteApplication.go index 7f0d9129b49..45d54220001 100644 --- a/service/applicationinsights/api_op_DeleteApplication.go +++ b/service/applicationinsights/api_op_DeleteApplication.go @@ -70,7 +70,10 @@ func addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DeleteComponent.go b/service/applicationinsights/api_op_DeleteComponent.go index 43d9d931eb4..725ba6f09a5 100644 --- a/service/applicationinsights/api_op_DeleteComponent.go +++ b/service/applicationinsights/api_op_DeleteComponent.go @@ -76,7 +76,10 @@ func addOperationDeleteComponentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DeleteLogPattern.go b/service/applicationinsights/api_op_DeleteLogPattern.go index f4653590bc4..767a211bc1f 100644 --- a/service/applicationinsights/api_op_DeleteLogPattern.go +++ b/service/applicationinsights/api_op_DeleteLogPattern.go @@ -79,7 +79,10 @@ func addOperationDeleteLogPatternMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DescribeApplication.go b/service/applicationinsights/api_op_DescribeApplication.go index 38610630159..2f2dfb25ca7 100644 --- a/service/applicationinsights/api_op_DescribeApplication.go +++ b/service/applicationinsights/api_op_DescribeApplication.go @@ -74,7 +74,10 @@ func addOperationDescribeApplicationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DescribeComponent.go b/service/applicationinsights/api_op_DescribeComponent.go index 7408cbb0417..b7547ec302b 100644 --- a/service/applicationinsights/api_op_DescribeComponent.go +++ b/service/applicationinsights/api_op_DescribeComponent.go @@ -84,7 +84,10 @@ func addOperationDescribeComponentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DescribeComponentConfiguration.go b/service/applicationinsights/api_op_DescribeComponentConfiguration.go index a232c297bce..fbcb49247e6 100644 --- a/service/applicationinsights/api_op_DescribeComponentConfiguration.go +++ b/service/applicationinsights/api_op_DescribeComponentConfiguration.go @@ -87,7 +87,10 @@ func addOperationDescribeComponentConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go b/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go index 742f4c0b0b0..e98d8ac4062 100644 --- a/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go +++ b/service/applicationinsights/api_op_DescribeComponentConfigurationRecommendation.go @@ -86,7 +86,10 @@ func addOperationDescribeComponentConfigurationRecommendationMiddlewares(stack * if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DescribeLogPattern.go b/service/applicationinsights/api_op_DescribeLogPattern.go index 4c19ff8d9c5..37be552d803 100644 --- a/service/applicationinsights/api_op_DescribeLogPattern.go +++ b/service/applicationinsights/api_op_DescribeLogPattern.go @@ -87,7 +87,10 @@ func addOperationDescribeLogPatternMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DescribeObservation.go b/service/applicationinsights/api_op_DescribeObservation.go index 9de2317b7d7..c1f531f5434 100644 --- a/service/applicationinsights/api_op_DescribeObservation.go +++ b/service/applicationinsights/api_op_DescribeObservation.go @@ -74,7 +74,10 @@ func addOperationDescribeObservationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DescribeProblem.go b/service/applicationinsights/api_op_DescribeProblem.go index 79b6909ad39..6bcbef4637d 100644 --- a/service/applicationinsights/api_op_DescribeProblem.go +++ b/service/applicationinsights/api_op_DescribeProblem.go @@ -74,7 +74,10 @@ func addOperationDescribeProblemMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_DescribeProblemObservations.go b/service/applicationinsights/api_op_DescribeProblemObservations.go index bc8489b4357..a3fa2f7f3dc 100644 --- a/service/applicationinsights/api_op_DescribeProblemObservations.go +++ b/service/applicationinsights/api_op_DescribeProblemObservations.go @@ -74,7 +74,10 @@ func addOperationDescribeProblemObservationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_ListApplications.go b/service/applicationinsights/api_op_ListApplications.go index 87e461bfefd..6a20853bff1 100644 --- a/service/applicationinsights/api_op_ListApplications.go +++ b/service/applicationinsights/api_op_ListApplications.go @@ -81,7 +81,10 @@ func addOperationListApplicationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_ListComponents.go b/service/applicationinsights/api_op_ListComponents.go index d6ba9ce5c1e..3daba0b22d9 100644 --- a/service/applicationinsights/api_op_ListComponents.go +++ b/service/applicationinsights/api_op_ListComponents.go @@ -85,7 +85,10 @@ func addOperationListComponentsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_ListConfigurationHistory.go b/service/applicationinsights/api_op_ListConfigurationHistory.go index a83f709d74c..edc6f9f27b7 100644 --- a/service/applicationinsights/api_op_ListConfigurationHistory.go +++ b/service/applicationinsights/api_op_ListConfigurationHistory.go @@ -115,7 +115,10 @@ func addOperationListConfigurationHistoryMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_ListLogPatternSets.go b/service/applicationinsights/api_op_ListLogPatternSets.go index bdebe4c5c18..91d7b4b14ba 100644 --- a/service/applicationinsights/api_op_ListLogPatternSets.go +++ b/service/applicationinsights/api_op_ListLogPatternSets.go @@ -88,7 +88,10 @@ func addOperationListLogPatternSetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_ListLogPatterns.go b/service/applicationinsights/api_op_ListLogPatterns.go index 10046087988..09afbe1e641 100644 --- a/service/applicationinsights/api_op_ListLogPatterns.go +++ b/service/applicationinsights/api_op_ListLogPatterns.go @@ -92,7 +92,10 @@ func addOperationListLogPatternsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_ListProblems.go b/service/applicationinsights/api_op_ListProblems.go index f7e84a93850..98efcd9cc72 100644 --- a/service/applicationinsights/api_op_ListProblems.go +++ b/service/applicationinsights/api_op_ListProblems.go @@ -93,7 +93,10 @@ func addOperationListProblemsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_ListTagsForResource.go b/service/applicationinsights/api_op_ListTagsForResource.go index 86718a3afc2..db9e14021fa 100644 --- a/service/applicationinsights/api_op_ListTagsForResource.go +++ b/service/applicationinsights/api_op_ListTagsForResource.go @@ -80,7 +80,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_TagResource.go b/service/applicationinsights/api_op_TagResource.go index 568d44b7e68..13973657a15 100644 --- a/service/applicationinsights/api_op_TagResource.go +++ b/service/applicationinsights/api_op_TagResource.go @@ -84,7 +84,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_UntagResource.go b/service/applicationinsights/api_op_UntagResource.go index 81814b65fe5..1915e03735f 100644 --- a/service/applicationinsights/api_op_UntagResource.go +++ b/service/applicationinsights/api_op_UntagResource.go @@ -78,7 +78,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_UpdateApplication.go b/service/applicationinsights/api_op_UpdateApplication.go index 4a735aee9dc..7aa3f706456 100644 --- a/service/applicationinsights/api_op_UpdateApplication.go +++ b/service/applicationinsights/api_op_UpdateApplication.go @@ -89,7 +89,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_UpdateComponent.go b/service/applicationinsights/api_op_UpdateComponent.go index 135e4b2b134..5301ea61f28 100644 --- a/service/applicationinsights/api_op_UpdateComponent.go +++ b/service/applicationinsights/api_op_UpdateComponent.go @@ -81,7 +81,10 @@ func addOperationUpdateComponentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_UpdateComponentConfiguration.go b/service/applicationinsights/api_op_UpdateComponentConfiguration.go index 44f54a91b5e..94cf7883bc5 100644 --- a/service/applicationinsights/api_op_UpdateComponentConfiguration.go +++ b/service/applicationinsights/api_op_UpdateComponentConfiguration.go @@ -94,7 +94,10 @@ func addOperationUpdateComponentConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/applicationinsights/api_op_UpdateLogPattern.go b/service/applicationinsights/api_op_UpdateLogPattern.go index e442b1a9c7d..0975569e509 100644 --- a/service/applicationinsights/api_op_UpdateLogPattern.go +++ b/service/applicationinsights/api_op_UpdateLogPattern.go @@ -101,7 +101,10 @@ func addOperationUpdateLogPatternMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_CreateGatewayRoute.go b/service/appmesh/api_op_CreateGatewayRoute.go index 3b88049622e..727cff0c1e5 100644 --- a/service/appmesh/api_op_CreateGatewayRoute.go +++ b/service/appmesh/api_op_CreateGatewayRoute.go @@ -114,7 +114,10 @@ func addOperationCreateGatewayRouteMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_CreateMesh.go b/service/appmesh/api_op_CreateMesh.go index 6a7ba7723ce..44674ae5b35 100644 --- a/service/appmesh/api_op_CreateMesh.go +++ b/service/appmesh/api_op_CreateMesh.go @@ -96,7 +96,10 @@ func addOperationCreateMeshMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_CreateRoute.go b/service/appmesh/api_op_CreateRoute.go index b906030ad91..3875c3d085a 100644 --- a/service/appmesh/api_op_CreateRoute.go +++ b/service/appmesh/api_op_CreateRoute.go @@ -115,7 +115,10 @@ func addOperationCreateRouteMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_CreateVirtualGateway.go b/service/appmesh/api_op_CreateVirtualGateway.go index 92978efb7b8..1e043fd2a17 100644 --- a/service/appmesh/api_op_CreateVirtualGateway.go +++ b/service/appmesh/api_op_CreateVirtualGateway.go @@ -110,7 +110,10 @@ func addOperationCreateVirtualGatewayMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_CreateVirtualNode.go b/service/appmesh/api_op_CreateVirtualNode.go index b8dd6009ac5..bb773e4cca8 100644 --- a/service/appmesh/api_op_CreateVirtualNode.go +++ b/service/appmesh/api_op_CreateVirtualNode.go @@ -122,7 +122,10 @@ func addOperationCreateVirtualNodeMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_CreateVirtualRouter.go b/service/appmesh/api_op_CreateVirtualRouter.go index 45c6c20f962..19a00c0aa02 100644 --- a/service/appmesh/api_op_CreateVirtualRouter.go +++ b/service/appmesh/api_op_CreateVirtualRouter.go @@ -112,7 +112,10 @@ func addOperationCreateVirtualRouterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_CreateVirtualService.go b/service/appmesh/api_op_CreateVirtualService.go index d5595a4dde0..d2fb639f904 100644 --- a/service/appmesh/api_op_CreateVirtualService.go +++ b/service/appmesh/api_op_CreateVirtualService.go @@ -111,7 +111,10 @@ func addOperationCreateVirtualServiceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DeleteGatewayRoute.go b/service/appmesh/api_op_DeleteGatewayRoute.go index 9d34fdd9fe2..5d645ea9619 100644 --- a/service/appmesh/api_op_DeleteGatewayRoute.go +++ b/service/appmesh/api_op_DeleteGatewayRoute.go @@ -92,7 +92,10 @@ func addOperationDeleteGatewayRouteMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DeleteMesh.go b/service/appmesh/api_op_DeleteMesh.go index c444ad00fa2..31e0a18cc1e 100644 --- a/service/appmesh/api_op_DeleteMesh.go +++ b/service/appmesh/api_op_DeleteMesh.go @@ -80,7 +80,10 @@ func addOperationDeleteMeshMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DeleteRoute.go b/service/appmesh/api_op_DeleteRoute.go index 731a1f4df08..848b8caf948 100644 --- a/service/appmesh/api_op_DeleteRoute.go +++ b/service/appmesh/api_op_DeleteRoute.go @@ -94,7 +94,10 @@ func addOperationDeleteRouteMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DeleteVirtualGateway.go b/service/appmesh/api_op_DeleteVirtualGateway.go index df0bcb08521..88b2cbfad71 100644 --- a/service/appmesh/api_op_DeleteVirtualGateway.go +++ b/service/appmesh/api_op_DeleteVirtualGateway.go @@ -88,7 +88,10 @@ func addOperationDeleteVirtualGatewayMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DeleteVirtualNode.go b/service/appmesh/api_op_DeleteVirtualNode.go index b944a6ab3b1..b6d6631314c 100644 --- a/service/appmesh/api_op_DeleteVirtualNode.go +++ b/service/appmesh/api_op_DeleteVirtualNode.go @@ -91,7 +91,10 @@ func addOperationDeleteVirtualNodeMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DeleteVirtualRouter.go b/service/appmesh/api_op_DeleteVirtualRouter.go index 44f9f61bc26..24e18b73ab7 100644 --- a/service/appmesh/api_op_DeleteVirtualRouter.go +++ b/service/appmesh/api_op_DeleteVirtualRouter.go @@ -90,7 +90,10 @@ func addOperationDeleteVirtualRouterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DeleteVirtualService.go b/service/appmesh/api_op_DeleteVirtualService.go index ad767e396a9..118bcc462aa 100644 --- a/service/appmesh/api_op_DeleteVirtualService.go +++ b/service/appmesh/api_op_DeleteVirtualService.go @@ -89,7 +89,10 @@ func addOperationDeleteVirtualServiceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DescribeGatewayRoute.go b/service/appmesh/api_op_DescribeGatewayRoute.go index 2c5e2b23638..93ca692c125 100644 --- a/service/appmesh/api_op_DescribeGatewayRoute.go +++ b/service/appmesh/api_op_DescribeGatewayRoute.go @@ -92,7 +92,10 @@ func addOperationDescribeGatewayRouteMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DescribeMesh.go b/service/appmesh/api_op_DescribeMesh.go index 94d11d3abe6..72fe9edfc19 100644 --- a/service/appmesh/api_op_DescribeMesh.go +++ b/service/appmesh/api_op_DescribeMesh.go @@ -84,7 +84,10 @@ func addOperationDescribeMeshMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DescribeRoute.go b/service/appmesh/api_op_DescribeRoute.go index a50f7e971d4..193aa4729b1 100644 --- a/service/appmesh/api_op_DescribeRoute.go +++ b/service/appmesh/api_op_DescribeRoute.go @@ -94,7 +94,10 @@ func addOperationDescribeRouteMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DescribeVirtualGateway.go b/service/appmesh/api_op_DescribeVirtualGateway.go index 3f04441f7b9..57e78a6cc28 100644 --- a/service/appmesh/api_op_DescribeVirtualGateway.go +++ b/service/appmesh/api_op_DescribeVirtualGateway.go @@ -87,7 +87,10 @@ func addOperationDescribeVirtualGatewayMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DescribeVirtualNode.go b/service/appmesh/api_op_DescribeVirtualNode.go index 911044bf26b..02bbb17cca8 100644 --- a/service/appmesh/api_op_DescribeVirtualNode.go +++ b/service/appmesh/api_op_DescribeVirtualNode.go @@ -89,7 +89,10 @@ func addOperationDescribeVirtualNodeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DescribeVirtualRouter.go b/service/appmesh/api_op_DescribeVirtualRouter.go index 5253c217059..e1c80dc2ca3 100644 --- a/service/appmesh/api_op_DescribeVirtualRouter.go +++ b/service/appmesh/api_op_DescribeVirtualRouter.go @@ -89,7 +89,10 @@ func addOperationDescribeVirtualRouterMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_DescribeVirtualService.go b/service/appmesh/api_op_DescribeVirtualService.go index 140b5d547c5..c3e314d4512 100644 --- a/service/appmesh/api_op_DescribeVirtualService.go +++ b/service/appmesh/api_op_DescribeVirtualService.go @@ -89,7 +89,10 @@ func addOperationDescribeVirtualServiceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_ListGatewayRoutes.go b/service/appmesh/api_op_ListGatewayRoutes.go index 739e41e5b4e..58369a7c68f 100644 --- a/service/appmesh/api_op_ListGatewayRoutes.go +++ b/service/appmesh/api_op_ListGatewayRoutes.go @@ -111,7 +111,10 @@ func addOperationListGatewayRoutesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_ListMeshes.go b/service/appmesh/api_op_ListMeshes.go index d267d0f6498..c344a15821e 100644 --- a/service/appmesh/api_op_ListMeshes.go +++ b/service/appmesh/api_op_ListMeshes.go @@ -96,7 +96,10 @@ func addOperationListMeshesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_ListRoutes.go b/service/appmesh/api_op_ListRoutes.go index 1a15f808aef..339864cb794 100644 --- a/service/appmesh/api_op_ListRoutes.go +++ b/service/appmesh/api_op_ListRoutes.go @@ -111,7 +111,10 @@ func addOperationListRoutesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_ListTagsForResource.go b/service/appmesh/api_op_ListTagsForResource.go index 69a25c02131..fab3b13fc7a 100644 --- a/service/appmesh/api_op_ListTagsForResource.go +++ b/service/appmesh/api_op_ListTagsForResource.go @@ -101,7 +101,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_ListVirtualGateways.go b/service/appmesh/api_op_ListVirtualGateways.go index ceee56533b4..1f15ca0cad6 100644 --- a/service/appmesh/api_op_ListVirtualGateways.go +++ b/service/appmesh/api_op_ListVirtualGateways.go @@ -104,7 +104,10 @@ func addOperationListVirtualGatewaysMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_ListVirtualNodes.go b/service/appmesh/api_op_ListVirtualNodes.go index c14944cf749..fa78c84d101 100644 --- a/service/appmesh/api_op_ListVirtualNodes.go +++ b/service/appmesh/api_op_ListVirtualNodes.go @@ -106,7 +106,10 @@ func addOperationListVirtualNodesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_ListVirtualRouters.go b/service/appmesh/api_op_ListVirtualRouters.go index db886bc7586..b1e07d565e8 100644 --- a/service/appmesh/api_op_ListVirtualRouters.go +++ b/service/appmesh/api_op_ListVirtualRouters.go @@ -106,7 +106,10 @@ func addOperationListVirtualRoutersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_ListVirtualServices.go b/service/appmesh/api_op_ListVirtualServices.go index e8589462093..822866b8fc6 100644 --- a/service/appmesh/api_op_ListVirtualServices.go +++ b/service/appmesh/api_op_ListVirtualServices.go @@ -106,7 +106,10 @@ func addOperationListVirtualServicesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_TagResource.go b/service/appmesh/api_op_TagResource.go index 4d3a801fa82..d75f4b5599a 100644 --- a/service/appmesh/api_op_TagResource.go +++ b/service/appmesh/api_op_TagResource.go @@ -82,7 +82,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_UntagResource.go b/service/appmesh/api_op_UntagResource.go index 31941b2e612..d9001b876d1 100644 --- a/service/appmesh/api_op_UntagResource.go +++ b/service/appmesh/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_UpdateGatewayRoute.go b/service/appmesh/api_op_UpdateGatewayRoute.go index 83f5193b998..0ed7e758042 100644 --- a/service/appmesh/api_op_UpdateGatewayRoute.go +++ b/service/appmesh/api_op_UpdateGatewayRoute.go @@ -102,7 +102,10 @@ func addOperationUpdateGatewayRouteMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_UpdateMesh.go b/service/appmesh/api_op_UpdateMesh.go index e55d20385e6..26d33b167e3 100644 --- a/service/appmesh/api_op_UpdateMesh.go +++ b/service/appmesh/api_op_UpdateMesh.go @@ -85,7 +85,10 @@ func addOperationUpdateMeshMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_UpdateRoute.go b/service/appmesh/api_op_UpdateRoute.go index 29a6464910a..f68d20f9ac8 100644 --- a/service/appmesh/api_op_UpdateRoute.go +++ b/service/appmesh/api_op_UpdateRoute.go @@ -103,7 +103,10 @@ func addOperationUpdateRouteMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_UpdateVirtualGateway.go b/service/appmesh/api_op_UpdateVirtualGateway.go index e021d55a108..f85aa7f9d23 100644 --- a/service/appmesh/api_op_UpdateVirtualGateway.go +++ b/service/appmesh/api_op_UpdateVirtualGateway.go @@ -97,7 +97,10 @@ func addOperationUpdateVirtualGatewayMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_UpdateVirtualNode.go b/service/appmesh/api_op_UpdateVirtualNode.go index 9434e11e43d..de094dece8b 100644 --- a/service/appmesh/api_op_UpdateVirtualNode.go +++ b/service/appmesh/api_op_UpdateVirtualNode.go @@ -98,7 +98,10 @@ func addOperationUpdateVirtualNodeMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_UpdateVirtualRouter.go b/service/appmesh/api_op_UpdateVirtualRouter.go index 5d60003dce0..194a743299e 100644 --- a/service/appmesh/api_op_UpdateVirtualRouter.go +++ b/service/appmesh/api_op_UpdateVirtualRouter.go @@ -99,7 +99,10 @@ func addOperationUpdateVirtualRouterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appmesh/api_op_UpdateVirtualService.go b/service/appmesh/api_op_UpdateVirtualService.go index 466e76c2fd0..b7512befe6c 100644 --- a/service/appmesh/api_op_UpdateVirtualService.go +++ b/service/appmesh/api_op_UpdateVirtualService.go @@ -99,7 +99,10 @@ func addOperationUpdateVirtualServiceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_AssociateFleet.go b/service/appstream/api_op_AssociateFleet.go index 6a7feafd8e2..2d9e6310efa 100644 --- a/service/appstream/api_op_AssociateFleet.go +++ b/service/appstream/api_op_AssociateFleet.go @@ -74,7 +74,10 @@ func addOperationAssociateFleetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_BatchAssociateUserStack.go b/service/appstream/api_op_BatchAssociateUserStack.go index bffb73d8e71..4619c299d03 100644 --- a/service/appstream/api_op_BatchAssociateUserStack.go +++ b/service/appstream/api_op_BatchAssociateUserStack.go @@ -76,7 +76,10 @@ func addOperationBatchAssociateUserStackMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_BatchDisassociateUserStack.go b/service/appstream/api_op_BatchDisassociateUserStack.go index f8619322163..ec1c1bcb6dc 100644 --- a/service/appstream/api_op_BatchDisassociateUserStack.go +++ b/service/appstream/api_op_BatchDisassociateUserStack.go @@ -74,7 +74,10 @@ func addOperationBatchDisassociateUserStackMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_CopyImage.go b/service/appstream/api_op_CopyImage.go index 7776a87189f..95069fa0ea3 100644 --- a/service/appstream/api_op_CopyImage.go +++ b/service/appstream/api_op_CopyImage.go @@ -88,7 +88,10 @@ func addOperationCopyImageMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_CreateDirectoryConfig.go b/service/appstream/api_op_CreateDirectoryConfig.go index 030888702ef..3008ce68780 100644 --- a/service/appstream/api_op_CreateDirectoryConfig.go +++ b/service/appstream/api_op_CreateDirectoryConfig.go @@ -85,7 +85,10 @@ func addOperationCreateDirectoryConfigMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_CreateFleet.go b/service/appstream/api_op_CreateFleet.go index 95b68913e9d..e4c78693c3d 100644 --- a/service/appstream/api_op_CreateFleet.go +++ b/service/appstream/api_op_CreateFleet.go @@ -255,7 +255,10 @@ func addOperationCreateFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_CreateImageBuilder.go b/service/appstream/api_op_CreateImageBuilder.go index 603e6e7c207..104c578d9ad 100644 --- a/service/appstream/api_op_CreateImageBuilder.go +++ b/service/appstream/api_op_CreateImageBuilder.go @@ -212,7 +212,10 @@ func addOperationCreateImageBuilderMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_CreateImageBuilderStreamingURL.go b/service/appstream/api_op_CreateImageBuilderStreamingURL.go index 4fbd232822e..0cf33bf49c2 100644 --- a/service/appstream/api_op_CreateImageBuilderStreamingURL.go +++ b/service/appstream/api_op_CreateImageBuilderStreamingURL.go @@ -81,7 +81,10 @@ func addOperationCreateImageBuilderStreamingURLMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_CreateStack.go b/service/appstream/api_op_CreateStack.go index c020cf205d9..413e671ab23 100644 --- a/service/appstream/api_op_CreateStack.go +++ b/service/appstream/api_op_CreateStack.go @@ -119,7 +119,10 @@ func addOperationCreateStackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_CreateStreamingURL.go b/service/appstream/api_op_CreateStreamingURL.go index 3a58c715505..2555f1689e2 100644 --- a/service/appstream/api_op_CreateStreamingURL.go +++ b/service/appstream/api_op_CreateStreamingURL.go @@ -102,7 +102,10 @@ func addOperationCreateStreamingURLMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_CreateUsageReportSubscription.go b/service/appstream/api_op_CreateUsageReportSubscription.go index 8e64a8c3d7b..4037f33e22b 100644 --- a/service/appstream/api_op_CreateUsageReportSubscription.go +++ b/service/appstream/api_op_CreateUsageReportSubscription.go @@ -78,7 +78,10 @@ func addOperationCreateUsageReportSubscriptionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_CreateUser.go b/service/appstream/api_op_CreateUser.go index 36752e5fc36..8aa9faf215f 100644 --- a/service/appstream/api_op_CreateUser.go +++ b/service/appstream/api_op_CreateUser.go @@ -92,7 +92,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DeleteDirectoryConfig.go b/service/appstream/api_op_DeleteDirectoryConfig.go index bdcab1bff73..cf87344c3e4 100644 --- a/service/appstream/api_op_DeleteDirectoryConfig.go +++ b/service/appstream/api_op_DeleteDirectoryConfig.go @@ -71,7 +71,10 @@ func addOperationDeleteDirectoryConfigMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DeleteFleet.go b/service/appstream/api_op_DeleteFleet.go index c1777ebde93..b6bde30ca7e 100644 --- a/service/appstream/api_op_DeleteFleet.go +++ b/service/appstream/api_op_DeleteFleet.go @@ -69,7 +69,10 @@ func addOperationDeleteFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DeleteImage.go b/service/appstream/api_op_DeleteImage.go index 7c6e0203d54..6ab2041503b 100644 --- a/service/appstream/api_op_DeleteImage.go +++ b/service/appstream/api_op_DeleteImage.go @@ -75,7 +75,10 @@ func addOperationDeleteImageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DeleteImageBuilder.go b/service/appstream/api_op_DeleteImageBuilder.go index 63044a61bbf..7c23cae88c9 100644 --- a/service/appstream/api_op_DeleteImageBuilder.go +++ b/service/appstream/api_op_DeleteImageBuilder.go @@ -74,7 +74,10 @@ func addOperationDeleteImageBuilderMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DeleteImagePermissions.go b/service/appstream/api_op_DeleteImagePermissions.go index 45fc315ecec..5b2db085879 100644 --- a/service/appstream/api_op_DeleteImagePermissions.go +++ b/service/appstream/api_op_DeleteImagePermissions.go @@ -77,7 +77,10 @@ func addOperationDeleteImagePermissionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DeleteStack.go b/service/appstream/api_op_DeleteStack.go index 3564c987065..88de628107a 100644 --- a/service/appstream/api_op_DeleteStack.go +++ b/service/appstream/api_op_DeleteStack.go @@ -72,7 +72,10 @@ func addOperationDeleteStackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DeleteUsageReportSubscription.go b/service/appstream/api_op_DeleteUsageReportSubscription.go index 097383ac0c0..ef2f7bfc29d 100644 --- a/service/appstream/api_op_DeleteUsageReportSubscription.go +++ b/service/appstream/api_op_DeleteUsageReportSubscription.go @@ -64,7 +64,10 @@ func addOperationDeleteUsageReportSubscriptionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DeleteUser.go b/service/appstream/api_op_DeleteUser.go index e41d6ceb7fb..a113b545b6d 100644 --- a/service/appstream/api_op_DeleteUser.go +++ b/service/appstream/api_op_DeleteUser.go @@ -75,7 +75,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeDirectoryConfigs.go b/service/appstream/api_op_DescribeDirectoryConfigs.go index 562b637e5c6..ff39699c025 100644 --- a/service/appstream/api_op_DescribeDirectoryConfigs.go +++ b/service/appstream/api_op_DescribeDirectoryConfigs.go @@ -91,7 +91,10 @@ func addOperationDescribeDirectoryConfigsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeFleets.go b/service/appstream/api_op_DescribeFleets.go index 18de8889d49..92e31ae0dd9 100644 --- a/service/appstream/api_op_DescribeFleets.go +++ b/service/appstream/api_op_DescribeFleets.go @@ -86,7 +86,10 @@ func addOperationDescribeFleetsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeImageBuilders.go b/service/appstream/api_op_DescribeImageBuilders.go index d0f62f66a40..1b4961756f2 100644 --- a/service/appstream/api_op_DescribeImageBuilders.go +++ b/service/appstream/api_op_DescribeImageBuilders.go @@ -85,7 +85,10 @@ func addOperationDescribeImageBuildersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeImagePermissions.go b/service/appstream/api_op_DescribeImagePermissions.go index bf294e2bddc..7a457f2a1db 100644 --- a/service/appstream/api_op_DescribeImagePermissions.go +++ b/service/appstream/api_op_DescribeImagePermissions.go @@ -95,7 +95,10 @@ func addOperationDescribeImagePermissionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeImages.go b/service/appstream/api_op_DescribeImages.go index e6513eb59ea..35aca4f68fd 100644 --- a/service/appstream/api_op_DescribeImages.go +++ b/service/appstream/api_op_DescribeImages.go @@ -91,7 +91,10 @@ func addOperationDescribeImagesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeSessions.go b/service/appstream/api_op_DescribeSessions.go index 56325e5db6e..c000e5c176a 100644 --- a/service/appstream/api_op_DescribeSessions.go +++ b/service/appstream/api_op_DescribeSessions.go @@ -103,7 +103,10 @@ func addOperationDescribeSessionsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeStacks.go b/service/appstream/api_op_DescribeStacks.go index aa806cbec5f..6bc8713eaf4 100644 --- a/service/appstream/api_op_DescribeStacks.go +++ b/service/appstream/api_op_DescribeStacks.go @@ -81,7 +81,10 @@ func addOperationDescribeStacksMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeUsageReportSubscriptions.go b/service/appstream/api_op_DescribeUsageReportSubscriptions.go index 2f8aff961dc..d929fc3d7ec 100644 --- a/service/appstream/api_op_DescribeUsageReportSubscriptions.go +++ b/service/appstream/api_op_DescribeUsageReportSubscriptions.go @@ -80,7 +80,10 @@ func addOperationDescribeUsageReportSubscriptionsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeUserStackAssociations.go b/service/appstream/api_op_DescribeUserStackAssociations.go index 92d03b387c7..05f529d7959 100644 --- a/service/appstream/api_op_DescribeUserStackAssociations.go +++ b/service/appstream/api_op_DescribeUserStackAssociations.go @@ -98,7 +98,10 @@ func addOperationDescribeUserStackAssociationsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DescribeUsers.go b/service/appstream/api_op_DescribeUsers.go index 23eb1e5e804..25af746c970 100644 --- a/service/appstream/api_op_DescribeUsers.go +++ b/service/appstream/api_op_DescribeUsers.go @@ -86,7 +86,10 @@ func addOperationDescribeUsersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DisableUser.go b/service/appstream/api_op_DisableUser.go index ffc2f84926d..bb8e591d9b2 100644 --- a/service/appstream/api_op_DisableUser.go +++ b/service/appstream/api_op_DisableUser.go @@ -76,7 +76,10 @@ func addOperationDisableUserMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_DisassociateFleet.go b/service/appstream/api_op_DisassociateFleet.go index eea29583b64..6b790d33788 100644 --- a/service/appstream/api_op_DisassociateFleet.go +++ b/service/appstream/api_op_DisassociateFleet.go @@ -74,7 +74,10 @@ func addOperationDisassociateFleetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_EnableUser.go b/service/appstream/api_op_EnableUser.go index 01606864d0f..a797060072d 100644 --- a/service/appstream/api_op_EnableUser.go +++ b/service/appstream/api_op_EnableUser.go @@ -79,7 +79,10 @@ func addOperationEnableUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_ExpireSession.go b/service/appstream/api_op_ExpireSession.go index c9e0eb3b139..242b936b843 100644 --- a/service/appstream/api_op_ExpireSession.go +++ b/service/appstream/api_op_ExpireSession.go @@ -69,7 +69,10 @@ func addOperationExpireSessionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_ListAssociatedFleets.go b/service/appstream/api_op_ListAssociatedFleets.go index b82c68145af..938da60c40d 100644 --- a/service/appstream/api_op_ListAssociatedFleets.go +++ b/service/appstream/api_op_ListAssociatedFleets.go @@ -81,7 +81,10 @@ func addOperationListAssociatedFleetsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_ListAssociatedStacks.go b/service/appstream/api_op_ListAssociatedStacks.go index 5672510ed5f..a1ad60b8aa8 100644 --- a/service/appstream/api_op_ListAssociatedStacks.go +++ b/service/appstream/api_op_ListAssociatedStacks.go @@ -81,7 +81,10 @@ func addOperationListAssociatedStacksMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_ListTagsForResource.go b/service/appstream/api_op_ListTagsForResource.go index 6e956e817b4..8285c2cc3cb 100644 --- a/service/appstream/api_op_ListTagsForResource.go +++ b/service/appstream/api_op_ListTagsForResource.go @@ -77,7 +77,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_StartFleet.go b/service/appstream/api_op_StartFleet.go index e4fbd0ed8f2..8b3ba389fb6 100644 --- a/service/appstream/api_op_StartFleet.go +++ b/service/appstream/api_op_StartFleet.go @@ -69,7 +69,10 @@ func addOperationStartFleetMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_StartImageBuilder.go b/service/appstream/api_op_StartImageBuilder.go index 6bc09b3f7a5..062d4a744dd 100644 --- a/service/appstream/api_op_StartImageBuilder.go +++ b/service/appstream/api_op_StartImageBuilder.go @@ -78,7 +78,10 @@ func addOperationStartImageBuilderMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_StopFleet.go b/service/appstream/api_op_StopFleet.go index a2920f3a956..da28129993b 100644 --- a/service/appstream/api_op_StopFleet.go +++ b/service/appstream/api_op_StopFleet.go @@ -69,7 +69,10 @@ func addOperationStopFleetMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_StopImageBuilder.go b/service/appstream/api_op_StopImageBuilder.go index b0ddc41ebef..566698f2173 100644 --- a/service/appstream/api_op_StopImageBuilder.go +++ b/service/appstream/api_op_StopImageBuilder.go @@ -74,7 +74,10 @@ func addOperationStopImageBuilderMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_TagResource.go b/service/appstream/api_op_TagResource.go index cd29d2262bd..275191239f4 100644 --- a/service/appstream/api_op_TagResource.go +++ b/service/appstream/api_op_TagResource.go @@ -86,7 +86,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_UntagResource.go b/service/appstream/api_op_UntagResource.go index 74b3768d286..4ded01b4ef2 100644 --- a/service/appstream/api_op_UntagResource.go +++ b/service/appstream/api_op_UntagResource.go @@ -78,7 +78,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_UpdateDirectoryConfig.go b/service/appstream/api_op_UpdateDirectoryConfig.go index 459734937f4..2b2ff24377a 100644 --- a/service/appstream/api_op_UpdateDirectoryConfig.go +++ b/service/appstream/api_op_UpdateDirectoryConfig.go @@ -83,7 +83,10 @@ func addOperationUpdateDirectoryConfigMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_UpdateFleet.go b/service/appstream/api_op_UpdateFleet.go index 8d9854d2592..d91511bc87a 100644 --- a/service/appstream/api_op_UpdateFleet.go +++ b/service/appstream/api_op_UpdateFleet.go @@ -242,7 +242,10 @@ func addOperationUpdateFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_UpdateImagePermissions.go b/service/appstream/api_op_UpdateImagePermissions.go index 8de85559404..99b216c2399 100644 --- a/service/appstream/api_op_UpdateImagePermissions.go +++ b/service/appstream/api_op_UpdateImagePermissions.go @@ -81,7 +81,10 @@ func addOperationUpdateImagePermissionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appstream/api_op_UpdateStack.go b/service/appstream/api_op_UpdateStack.go index 17c61b2b531..6678b31f97e 100644 --- a/service/appstream/api_op_UpdateStack.go +++ b/service/appstream/api_op_UpdateStack.go @@ -116,7 +116,10 @@ func addOperationUpdateStackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_CreateApiCache.go b/service/appsync/api_op_CreateApiCache.go index 80d3690587d..f32beec2249 100644 --- a/service/appsync/api_op_CreateApiCache.go +++ b/service/appsync/api_op_CreateApiCache.go @@ -144,7 +144,10 @@ func addOperationCreateApiCacheMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_CreateApiKey.go b/service/appsync/api_op_CreateApiKey.go index deb5c56062b..75828f90e4d 100644 --- a/service/appsync/api_op_CreateApiKey.go +++ b/service/appsync/api_op_CreateApiKey.go @@ -84,7 +84,10 @@ func addOperationCreateApiKeyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_CreateDataSource.go b/service/appsync/api_op_CreateDataSource.go index 380c0bfab16..3216f4c8a27 100644 --- a/service/appsync/api_op_CreateDataSource.go +++ b/service/appsync/api_op_CreateDataSource.go @@ -106,7 +106,10 @@ func addOperationCreateDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_CreateFunction.go b/service/appsync/api_op_CreateFunction.go index fc3d214fee1..4b7c7fad09c 100644 --- a/service/appsync/api_op_CreateFunction.go +++ b/service/appsync/api_op_CreateFunction.go @@ -101,7 +101,10 @@ func addOperationCreateFunctionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_CreateGraphqlApi.go b/service/appsync/api_op_CreateGraphqlApi.go index a26cab92ef4..e23009b7fae 100644 --- a/service/appsync/api_op_CreateGraphqlApi.go +++ b/service/appsync/api_op_CreateGraphqlApi.go @@ -97,7 +97,10 @@ func addOperationCreateGraphqlApiMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_CreateResolver.go b/service/appsync/api_op_CreateResolver.go index 455316f9413..5fa898d14d2 100644 --- a/service/appsync/api_op_CreateResolver.go +++ b/service/appsync/api_op_CreateResolver.go @@ -120,7 +120,10 @@ func addOperationCreateResolverMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_CreateType.go b/service/appsync/api_op_CreateType.go index 15d658b4a2d..0249ebbde15 100644 --- a/service/appsync/api_op_CreateType.go +++ b/service/appsync/api_op_CreateType.go @@ -86,7 +86,10 @@ func addOperationCreateTypeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_DeleteApiCache.go b/service/appsync/api_op_DeleteApiCache.go index 07795744520..e3331adf053 100644 --- a/service/appsync/api_op_DeleteApiCache.go +++ b/service/appsync/api_op_DeleteApiCache.go @@ -71,7 +71,10 @@ func addOperationDeleteApiCacheMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_DeleteApiKey.go b/service/appsync/api_op_DeleteApiKey.go index a3efb08240c..c367a2688ff 100644 --- a/service/appsync/api_op_DeleteApiKey.go +++ b/service/appsync/api_op_DeleteApiKey.go @@ -74,7 +74,10 @@ func addOperationDeleteApiKeyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_DeleteDataSource.go b/service/appsync/api_op_DeleteDataSource.go index 43bfd5da6ce..32c30213c67 100644 --- a/service/appsync/api_op_DeleteDataSource.go +++ b/service/appsync/api_op_DeleteDataSource.go @@ -74,7 +74,10 @@ func addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_DeleteFunction.go b/service/appsync/api_op_DeleteFunction.go index b52c5a50cea..978820da864 100644 --- a/service/appsync/api_op_DeleteFunction.go +++ b/service/appsync/api_op_DeleteFunction.go @@ -74,7 +74,10 @@ func addOperationDeleteFunctionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_DeleteGraphqlApi.go b/service/appsync/api_op_DeleteGraphqlApi.go index b9073fa5363..16da593c4e1 100644 --- a/service/appsync/api_op_DeleteGraphqlApi.go +++ b/service/appsync/api_op_DeleteGraphqlApi.go @@ -69,7 +69,10 @@ func addOperationDeleteGraphqlApiMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_DeleteResolver.go b/service/appsync/api_op_DeleteResolver.go index ffcf14afaa6..2d2b16f3c52 100644 --- a/service/appsync/api_op_DeleteResolver.go +++ b/service/appsync/api_op_DeleteResolver.go @@ -79,7 +79,10 @@ func addOperationDeleteResolverMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_DeleteType.go b/service/appsync/api_op_DeleteType.go index 53dd079290c..9bc0eaa932e 100644 --- a/service/appsync/api_op_DeleteType.go +++ b/service/appsync/api_op_DeleteType.go @@ -74,7 +74,10 @@ func addOperationDeleteTypeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_FlushApiCache.go b/service/appsync/api_op_FlushApiCache.go index 17a699aa4e0..730309c3cd1 100644 --- a/service/appsync/api_op_FlushApiCache.go +++ b/service/appsync/api_op_FlushApiCache.go @@ -71,7 +71,10 @@ func addOperationFlushApiCacheMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_GetApiCache.go b/service/appsync/api_op_GetApiCache.go index 996645892fb..304f4290ced 100644 --- a/service/appsync/api_op_GetApiCache.go +++ b/service/appsync/api_op_GetApiCache.go @@ -76,7 +76,10 @@ func addOperationGetApiCacheMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_GetDataSource.go b/service/appsync/api_op_GetDataSource.go index 4a03da7f8ea..b07385d780e 100644 --- a/service/appsync/api_op_GetDataSource.go +++ b/service/appsync/api_op_GetDataSource.go @@ -79,7 +79,10 @@ func addOperationGetDataSourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_GetFunction.go b/service/appsync/api_op_GetFunction.go index ff089abb4b8..9508c43ccb0 100644 --- a/service/appsync/api_op_GetFunction.go +++ b/service/appsync/api_op_GetFunction.go @@ -79,7 +79,10 @@ func addOperationGetFunctionMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_GetGraphqlApi.go b/service/appsync/api_op_GetGraphqlApi.go index 5f8ac717ad3..b7c1ff55601 100644 --- a/service/appsync/api_op_GetGraphqlApi.go +++ b/service/appsync/api_op_GetGraphqlApi.go @@ -74,7 +74,10 @@ func addOperationGetGraphqlApiMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_GetIntrospectionSchema.go b/service/appsync/api_op_GetIntrospectionSchema.go index cfd25fe79c1..791fb797185 100644 --- a/service/appsync/api_op_GetIntrospectionSchema.go +++ b/service/appsync/api_op_GetIntrospectionSchema.go @@ -85,7 +85,10 @@ func addOperationGetIntrospectionSchemaMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_GetResolver.go b/service/appsync/api_op_GetResolver.go index 4e33d180a9a..64a739eb586 100644 --- a/service/appsync/api_op_GetResolver.go +++ b/service/appsync/api_op_GetResolver.go @@ -84,7 +84,10 @@ func addOperationGetResolverMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_GetSchemaCreationStatus.go b/service/appsync/api_op_GetSchemaCreationStatus.go index 9c80c05243f..0f386bdd11a 100644 --- a/service/appsync/api_op_GetSchemaCreationStatus.go +++ b/service/appsync/api_op_GetSchemaCreationStatus.go @@ -78,7 +78,10 @@ func addOperationGetSchemaCreationStatusMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_GetType.go b/service/appsync/api_op_GetType.go index 44496ac0a33..69c2b9dd41c 100644 --- a/service/appsync/api_op_GetType.go +++ b/service/appsync/api_op_GetType.go @@ -84,7 +84,10 @@ func addOperationGetTypeMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_ListApiKeys.go b/service/appsync/api_op_ListApiKeys.go index d0462d8bd1c..7a08657ad38 100644 --- a/service/appsync/api_op_ListApiKeys.go +++ b/service/appsync/api_op_ListApiKeys.go @@ -88,7 +88,10 @@ func addOperationListApiKeysMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_ListDataSources.go b/service/appsync/api_op_ListDataSources.go index 2d4fc426673..df864e96fe6 100644 --- a/service/appsync/api_op_ListDataSources.go +++ b/service/appsync/api_op_ListDataSources.go @@ -85,7 +85,10 @@ func addOperationListDataSourcesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_ListFunctions.go b/service/appsync/api_op_ListFunctions.go index 0f989be1e4d..acb9e6cd0ee 100644 --- a/service/appsync/api_op_ListFunctions.go +++ b/service/appsync/api_op_ListFunctions.go @@ -85,7 +85,10 @@ func addOperationListFunctionsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_ListGraphqlApis.go b/service/appsync/api_op_ListGraphqlApis.go index 6a9e91eaf84..462b9d058b4 100644 --- a/service/appsync/api_op_ListGraphqlApis.go +++ b/service/appsync/api_op_ListGraphqlApis.go @@ -80,7 +80,10 @@ func addOperationListGraphqlApisMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_ListResolvers.go b/service/appsync/api_op_ListResolvers.go index 9b6ca48ae31..aa86ac5c687 100644 --- a/service/appsync/api_op_ListResolvers.go +++ b/service/appsync/api_op_ListResolvers.go @@ -90,7 +90,10 @@ func addOperationListResolversMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_ListResolversByFunction.go b/service/appsync/api_op_ListResolversByFunction.go index fc39b811363..afdb35c8c03 100644 --- a/service/appsync/api_op_ListResolversByFunction.go +++ b/service/appsync/api_op_ListResolversByFunction.go @@ -89,7 +89,10 @@ func addOperationListResolversByFunctionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_ListTagsForResource.go b/service/appsync/api_op_ListTagsForResource.go index c6848029de4..96187ef20c5 100644 --- a/service/appsync/api_op_ListTagsForResource.go +++ b/service/appsync/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_ListTypes.go b/service/appsync/api_op_ListTypes.go index dd97cf44f58..44dcf3a4268 100644 --- a/service/appsync/api_op_ListTypes.go +++ b/service/appsync/api_op_ListTypes.go @@ -90,7 +90,10 @@ func addOperationListTypesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_StartSchemaCreation.go b/service/appsync/api_op_StartSchemaCreation.go index 23c0898a3b5..671e3427fcd 100644 --- a/service/appsync/api_op_StartSchemaCreation.go +++ b/service/appsync/api_op_StartSchemaCreation.go @@ -81,7 +81,10 @@ func addOperationStartSchemaCreationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_TagResource.go b/service/appsync/api_op_TagResource.go index 45402ce93fa..d4cb1b62936 100644 --- a/service/appsync/api_op_TagResource.go +++ b/service/appsync/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_UntagResource.go b/service/appsync/api_op_UntagResource.go index 4e7151b722d..57fedc24905 100644 --- a/service/appsync/api_op_UntagResource.go +++ b/service/appsync/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_UpdateApiCache.go b/service/appsync/api_op_UpdateApiCache.go index b5a456de1b1..e6ff2e6fdba 100644 --- a/service/appsync/api_op_UpdateApiCache.go +++ b/service/appsync/api_op_UpdateApiCache.go @@ -136,7 +136,10 @@ func addOperationUpdateApiCacheMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_UpdateApiKey.go b/service/appsync/api_op_UpdateApiKey.go index ad8a279f518..bcdd33b2b33 100644 --- a/service/appsync/api_op_UpdateApiKey.go +++ b/service/appsync/api_op_UpdateApiKey.go @@ -86,7 +86,10 @@ func addOperationUpdateApiKeyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_UpdateDataSource.go b/service/appsync/api_op_UpdateDataSource.go index a3b5433fb9f..166c16c5d82 100644 --- a/service/appsync/api_op_UpdateDataSource.go +++ b/service/appsync/api_op_UpdateDataSource.go @@ -105,7 +105,10 @@ func addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_UpdateFunction.go b/service/appsync/api_op_UpdateFunction.go index e40af0018b3..0a35d8ad827 100644 --- a/service/appsync/api_op_UpdateFunction.go +++ b/service/appsync/api_op_UpdateFunction.go @@ -105,7 +105,10 @@ func addOperationUpdateFunctionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_UpdateGraphqlApi.go b/service/appsync/api_op_UpdateGraphqlApi.go index 3142156b9fa..22624b3b134 100644 --- a/service/appsync/api_op_UpdateGraphqlApi.go +++ b/service/appsync/api_op_UpdateGraphqlApi.go @@ -97,7 +97,10 @@ func addOperationUpdateGraphqlApiMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_UpdateResolver.go b/service/appsync/api_op_UpdateResolver.go index 84b474fede1..9b4c1e6bce3 100644 --- a/service/appsync/api_op_UpdateResolver.go +++ b/service/appsync/api_op_UpdateResolver.go @@ -117,7 +117,10 @@ func addOperationUpdateResolverMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/appsync/api_op_UpdateType.go b/service/appsync/api_op_UpdateType.go index 478953a27ea..1d7bd4952dd 100644 --- a/service/appsync/api_op_UpdateType.go +++ b/service/appsync/api_op_UpdateType.go @@ -87,7 +87,10 @@ func addOperationUpdateTypeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_BatchGetNamedQuery.go b/service/athena/api_op_BatchGetNamedQuery.go index 440ba2cb4c5..edc5a038d22 100644 --- a/service/athena/api_op_BatchGetNamedQuery.go +++ b/service/athena/api_op_BatchGetNamedQuery.go @@ -84,7 +84,10 @@ func addOperationBatchGetNamedQueryMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_BatchGetQueryExecution.go b/service/athena/api_op_BatchGetQueryExecution.go index ad44e67bd21..ca1b451d005 100644 --- a/service/athena/api_op_BatchGetQueryExecution.go +++ b/service/athena/api_op_BatchGetQueryExecution.go @@ -82,7 +82,10 @@ func addOperationBatchGetQueryExecutionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_CreateDataCatalog.go b/service/athena/api_op_CreateDataCatalog.go index 7bb76b8e521..a45cfb7475e 100644 --- a/service/athena/api_op_CreateDataCatalog.go +++ b/service/athena/api_op_CreateDataCatalog.go @@ -109,7 +109,10 @@ func addOperationCreateDataCatalogMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_CreateNamedQuery.go b/service/athena/api_op_CreateNamedQuery.go index d879fe6aaef..6565f415286 100644 --- a/service/athena/api_op_CreateNamedQuery.go +++ b/service/athena/api_op_CreateNamedQuery.go @@ -102,7 +102,10 @@ func addOperationCreateNamedQueryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_CreateWorkGroup.go b/service/athena/api_op_CreateWorkGroup.go index f58b375e12f..af61f2da461 100644 --- a/service/athena/api_op_CreateWorkGroup.go +++ b/service/athena/api_op_CreateWorkGroup.go @@ -85,7 +85,10 @@ func addOperationCreateWorkGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_DeleteDataCatalog.go b/service/athena/api_op_DeleteDataCatalog.go index 5e336a3fe48..6a2f4d8c68d 100644 --- a/service/athena/api_op_DeleteDataCatalog.go +++ b/service/athena/api_op_DeleteDataCatalog.go @@ -69,7 +69,10 @@ func addOperationDeleteDataCatalogMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_DeleteNamedQuery.go b/service/athena/api_op_DeleteNamedQuery.go index 8dc092643c1..b9b9b5772d5 100644 --- a/service/athena/api_op_DeleteNamedQuery.go +++ b/service/athena/api_op_DeleteNamedQuery.go @@ -73,7 +73,10 @@ func addOperationDeleteNamedQueryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_DeleteWorkGroup.go b/service/athena/api_op_DeleteWorkGroup.go index ea1dcb17d71..ba93455ad10 100644 --- a/service/athena/api_op_DeleteWorkGroup.go +++ b/service/athena/api_op_DeleteWorkGroup.go @@ -74,7 +74,10 @@ func addOperationDeleteWorkGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_GetDataCatalog.go b/service/athena/api_op_GetDataCatalog.go index 9989ee3b6b1..42332dc560c 100644 --- a/service/athena/api_op_GetDataCatalog.go +++ b/service/athena/api_op_GetDataCatalog.go @@ -74,7 +74,10 @@ func addOperationGetDataCatalogMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_GetDatabase.go b/service/athena/api_op_GetDatabase.go index 3d110bdeac8..eb42d8ae230 100644 --- a/service/athena/api_op_GetDatabase.go +++ b/service/athena/api_op_GetDatabase.go @@ -79,7 +79,10 @@ func addOperationGetDatabaseMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_GetNamedQuery.go b/service/athena/api_op_GetNamedQuery.go index 71f7d8187a6..196481cd2d9 100644 --- a/service/athena/api_op_GetNamedQuery.go +++ b/service/athena/api_op_GetNamedQuery.go @@ -75,7 +75,10 @@ func addOperationGetNamedQueryMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_GetQueryExecution.go b/service/athena/api_op_GetQueryExecution.go index bd6079c4610..78cc5ee5b61 100644 --- a/service/athena/api_op_GetQueryExecution.go +++ b/service/athena/api_op_GetQueryExecution.go @@ -76,7 +76,10 @@ func addOperationGetQueryExecutionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_GetQueryResults.go b/service/athena/api_op_GetQueryResults.go index 8123d8386ee..8a28ab54f67 100644 --- a/service/athena/api_op_GetQueryResults.go +++ b/service/athena/api_op_GetQueryResults.go @@ -102,7 +102,10 @@ func addOperationGetQueryResultsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_GetTableMetadata.go b/service/athena/api_op_GetTableMetadata.go index fc06b241821..73c7da5923b 100644 --- a/service/athena/api_op_GetTableMetadata.go +++ b/service/athena/api_op_GetTableMetadata.go @@ -85,7 +85,10 @@ func addOperationGetTableMetadataMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_GetWorkGroup.go b/service/athena/api_op_GetWorkGroup.go index 58af855e209..79855d360a1 100644 --- a/service/athena/api_op_GetWorkGroup.go +++ b/service/athena/api_op_GetWorkGroup.go @@ -74,7 +74,10 @@ func addOperationGetWorkGroupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_ListDataCatalogs.go b/service/athena/api_op_ListDataCatalogs.go index 311037ce97f..912a11909d6 100644 --- a/service/athena/api_op_ListDataCatalogs.go +++ b/service/athena/api_op_ListDataCatalogs.go @@ -83,7 +83,10 @@ func addOperationListDataCatalogsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_ListDatabases.go b/service/athena/api_op_ListDatabases.go index fba66b487ce..e42be4fc524 100644 --- a/service/athena/api_op_ListDatabases.go +++ b/service/athena/api_op_ListDatabases.go @@ -88,7 +88,10 @@ func addOperationListDatabasesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_ListNamedQueries.go b/service/athena/api_op_ListNamedQueries.go index 32d72824f34..b758ba3ad9e 100644 --- a/service/athena/api_op_ListNamedQueries.go +++ b/service/athena/api_op_ListNamedQueries.go @@ -92,7 +92,10 @@ func addOperationListNamedQueriesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_ListQueryExecutions.go b/service/athena/api_op_ListQueryExecutions.go index 4aaf55ea18c..e7c8e867b37 100644 --- a/service/athena/api_op_ListQueryExecutions.go +++ b/service/athena/api_op_ListQueryExecutions.go @@ -91,7 +91,10 @@ func addOperationListQueryExecutionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_ListTableMetadata.go b/service/athena/api_op_ListTableMetadata.go index c4282611998..6b26f4a2c80 100644 --- a/service/athena/api_op_ListTableMetadata.go +++ b/service/athena/api_op_ListTableMetadata.go @@ -97,7 +97,10 @@ func addOperationListTableMetadataMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_ListTagsForResource.go b/service/athena/api_op_ListTagsForResource.go index de240f3ca9b..7298457187d 100644 --- a/service/athena/api_op_ListTagsForResource.go +++ b/service/athena/api_op_ListTagsForResource.go @@ -87,7 +87,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_ListWorkGroups.go b/service/athena/api_op_ListWorkGroups.go index 093c39fd87f..98f826dff5d 100644 --- a/service/athena/api_op_ListWorkGroups.go +++ b/service/athena/api_op_ListWorkGroups.go @@ -84,7 +84,10 @@ func addOperationListWorkGroupsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_StartQueryExecution.go b/service/athena/api_op_StartQueryExecution.go index a0ac31edf67..cbed96decc9 100644 --- a/service/athena/api_op_StartQueryExecution.go +++ b/service/athena/api_op_StartQueryExecution.go @@ -103,7 +103,10 @@ func addOperationStartQueryExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_StopQueryExecution.go b/service/athena/api_op_StopQueryExecution.go index a42c8b38bf9..f6d69b0ab45 100644 --- a/service/athena/api_op_StopQueryExecution.go +++ b/service/athena/api_op_StopQueryExecution.go @@ -73,7 +73,10 @@ func addOperationStopQueryExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_TagResource.go b/service/athena/api_op_TagResource.go index 4f9dcfb15f6..2a55525ff0e 100644 --- a/service/athena/api_op_TagResource.go +++ b/service/athena/api_op_TagResource.go @@ -89,7 +89,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_UntagResource.go b/service/athena/api_op_UntagResource.go index db1ad7cc77a..4e21f08353a 100644 --- a/service/athena/api_op_UntagResource.go +++ b/service/athena/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_UpdateDataCatalog.go b/service/athena/api_op_UpdateDataCatalog.go index 64faab6b7dc..3990dba0cb1 100644 --- a/service/athena/api_op_UpdateDataCatalog.go +++ b/service/athena/api_op_UpdateDataCatalog.go @@ -105,7 +105,10 @@ func addOperationUpdateDataCatalogMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/athena/api_op_UpdateWorkGroup.go b/service/athena/api_op_UpdateWorkGroup.go index ef0a0b699f1..163d6278887 100644 --- a/service/athena/api_op_UpdateWorkGroup.go +++ b/service/athena/api_op_UpdateWorkGroup.go @@ -80,7 +80,10 @@ func addOperationUpdateWorkGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go b/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go index 34f6ea2814e..8c899fd6b81 100644 --- a/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go +++ b/service/auditmanager/api_op_AssociateAssessmentReportEvidenceFolder.go @@ -75,7 +75,10 @@ func addOperationAssociateAssessmentReportEvidenceFolderMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go b/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go index 4b6b986ae7e..c5a388661df 100644 --- a/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go +++ b/service/auditmanager/api_op_BatchAssociateAssessmentReportEvidence.go @@ -88,7 +88,10 @@ func addOperationBatchAssociateAssessmentReportEvidenceMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go b/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go index 5aa5f5a2a74..8c549be3d07 100644 --- a/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go +++ b/service/auditmanager/api_op_BatchCreateDelegationByAssessment.go @@ -82,7 +82,10 @@ func addOperationBatchCreateDelegationByAssessmentMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go b/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go index 48a4e560c8b..c05a4958780 100644 --- a/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go +++ b/service/auditmanager/api_op_BatchDeleteDelegationByAssessment.go @@ -79,7 +79,10 @@ func addOperationBatchDeleteDelegationByAssessmentMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go b/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go index ce0020a0b41..2707186e31f 100644 --- a/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go +++ b/service/auditmanager/api_op_BatchDisassociateAssessmentReportEvidence.go @@ -88,7 +88,10 @@ func addOperationBatchDisassociateAssessmentReportEvidenceMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go b/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go index d9407b6a2be..58bee427174 100644 --- a/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go +++ b/service/auditmanager/api_op_BatchImportEvidenceToAssessmentControl.go @@ -90,7 +90,10 @@ func addOperationBatchImportEvidenceToAssessmentControlMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_CreateAssessment.go b/service/auditmanager/api_op_CreateAssessment.go index 9dbf7282e4c..f5501442caf 100644 --- a/service/auditmanager/api_op_CreateAssessment.go +++ b/service/auditmanager/api_op_CreateAssessment.go @@ -104,7 +104,10 @@ func addOperationCreateAssessmentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_CreateAssessmentFramework.go b/service/auditmanager/api_op_CreateAssessmentFramework.go index c6327c58050..38fe31480f1 100644 --- a/service/auditmanager/api_op_CreateAssessmentFramework.go +++ b/service/auditmanager/api_op_CreateAssessmentFramework.go @@ -86,7 +86,10 @@ func addOperationCreateAssessmentFrameworkMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_CreateAssessmentReport.go b/service/auditmanager/api_op_CreateAssessmentReport.go index 3da0ea86807..03f4d2daf78 100644 --- a/service/auditmanager/api_op_CreateAssessmentReport.go +++ b/service/auditmanager/api_op_CreateAssessmentReport.go @@ -82,7 +82,10 @@ func addOperationCreateAssessmentReportMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_CreateControl.go b/service/auditmanager/api_op_CreateControl.go index ea126d858ca..467ee5fbf89 100644 --- a/service/auditmanager/api_op_CreateControl.go +++ b/service/auditmanager/api_op_CreateControl.go @@ -95,7 +95,10 @@ func addOperationCreateControlMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_DeleteAssessment.go b/service/auditmanager/api_op_DeleteAssessment.go index c0e6a43ce54..380a3714c5a 100644 --- a/service/auditmanager/api_op_DeleteAssessment.go +++ b/service/auditmanager/api_op_DeleteAssessment.go @@ -69,7 +69,10 @@ func addOperationDeleteAssessmentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_DeleteAssessmentFramework.go b/service/auditmanager/api_op_DeleteAssessmentFramework.go index b6ee23df5f1..2616e21dbe6 100644 --- a/service/auditmanager/api_op_DeleteAssessmentFramework.go +++ b/service/auditmanager/api_op_DeleteAssessmentFramework.go @@ -69,7 +69,10 @@ func addOperationDeleteAssessmentFrameworkMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_DeleteAssessmentReport.go b/service/auditmanager/api_op_DeleteAssessmentReport.go index 9a607445c7d..1f50e317edb 100644 --- a/service/auditmanager/api_op_DeleteAssessmentReport.go +++ b/service/auditmanager/api_op_DeleteAssessmentReport.go @@ -74,7 +74,10 @@ func addOperationDeleteAssessmentReportMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_DeleteControl.go b/service/auditmanager/api_op_DeleteControl.go index 233d9edd343..f44f9c3bfe9 100644 --- a/service/auditmanager/api_op_DeleteControl.go +++ b/service/auditmanager/api_op_DeleteControl.go @@ -69,7 +69,10 @@ func addOperationDeleteControlMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_DeregisterAccount.go b/service/auditmanager/api_op_DeregisterAccount.go index 33bcdd0cbd3..10d67d6418b 100644 --- a/service/auditmanager/api_op_DeregisterAccount.go +++ b/service/auditmanager/api_op_DeregisterAccount.go @@ -69,7 +69,10 @@ func addOperationDeregisterAccountMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go b/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go index 02786f5ab99..166a6075e98 100644 --- a/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go +++ b/service/auditmanager/api_op_DeregisterOrganizationAdminAccount.go @@ -67,7 +67,10 @@ func addOperationDeregisterOrganizationAdminAccountMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go b/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go index 755deb1ffa8..c8f10960864 100644 --- a/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go +++ b/service/auditmanager/api_op_DisassociateAssessmentReportEvidenceFolder.go @@ -75,7 +75,10 @@ func addOperationDisassociateAssessmentReportEvidenceFolderMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetAccountStatus.go b/service/auditmanager/api_op_GetAccountStatus.go index f89d396fc4b..251abb4fcf5 100644 --- a/service/auditmanager/api_op_GetAccountStatus.go +++ b/service/auditmanager/api_op_GetAccountStatus.go @@ -69,7 +69,10 @@ func addOperationGetAccountStatusMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetAssessment.go b/service/auditmanager/api_op_GetAssessment.go index ddf9721ffa9..cd02d54d029 100644 --- a/service/auditmanager/api_op_GetAssessment.go +++ b/service/auditmanager/api_op_GetAssessment.go @@ -76,7 +76,10 @@ func addOperationGetAssessmentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetAssessmentFramework.go b/service/auditmanager/api_op_GetAssessmentFramework.go index 4eb5d116e05..28c5c4f084a 100644 --- a/service/auditmanager/api_op_GetAssessmentFramework.go +++ b/service/auditmanager/api_op_GetAssessmentFramework.go @@ -74,7 +74,10 @@ func addOperationGetAssessmentFrameworkMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetAssessmentReportUrl.go b/service/auditmanager/api_op_GetAssessmentReportUrl.go index 286b1ab1904..86363860110 100644 --- a/service/auditmanager/api_op_GetAssessmentReportUrl.go +++ b/service/auditmanager/api_op_GetAssessmentReportUrl.go @@ -80,7 +80,10 @@ func addOperationGetAssessmentReportUrlMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetChangeLogs.go b/service/auditmanager/api_op_GetChangeLogs.go index 0895edef1cd..a0f4b25da42 100644 --- a/service/auditmanager/api_op_GetChangeLogs.go +++ b/service/auditmanager/api_op_GetChangeLogs.go @@ -90,7 +90,10 @@ func addOperationGetChangeLogsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetControl.go b/service/auditmanager/api_op_GetControl.go index 6489c43dd11..116b3c61eb1 100644 --- a/service/auditmanager/api_op_GetControl.go +++ b/service/auditmanager/api_op_GetControl.go @@ -74,7 +74,10 @@ func addOperationGetControlMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetDelegations.go b/service/auditmanager/api_op_GetDelegations.go index 543b61fb65f..84ed511ccdd 100644 --- a/service/auditmanager/api_op_GetDelegations.go +++ b/service/auditmanager/api_op_GetDelegations.go @@ -79,7 +79,10 @@ func addOperationGetDelegationsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetEvidence.go b/service/auditmanager/api_op_GetEvidence.go index 81f9b9838ca..2ff67346dd8 100644 --- a/service/auditmanager/api_op_GetEvidence.go +++ b/service/auditmanager/api_op_GetEvidence.go @@ -89,7 +89,10 @@ func addOperationGetEvidenceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go b/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go index c106a6e6627..e45a6522ef5 100644 --- a/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go +++ b/service/auditmanager/api_op_GetEvidenceByEvidenceFolder.go @@ -94,7 +94,10 @@ func addOperationGetEvidenceByEvidenceFolderMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetEvidenceFolder.go b/service/auditmanager/api_op_GetEvidenceFolder.go index 373084d078b..0f77f590df9 100644 --- a/service/auditmanager/api_op_GetEvidenceFolder.go +++ b/service/auditmanager/api_op_GetEvidenceFolder.go @@ -84,7 +84,10 @@ func addOperationGetEvidenceFolderMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go b/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go index 7295424d00c..360e3360edd 100644 --- a/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go +++ b/service/auditmanager/api_op_GetEvidenceFoldersByAssessment.go @@ -84,7 +84,10 @@ func addOperationGetEvidenceFoldersByAssessmentMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go b/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go index 3725c0bc2e1..2c282f4875e 100644 --- a/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go +++ b/service/auditmanager/api_op_GetEvidenceFoldersByAssessmentControl.go @@ -96,7 +96,10 @@ func addOperationGetEvidenceFoldersByAssessmentControlMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetOrganizationAdminAccount.go b/service/auditmanager/api_op_GetOrganizationAdminAccount.go index 81cf8cebd02..dac9f5198cd 100644 --- a/service/auditmanager/api_op_GetOrganizationAdminAccount.go +++ b/service/auditmanager/api_op_GetOrganizationAdminAccount.go @@ -72,7 +72,10 @@ func addOperationGetOrganizationAdminAccountMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetServicesInScope.go b/service/auditmanager/api_op_GetServicesInScope.go index 3f81af0a742..e2a1cda3330 100644 --- a/service/auditmanager/api_op_GetServicesInScope.go +++ b/service/auditmanager/api_op_GetServicesInScope.go @@ -69,7 +69,10 @@ func addOperationGetServicesInScopeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_GetSettings.go b/service/auditmanager/api_op_GetSettings.go index 24cec450826..fbfca2e020d 100644 --- a/service/auditmanager/api_op_GetSettings.go +++ b/service/auditmanager/api_op_GetSettings.go @@ -74,7 +74,10 @@ func addOperationGetSettingsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_ListAssessmentFrameworks.go b/service/auditmanager/api_op_ListAssessmentFrameworks.go index 55748e3f5dd..c698beecc54 100644 --- a/service/auditmanager/api_op_ListAssessmentFrameworks.go +++ b/service/auditmanager/api_op_ListAssessmentFrameworks.go @@ -85,7 +85,10 @@ func addOperationListAssessmentFrameworksMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_ListAssessmentReports.go b/service/auditmanager/api_op_ListAssessmentReports.go index 0a7ebfea471..8a989856888 100644 --- a/service/auditmanager/api_op_ListAssessmentReports.go +++ b/service/auditmanager/api_op_ListAssessmentReports.go @@ -79,7 +79,10 @@ func addOperationListAssessmentReportsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_ListAssessments.go b/service/auditmanager/api_op_ListAssessments.go index 935072f5068..cb17e41ec68 100644 --- a/service/auditmanager/api_op_ListAssessments.go +++ b/service/auditmanager/api_op_ListAssessments.go @@ -79,7 +79,10 @@ func addOperationListAssessmentsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_ListControls.go b/service/auditmanager/api_op_ListControls.go index ed3d3be9344..aa254b64d55 100644 --- a/service/auditmanager/api_op_ListControls.go +++ b/service/auditmanager/api_op_ListControls.go @@ -84,7 +84,10 @@ func addOperationListControlsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_ListKeywordsForDataSource.go b/service/auditmanager/api_op_ListKeywordsForDataSource.go index 1f2511594fe..5148cff1b44 100644 --- a/service/auditmanager/api_op_ListKeywordsForDataSource.go +++ b/service/auditmanager/api_op_ListKeywordsForDataSource.go @@ -84,7 +84,10 @@ func addOperationListKeywordsForDataSourceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_ListNotifications.go b/service/auditmanager/api_op_ListNotifications.go index e5c5975c8a9..6c9356ef5d2 100644 --- a/service/auditmanager/api_op_ListNotifications.go +++ b/service/auditmanager/api_op_ListNotifications.go @@ -79,7 +79,10 @@ func addOperationListNotificationsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_ListTagsForResource.go b/service/auditmanager/api_op_ListTagsForResource.go index 7f0b5bd498e..a09a2c6ef5b 100644 --- a/service/auditmanager/api_op_ListTagsForResource.go +++ b/service/auditmanager/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_RegisterAccount.go b/service/auditmanager/api_op_RegisterAccount.go index ab6e325ea09..171a0ad5b8e 100644 --- a/service/auditmanager/api_op_RegisterAccount.go +++ b/service/auditmanager/api_op_RegisterAccount.go @@ -75,7 +75,10 @@ func addOperationRegisterAccountMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go b/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go index d2e63f1ac26..f3844517cb9 100644 --- a/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go +++ b/service/auditmanager/api_op_RegisterOrganizationAdminAccount.go @@ -77,7 +77,10 @@ func addOperationRegisterOrganizationAdminAccountMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_TagResource.go b/service/auditmanager/api_op_TagResource.go index 416b87573ef..f33ff07ba09 100644 --- a/service/auditmanager/api_op_TagResource.go +++ b/service/auditmanager/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_UntagResource.go b/service/auditmanager/api_op_UntagResource.go index db8628c0bf0..f1c7ce727b8 100644 --- a/service/auditmanager/api_op_UntagResource.go +++ b/service/auditmanager/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_UpdateAssessment.go b/service/auditmanager/api_op_UpdateAssessment.go index 12356778e33..113ac779d80 100644 --- a/service/auditmanager/api_op_UpdateAssessment.go +++ b/service/auditmanager/api_op_UpdateAssessment.go @@ -93,7 +93,10 @@ func addOperationUpdateAssessmentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_UpdateAssessmentControl.go b/service/auditmanager/api_op_UpdateAssessmentControl.go index 6e8f4fa9b28..00eaf9932d9 100644 --- a/service/auditmanager/api_op_UpdateAssessmentControl.go +++ b/service/auditmanager/api_op_UpdateAssessmentControl.go @@ -90,7 +90,10 @@ func addOperationUpdateAssessmentControlMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go b/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go index fd542a06f22..691d8ea0243 100644 --- a/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go +++ b/service/auditmanager/api_op_UpdateAssessmentControlSetStatus.go @@ -90,7 +90,10 @@ func addOperationUpdateAssessmentControlSetStatusMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_UpdateAssessmentFramework.go b/service/auditmanager/api_op_UpdateAssessmentFramework.go index 465a6e4915f..70bf3c7f90c 100644 --- a/service/auditmanager/api_op_UpdateAssessmentFramework.go +++ b/service/auditmanager/api_op_UpdateAssessmentFramework.go @@ -91,7 +91,10 @@ func addOperationUpdateAssessmentFrameworkMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_UpdateAssessmentStatus.go b/service/auditmanager/api_op_UpdateAssessmentStatus.go index b555b1cc98c..4179f469c80 100644 --- a/service/auditmanager/api_op_UpdateAssessmentStatus.go +++ b/service/auditmanager/api_op_UpdateAssessmentStatus.go @@ -79,7 +79,10 @@ func addOperationUpdateAssessmentStatusMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_UpdateControl.go b/service/auditmanager/api_op_UpdateControl.go index 4749c834915..7d30ba0c442 100644 --- a/service/auditmanager/api_op_UpdateControl.go +++ b/service/auditmanager/api_op_UpdateControl.go @@ -97,7 +97,10 @@ func addOperationUpdateControlMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_UpdateSettings.go b/service/auditmanager/api_op_UpdateSettings.go index ed4cfd4cee8..b14821fe89e 100644 --- a/service/auditmanager/api_op_UpdateSettings.go +++ b/service/auditmanager/api_op_UpdateSettings.go @@ -82,7 +82,10 @@ func addOperationUpdateSettingsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go b/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go index f3f0495ba06..f8f33419806 100644 --- a/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go +++ b/service/auditmanager/api_op_ValidateAssessmentReportIntegrity.go @@ -87,7 +87,10 @@ func addOperationValidateAssessmentReportIntegrityMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_AttachInstances.go b/service/autoscaling/api_op_AttachInstances.go index e20b74bcd6d..7b286fca42d 100644 --- a/service/autoscaling/api_op_AttachInstances.go +++ b/service/autoscaling/api_op_AttachInstances.go @@ -82,7 +82,10 @@ func addOperationAttachInstancesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go b/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go index c3bc9245b1d..4998c8c0ab5 100644 --- a/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go +++ b/service/autoscaling/api_op_AttachLoadBalancerTargetGroups.go @@ -96,7 +96,10 @@ func addOperationAttachLoadBalancerTargetGroupsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_AttachLoadBalancers.go b/service/autoscaling/api_op_AttachLoadBalancers.go index 2cb08bec3a1..73f61ecf1f1 100644 --- a/service/autoscaling/api_op_AttachLoadBalancers.go +++ b/service/autoscaling/api_op_AttachLoadBalancers.go @@ -83,7 +83,10 @@ func addOperationAttachLoadBalancersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_BatchDeleteScheduledAction.go b/service/autoscaling/api_op_BatchDeleteScheduledAction.go index 0283be0ba32..cfe1a413350 100644 --- a/service/autoscaling/api_op_BatchDeleteScheduledAction.go +++ b/service/autoscaling/api_op_BatchDeleteScheduledAction.go @@ -80,7 +80,10 @@ func addOperationBatchDeleteScheduledActionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go b/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go index 3a2b0231859..6d288ce1da5 100644 --- a/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go +++ b/service/autoscaling/api_op_BatchPutScheduledUpdateGroupAction.go @@ -82,7 +82,10 @@ func addOperationBatchPutScheduledUpdateGroupActionMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_CancelInstanceRefresh.go b/service/autoscaling/api_op_CancelInstanceRefresh.go index 352d678ad96..d4a7a0c06bc 100644 --- a/service/autoscaling/api_op_CancelInstanceRefresh.go +++ b/service/autoscaling/api_op_CancelInstanceRefresh.go @@ -77,7 +77,10 @@ func addOperationCancelInstanceRefreshMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_CompleteLifecycleAction.go b/service/autoscaling/api_op_CompleteLifecycleAction.go index 9c2b78ee138..296de147a8f 100644 --- a/service/autoscaling/api_op_CompleteLifecycleAction.go +++ b/service/autoscaling/api_op_CompleteLifecycleAction.go @@ -114,7 +114,10 @@ func addOperationCompleteLifecycleActionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_CreateAutoScalingGroup.go b/service/autoscaling/api_op_CreateAutoScalingGroup.go index 9299b890afb..1a25ff47c96 100644 --- a/service/autoscaling/api_op_CreateAutoScalingGroup.go +++ b/service/autoscaling/api_op_CreateAutoScalingGroup.go @@ -272,7 +272,10 @@ func addOperationCreateAutoScalingGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_CreateLaunchConfiguration.go b/service/autoscaling/api_op_CreateLaunchConfiguration.go index 44a759a0fb5..674bf5b3081 100644 --- a/service/autoscaling/api_op_CreateLaunchConfiguration.go +++ b/service/autoscaling/api_op_CreateLaunchConfiguration.go @@ -229,7 +229,10 @@ func addOperationCreateLaunchConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_CreateOrUpdateTags.go b/service/autoscaling/api_op_CreateOrUpdateTags.go index c45bb27b117..a9f52cf348d 100644 --- a/service/autoscaling/api_op_CreateOrUpdateTags.go +++ b/service/autoscaling/api_op_CreateOrUpdateTags.go @@ -75,7 +75,10 @@ func addOperationCreateOrUpdateTagsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DeleteAutoScalingGroup.go b/service/autoscaling/api_op_DeleteAutoScalingGroup.go index f7e259a5cd7..857c65864fb 100644 --- a/service/autoscaling/api_op_DeleteAutoScalingGroup.go +++ b/service/autoscaling/api_op_DeleteAutoScalingGroup.go @@ -83,7 +83,10 @@ func addOperationDeleteAutoScalingGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DeleteLaunchConfiguration.go b/service/autoscaling/api_op_DeleteLaunchConfiguration.go index ed73e2cb1a8..8cf099a6dcc 100644 --- a/service/autoscaling/api_op_DeleteLaunchConfiguration.go +++ b/service/autoscaling/api_op_DeleteLaunchConfiguration.go @@ -71,7 +71,10 @@ func addOperationDeleteLaunchConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DeleteLifecycleHook.go b/service/autoscaling/api_op_DeleteLifecycleHook.go index 742ac1eb101..41df8c662fe 100644 --- a/service/autoscaling/api_op_DeleteLifecycleHook.go +++ b/service/autoscaling/api_op_DeleteLifecycleHook.go @@ -76,7 +76,10 @@ func addOperationDeleteLifecycleHookMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DeleteNotificationConfiguration.go b/service/autoscaling/api_op_DeleteNotificationConfiguration.go index 510ce64bff2..f762089ee63 100644 --- a/service/autoscaling/api_op_DeleteNotificationConfiguration.go +++ b/service/autoscaling/api_op_DeleteNotificationConfiguration.go @@ -75,7 +75,10 @@ func addOperationDeleteNotificationConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DeletePolicy.go b/service/autoscaling/api_op_DeletePolicy.go index 955c146e29f..d410a618f9b 100644 --- a/service/autoscaling/api_op_DeletePolicy.go +++ b/service/autoscaling/api_op_DeletePolicy.go @@ -77,7 +77,10 @@ func addOperationDeletePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DeleteScheduledAction.go b/service/autoscaling/api_op_DeleteScheduledAction.go index 58cc9bb6e0c..94601ba58fa 100644 --- a/service/autoscaling/api_op_DeleteScheduledAction.go +++ b/service/autoscaling/api_op_DeleteScheduledAction.go @@ -74,7 +74,10 @@ func addOperationDeleteScheduledActionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DeleteTags.go b/service/autoscaling/api_op_DeleteTags.go index 1f7521efe30..8ebea2563de 100644 --- a/service/autoscaling/api_op_DeleteTags.go +++ b/service/autoscaling/api_op_DeleteTags.go @@ -70,7 +70,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeAccountLimits.go b/service/autoscaling/api_op_DescribeAccountLimits.go index f6a5d1364fa..e5acce121ed 100644 --- a/service/autoscaling/api_op_DescribeAccountLimits.go +++ b/service/autoscaling/api_op_DescribeAccountLimits.go @@ -83,7 +83,10 @@ func addOperationDescribeAccountLimitsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeAdjustmentTypes.go b/service/autoscaling/api_op_DescribeAdjustmentTypes.go index 4edf74f5346..071adaa9581 100644 --- a/service/autoscaling/api_op_DescribeAdjustmentTypes.go +++ b/service/autoscaling/api_op_DescribeAdjustmentTypes.go @@ -79,7 +79,10 @@ func addOperationDescribeAdjustmentTypesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeAutoScalingGroups.go b/service/autoscaling/api_op_DescribeAutoScalingGroups.go index 1ae3650f3e2..4c0010a4f2a 100644 --- a/service/autoscaling/api_op_DescribeAutoScalingGroups.go +++ b/service/autoscaling/api_op_DescribeAutoScalingGroups.go @@ -96,7 +96,10 @@ func addOperationDescribeAutoScalingGroupsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeAutoScalingInstances.go b/service/autoscaling/api_op_DescribeAutoScalingInstances.go index 8d0b57f9e96..d3449291277 100644 --- a/service/autoscaling/api_op_DescribeAutoScalingInstances.go +++ b/service/autoscaling/api_op_DescribeAutoScalingInstances.go @@ -89,7 +89,10 @@ func addOperationDescribeAutoScalingInstancesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go b/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go index 3ab3650bda6..77e0307dca0 100644 --- a/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go +++ b/service/autoscaling/api_op_DescribeAutoScalingNotificationTypes.go @@ -68,7 +68,10 @@ func addOperationDescribeAutoScalingNotificationTypesMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeInstanceRefreshes.go b/service/autoscaling/api_op_DescribeInstanceRefreshes.go index 6e78a04bab0..99d1fa95bb3 100644 --- a/service/autoscaling/api_op_DescribeInstanceRefreshes.go +++ b/service/autoscaling/api_op_DescribeInstanceRefreshes.go @@ -116,7 +116,10 @@ func addOperationDescribeInstanceRefreshesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeLaunchConfigurations.go b/service/autoscaling/api_op_DescribeLaunchConfigurations.go index 71482f781bb..f131b71f7d4 100644 --- a/service/autoscaling/api_op_DescribeLaunchConfigurations.go +++ b/service/autoscaling/api_op_DescribeLaunchConfigurations.go @@ -90,7 +90,10 @@ func addOperationDescribeLaunchConfigurationsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeLifecycleHookTypes.go b/service/autoscaling/api_op_DescribeLifecycleHookTypes.go index 6efa552b37e..ae221db080a 100644 --- a/service/autoscaling/api_op_DescribeLifecycleHookTypes.go +++ b/service/autoscaling/api_op_DescribeLifecycleHookTypes.go @@ -74,7 +74,10 @@ func addOperationDescribeLifecycleHookTypesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeLifecycleHooks.go b/service/autoscaling/api_op_DescribeLifecycleHooks.go index e4f8aec24d8..a62e6732458 100644 --- a/service/autoscaling/api_op_DescribeLifecycleHooks.go +++ b/service/autoscaling/api_op_DescribeLifecycleHooks.go @@ -78,7 +78,10 @@ func addOperationDescribeLifecycleHooksMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go b/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go index 1c2ff830302..08ef4490473 100644 --- a/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go +++ b/service/autoscaling/api_op_DescribeLoadBalancerTargetGroups.go @@ -88,7 +88,10 @@ func addOperationDescribeLoadBalancerTargetGroupsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeLoadBalancers.go b/service/autoscaling/api_op_DescribeLoadBalancers.go index df336f3b955..7b205969de4 100644 --- a/service/autoscaling/api_op_DescribeLoadBalancers.go +++ b/service/autoscaling/api_op_DescribeLoadBalancers.go @@ -91,7 +91,10 @@ func addOperationDescribeLoadBalancersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeMetricCollectionTypes.go b/service/autoscaling/api_op_DescribeMetricCollectionTypes.go index 878c2415368..f664119e3d8 100644 --- a/service/autoscaling/api_op_DescribeMetricCollectionTypes.go +++ b/service/autoscaling/api_op_DescribeMetricCollectionTypes.go @@ -74,7 +74,10 @@ func addOperationDescribeMetricCollectionTypesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeNotificationConfigurations.go b/service/autoscaling/api_op_DescribeNotificationConfigurations.go index 132dd07373e..423f5b7e79a 100644 --- a/service/autoscaling/api_op_DescribeNotificationConfigurations.go +++ b/service/autoscaling/api_op_DescribeNotificationConfigurations.go @@ -90,7 +90,10 @@ func addOperationDescribeNotificationConfigurationsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribePolicies.go b/service/autoscaling/api_op_DescribePolicies.go index eca755db75c..ab2488aac40 100644 --- a/service/autoscaling/api_op_DescribePolicies.go +++ b/service/autoscaling/api_op_DescribePolicies.go @@ -97,7 +97,10 @@ func addOperationDescribePoliciesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeScalingActivities.go b/service/autoscaling/api_op_DescribeScalingActivities.go index 6d45f576365..39590bfef96 100644 --- a/service/autoscaling/api_op_DescribeScalingActivities.go +++ b/service/autoscaling/api_op_DescribeScalingActivities.go @@ -96,7 +96,10 @@ func addOperationDescribeScalingActivitiesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeScalingProcessTypes.go b/service/autoscaling/api_op_DescribeScalingProcessTypes.go index 85704ecea61..7a86ce5af06 100644 --- a/service/autoscaling/api_op_DescribeScalingProcessTypes.go +++ b/service/autoscaling/api_op_DescribeScalingProcessTypes.go @@ -70,7 +70,10 @@ func addOperationDescribeScalingProcessTypesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeScheduledActions.go b/service/autoscaling/api_op_DescribeScheduledActions.go index f9171902c7e..f4afcfbea26 100644 --- a/service/autoscaling/api_op_DescribeScheduledActions.go +++ b/service/autoscaling/api_op_DescribeScheduledActions.go @@ -103,7 +103,10 @@ func addOperationDescribeScheduledActionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeTags.go b/service/autoscaling/api_op_DescribeTags.go index e580b275049..8374168fe83 100644 --- a/service/autoscaling/api_op_DescribeTags.go +++ b/service/autoscaling/api_op_DescribeTags.go @@ -96,7 +96,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go b/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go index 2aae5cd6017..fc68ce248f8 100644 --- a/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go +++ b/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go @@ -74,7 +74,10 @@ func addOperationDescribeTerminationPolicyTypesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DetachInstances.go b/service/autoscaling/api_op_DetachInstances.go index ebc417e64ab..fec95e469aa 100644 --- a/service/autoscaling/api_op_DetachInstances.go +++ b/service/autoscaling/api_op_DetachInstances.go @@ -93,7 +93,10 @@ func addOperationDetachInstancesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go b/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go index eae11dc8329..5964b676e00 100644 --- a/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go +++ b/service/autoscaling/api_op_DetachLoadBalancerTargetGroups.go @@ -75,7 +75,10 @@ func addOperationDetachLoadBalancerTargetGroupsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DetachLoadBalancers.go b/service/autoscaling/api_op_DetachLoadBalancers.go index ac8d87ce3e7..0519b7e7086 100644 --- a/service/autoscaling/api_op_DetachLoadBalancers.go +++ b/service/autoscaling/api_op_DetachLoadBalancers.go @@ -81,7 +81,10 @@ func addOperationDetachLoadBalancersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_DisableMetricsCollection.go b/service/autoscaling/api_op_DisableMetricsCollection.go index b5ac158fd3f..3d105c17ff4 100644 --- a/service/autoscaling/api_op_DisableMetricsCollection.go +++ b/service/autoscaling/api_op_DisableMetricsCollection.go @@ -105,7 +105,10 @@ func addOperationDisableMetricsCollectionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_EnableMetricsCollection.go b/service/autoscaling/api_op_EnableMetricsCollection.go index 15cd7ed1602..47c9fef4b69 100644 --- a/service/autoscaling/api_op_EnableMetricsCollection.go +++ b/service/autoscaling/api_op_EnableMetricsCollection.go @@ -119,7 +119,10 @@ func addOperationEnableMetricsCollectionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_EnterStandby.go b/service/autoscaling/api_op_EnterStandby.go index af6e7cb9db9..80e6d9e9453 100644 --- a/service/autoscaling/api_op_EnterStandby.go +++ b/service/autoscaling/api_op_EnterStandby.go @@ -92,7 +92,10 @@ func addOperationEnterStandbyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_ExecutePolicy.go b/service/autoscaling/api_op_ExecutePolicy.go index 0299f655d10..f5c37a4102e 100644 --- a/service/autoscaling/api_op_ExecutePolicy.go +++ b/service/autoscaling/api_op_ExecutePolicy.go @@ -93,7 +93,10 @@ func addOperationExecutePolicyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_ExitStandby.go b/service/autoscaling/api_op_ExitStandby.go index b0069173a3b..41d7de730a3 100644 --- a/service/autoscaling/api_op_ExitStandby.go +++ b/service/autoscaling/api_op_ExitStandby.go @@ -81,7 +81,10 @@ func addOperationExitStandbyMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_PutLifecycleHook.go b/service/autoscaling/api_op_PutLifecycleHook.go index af2b52d48b6..f7cb9ab9d37 100644 --- a/service/autoscaling/api_op_PutLifecycleHook.go +++ b/service/autoscaling/api_op_PutLifecycleHook.go @@ -153,7 +153,10 @@ func addOperationPutLifecycleHookMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_PutNotificationConfiguration.go b/service/autoscaling/api_op_PutNotificationConfiguration.go index 1d1296436ab..fbd770c3f11 100644 --- a/service/autoscaling/api_op_PutNotificationConfiguration.go +++ b/service/autoscaling/api_op_PutNotificationConfiguration.go @@ -89,7 +89,10 @@ func addOperationPutNotificationConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_PutScalingPolicy.go b/service/autoscaling/api_op_PutScalingPolicy.go index ff7e49be0ad..85f762d1283 100644 --- a/service/autoscaling/api_op_PutScalingPolicy.go +++ b/service/autoscaling/api_op_PutScalingPolicy.go @@ -186,7 +186,10 @@ func addOperationPutScalingPolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go b/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go index c904771c703..fc7faaafb3c 100644 --- a/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go +++ b/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go @@ -114,7 +114,10 @@ func addOperationPutScheduledUpdateGroupActionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go b/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go index e9624dff6a7..a4a4786dade 100644 --- a/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go +++ b/service/autoscaling/api_op_RecordLifecycleActionHeartbeat.go @@ -108,7 +108,10 @@ func addOperationRecordLifecycleActionHeartbeatMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_ResumeProcesses.go b/service/autoscaling/api_op_ResumeProcesses.go index 6400dc69f14..a72406c8c34 100644 --- a/service/autoscaling/api_op_ResumeProcesses.go +++ b/service/autoscaling/api_op_ResumeProcesses.go @@ -99,7 +99,10 @@ func addOperationResumeProcessesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_SetDesiredCapacity.go b/service/autoscaling/api_op_SetDesiredCapacity.go index cc94f8c19ac..467150e8b35 100644 --- a/service/autoscaling/api_op_SetDesiredCapacity.go +++ b/service/autoscaling/api_op_SetDesiredCapacity.go @@ -86,7 +86,10 @@ func addOperationSetDesiredCapacityMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_SetInstanceHealth.go b/service/autoscaling/api_op_SetInstanceHealth.go index 34f9f4568e4..44d4e8aebf3 100644 --- a/service/autoscaling/api_op_SetInstanceHealth.go +++ b/service/autoscaling/api_op_SetInstanceHealth.go @@ -88,7 +88,10 @@ func addOperationSetInstanceHealthMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_SetInstanceProtection.go b/service/autoscaling/api_op_SetInstanceProtection.go index 8c8875835c0..c5306f1c962 100644 --- a/service/autoscaling/api_op_SetInstanceProtection.go +++ b/service/autoscaling/api_op_SetInstanceProtection.go @@ -85,7 +85,10 @@ func addOperationSetInstanceProtectionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_StartInstanceRefresh.go b/service/autoscaling/api_op_StartInstanceRefresh.go index 653334366b4..61986f73f51 100644 --- a/service/autoscaling/api_op_StartInstanceRefresh.go +++ b/service/autoscaling/api_op_StartInstanceRefresh.go @@ -99,7 +99,10 @@ func addOperationStartInstanceRefreshMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_SuspendProcesses.go b/service/autoscaling/api_op_SuspendProcesses.go index 813c4d71bc9..71aacf3d480 100644 --- a/service/autoscaling/api_op_SuspendProcesses.go +++ b/service/autoscaling/api_op_SuspendProcesses.go @@ -101,7 +101,10 @@ func addOperationSuspendProcessesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go b/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go index 860f410a304..1f5c75a4392 100644 --- a/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go +++ b/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go @@ -92,7 +92,10 @@ func addOperationTerminateInstanceInAutoScalingGroupMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscaling/api_op_UpdateAutoScalingGroup.go b/service/autoscaling/api_op_UpdateAutoScalingGroup.go index 7c447ab8363..fdccadd70e5 100644 --- a/service/autoscaling/api_op_UpdateAutoScalingGroup.go +++ b/service/autoscaling/api_op_UpdateAutoScalingGroup.go @@ -215,7 +215,10 @@ func addOperationUpdateAutoScalingGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscalingplans/api_op_CreateScalingPlan.go b/service/autoscalingplans/api_op_CreateScalingPlan.go index f8f3e7dce4f..4452e30604c 100644 --- a/service/autoscalingplans/api_op_CreateScalingPlan.go +++ b/service/autoscalingplans/api_op_CreateScalingPlan.go @@ -89,7 +89,10 @@ func addOperationCreateScalingPlanMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscalingplans/api_op_DeleteScalingPlan.go b/service/autoscalingplans/api_op_DeleteScalingPlan.go index 6becd0a1dca..fb4d9ba9e4d 100644 --- a/service/autoscalingplans/api_op_DeleteScalingPlan.go +++ b/service/autoscalingplans/api_op_DeleteScalingPlan.go @@ -77,7 +77,10 @@ func addOperationDeleteScalingPlanMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscalingplans/api_op_DescribeScalingPlanResources.go b/service/autoscalingplans/api_op_DescribeScalingPlanResources.go index 1fe39a0793d..3bfdeaa849b 100644 --- a/service/autoscalingplans/api_op_DescribeScalingPlanResources.go +++ b/service/autoscalingplans/api_op_DescribeScalingPlanResources.go @@ -90,7 +90,10 @@ func addOperationDescribeScalingPlanResourcesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscalingplans/api_op_DescribeScalingPlans.go b/service/autoscalingplans/api_op_DescribeScalingPlans.go index da5b3a8752d..f5b6410d377 100644 --- a/service/autoscalingplans/api_op_DescribeScalingPlans.go +++ b/service/autoscalingplans/api_op_DescribeScalingPlans.go @@ -92,7 +92,10 @@ func addOperationDescribeScalingPlansMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go b/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go index 6b051cf3fce..2d296c0669b 100644 --- a/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go +++ b/service/autoscalingplans/api_op_GetScalingPlanResourceForecastData.go @@ -159,7 +159,10 @@ func addOperationGetScalingPlanResourceForecastDataMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/autoscalingplans/api_op_UpdateScalingPlan.go b/service/autoscalingplans/api_op_UpdateScalingPlan.go index 90e8397a886..51f3a8966fe 100644 --- a/service/autoscalingplans/api_op_UpdateScalingPlan.go +++ b/service/autoscalingplans/api_op_UpdateScalingPlan.go @@ -82,7 +82,10 @@ func addOperationUpdateScalingPlanMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_CreateBackupPlan.go b/service/backup/api_op_CreateBackupPlan.go index cb9e3e0a7e7..d24f918124f 100644 --- a/service/backup/api_op_CreateBackupPlan.go +++ b/service/backup/api_op_CreateBackupPlan.go @@ -109,7 +109,10 @@ func addOperationCreateBackupPlanMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_CreateBackupSelection.go b/service/backup/api_op_CreateBackupSelection.go index 5463708c043..0df8bbc5fa6 100644 --- a/service/backup/api_op_CreateBackupSelection.go +++ b/service/backup/api_op_CreateBackupSelection.go @@ -115,7 +115,10 @@ func addOperationCreateBackupSelectionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_CreateBackupVault.go b/service/backup/api_op_CreateBackupVault.go index b9dcd6471a6..b8e1e6399a0 100644 --- a/service/backup/api_op_CreateBackupVault.go +++ b/service/backup/api_op_CreateBackupVault.go @@ -106,7 +106,10 @@ func addOperationCreateBackupVaultMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DeleteBackupPlan.go b/service/backup/api_op_DeleteBackupPlan.go index b0e6f0265e2..6252fd86f1b 100644 --- a/service/backup/api_op_DeleteBackupPlan.go +++ b/service/backup/api_op_DeleteBackupPlan.go @@ -91,7 +91,10 @@ func addOperationDeleteBackupPlanMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DeleteBackupSelection.go b/service/backup/api_op_DeleteBackupSelection.go index 2864f496c94..e4a941f842f 100644 --- a/service/backup/api_op_DeleteBackupSelection.go +++ b/service/backup/api_op_DeleteBackupSelection.go @@ -76,7 +76,10 @@ func addOperationDeleteBackupSelectionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DeleteBackupVault.go b/service/backup/api_op_DeleteBackupVault.go index 06432d8baca..0af57bbbaf0 100644 --- a/service/backup/api_op_DeleteBackupVault.go +++ b/service/backup/api_op_DeleteBackupVault.go @@ -73,7 +73,10 @@ func addOperationDeleteBackupVaultMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DeleteBackupVaultAccessPolicy.go b/service/backup/api_op_DeleteBackupVaultAccessPolicy.go index 12555066e05..6891f152f3c 100644 --- a/service/backup/api_op_DeleteBackupVaultAccessPolicy.go +++ b/service/backup/api_op_DeleteBackupVaultAccessPolicy.go @@ -72,7 +72,10 @@ func addOperationDeleteBackupVaultAccessPolicyMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DeleteBackupVaultNotifications.go b/service/backup/api_op_DeleteBackupVaultNotifications.go index 9622e26f8f0..462760d558f 100644 --- a/service/backup/api_op_DeleteBackupVaultNotifications.go +++ b/service/backup/api_op_DeleteBackupVaultNotifications.go @@ -72,7 +72,10 @@ func addOperationDeleteBackupVaultNotificationsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DeleteRecoveryPoint.go b/service/backup/api_op_DeleteRecoveryPoint.go index 06e18cf75c0..1b3f1f138e4 100644 --- a/service/backup/api_op_DeleteRecoveryPoint.go +++ b/service/backup/api_op_DeleteRecoveryPoint.go @@ -79,7 +79,10 @@ func addOperationDeleteRecoveryPointMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DescribeBackupJob.go b/service/backup/api_op_DescribeBackupJob.go index def771744c7..fba5cdffd36 100644 --- a/service/backup/api_op_DescribeBackupJob.go +++ b/service/backup/api_op_DescribeBackupJob.go @@ -162,7 +162,10 @@ func addOperationDescribeBackupJobMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DescribeBackupVault.go b/service/backup/api_op_DescribeBackupVault.go index b7ad1816660..bb595ac465b 100644 --- a/service/backup/api_op_DescribeBackupVault.go +++ b/service/backup/api_op_DescribeBackupVault.go @@ -102,7 +102,10 @@ func addOperationDescribeBackupVaultMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DescribeCopyJob.go b/service/backup/api_op_DescribeCopyJob.go index 024ce5afcf1..5ea18227322 100644 --- a/service/backup/api_op_DescribeCopyJob.go +++ b/service/backup/api_op_DescribeCopyJob.go @@ -74,7 +74,10 @@ func addOperationDescribeCopyJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DescribeGlobalSettings.go b/service/backup/api_op_DescribeGlobalSettings.go index 0372cfbba16..7e50ad656bc 100644 --- a/service/backup/api_op_DescribeGlobalSettings.go +++ b/service/backup/api_op_DescribeGlobalSettings.go @@ -75,7 +75,10 @@ func addOperationDescribeGlobalSettingsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DescribeProtectedResource.go b/service/backup/api_op_DescribeProtectedResource.go index 2976e2bc1b2..86b5003f44f 100644 --- a/service/backup/api_op_DescribeProtectedResource.go +++ b/service/backup/api_op_DescribeProtectedResource.go @@ -88,7 +88,10 @@ func addOperationDescribeProtectedResourceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DescribeRecoveryPoint.go b/service/backup/api_op_DescribeRecoveryPoint.go index 3c0f96e1761..d31571a1a33 100644 --- a/service/backup/api_op_DescribeRecoveryPoint.go +++ b/service/backup/api_op_DescribeRecoveryPoint.go @@ -172,7 +172,10 @@ func addOperationDescribeRecoveryPointMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DescribeRegionSettings.go b/service/backup/api_op_DescribeRegionSettings.go index 3e8d2e3fc6f..594bb5867b6 100644 --- a/service/backup/api_op_DescribeRegionSettings.go +++ b/service/backup/api_op_DescribeRegionSettings.go @@ -73,7 +73,10 @@ func addOperationDescribeRegionSettingsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_DescribeRestoreJob.go b/service/backup/api_op_DescribeRestoreJob.go index d50db95d2d9..e621867724b 100644 --- a/service/backup/api_op_DescribeRestoreJob.go +++ b/service/backup/api_op_DescribeRestoreJob.go @@ -124,7 +124,10 @@ func addOperationDescribeRestoreJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ExportBackupPlanTemplate.go b/service/backup/api_op_ExportBackupPlanTemplate.go index c4ce2e63fd4..8f5bf98f60f 100644 --- a/service/backup/api_op_ExportBackupPlanTemplate.go +++ b/service/backup/api_op_ExportBackupPlanTemplate.go @@ -74,7 +74,10 @@ func addOperationExportBackupPlanTemplateMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_GetBackupPlan.go b/service/backup/api_op_GetBackupPlan.go index 3955e11c5db..b66f5d6348a 100644 --- a/service/backup/api_op_GetBackupPlan.go +++ b/service/backup/api_op_GetBackupPlan.go @@ -119,7 +119,10 @@ func addOperationGetBackupPlanMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_GetBackupPlanFromJSON.go b/service/backup/api_op_GetBackupPlanFromJSON.go index f174e1736c3..c9524c49548 100644 --- a/service/backup/api_op_GetBackupPlanFromJSON.go +++ b/service/backup/api_op_GetBackupPlanFromJSON.go @@ -75,7 +75,10 @@ func addOperationGetBackupPlanFromJSONMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_GetBackupPlanFromTemplate.go b/service/backup/api_op_GetBackupPlanFromTemplate.go index 47d6a8be816..01c69676816 100644 --- a/service/backup/api_op_GetBackupPlanFromTemplate.go +++ b/service/backup/api_op_GetBackupPlanFromTemplate.go @@ -75,7 +75,10 @@ func addOperationGetBackupPlanFromTemplateMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_GetBackupSelection.go b/service/backup/api_op_GetBackupSelection.go index 04e01c07275..9211be45d5b 100644 --- a/service/backup/api_op_GetBackupSelection.go +++ b/service/backup/api_op_GetBackupSelection.go @@ -99,7 +99,10 @@ func addOperationGetBackupSelectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_GetBackupVaultAccessPolicy.go b/service/backup/api_op_GetBackupVaultAccessPolicy.go index 2a3f7cf076a..2549aaeb3bc 100644 --- a/service/backup/api_op_GetBackupVaultAccessPolicy.go +++ b/service/backup/api_op_GetBackupVaultAccessPolicy.go @@ -87,7 +87,10 @@ func addOperationGetBackupVaultAccessPolicyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_GetBackupVaultNotifications.go b/service/backup/api_op_GetBackupVaultNotifications.go index 4282b502b30..4e5b018852d 100644 --- a/service/backup/api_op_GetBackupVaultNotifications.go +++ b/service/backup/api_op_GetBackupVaultNotifications.go @@ -92,7 +92,10 @@ func addOperationGetBackupVaultNotificationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_GetRecoveryPointRestoreMetadata.go b/service/backup/api_op_GetRecoveryPointRestoreMetadata.go index 7b83d701167..4b9e7875cf4 100644 --- a/service/backup/api_op_GetRecoveryPointRestoreMetadata.go +++ b/service/backup/api_op_GetRecoveryPointRestoreMetadata.go @@ -93,7 +93,10 @@ func addOperationGetRecoveryPointRestoreMetadataMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_GetSupportedResourceTypes.go b/service/backup/api_op_GetSupportedResourceTypes.go index 4e4dc4d149e..97b974e550c 100644 --- a/service/backup/api_op_GetSupportedResourceTypes.go +++ b/service/backup/api_op_GetSupportedResourceTypes.go @@ -83,7 +83,10 @@ func addOperationGetSupportedResourceTypesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListBackupJobs.go b/service/backup/api_op_ListBackupJobs.go index 1c0421e9e14..4b801a1aa90 100644 --- a/service/backup/api_op_ListBackupJobs.go +++ b/service/backup/api_op_ListBackupJobs.go @@ -128,7 +128,10 @@ func addOperationListBackupJobsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListBackupPlanTemplates.go b/service/backup/api_op_ListBackupPlanTemplates.go index 30085fbc469..3b1ce717146 100644 --- a/service/backup/api_op_ListBackupPlanTemplates.go +++ b/service/backup/api_op_ListBackupPlanTemplates.go @@ -86,7 +86,10 @@ func addOperationListBackupPlanTemplatesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListBackupPlanVersions.go b/service/backup/api_op_ListBackupPlanVersions.go index 80e0cc48389..fd847aa3041 100644 --- a/service/backup/api_op_ListBackupPlanVersions.go +++ b/service/backup/api_op_ListBackupPlanVersions.go @@ -92,7 +92,10 @@ func addOperationListBackupPlanVersionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListBackupPlans.go b/service/backup/api_op_ListBackupPlans.go index bf3c536b494..5b4b57022b1 100644 --- a/service/backup/api_op_ListBackupPlans.go +++ b/service/backup/api_op_ListBackupPlans.go @@ -93,7 +93,10 @@ func addOperationListBackupPlansMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListBackupSelections.go b/service/backup/api_op_ListBackupSelections.go index 434fe69d62e..36a02935f8c 100644 --- a/service/backup/api_op_ListBackupSelections.go +++ b/service/backup/api_op_ListBackupSelections.go @@ -92,7 +92,10 @@ func addOperationListBackupSelectionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListBackupVaults.go b/service/backup/api_op_ListBackupVaults.go index 03843f8db93..6bac9afab12 100644 --- a/service/backup/api_op_ListBackupVaults.go +++ b/service/backup/api_op_ListBackupVaults.go @@ -89,7 +89,10 @@ func addOperationListBackupVaultsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListCopyJobs.go b/service/backup/api_op_ListCopyJobs.go index c95aa7d1925..e809ff844e6 100644 --- a/service/backup/api_op_ListCopyJobs.go +++ b/service/backup/api_op_ListCopyJobs.go @@ -127,7 +127,10 @@ func addOperationListCopyJobsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListProtectedResources.go b/service/backup/api_op_ListProtectedResources.go index 7298020e3e3..401133219f8 100644 --- a/service/backup/api_op_ListProtectedResources.go +++ b/service/backup/api_op_ListProtectedResources.go @@ -89,7 +89,10 @@ func addOperationListProtectedResourcesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListRecoveryPointsByBackupVault.go b/service/backup/api_op_ListRecoveryPointsByBackupVault.go index cf894084398..56434f9b5b2 100644 --- a/service/backup/api_op_ListRecoveryPointsByBackupVault.go +++ b/service/backup/api_op_ListRecoveryPointsByBackupVault.go @@ -111,7 +111,10 @@ func addOperationListRecoveryPointsByBackupVaultMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListRecoveryPointsByResource.go b/service/backup/api_op_ListRecoveryPointsByResource.go index d90239a19fd..1a735a4ea2b 100644 --- a/service/backup/api_op_ListRecoveryPointsByResource.go +++ b/service/backup/api_op_ListRecoveryPointsByResource.go @@ -93,7 +93,10 @@ func addOperationListRecoveryPointsByResourceMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListRestoreJobs.go b/service/backup/api_op_ListRestoreJobs.go index 1a34e8b717d..7833e685ba3 100644 --- a/service/backup/api_op_ListRestoreJobs.go +++ b/service/backup/api_op_ListRestoreJobs.go @@ -101,7 +101,10 @@ func addOperationListRestoreJobsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_ListTags.go b/service/backup/api_op_ListTags.go index 74ac91e785f..9b8ea540ffb 100644 --- a/service/backup/api_op_ListTags.go +++ b/service/backup/api_op_ListTags.go @@ -94,7 +94,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_PutBackupVaultAccessPolicy.go b/service/backup/api_op_PutBackupVaultAccessPolicy.go index c16523b2bfa..09573b65c80 100644 --- a/service/backup/api_op_PutBackupVaultAccessPolicy.go +++ b/service/backup/api_op_PutBackupVaultAccessPolicy.go @@ -77,7 +77,10 @@ func addOperationPutBackupVaultAccessPolicyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_PutBackupVaultNotifications.go b/service/backup/api_op_PutBackupVaultNotifications.go index 6cb21477215..6216733e904 100644 --- a/service/backup/api_op_PutBackupVaultNotifications.go +++ b/service/backup/api_op_PutBackupVaultNotifications.go @@ -85,7 +85,10 @@ func addOperationPutBackupVaultNotificationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_StartBackupJob.go b/service/backup/api_op_StartBackupJob.go index 0796af2a5d4..1bed779230f 100644 --- a/service/backup/api_op_StartBackupJob.go +++ b/service/backup/api_op_StartBackupJob.go @@ -132,7 +132,10 @@ func addOperationStartBackupJobMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_StartCopyJob.go b/service/backup/api_op_StartCopyJob.go index 2fa497ed1d6..edf66cb5bc2 100644 --- a/service/backup/api_op_StartCopyJob.go +++ b/service/backup/api_op_StartCopyJob.go @@ -117,7 +117,10 @@ func addOperationStartCopyJobMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_StartRestoreJob.go b/service/backup/api_op_StartRestoreJob.go index 5f7a30ca8ae..e186ae0a665 100644 --- a/service/backup/api_op_StartRestoreJob.go +++ b/service/backup/api_op_StartRestoreJob.go @@ -141,7 +141,10 @@ func addOperationStartRestoreJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_StopBackupJob.go b/service/backup/api_op_StopBackupJob.go index aaf5a0b9417..7405701e20e 100644 --- a/service/backup/api_op_StopBackupJob.go +++ b/service/backup/api_op_StopBackupJob.go @@ -69,7 +69,10 @@ func addOperationStopBackupJobMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_TagResource.go b/service/backup/api_op_TagResource.go index 9345654be8b..54f38dd972d 100644 --- a/service/backup/api_op_TagResource.go +++ b/service/backup/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_UntagResource.go b/service/backup/api_op_UntagResource.go index 5839f86f014..4a32679b59a 100644 --- a/service/backup/api_op_UntagResource.go +++ b/service/backup/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_UpdateBackupPlan.go b/service/backup/api_op_UpdateBackupPlan.go index 4e20408a9f5..899b62b4727 100644 --- a/service/backup/api_op_UpdateBackupPlan.go +++ b/service/backup/api_op_UpdateBackupPlan.go @@ -100,7 +100,10 @@ func addOperationUpdateBackupPlanMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_UpdateGlobalSettings.go b/service/backup/api_op_UpdateGlobalSettings.go index f9c55bafb88..e7e5565a6a3 100644 --- a/service/backup/api_op_UpdateGlobalSettings.go +++ b/service/backup/api_op_UpdateGlobalSettings.go @@ -68,7 +68,10 @@ func addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_UpdateRecoveryPointLifecycle.go b/service/backup/api_op_UpdateRecoveryPointLifecycle.go index c2d7a3811c9..de213788f10 100644 --- a/service/backup/api_op_UpdateRecoveryPointLifecycle.go +++ b/service/backup/api_op_UpdateRecoveryPointLifecycle.go @@ -119,7 +119,10 @@ func addOperationUpdateRecoveryPointLifecycleMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/backup/api_op_UpdateRegionSettings.go b/service/backup/api_op_UpdateRegionSettings.go index fae5e5147e6..be22c50575f 100644 --- a/service/backup/api_op_UpdateRegionSettings.go +++ b/service/backup/api_op_UpdateRegionSettings.go @@ -72,7 +72,10 @@ func addOperationUpdateRegionSettingsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_CancelJob.go b/service/batch/api_op_CancelJob.go index f2403b11434..0fd7dfe3c4a 100644 --- a/service/batch/api_op_CancelJob.go +++ b/service/batch/api_op_CancelJob.go @@ -80,7 +80,10 @@ func addOperationCancelJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_CreateComputeEnvironment.go b/service/batch/api_op_CreateComputeEnvironment.go index 3f5c81db7f9..d05992ee734 100644 --- a/service/batch/api_op_CreateComputeEnvironment.go +++ b/service/batch/api_op_CreateComputeEnvironment.go @@ -175,7 +175,10 @@ func addOperationCreateComputeEnvironmentMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_CreateJobQueue.go b/service/batch/api_op_CreateJobQueue.go index b59bc95a43c..23e2ffd4ad9 100644 --- a/service/batch/api_op_CreateJobQueue.go +++ b/service/batch/api_op_CreateJobQueue.go @@ -125,7 +125,10 @@ func addOperationCreateJobQueueMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_DeleteComputeEnvironment.go b/service/batch/api_op_DeleteComputeEnvironment.go index 223a9cfb46a..dedc5ef8e75 100644 --- a/service/batch/api_op_DeleteComputeEnvironment.go +++ b/service/batch/api_op_DeleteComputeEnvironment.go @@ -76,7 +76,10 @@ func addOperationDeleteComputeEnvironmentMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_DeleteJobQueue.go b/service/batch/api_op_DeleteJobQueue.go index 57bb0ba5d55..b87251eceed 100644 --- a/service/batch/api_op_DeleteJobQueue.go +++ b/service/batch/api_op_DeleteJobQueue.go @@ -74,7 +74,10 @@ func addOperationDeleteJobQueueMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_DeregisterJobDefinition.go b/service/batch/api_op_DeregisterJobDefinition.go index 2e75cb0b717..a7ac0391411 100644 --- a/service/batch/api_op_DeregisterJobDefinition.go +++ b/service/batch/api_op_DeregisterJobDefinition.go @@ -71,7 +71,10 @@ func addOperationDeregisterJobDefinitionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_DescribeComputeEnvironments.go b/service/batch/api_op_DescribeComputeEnvironments.go index ad3a5463035..c281a7af74d 100644 --- a/service/batch/api_op_DescribeComputeEnvironments.go +++ b/service/batch/api_op_DescribeComputeEnvironments.go @@ -103,7 +103,10 @@ func addOperationDescribeComputeEnvironmentsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_DescribeJobDefinitions.go b/service/batch/api_op_DescribeJobDefinitions.go index 3eaab43b226..3abaaf4ea9b 100644 --- a/service/batch/api_op_DescribeJobDefinitions.go +++ b/service/batch/api_op_DescribeJobDefinitions.go @@ -105,7 +105,10 @@ func addOperationDescribeJobDefinitionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_DescribeJobQueues.go b/service/batch/api_op_DescribeJobQueues.go index b20243a67fc..ddb0669dc17 100644 --- a/service/batch/api_op_DescribeJobQueues.go +++ b/service/batch/api_op_DescribeJobQueues.go @@ -98,7 +98,10 @@ func addOperationDescribeJobQueuesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_DescribeJobs.go b/service/batch/api_op_DescribeJobs.go index 2f69fadd2f1..e693732981e 100644 --- a/service/batch/api_op_DescribeJobs.go +++ b/service/batch/api_op_DescribeJobs.go @@ -75,7 +75,10 @@ func addOperationDescribeJobsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_ListJobs.go b/service/batch/api_op_ListJobs.go index a642bccb9da..0c8300a849e 100644 --- a/service/batch/api_op_ListJobs.go +++ b/service/batch/api_op_ListJobs.go @@ -125,7 +125,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_ListTagsForResource.go b/service/batch/api_op_ListTagsForResource.go index 515888758b5..ba601bff0b3 100644 --- a/service/batch/api_op_ListTagsForResource.go +++ b/service/batch/api_op_ListTagsForResource.go @@ -78,7 +78,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_RegisterJobDefinition.go b/service/batch/api_op_RegisterJobDefinition.go index 09661e49c8a..f5e6f335334 100644 --- a/service/batch/api_op_RegisterJobDefinition.go +++ b/service/batch/api_op_RegisterJobDefinition.go @@ -155,7 +155,10 @@ func addOperationRegisterJobDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_SubmitJob.go b/service/batch/api_op_SubmitJob.go index 8102adc3f04..05100b70ca5 100644 --- a/service/batch/api_op_SubmitJob.go +++ b/service/batch/api_op_SubmitJob.go @@ -170,7 +170,10 @@ func addOperationSubmitJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_TagResource.go b/service/batch/api_op_TagResource.go index 96a0d994fe3..a53982446d4 100644 --- a/service/batch/api_op_TagResource.go +++ b/service/batch/api_op_TagResource.go @@ -86,7 +86,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_TerminateJob.go b/service/batch/api_op_TerminateJob.go index abfcb0db2cb..dde6b27584a 100644 --- a/service/batch/api_op_TerminateJob.go +++ b/service/batch/api_op_TerminateJob.go @@ -79,7 +79,10 @@ func addOperationTerminateJobMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_UntagResource.go b/service/batch/api_op_UntagResource.go index 2664f8c8386..6effe5a98f2 100644 --- a/service/batch/api_op_UntagResource.go +++ b/service/batch/api_op_UntagResource.go @@ -77,7 +77,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_UpdateComputeEnvironment.go b/service/batch/api_op_UpdateComputeEnvironment.go index 7fa180b2025..59335263aed 100644 --- a/service/batch/api_op_UpdateComputeEnvironment.go +++ b/service/batch/api_op_UpdateComputeEnvironment.go @@ -113,7 +113,10 @@ func addOperationUpdateComputeEnvironmentMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/batch/api_op_UpdateJobQueue.go b/service/batch/api_op_UpdateJobQueue.go index 0ace26d11f3..c7320ead901 100644 --- a/service/batch/api_op_UpdateJobQueue.go +++ b/service/batch/api_op_UpdateJobQueue.go @@ -103,7 +103,10 @@ func addOperationUpdateJobQueueMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/braket/api_op_CancelQuantumTask.go b/service/braket/api_op_CancelQuantumTask.go index bd027f944b0..c88d3684baa 100644 --- a/service/braket/api_op_CancelQuantumTask.go +++ b/service/braket/api_op_CancelQuantumTask.go @@ -86,7 +86,10 @@ func addOperationCancelQuantumTaskMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/braket/api_op_CreateQuantumTask.go b/service/braket/api_op_CreateQuantumTask.go index 0683db0f761..214700568a5 100644 --- a/service/braket/api_op_CreateQuantumTask.go +++ b/service/braket/api_op_CreateQuantumTask.go @@ -107,7 +107,10 @@ func addOperationCreateQuantumTaskMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/braket/api_op_GetDevice.go b/service/braket/api_op_GetDevice.go index 2f34d58834b..fe051b947ce 100644 --- a/service/braket/api_op_GetDevice.go +++ b/service/braket/api_op_GetDevice.go @@ -103,7 +103,10 @@ func addOperationGetDeviceMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/braket/api_op_GetQuantumTask.go b/service/braket/api_op_GetQuantumTask.go index bd4dbdc355a..71d40781183 100644 --- a/service/braket/api_op_GetQuantumTask.go +++ b/service/braket/api_op_GetQuantumTask.go @@ -120,7 +120,10 @@ func addOperationGetQuantumTaskMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/braket/api_op_SearchDevices.go b/service/braket/api_op_SearchDevices.go index 178661a4eec..9eddab7069b 100644 --- a/service/braket/api_op_SearchDevices.go +++ b/service/braket/api_op_SearchDevices.go @@ -91,7 +91,10 @@ func addOperationSearchDevicesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/braket/api_op_SearchQuantumTasks.go b/service/braket/api_op_SearchQuantumTasks.go index 9809404be4f..0a364c20b72 100644 --- a/service/braket/api_op_SearchQuantumTasks.go +++ b/service/braket/api_op_SearchQuantumTasks.go @@ -91,7 +91,10 @@ func addOperationSearchQuantumTasksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_CreateBudget.go b/service/budgets/api_op_CreateBudget.go index 10ff9be1813..9f12870a254 100644 --- a/service/budgets/api_op_CreateBudget.go +++ b/service/budgets/api_op_CreateBudget.go @@ -88,7 +88,10 @@ func addOperationCreateBudgetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_CreateBudgetAction.go b/service/budgets/api_op_CreateBudgetAction.go index cb6964eb7d4..fa0696d8f0a 100644 --- a/service/budgets/api_op_CreateBudgetAction.go +++ b/service/budgets/api_op_CreateBudgetAction.go @@ -130,7 +130,10 @@ func addOperationCreateBudgetActionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_CreateNotification.go b/service/budgets/api_op_CreateNotification.go index 8430f90c4d2..b362125aad3 100644 --- a/service/budgets/api_op_CreateNotification.go +++ b/service/budgets/api_op_CreateNotification.go @@ -91,7 +91,10 @@ func addOperationCreateNotificationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_CreateSubscriber.go b/service/budgets/api_op_CreateSubscriber.go index 74a84bfabcf..ba1db761ca8 100644 --- a/service/budgets/api_op_CreateSubscriber.go +++ b/service/budgets/api_op_CreateSubscriber.go @@ -90,7 +90,10 @@ func addOperationCreateSubscriberMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DeleteBudget.go b/service/budgets/api_op_DeleteBudget.go index af7b9506f46..cedbd01a8a5 100644 --- a/service/budgets/api_op_DeleteBudget.go +++ b/service/budgets/api_op_DeleteBudget.go @@ -77,7 +77,10 @@ func addOperationDeleteBudgetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DeleteBudgetAction.go b/service/budgets/api_op_DeleteBudgetAction.go index 825f1fc4ada..363ec3d7714 100644 --- a/service/budgets/api_op_DeleteBudgetAction.go +++ b/service/budgets/api_op_DeleteBudgetAction.go @@ -98,7 +98,10 @@ func addOperationDeleteBudgetActionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DeleteNotification.go b/service/budgets/api_op_DeleteNotification.go index a2d37f7a656..906c3ef3111 100644 --- a/service/budgets/api_op_DeleteNotification.go +++ b/service/budgets/api_op_DeleteNotification.go @@ -84,7 +84,10 @@ func addOperationDeleteNotificationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DeleteSubscriber.go b/service/budgets/api_op_DeleteSubscriber.go index a1f42208420..cbfc14b3291 100644 --- a/service/budgets/api_op_DeleteSubscriber.go +++ b/service/budgets/api_op_DeleteSubscriber.go @@ -89,7 +89,10 @@ func addOperationDeleteSubscriberMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DescribeBudget.go b/service/budgets/api_op_DescribeBudget.go index 2a829792544..d7527e33555 100644 --- a/service/budgets/api_op_DescribeBudget.go +++ b/service/budgets/api_op_DescribeBudget.go @@ -84,7 +84,10 @@ func addOperationDescribeBudgetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DescribeBudgetAction.go b/service/budgets/api_op_DescribeBudgetAction.go index 847311b116d..719f1109de0 100644 --- a/service/budgets/api_op_DescribeBudgetAction.go +++ b/service/budgets/api_op_DescribeBudgetAction.go @@ -98,7 +98,10 @@ func addOperationDescribeBudgetActionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DescribeBudgetActionHistories.go b/service/budgets/api_op_DescribeBudgetActionHistories.go index 81206098182..da2131a74d7 100644 --- a/service/budgets/api_op_DescribeBudgetActionHistories.go +++ b/service/budgets/api_op_DescribeBudgetActionHistories.go @@ -103,7 +103,10 @@ func addOperationDescribeBudgetActionHistoriesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DescribeBudgetActionsForAccount.go b/service/budgets/api_op_DescribeBudgetActionsForAccount.go index 2483bb84714..33bef9e2ec0 100644 --- a/service/budgets/api_op_DescribeBudgetActionsForAccount.go +++ b/service/budgets/api_op_DescribeBudgetActionsForAccount.go @@ -87,7 +87,10 @@ func addOperationDescribeBudgetActionsForAccountMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DescribeBudgetActionsForBudget.go b/service/budgets/api_op_DescribeBudgetActionsForBudget.go index 0ad76935d9d..0009103cdfb 100644 --- a/service/budgets/api_op_DescribeBudgetActionsForBudget.go +++ b/service/budgets/api_op_DescribeBudgetActionsForBudget.go @@ -93,7 +93,10 @@ func addOperationDescribeBudgetActionsForBudgetMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DescribeBudgetPerformanceHistory.go b/service/budgets/api_op_DescribeBudgetPerformanceHistory.go index 9c808c56ffb..84a2f725790 100644 --- a/service/budgets/api_op_DescribeBudgetPerformanceHistory.go +++ b/service/budgets/api_op_DescribeBudgetPerformanceHistory.go @@ -100,7 +100,10 @@ func addOperationDescribeBudgetPerformanceHistoryMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DescribeBudgets.go b/service/budgets/api_op_DescribeBudgets.go index 4d5d8790739..638973fd471 100644 --- a/service/budgets/api_op_DescribeBudgets.go +++ b/service/budgets/api_op_DescribeBudgets.go @@ -92,7 +92,10 @@ func addOperationDescribeBudgetsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DescribeNotificationsForBudget.go b/service/budgets/api_op_DescribeNotificationsForBudget.go index a054bab3212..6eb29b26bcf 100644 --- a/service/budgets/api_op_DescribeNotificationsForBudget.go +++ b/service/budgets/api_op_DescribeNotificationsForBudget.go @@ -95,7 +95,10 @@ func addOperationDescribeNotificationsForBudgetMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_DescribeSubscribersForNotification.go b/service/budgets/api_op_DescribeSubscribersForNotification.go index 7dde7faf174..e4d55925a58 100644 --- a/service/budgets/api_op_DescribeSubscribersForNotification.go +++ b/service/budgets/api_op_DescribeSubscribersForNotification.go @@ -100,7 +100,10 @@ func addOperationDescribeSubscribersForNotificationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_ExecuteBudgetAction.go b/service/budgets/api_op_ExecuteBudgetAction.go index 0ccf7ba90e7..06101abdfed 100644 --- a/service/budgets/api_op_ExecuteBudgetAction.go +++ b/service/budgets/api_op_ExecuteBudgetAction.go @@ -108,7 +108,10 @@ func addOperationExecuteBudgetActionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_UpdateBudget.go b/service/budgets/api_op_UpdateBudget.go index 017c685c207..41fe2f6b222 100644 --- a/service/budgets/api_op_UpdateBudget.go +++ b/service/budgets/api_op_UpdateBudget.go @@ -85,7 +85,10 @@ func addOperationUpdateBudgetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_UpdateBudgetAction.go b/service/budgets/api_op_UpdateBudgetAction.go index 03dfeb708d3..4449e718197 100644 --- a/service/budgets/api_op_UpdateBudgetAction.go +++ b/service/budgets/api_op_UpdateBudgetAction.go @@ -122,7 +122,10 @@ func addOperationUpdateBudgetActionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_UpdateNotification.go b/service/budgets/api_op_UpdateNotification.go index 5c3d7b64e0b..3b855a79cab 100644 --- a/service/budgets/api_op_UpdateNotification.go +++ b/service/budgets/api_op_UpdateNotification.go @@ -88,7 +88,10 @@ func addOperationUpdateNotificationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/budgets/api_op_UpdateSubscriber.go b/service/budgets/api_op_UpdateSubscriber.go index 68f27814aa5..e9d33498535 100644 --- a/service/budgets/api_op_UpdateSubscriber.go +++ b/service/budgets/api_op_UpdateSubscriber.go @@ -93,7 +93,10 @@ func addOperationUpdateSubscriberMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_AssociatePhoneNumberWithUser.go b/service/chime/api_op_AssociatePhoneNumberWithUser.go index bc4ff19fdc7..03ebb23d833 100644 --- a/service/chime/api_op_AssociatePhoneNumberWithUser.go +++ b/service/chime/api_op_AssociatePhoneNumberWithUser.go @@ -79,7 +79,10 @@ func addOperationAssociatePhoneNumberWithUserMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go index 263e3d27118..438fbaa17ca 100644 --- a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go +++ b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnector.go @@ -85,7 +85,10 @@ func addOperationAssociatePhoneNumbersWithVoiceConnectorMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go index ce3ea8e13b1..0bf1a387d56 100644 --- a/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go +++ b/service/chime/api_op_AssociatePhoneNumbersWithVoiceConnectorGroup.go @@ -86,7 +86,10 @@ func addOperationAssociatePhoneNumbersWithVoiceConnectorGroupMiddlewares(stack * if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go b/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go index 3d3d6e79765..8fcbb1c931b 100644 --- a/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go +++ b/service/chime/api_op_AssociateSigninDelegateGroupsWithAccount.go @@ -76,7 +76,10 @@ func addOperationAssociateSigninDelegateGroupsWithAccountMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_BatchCreateAttendee.go b/service/chime/api_op_BatchCreateAttendee.go index 713b5e56424..07076a2d845 100644 --- a/service/chime/api_op_BatchCreateAttendee.go +++ b/service/chime/api_op_BatchCreateAttendee.go @@ -86,7 +86,10 @@ func addOperationBatchCreateAttendeeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_BatchCreateRoomMembership.go b/service/chime/api_op_BatchCreateRoomMembership.go index 2678661450c..0f76e4f387a 100644 --- a/service/chime/api_op_BatchCreateRoomMembership.go +++ b/service/chime/api_op_BatchCreateRoomMembership.go @@ -87,7 +87,10 @@ func addOperationBatchCreateRoomMembershipMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_BatchDeletePhoneNumber.go b/service/chime/api_op_BatchDeletePhoneNumber.go index 5bb35168658..f8ea8884581 100644 --- a/service/chime/api_op_BatchDeletePhoneNumber.go +++ b/service/chime/api_op_BatchDeletePhoneNumber.go @@ -78,7 +78,10 @@ func addOperationBatchDeletePhoneNumberMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_BatchSuspendUser.go b/service/chime/api_op_BatchSuspendUser.go index 258432ee577..661bba62f3f 100644 --- a/service/chime/api_op_BatchSuspendUser.go +++ b/service/chime/api_op_BatchSuspendUser.go @@ -91,7 +91,10 @@ func addOperationBatchSuspendUserMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_BatchUnsuspendUser.go b/service/chime/api_op_BatchUnsuspendUser.go index 11d43996658..0e4338378c0 100644 --- a/service/chime/api_op_BatchUnsuspendUser.go +++ b/service/chime/api_op_BatchUnsuspendUser.go @@ -88,7 +88,10 @@ func addOperationBatchUnsuspendUserMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_BatchUpdatePhoneNumber.go b/service/chime/api_op_BatchUpdatePhoneNumber.go index 4a18be594f4..a0ce247442b 100644 --- a/service/chime/api_op_BatchUpdatePhoneNumber.go +++ b/service/chime/api_op_BatchUpdatePhoneNumber.go @@ -83,7 +83,10 @@ func addOperationBatchUpdatePhoneNumberMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_BatchUpdateUser.go b/service/chime/api_op_BatchUpdateUser.go index 88ff2a2df90..d46d2cf2840 100644 --- a/service/chime/api_op_BatchUpdateUser.go +++ b/service/chime/api_op_BatchUpdateUser.go @@ -83,7 +83,10 @@ func addOperationBatchUpdateUserMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateAccount.go b/service/chime/api_op_CreateAccount.go index 11063ca14e3..5cdccc611dc 100644 --- a/service/chime/api_op_CreateAccount.go +++ b/service/chime/api_op_CreateAccount.go @@ -79,7 +79,10 @@ func addOperationCreateAccountMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateAppInstance.go b/service/chime/api_op_CreateAppInstance.go index c1fec453e54..ce1b9400ca5 100644 --- a/service/chime/api_op_CreateAppInstance.go +++ b/service/chime/api_op_CreateAppInstance.go @@ -84,7 +84,10 @@ func addOperationCreateAppInstanceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateAppInstanceAdmin.go b/service/chime/api_op_CreateAppInstanceAdmin.go index f4ce08ee69d..927d1d9de63 100644 --- a/service/chime/api_op_CreateAppInstanceAdmin.go +++ b/service/chime/api_op_CreateAppInstanceAdmin.go @@ -92,7 +92,10 @@ func addOperationCreateAppInstanceAdminMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateAppInstanceUser.go b/service/chime/api_op_CreateAppInstanceUser.go index 7df8ab2aa4a..7ef10e0b336 100644 --- a/service/chime/api_op_CreateAppInstanceUser.go +++ b/service/chime/api_op_CreateAppInstanceUser.go @@ -93,7 +93,10 @@ func addOperationCreateAppInstanceUserMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateAttendee.go b/service/chime/api_op_CreateAttendee.go index fa3f01d9f9d..50cf54ece39 100644 --- a/service/chime/api_op_CreateAttendee.go +++ b/service/chime/api_op_CreateAttendee.go @@ -87,7 +87,10 @@ func addOperationCreateAttendeeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateBot.go b/service/chime/api_op_CreateBot.go index 3aa38923ef2..c41bfdf4817 100644 --- a/service/chime/api_op_CreateBot.go +++ b/service/chime/api_op_CreateBot.go @@ -82,7 +82,10 @@ func addOperationCreateBotMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateChannel.go b/service/chime/api_op_CreateChannel.go index fc653e68d1a..6bd162dd236 100644 --- a/service/chime/api_op_CreateChannel.go +++ b/service/chime/api_op_CreateChannel.go @@ -101,7 +101,10 @@ func addOperationCreateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateChannelBan.go b/service/chime/api_op_CreateChannelBan.go index 1dbe96fa476..a1dc9b6faa0 100644 --- a/service/chime/api_op_CreateChannelBan.go +++ b/service/chime/api_op_CreateChannelBan.go @@ -87,7 +87,10 @@ func addOperationCreateChannelBanMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateChannelMembership.go b/service/chime/api_op_CreateChannelMembership.go index 0e700764b98..7330cf27c29 100644 --- a/service/chime/api_op_CreateChannelMembership.go +++ b/service/chime/api_op_CreateChannelMembership.go @@ -112,7 +112,10 @@ func addOperationCreateChannelMembershipMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateChannelModerator.go b/service/chime/api_op_CreateChannelModerator.go index 169578adb6a..b82789bf609 100644 --- a/service/chime/api_op_CreateChannelModerator.go +++ b/service/chime/api_op_CreateChannelModerator.go @@ -96,7 +96,10 @@ func addOperationCreateChannelModeratorMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateMeeting.go b/service/chime/api_op_CreateMeeting.go index dd0b7e65b6b..2496e142062 100644 --- a/service/chime/api_op_CreateMeeting.go +++ b/service/chime/api_op_CreateMeeting.go @@ -102,7 +102,10 @@ func addOperationCreateMeetingMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateMeetingDialOut.go b/service/chime/api_op_CreateMeetingDialOut.go index af1f83233cb..4afd0da3432 100644 --- a/service/chime/api_op_CreateMeetingDialOut.go +++ b/service/chime/api_op_CreateMeetingDialOut.go @@ -96,7 +96,10 @@ func addOperationCreateMeetingDialOutMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateMeetingWithAttendees.go b/service/chime/api_op_CreateMeetingWithAttendees.go index 53c79f94bef..2057830e83c 100644 --- a/service/chime/api_op_CreateMeetingWithAttendees.go +++ b/service/chime/api_op_CreateMeetingWithAttendees.go @@ -113,7 +113,10 @@ func addOperationCreateMeetingWithAttendeesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreatePhoneNumberOrder.go b/service/chime/api_op_CreatePhoneNumberOrder.go index 1e3e4899d89..84375df1829 100644 --- a/service/chime/api_op_CreatePhoneNumberOrder.go +++ b/service/chime/api_op_CreatePhoneNumberOrder.go @@ -81,7 +81,10 @@ func addOperationCreatePhoneNumberOrderMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateProxySession.go b/service/chime/api_op_CreateProxySession.go index fa92f790134..6150198d367 100644 --- a/service/chime/api_op_CreateProxySession.go +++ b/service/chime/api_op_CreateProxySession.go @@ -102,7 +102,10 @@ func addOperationCreateProxySessionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateRoom.go b/service/chime/api_op_CreateRoom.go index 108d5caf866..751c5bc59e9 100644 --- a/service/chime/api_op_CreateRoom.go +++ b/service/chime/api_op_CreateRoom.go @@ -83,7 +83,10 @@ func addOperationCreateRoomMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateRoomMembership.go b/service/chime/api_op_CreateRoomMembership.go index 69f28701ff6..2e598759b24 100644 --- a/service/chime/api_op_CreateRoomMembership.go +++ b/service/chime/api_op_CreateRoomMembership.go @@ -89,7 +89,10 @@ func addOperationCreateRoomMembershipMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateSipMediaApplication.go b/service/chime/api_op_CreateSipMediaApplication.go index 2e84ae7f393..c5bdd4515d4 100644 --- a/service/chime/api_op_CreateSipMediaApplication.go +++ b/service/chime/api_op_CreateSipMediaApplication.go @@ -83,7 +83,10 @@ func addOperationCreateSipMediaApplicationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateSipMediaApplicationCall.go b/service/chime/api_op_CreateSipMediaApplicationCall.go index 3559c4aa18e..feb182a30f6 100644 --- a/service/chime/api_op_CreateSipMediaApplicationCall.go +++ b/service/chime/api_op_CreateSipMediaApplicationCall.go @@ -81,7 +81,10 @@ func addOperationCreateSipMediaApplicationCallMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateSipRule.go b/service/chime/api_op_CreateSipRule.go index 327aaa202db..dddce2e569d 100644 --- a/service/chime/api_op_CreateSipRule.go +++ b/service/chime/api_op_CreateSipRule.go @@ -104,7 +104,10 @@ func addOperationCreateSipRuleMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateUser.go b/service/chime/api_op_CreateUser.go index b7114441ce0..86cdcc16742 100644 --- a/service/chime/api_op_CreateUser.go +++ b/service/chime/api_op_CreateUser.go @@ -83,7 +83,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateVoiceConnector.go b/service/chime/api_op_CreateVoiceConnector.go index fea9a943ca3..18cd7ac4d4e 100644 --- a/service/chime/api_op_CreateVoiceConnector.go +++ b/service/chime/api_op_CreateVoiceConnector.go @@ -88,7 +88,10 @@ func addOperationCreateVoiceConnectorMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_CreateVoiceConnectorGroup.go b/service/chime/api_op_CreateVoiceConnectorGroup.go index 4ef717fb195..27ef8de2696 100644 --- a/service/chime/api_op_CreateVoiceConnectorGroup.go +++ b/service/chime/api_op_CreateVoiceConnectorGroup.go @@ -82,7 +82,10 @@ func addOperationCreateVoiceConnectorGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteAccount.go b/service/chime/api_op_DeleteAccount.go index 858b16bbe70..0332965a2d2 100644 --- a/service/chime/api_op_DeleteAccount.go +++ b/service/chime/api_op_DeleteAccount.go @@ -76,7 +76,10 @@ func addOperationDeleteAccountMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteAppInstance.go b/service/chime/api_op_DeleteAppInstance.go index 76b2a2e9f02..73f9c9c404b 100644 --- a/service/chime/api_op_DeleteAppInstance.go +++ b/service/chime/api_op_DeleteAppInstance.go @@ -70,7 +70,10 @@ func addOperationDeleteAppInstanceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteAppInstanceAdmin.go b/service/chime/api_op_DeleteAppInstanceAdmin.go index 68b261eb3e2..752db42debe 100644 --- a/service/chime/api_op_DeleteAppInstanceAdmin.go +++ b/service/chime/api_op_DeleteAppInstanceAdmin.go @@ -76,7 +76,10 @@ func addOperationDeleteAppInstanceAdminMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go b/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go index 1f3e1a01200..a53bbdf4234 100644 --- a/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go +++ b/service/chime/api_op_DeleteAppInstanceStreamingConfigurations.go @@ -69,7 +69,10 @@ func addOperationDeleteAppInstanceStreamingConfigurationsMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteAppInstanceUser.go b/service/chime/api_op_DeleteAppInstanceUser.go index f32329f6c9f..1cdd84cbec0 100644 --- a/service/chime/api_op_DeleteAppInstanceUser.go +++ b/service/chime/api_op_DeleteAppInstanceUser.go @@ -70,7 +70,10 @@ func addOperationDeleteAppInstanceUserMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteAttendee.go b/service/chime/api_op_DeleteAttendee.go index d82a0c433b4..db203c98947 100644 --- a/service/chime/api_op_DeleteAttendee.go +++ b/service/chime/api_op_DeleteAttendee.go @@ -79,7 +79,10 @@ func addOperationDeleteAttendeeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteChannel.go b/service/chime/api_op_DeleteChannel.go index 762939ad7b7..57c4f5d29ee 100644 --- a/service/chime/api_op_DeleteChannel.go +++ b/service/chime/api_op_DeleteChannel.go @@ -71,7 +71,10 @@ func addOperationDeleteChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteChannelBan.go b/service/chime/api_op_DeleteChannelBan.go index 619d3d5c035..a9d77049f10 100644 --- a/service/chime/api_op_DeleteChannelBan.go +++ b/service/chime/api_op_DeleteChannelBan.go @@ -75,7 +75,10 @@ func addOperationDeleteChannelBanMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteChannelMembership.go b/service/chime/api_op_DeleteChannelMembership.go index 101a0d7c1c7..44b8e98ba06 100644 --- a/service/chime/api_op_DeleteChannelMembership.go +++ b/service/chime/api_op_DeleteChannelMembership.go @@ -75,7 +75,10 @@ func addOperationDeleteChannelMembershipMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteChannelMessage.go b/service/chime/api_op_DeleteChannelMessage.go index 16ee6489893..b30aed50b42 100644 --- a/service/chime/api_op_DeleteChannelMessage.go +++ b/service/chime/api_op_DeleteChannelMessage.go @@ -77,7 +77,10 @@ func addOperationDeleteChannelMessageMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteChannelModerator.go b/service/chime/api_op_DeleteChannelModerator.go index 59246d5fe98..f11aa0ed93e 100644 --- a/service/chime/api_op_DeleteChannelModerator.go +++ b/service/chime/api_op_DeleteChannelModerator.go @@ -75,7 +75,10 @@ func addOperationDeleteChannelModeratorMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteEventsConfiguration.go b/service/chime/api_op_DeleteEventsConfiguration.go index f2e204359a8..407566c69bd 100644 --- a/service/chime/api_op_DeleteEventsConfiguration.go +++ b/service/chime/api_op_DeleteEventsConfiguration.go @@ -74,7 +74,10 @@ func addOperationDeleteEventsConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteMeeting.go b/service/chime/api_op_DeleteMeeting.go index f0d7a2d9a81..f1468c3b1db 100644 --- a/service/chime/api_op_DeleteMeeting.go +++ b/service/chime/api_op_DeleteMeeting.go @@ -73,7 +73,10 @@ func addOperationDeleteMeetingMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeletePhoneNumber.go b/service/chime/api_op_DeletePhoneNumber.go index 79aa24f5009..b7dd7c5d346 100644 --- a/service/chime/api_op_DeletePhoneNumber.go +++ b/service/chime/api_op_DeletePhoneNumber.go @@ -72,7 +72,10 @@ func addOperationDeletePhoneNumberMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteProxySession.go b/service/chime/api_op_DeleteProxySession.go index 2cc4a5cf4f3..687738905c5 100644 --- a/service/chime/api_op_DeleteProxySession.go +++ b/service/chime/api_op_DeleteProxySession.go @@ -75,7 +75,10 @@ func addOperationDeleteProxySessionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteRoom.go b/service/chime/api_op_DeleteRoom.go index 91dc6b527ae..4b704dc8100 100644 --- a/service/chime/api_op_DeleteRoom.go +++ b/service/chime/api_op_DeleteRoom.go @@ -74,7 +74,10 @@ func addOperationDeleteRoomMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteRoomMembership.go b/service/chime/api_op_DeleteRoomMembership.go index b87f85ca408..dc12e8f5652 100644 --- a/service/chime/api_op_DeleteRoomMembership.go +++ b/service/chime/api_op_DeleteRoomMembership.go @@ -79,7 +79,10 @@ func addOperationDeleteRoomMembershipMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteSipMediaApplication.go b/service/chime/api_op_DeleteSipMediaApplication.go index 74b8de4a6fe..e497e47c4c7 100644 --- a/service/chime/api_op_DeleteSipMediaApplication.go +++ b/service/chime/api_op_DeleteSipMediaApplication.go @@ -69,7 +69,10 @@ func addOperationDeleteSipMediaApplicationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteSipRule.go b/service/chime/api_op_DeleteSipRule.go index a586f960b46..a27d4ca5c25 100644 --- a/service/chime/api_op_DeleteSipRule.go +++ b/service/chime/api_op_DeleteSipRule.go @@ -69,7 +69,10 @@ func addOperationDeleteSipRuleMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteVoiceConnector.go b/service/chime/api_op_DeleteVoiceConnector.go index 70c81eddcf9..09f286a99ba 100644 --- a/service/chime/api_op_DeleteVoiceConnector.go +++ b/service/chime/api_op_DeleteVoiceConnector.go @@ -71,7 +71,10 @@ func addOperationDeleteVoiceConnectorMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go b/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go index 3dd9abe25c0..554e8d1bee4 100644 --- a/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chime/api_op_DeleteVoiceConnectorEmergencyCallingConfiguration.go @@ -70,7 +70,10 @@ func addOperationDeleteVoiceConnectorEmergencyCallingConfigurationMiddlewares(st if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteVoiceConnectorGroup.go b/service/chime/api_op_DeleteVoiceConnectorGroup.go index 744ff74426d..19d2224c591 100644 --- a/service/chime/api_op_DeleteVoiceConnectorGroup.go +++ b/service/chime/api_op_DeleteVoiceConnectorGroup.go @@ -71,7 +71,10 @@ func addOperationDeleteVoiceConnectorGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteVoiceConnectorOrigination.go b/service/chime/api_op_DeleteVoiceConnectorOrigination.go index b080f5e6bb7..ed8dc0e411b 100644 --- a/service/chime/api_op_DeleteVoiceConnectorOrigination.go +++ b/service/chime/api_op_DeleteVoiceConnectorOrigination.go @@ -71,7 +71,10 @@ func addOperationDeleteVoiceConnectorOriginationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteVoiceConnectorProxy.go b/service/chime/api_op_DeleteVoiceConnectorProxy.go index 01a87eacfcc..177f4fee00f 100644 --- a/service/chime/api_op_DeleteVoiceConnectorProxy.go +++ b/service/chime/api_op_DeleteVoiceConnectorProxy.go @@ -69,7 +69,10 @@ func addOperationDeleteVoiceConnectorProxyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go b/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go index 2d3b516b9d0..c5f876dd1d3 100644 --- a/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go +++ b/service/chime/api_op_DeleteVoiceConnectorStreamingConfiguration.go @@ -70,7 +70,10 @@ func addOperationDeleteVoiceConnectorStreamingConfigurationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteVoiceConnectorTermination.go b/service/chime/api_op_DeleteVoiceConnectorTermination.go index 281a98086c0..384ee3f22b1 100644 --- a/service/chime/api_op_DeleteVoiceConnectorTermination.go +++ b/service/chime/api_op_DeleteVoiceConnectorTermination.go @@ -71,7 +71,10 @@ func addOperationDeleteVoiceConnectorTerminationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go b/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go index 58f0a9bce0a..1c28d059e74 100644 --- a/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go +++ b/service/chime/api_op_DeleteVoiceConnectorTerminationCredentials.go @@ -76,7 +76,10 @@ func addOperationDeleteVoiceConnectorTerminationCredentialsMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DescribeAppInstance.go b/service/chime/api_op_DescribeAppInstance.go index a61b2a9cb87..40824a409f4 100644 --- a/service/chime/api_op_DescribeAppInstance.go +++ b/service/chime/api_op_DescribeAppInstance.go @@ -76,7 +76,10 @@ func addOperationDescribeAppInstanceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DescribeAppInstanceAdmin.go b/service/chime/api_op_DescribeAppInstanceAdmin.go index 5811d711885..6010e471d51 100644 --- a/service/chime/api_op_DescribeAppInstanceAdmin.go +++ b/service/chime/api_op_DescribeAppInstanceAdmin.go @@ -81,7 +81,10 @@ func addOperationDescribeAppInstanceAdminMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DescribeAppInstanceUser.go b/service/chime/api_op_DescribeAppInstanceUser.go index 820cd022f56..3339c2cfacb 100644 --- a/service/chime/api_op_DescribeAppInstanceUser.go +++ b/service/chime/api_op_DescribeAppInstanceUser.go @@ -75,7 +75,10 @@ func addOperationDescribeAppInstanceUserMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DescribeChannel.go b/service/chime/api_op_DescribeChannel.go index d3675434132..0e8fa9b3b0e 100644 --- a/service/chime/api_op_DescribeChannel.go +++ b/service/chime/api_op_DescribeChannel.go @@ -75,7 +75,10 @@ func addOperationDescribeChannelMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DescribeChannelBan.go b/service/chime/api_op_DescribeChannelBan.go index 9c9acfba061..e7216f9efc0 100644 --- a/service/chime/api_op_DescribeChannelBan.go +++ b/service/chime/api_op_DescribeChannelBan.go @@ -80,7 +80,10 @@ func addOperationDescribeChannelBanMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DescribeChannelMembership.go b/service/chime/api_op_DescribeChannelMembership.go index 6c9cc03a079..38d0042471e 100644 --- a/service/chime/api_op_DescribeChannelMembership.go +++ b/service/chime/api_op_DescribeChannelMembership.go @@ -80,7 +80,10 @@ func addOperationDescribeChannelMembershipMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go b/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go index 2985a225a3a..40cc3f18bfa 100644 --- a/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go +++ b/service/chime/api_op_DescribeChannelMembershipForAppInstanceUser.go @@ -81,7 +81,10 @@ func addOperationDescribeChannelMembershipForAppInstanceUserMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go b/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go index 7e72efd404d..7b17c591308 100644 --- a/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go +++ b/service/chime/api_op_DescribeChannelModeratedByAppInstanceUser.go @@ -81,7 +81,10 @@ func addOperationDescribeChannelModeratedByAppInstanceUserMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DescribeChannelModerator.go b/service/chime/api_op_DescribeChannelModerator.go index 6c1fe3d6497..948882cd8c4 100644 --- a/service/chime/api_op_DescribeChannelModerator.go +++ b/service/chime/api_op_DescribeChannelModerator.go @@ -80,7 +80,10 @@ func addOperationDescribeChannelModeratorMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DisassociatePhoneNumberFromUser.go b/service/chime/api_op_DisassociatePhoneNumberFromUser.go index 240ecedb86a..0019b5be926 100644 --- a/service/chime/api_op_DisassociatePhoneNumberFromUser.go +++ b/service/chime/api_op_DisassociatePhoneNumberFromUser.go @@ -75,7 +75,10 @@ func addOperationDisassociatePhoneNumberFromUserMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go index 34622ea1c17..dc3910c7277 100644 --- a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go +++ b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnector.go @@ -81,7 +81,10 @@ func addOperationDisassociatePhoneNumbersFromVoiceConnectorMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go index ebb112b1de6..ab821f56aec 100644 --- a/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go +++ b/service/chime/api_op_DisassociatePhoneNumbersFromVoiceConnectorGroup.go @@ -81,7 +81,10 @@ func addOperationDisassociatePhoneNumbersFromVoiceConnectorGroupMiddlewares(stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go b/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go index de962ef95d7..7c2983d1b23 100644 --- a/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go +++ b/service/chime/api_op_DisassociateSigninDelegateGroupsFromAccount.go @@ -75,7 +75,10 @@ func addOperationDisassociateSigninDelegateGroupsFromAccountMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetAccount.go b/service/chime/api_op_GetAccount.go index 3b0671d4f67..e6863f802b9 100644 --- a/service/chime/api_op_GetAccount.go +++ b/service/chime/api_op_GetAccount.go @@ -76,7 +76,10 @@ func addOperationGetAccountMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetAccountSettings.go b/service/chime/api_op_GetAccountSettings.go index 3cfc5d5d73f..f51b6d7d141 100644 --- a/service/chime/api_op_GetAccountSettings.go +++ b/service/chime/api_op_GetAccountSettings.go @@ -78,7 +78,10 @@ func addOperationGetAccountSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetAppInstanceRetentionSettings.go b/service/chime/api_op_GetAppInstanceRetentionSettings.go index d0e1a6f83f9..9331dc6baf2 100644 --- a/service/chime/api_op_GetAppInstanceRetentionSettings.go +++ b/service/chime/api_op_GetAppInstanceRetentionSettings.go @@ -80,7 +80,10 @@ func addOperationGetAppInstanceRetentionSettingsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetAppInstanceStreamingConfigurations.go b/service/chime/api_op_GetAppInstanceStreamingConfigurations.go index b2cc7c0664c..fe93d40a23f 100644 --- a/service/chime/api_op_GetAppInstanceStreamingConfigurations.go +++ b/service/chime/api_op_GetAppInstanceStreamingConfigurations.go @@ -74,7 +74,10 @@ func addOperationGetAppInstanceStreamingConfigurationsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetAttendee.go b/service/chime/api_op_GetAttendee.go index 01be967ebfe..18ba085bf33 100644 --- a/service/chime/api_op_GetAttendee.go +++ b/service/chime/api_op_GetAttendee.go @@ -82,7 +82,10 @@ func addOperationGetAttendeeMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetBot.go b/service/chime/api_op_GetBot.go index 9a1e2aae759..c62b7cc2c5b 100644 --- a/service/chime/api_op_GetBot.go +++ b/service/chime/api_op_GetBot.go @@ -80,7 +80,10 @@ func addOperationGetBotMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetChannelMessage.go b/service/chime/api_op_GetChannelMessage.go index 31cbec73ef6..be93676b3ba 100644 --- a/service/chime/api_op_GetChannelMessage.go +++ b/service/chime/api_op_GetChannelMessage.go @@ -80,7 +80,10 @@ func addOperationGetChannelMessageMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetEventsConfiguration.go b/service/chime/api_op_GetEventsConfiguration.go index 74766bb39fb..f2f1943096d 100644 --- a/service/chime/api_op_GetEventsConfiguration.go +++ b/service/chime/api_op_GetEventsConfiguration.go @@ -80,7 +80,10 @@ func addOperationGetEventsConfigurationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetGlobalSettings.go b/service/chime/api_op_GetGlobalSettings.go index fa86e0797d2..5e56ac34f6b 100644 --- a/service/chime/api_op_GetGlobalSettings.go +++ b/service/chime/api_op_GetGlobalSettings.go @@ -73,7 +73,10 @@ func addOperationGetGlobalSettingsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetMeeting.go b/service/chime/api_op_GetMeeting.go index 31fce01e5ff..38ce04a7186 100644 --- a/service/chime/api_op_GetMeeting.go +++ b/service/chime/api_op_GetMeeting.go @@ -77,7 +77,10 @@ func addOperationGetMeetingMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetMessagingSessionEndpoint.go b/service/chime/api_op_GetMessagingSessionEndpoint.go index 2e83d37b1a2..239a78632a7 100644 --- a/service/chime/api_op_GetMessagingSessionEndpoint.go +++ b/service/chime/api_op_GetMessagingSessionEndpoint.go @@ -70,7 +70,10 @@ func addOperationGetMessagingSessionEndpointMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetPhoneNumber.go b/service/chime/api_op_GetPhoneNumber.go index 8b1d9ddff75..866c42bfc3f 100644 --- a/service/chime/api_op_GetPhoneNumber.go +++ b/service/chime/api_op_GetPhoneNumber.go @@ -75,7 +75,10 @@ func addOperationGetPhoneNumberMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetPhoneNumberOrder.go b/service/chime/api_op_GetPhoneNumberOrder.go index d6165fd83de..6bdebdee7f3 100644 --- a/service/chime/api_op_GetPhoneNumberOrder.go +++ b/service/chime/api_op_GetPhoneNumberOrder.go @@ -75,7 +75,10 @@ func addOperationGetPhoneNumberOrderMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetPhoneNumberSettings.go b/service/chime/api_op_GetPhoneNumberSettings.go index 076aff7a8bb..3b33917b1b8 100644 --- a/service/chime/api_op_GetPhoneNumberSettings.go +++ b/service/chime/api_op_GetPhoneNumberSettings.go @@ -73,7 +73,10 @@ func addOperationGetPhoneNumberSettingsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetProxySession.go b/service/chime/api_op_GetProxySession.go index 09bf9daed35..ca83751ead0 100644 --- a/service/chime/api_op_GetProxySession.go +++ b/service/chime/api_op_GetProxySession.go @@ -80,7 +80,10 @@ func addOperationGetProxySessionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetRetentionSettings.go b/service/chime/api_op_GetRetentionSettings.go index e888e83699c..03ea3057e90 100644 --- a/service/chime/api_op_GetRetentionSettings.go +++ b/service/chime/api_op_GetRetentionSettings.go @@ -82,7 +82,10 @@ func addOperationGetRetentionSettingsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetRoom.go b/service/chime/api_op_GetRoom.go index d318b6447c0..17808fe663f 100644 --- a/service/chime/api_op_GetRoom.go +++ b/service/chime/api_op_GetRoom.go @@ -80,7 +80,10 @@ func addOperationGetRoomMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetSipMediaApplication.go b/service/chime/api_op_GetSipMediaApplication.go index 3c18415f893..71a8a26c648 100644 --- a/service/chime/api_op_GetSipMediaApplication.go +++ b/service/chime/api_op_GetSipMediaApplication.go @@ -75,7 +75,10 @@ func addOperationGetSipMediaApplicationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go b/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go index ebd76d540ea..144495d8400 100644 --- a/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go +++ b/service/chime/api_op_GetSipMediaApplicationLoggingConfiguration.go @@ -74,7 +74,10 @@ func addOperationGetSipMediaApplicationLoggingConfigurationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetSipRule.go b/service/chime/api_op_GetSipRule.go index 88107261106..b1f57109d4b 100644 --- a/service/chime/api_op_GetSipRule.go +++ b/service/chime/api_op_GetSipRule.go @@ -75,7 +75,10 @@ func addOperationGetSipRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetUser.go b/service/chime/api_op_GetUser.go index eb2e705a9fc..25d369fd34d 100644 --- a/service/chime/api_op_GetUser.go +++ b/service/chime/api_op_GetUser.go @@ -82,7 +82,10 @@ func addOperationGetUserMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetUserSettings.go b/service/chime/api_op_GetUserSettings.go index 237d7f45d42..f43a712f1fd 100644 --- a/service/chime/api_op_GetUserSettings.go +++ b/service/chime/api_op_GetUserSettings.go @@ -80,7 +80,10 @@ func addOperationGetUserSettingsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetVoiceConnector.go b/service/chime/api_op_GetVoiceConnector.go index 3f4ead964a4..b964260e938 100644 --- a/service/chime/api_op_GetVoiceConnector.go +++ b/service/chime/api_op_GetVoiceConnector.go @@ -75,7 +75,10 @@ func addOperationGetVoiceConnectorMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go b/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go index d78f6239a9e..630669ddf56 100644 --- a/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chime/api_op_GetVoiceConnectorEmergencyCallingConfiguration.go @@ -75,7 +75,10 @@ func addOperationGetVoiceConnectorEmergencyCallingConfigurationMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetVoiceConnectorGroup.go b/service/chime/api_op_GetVoiceConnectorGroup.go index f40908da546..7e431130ed4 100644 --- a/service/chime/api_op_GetVoiceConnectorGroup.go +++ b/service/chime/api_op_GetVoiceConnectorGroup.go @@ -75,7 +75,10 @@ func addOperationGetVoiceConnectorGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go b/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go index 981ed179478..1db3aed9e92 100644 --- a/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go +++ b/service/chime/api_op_GetVoiceConnectorLoggingConfiguration.go @@ -76,7 +76,10 @@ func addOperationGetVoiceConnectorLoggingConfigurationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetVoiceConnectorOrigination.go b/service/chime/api_op_GetVoiceConnectorOrigination.go index f4d81d3cc3e..b8d8d01618a 100644 --- a/service/chime/api_op_GetVoiceConnectorOrigination.go +++ b/service/chime/api_op_GetVoiceConnectorOrigination.go @@ -75,7 +75,10 @@ func addOperationGetVoiceConnectorOriginationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetVoiceConnectorProxy.go b/service/chime/api_op_GetVoiceConnectorProxy.go index 8f072bf0ad7..20136117e7f 100644 --- a/service/chime/api_op_GetVoiceConnectorProxy.go +++ b/service/chime/api_op_GetVoiceConnectorProxy.go @@ -75,7 +75,10 @@ func addOperationGetVoiceConnectorProxyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go b/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go index 6d794a13d1f..56d0ec76771 100644 --- a/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go +++ b/service/chime/api_op_GetVoiceConnectorStreamingConfiguration.go @@ -77,7 +77,10 @@ func addOperationGetVoiceConnectorStreamingConfigurationMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetVoiceConnectorTermination.go b/service/chime/api_op_GetVoiceConnectorTermination.go index 8d6964e2303..4a8cb36d218 100644 --- a/service/chime/api_op_GetVoiceConnectorTermination.go +++ b/service/chime/api_op_GetVoiceConnectorTermination.go @@ -75,7 +75,10 @@ func addOperationGetVoiceConnectorTerminationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_GetVoiceConnectorTerminationHealth.go b/service/chime/api_op_GetVoiceConnectorTerminationHealth.go index 083fd69683e..c420b664bcf 100644 --- a/service/chime/api_op_GetVoiceConnectorTerminationHealth.go +++ b/service/chime/api_op_GetVoiceConnectorTerminationHealth.go @@ -75,7 +75,10 @@ func addOperationGetVoiceConnectorTerminationHealthMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_InviteUsers.go b/service/chime/api_op_InviteUsers.go index 0eb49091d3d..8f88c25f081 100644 --- a/service/chime/api_op_InviteUsers.go +++ b/service/chime/api_op_InviteUsers.go @@ -84,7 +84,10 @@ func addOperationInviteUsersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListAccounts.go b/service/chime/api_op_ListAccounts.go index f6cf667a7ce..266e511a44b 100644 --- a/service/chime/api_op_ListAccounts.go +++ b/service/chime/api_op_ListAccounts.go @@ -88,7 +88,10 @@ func addOperationListAccountsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListAppInstanceAdmins.go b/service/chime/api_op_ListAppInstanceAdmins.go index 2b713e0fd10..3c99ad99d03 100644 --- a/service/chime/api_op_ListAppInstanceAdmins.go +++ b/service/chime/api_op_ListAppInstanceAdmins.go @@ -89,7 +89,10 @@ func addOperationListAppInstanceAdminsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListAppInstanceUsers.go b/service/chime/api_op_ListAppInstanceUsers.go index e0e6a78ee4f..4fd4d3db977 100644 --- a/service/chime/api_op_ListAppInstanceUsers.go +++ b/service/chime/api_op_ListAppInstanceUsers.go @@ -87,7 +87,10 @@ func addOperationListAppInstanceUsersMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListAppInstances.go b/service/chime/api_op_ListAppInstances.go index fce613a6f99..1a30dc0e5d5 100644 --- a/service/chime/api_op_ListAppInstances.go +++ b/service/chime/api_op_ListAppInstances.go @@ -81,7 +81,10 @@ func addOperationListAppInstancesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListAttendeeTags.go b/service/chime/api_op_ListAttendeeTags.go index ae57f95931a..0a6d3295bf7 100644 --- a/service/chime/api_op_ListAttendeeTags.go +++ b/service/chime/api_op_ListAttendeeTags.go @@ -79,7 +79,10 @@ func addOperationListAttendeeTagsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListAttendees.go b/service/chime/api_op_ListAttendees.go index e7438ace72a..a3311f5a7af 100644 --- a/service/chime/api_op_ListAttendees.go +++ b/service/chime/api_op_ListAttendees.go @@ -87,7 +87,10 @@ func addOperationListAttendeesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListBots.go b/service/chime/api_op_ListBots.go index bb0051baab3..528168c3f8b 100644 --- a/service/chime/api_op_ListBots.go +++ b/service/chime/api_op_ListBots.go @@ -85,7 +85,10 @@ func addOperationListBotsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListChannelBans.go b/service/chime/api_op_ListChannelBans.go index 29a62e82026..82b4d8dc24b 100644 --- a/service/chime/api_op_ListChannelBans.go +++ b/service/chime/api_op_ListChannelBans.go @@ -87,7 +87,10 @@ func addOperationListChannelBansMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListChannelMemberships.go b/service/chime/api_op_ListChannelMemberships.go index ff49a28092c..0ff0c8a11bd 100644 --- a/service/chime/api_op_ListChannelMemberships.go +++ b/service/chime/api_op_ListChannelMemberships.go @@ -95,7 +95,10 @@ func addOperationListChannelMembershipsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go b/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go index 438403fe00f..57892b369b7 100644 --- a/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go +++ b/service/chime/api_op_ListChannelMembershipsForAppInstanceUser.go @@ -84,7 +84,10 @@ func addOperationListChannelMembershipsForAppInstanceUserMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListChannelMessages.go b/service/chime/api_op_ListChannelMessages.go index 149ce4a09fe..9e659884204 100644 --- a/service/chime/api_op_ListChannelMessages.go +++ b/service/chime/api_op_ListChannelMessages.go @@ -104,7 +104,10 @@ func addOperationListChannelMessagesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListChannelModerators.go b/service/chime/api_op_ListChannelModerators.go index e3ee0665ec3..b6ef96b52b5 100644 --- a/service/chime/api_op_ListChannelModerators.go +++ b/service/chime/api_op_ListChannelModerators.go @@ -89,7 +89,10 @@ func addOperationListChannelModeratorsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListChannels.go b/service/chime/api_op_ListChannels.go index 49664b4ef9c..76a912e617c 100644 --- a/service/chime/api_op_ListChannels.go +++ b/service/chime/api_op_ListChannels.go @@ -99,7 +99,10 @@ func addOperationListChannelsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go b/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go index a0568cefdf3..cb96330d930 100644 --- a/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go +++ b/service/chime/api_op_ListChannelsModeratedByAppInstanceUser.go @@ -84,7 +84,10 @@ func addOperationListChannelsModeratedByAppInstanceUserMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListMeetingTags.go b/service/chime/api_op_ListMeetingTags.go index 2a3b53a3726..68213d7f799 100644 --- a/service/chime/api_op_ListMeetingTags.go +++ b/service/chime/api_op_ListMeetingTags.go @@ -74,7 +74,10 @@ func addOperationListMeetingTagsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListMeetings.go b/service/chime/api_op_ListMeetings.go index adbc78181cc..7f7e66cc04c 100644 --- a/service/chime/api_op_ListMeetings.go +++ b/service/chime/api_op_ListMeetings.go @@ -82,7 +82,10 @@ func addOperationListMeetingsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListPhoneNumberOrders.go b/service/chime/api_op_ListPhoneNumberOrders.go index 7b62b2fbd5c..31c92005425 100644 --- a/service/chime/api_op_ListPhoneNumberOrders.go +++ b/service/chime/api_op_ListPhoneNumberOrders.go @@ -79,7 +79,10 @@ func addOperationListPhoneNumberOrdersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListPhoneNumbers.go b/service/chime/api_op_ListPhoneNumbers.go index 3351c4c3806..475694d1686 100644 --- a/service/chime/api_op_ListPhoneNumbers.go +++ b/service/chime/api_op_ListPhoneNumbers.go @@ -92,7 +92,10 @@ func addOperationListPhoneNumbersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListProxySessions.go b/service/chime/api_op_ListProxySessions.go index 381c828dba9..eb07b31e39a 100644 --- a/service/chime/api_op_ListProxySessions.go +++ b/service/chime/api_op_ListProxySessions.go @@ -87,7 +87,10 @@ func addOperationListProxySessionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListRoomMemberships.go b/service/chime/api_op_ListRoomMemberships.go index da450f6f1cf..24b62bfa2ee 100644 --- a/service/chime/api_op_ListRoomMemberships.go +++ b/service/chime/api_op_ListRoomMemberships.go @@ -90,7 +90,10 @@ func addOperationListRoomMembershipsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListRooms.go b/service/chime/api_op_ListRooms.go index 25d00d57bfd..30d7d76be54 100644 --- a/service/chime/api_op_ListRooms.go +++ b/service/chime/api_op_ListRooms.go @@ -89,7 +89,10 @@ func addOperationListRoomsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListSipMediaApplications.go b/service/chime/api_op_ListSipMediaApplications.go index be35ae25595..78aa150c17a 100644 --- a/service/chime/api_op_ListSipMediaApplications.go +++ b/service/chime/api_op_ListSipMediaApplications.go @@ -79,7 +79,10 @@ func addOperationListSipMediaApplicationsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListSipRules.go b/service/chime/api_op_ListSipRules.go index 1f51fb02251..0e02f72da95 100644 --- a/service/chime/api_op_ListSipRules.go +++ b/service/chime/api_op_ListSipRules.go @@ -82,7 +82,10 @@ func addOperationListSipRulesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListTagsForResource.go b/service/chime/api_op_ListTagsForResource.go index ce4d5784d93..ce3e76dfa4b 100644 --- a/service/chime/api_op_ListTagsForResource.go +++ b/service/chime/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListUsers.go b/service/chime/api_op_ListUsers.go index 42a466364ce..16435e6670e 100644 --- a/service/chime/api_op_ListUsers.go +++ b/service/chime/api_op_ListUsers.go @@ -92,7 +92,10 @@ func addOperationListUsersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListVoiceConnectorGroups.go b/service/chime/api_op_ListVoiceConnectorGroups.go index 61a255345f0..90214cc59e1 100644 --- a/service/chime/api_op_ListVoiceConnectorGroups.go +++ b/service/chime/api_op_ListVoiceConnectorGroups.go @@ -80,7 +80,10 @@ func addOperationListVoiceConnectorGroupsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go b/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go index 8c632de1220..2e49e3199d6 100644 --- a/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go +++ b/service/chime/api_op_ListVoiceConnectorTerminationCredentials.go @@ -73,7 +73,10 @@ func addOperationListVoiceConnectorTerminationCredentialsMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ListVoiceConnectors.go b/service/chime/api_op_ListVoiceConnectors.go index 06f5c648226..d70f17bf0a4 100644 --- a/service/chime/api_op_ListVoiceConnectors.go +++ b/service/chime/api_op_ListVoiceConnectors.go @@ -79,7 +79,10 @@ func addOperationListVoiceConnectorsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_LogoutUser.go b/service/chime/api_op_LogoutUser.go index 8aed3991e23..7b6597653bd 100644 --- a/service/chime/api_op_LogoutUser.go +++ b/service/chime/api_op_LogoutUser.go @@ -75,7 +75,10 @@ func addOperationLogoutUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutAppInstanceRetentionSettings.go b/service/chime/api_op_PutAppInstanceRetentionSettings.go index 8c3d6236759..3fc42d31340 100644 --- a/service/chime/api_op_PutAppInstanceRetentionSettings.go +++ b/service/chime/api_op_PutAppInstanceRetentionSettings.go @@ -84,7 +84,10 @@ func addOperationPutAppInstanceRetentionSettingsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutAppInstanceStreamingConfigurations.go b/service/chime/api_op_PutAppInstanceStreamingConfigurations.go index 6e1ecf2d438..cece1a751da 100644 --- a/service/chime/api_op_PutAppInstanceStreamingConfigurations.go +++ b/service/chime/api_op_PutAppInstanceStreamingConfigurations.go @@ -79,7 +79,10 @@ func addOperationPutAppInstanceStreamingConfigurationsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutEventsConfiguration.go b/service/chime/api_op_PutEventsConfiguration.go index e6e7b134892..3defb1c0f1d 100644 --- a/service/chime/api_op_PutEventsConfiguration.go +++ b/service/chime/api_op_PutEventsConfiguration.go @@ -88,7 +88,10 @@ func addOperationPutEventsConfigurationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutRetentionSettings.go b/service/chime/api_op_PutRetentionSettings.go index a4573abfffc..517a1e5e2a2 100644 --- a/service/chime/api_op_PutRetentionSettings.go +++ b/service/chime/api_op_PutRetentionSettings.go @@ -93,7 +93,10 @@ func addOperationPutRetentionSettingsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go b/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go index 502e7e4e00c..0588a4e246d 100644 --- a/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go +++ b/service/chime/api_op_PutSipMediaApplicationLoggingConfiguration.go @@ -77,7 +77,10 @@ func addOperationPutSipMediaApplicationLoggingConfigurationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go b/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go index 9f5c6dc4a3d..922faf35981 100644 --- a/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go +++ b/service/chime/api_op_PutVoiceConnectorEmergencyCallingConfiguration.go @@ -82,7 +82,10 @@ func addOperationPutVoiceConnectorEmergencyCallingConfigurationMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go b/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go index 1a6814f4862..81f3cc702dc 100644 --- a/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go +++ b/service/chime/api_op_PutVoiceConnectorLoggingConfiguration.go @@ -81,7 +81,10 @@ func addOperationPutVoiceConnectorLoggingConfigurationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutVoiceConnectorOrigination.go b/service/chime/api_op_PutVoiceConnectorOrigination.go index 480750490f1..6034de3fe79 100644 --- a/service/chime/api_op_PutVoiceConnectorOrigination.go +++ b/service/chime/api_op_PutVoiceConnectorOrigination.go @@ -81,7 +81,10 @@ func addOperationPutVoiceConnectorOriginationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutVoiceConnectorProxy.go b/service/chime/api_op_PutVoiceConnectorProxy.go index 6865c33c6ba..acbcb88e036 100644 --- a/service/chime/api_op_PutVoiceConnectorProxy.go +++ b/service/chime/api_op_PutVoiceConnectorProxy.go @@ -92,7 +92,10 @@ func addOperationPutVoiceConnectorProxyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go b/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go index e11797c7afb..797cbaca2a6 100644 --- a/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go +++ b/service/chime/api_op_PutVoiceConnectorStreamingConfiguration.go @@ -82,7 +82,10 @@ func addOperationPutVoiceConnectorStreamingConfigurationMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutVoiceConnectorTermination.go b/service/chime/api_op_PutVoiceConnectorTermination.go index c1d0ced1c19..bb67d55e0c9 100644 --- a/service/chime/api_op_PutVoiceConnectorTermination.go +++ b/service/chime/api_op_PutVoiceConnectorTermination.go @@ -81,7 +81,10 @@ func addOperationPutVoiceConnectorTerminationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go b/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go index cc019cc0e81..be6110670df 100644 --- a/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go +++ b/service/chime/api_op_PutVoiceConnectorTerminationCredentials.go @@ -73,7 +73,10 @@ func addOperationPutVoiceConnectorTerminationCredentialsMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_RedactChannelMessage.go b/service/chime/api_op_RedactChannelMessage.go index 37992e8369b..cfb0b437b2f 100644 --- a/service/chime/api_op_RedactChannelMessage.go +++ b/service/chime/api_op_RedactChannelMessage.go @@ -83,7 +83,10 @@ func addOperationRedactChannelMessageMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_RedactConversationMessage.go b/service/chime/api_op_RedactConversationMessage.go index 4dc97e96be8..7c1780a475e 100644 --- a/service/chime/api_op_RedactConversationMessage.go +++ b/service/chime/api_op_RedactConversationMessage.go @@ -79,7 +79,10 @@ func addOperationRedactConversationMessageMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_RedactRoomMessage.go b/service/chime/api_op_RedactRoomMessage.go index 9d253fe2953..e6c6511f285 100644 --- a/service/chime/api_op_RedactRoomMessage.go +++ b/service/chime/api_op_RedactRoomMessage.go @@ -79,7 +79,10 @@ func addOperationRedactRoomMessageMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_RegenerateSecurityToken.go b/service/chime/api_op_RegenerateSecurityToken.go index 7be525de65e..3d8166e2355 100644 --- a/service/chime/api_op_RegenerateSecurityToken.go +++ b/service/chime/api_op_RegenerateSecurityToken.go @@ -80,7 +80,10 @@ func addOperationRegenerateSecurityTokenMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_ResetPersonalPIN.go b/service/chime/api_op_ResetPersonalPIN.go index 47f4b059f08..6b294c25ee0 100644 --- a/service/chime/api_op_ResetPersonalPIN.go +++ b/service/chime/api_op_ResetPersonalPIN.go @@ -80,7 +80,10 @@ func addOperationResetPersonalPINMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_RestorePhoneNumber.go b/service/chime/api_op_RestorePhoneNumber.go index ea7ba374401..61cdcafbb66 100644 --- a/service/chime/api_op_RestorePhoneNumber.go +++ b/service/chime/api_op_RestorePhoneNumber.go @@ -75,7 +75,10 @@ func addOperationRestorePhoneNumberMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_SearchAvailablePhoneNumbers.go b/service/chime/api_op_SearchAvailablePhoneNumbers.go index 5529302f4ff..1d81680ed0a 100644 --- a/service/chime/api_op_SearchAvailablePhoneNumbers.go +++ b/service/chime/api_op_SearchAvailablePhoneNumbers.go @@ -89,7 +89,10 @@ func addOperationSearchAvailablePhoneNumbersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_SendChannelMessage.go b/service/chime/api_op_SendChannelMessage.go index e502ce11d51..fb616baa2f6 100644 --- a/service/chime/api_op_SendChannelMessage.go +++ b/service/chime/api_op_SendChannelMessage.go @@ -104,7 +104,10 @@ func addOperationSendChannelMessageMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_TagAttendee.go b/service/chime/api_op_TagAttendee.go index 52cb358145e..f334a3820d0 100644 --- a/service/chime/api_op_TagAttendee.go +++ b/service/chime/api_op_TagAttendee.go @@ -80,7 +80,10 @@ func addOperationTagAttendeeMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_TagMeeting.go b/service/chime/api_op_TagMeeting.go index 21d511dbcdf..7a3bbf75f1b 100644 --- a/service/chime/api_op_TagMeeting.go +++ b/service/chime/api_op_TagMeeting.go @@ -75,7 +75,10 @@ func addOperationTagMeetingMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_TagResource.go b/service/chime/api_op_TagResource.go index ccf4b8dc271..353c43b8a8a 100644 --- a/service/chime/api_op_TagResource.go +++ b/service/chime/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UntagAttendee.go b/service/chime/api_op_UntagAttendee.go index 4dbfbbba17b..af9089b263c 100644 --- a/service/chime/api_op_UntagAttendee.go +++ b/service/chime/api_op_UntagAttendee.go @@ -79,7 +79,10 @@ func addOperationUntagAttendeeMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UntagMeeting.go b/service/chime/api_op_UntagMeeting.go index 647cbfb0e13..14349ce7e8b 100644 --- a/service/chime/api_op_UntagMeeting.go +++ b/service/chime/api_op_UntagMeeting.go @@ -74,7 +74,10 @@ func addOperationUntagMeetingMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UntagResource.go b/service/chime/api_op_UntagResource.go index 7c5214d840f..8ca5b3b2a30 100644 --- a/service/chime/api_op_UntagResource.go +++ b/service/chime/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateAccount.go b/service/chime/api_op_UpdateAccount.go index 6d4c92fae02..945395f9402 100644 --- a/service/chime/api_op_UpdateAccount.go +++ b/service/chime/api_op_UpdateAccount.go @@ -79,7 +79,10 @@ func addOperationUpdateAccountMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateAccountSettings.go b/service/chime/api_op_UpdateAccountSettings.go index 17980db9a07..a730769ced4 100644 --- a/service/chime/api_op_UpdateAccountSettings.go +++ b/service/chime/api_op_UpdateAccountSettings.go @@ -79,7 +79,10 @@ func addOperationUpdateAccountSettingsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateAppInstance.go b/service/chime/api_op_UpdateAppInstance.go index ff6a300f695..023f31094f4 100644 --- a/service/chime/api_op_UpdateAppInstance.go +++ b/service/chime/api_op_UpdateAppInstance.go @@ -82,7 +82,10 @@ func addOperationUpdateAppInstanceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateAppInstanceUser.go b/service/chime/api_op_UpdateAppInstanceUser.go index 014f0703198..ca348fd1605 100644 --- a/service/chime/api_op_UpdateAppInstanceUser.go +++ b/service/chime/api_op_UpdateAppInstanceUser.go @@ -82,7 +82,10 @@ func addOperationUpdateAppInstanceUserMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateBot.go b/service/chime/api_op_UpdateBot.go index 18df6a77337..c24be13bc01 100644 --- a/service/chime/api_op_UpdateBot.go +++ b/service/chime/api_op_UpdateBot.go @@ -83,7 +83,10 @@ func addOperationUpdateBotMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateChannel.go b/service/chime/api_op_UpdateChannel.go index b74ce3361fc..47eed386433 100644 --- a/service/chime/api_op_UpdateChannel.go +++ b/service/chime/api_op_UpdateChannel.go @@ -89,7 +89,10 @@ func addOperationUpdateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateChannelMessage.go b/service/chime/api_op_UpdateChannelMessage.go index 31dbedb174a..8a0de36ca3e 100644 --- a/service/chime/api_op_UpdateChannelMessage.go +++ b/service/chime/api_op_UpdateChannelMessage.go @@ -88,7 +88,10 @@ func addOperationUpdateChannelMessageMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateChannelReadMarker.go b/service/chime/api_op_UpdateChannelReadMarker.go index 495f0dc810a..a678fe012ca 100644 --- a/service/chime/api_op_UpdateChannelReadMarker.go +++ b/service/chime/api_op_UpdateChannelReadMarker.go @@ -74,7 +74,10 @@ func addOperationUpdateChannelReadMarkerMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateGlobalSettings.go b/service/chime/api_op_UpdateGlobalSettings.go index 45af22a9506..56ddc13ace6 100644 --- a/service/chime/api_op_UpdateGlobalSettings.go +++ b/service/chime/api_op_UpdateGlobalSettings.go @@ -76,7 +76,10 @@ func addOperationUpdateGlobalSettingsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdatePhoneNumber.go b/service/chime/api_op_UpdatePhoneNumber.go index b22dbb9ca76..020e92864db 100644 --- a/service/chime/api_op_UpdatePhoneNumber.go +++ b/service/chime/api_op_UpdatePhoneNumber.go @@ -86,7 +86,10 @@ func addOperationUpdatePhoneNumberMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdatePhoneNumberSettings.go b/service/chime/api_op_UpdatePhoneNumberSettings.go index 68079fac063..292a1d43f5a 100644 --- a/service/chime/api_op_UpdatePhoneNumberSettings.go +++ b/service/chime/api_op_UpdatePhoneNumberSettings.go @@ -72,7 +72,10 @@ func addOperationUpdatePhoneNumberSettingsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateProxySession.go b/service/chime/api_op_UpdateProxySession.go index 6d6be0820e4..f289de582f5 100644 --- a/service/chime/api_op_UpdateProxySession.go +++ b/service/chime/api_op_UpdateProxySession.go @@ -87,7 +87,10 @@ func addOperationUpdateProxySessionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateRoom.go b/service/chime/api_op_UpdateRoom.go index a62d7db109c..b76a6c43493 100644 --- a/service/chime/api_op_UpdateRoom.go +++ b/service/chime/api_op_UpdateRoom.go @@ -83,7 +83,10 @@ func addOperationUpdateRoomMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateRoomMembership.go b/service/chime/api_op_UpdateRoomMembership.go index 83cf0b2243d..8a566a108aa 100644 --- a/service/chime/api_op_UpdateRoomMembership.go +++ b/service/chime/api_op_UpdateRoomMembership.go @@ -90,7 +90,10 @@ func addOperationUpdateRoomMembershipMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateSipMediaApplication.go b/service/chime/api_op_UpdateSipMediaApplication.go index 73c4f858daa..9e6258a6996 100644 --- a/service/chime/api_op_UpdateSipMediaApplication.go +++ b/service/chime/api_op_UpdateSipMediaApplication.go @@ -80,7 +80,10 @@ func addOperationUpdateSipMediaApplicationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateSipRule.go b/service/chime/api_op_UpdateSipRule.go index 5905306f88d..07d7ea5925c 100644 --- a/service/chime/api_op_UpdateSipRule.go +++ b/service/chime/api_op_UpdateSipRule.go @@ -85,7 +85,10 @@ func addOperationUpdateSipRuleMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateUser.go b/service/chime/api_op_UpdateUser.go index 178744f43e6..6292e459467 100644 --- a/service/chime/api_op_UpdateUser.go +++ b/service/chime/api_op_UpdateUser.go @@ -90,7 +90,10 @@ func addOperationUpdateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateUserSettings.go b/service/chime/api_op_UpdateUserSettings.go index 4f5cd5c2414..9e1a6d7ad6e 100644 --- a/service/chime/api_op_UpdateUserSettings.go +++ b/service/chime/api_op_UpdateUserSettings.go @@ -80,7 +80,10 @@ func addOperationUpdateUserSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateVoiceConnector.go b/service/chime/api_op_UpdateVoiceConnector.go index fb33fecf01c..7151d0ce57f 100644 --- a/service/chime/api_op_UpdateVoiceConnector.go +++ b/service/chime/api_op_UpdateVoiceConnector.go @@ -84,7 +84,10 @@ func addOperationUpdateVoiceConnectorMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/chime/api_op_UpdateVoiceConnectorGroup.go b/service/chime/api_op_UpdateVoiceConnectorGroup.go index 95c54280c76..67c8273e26a 100644 --- a/service/chime/api_op_UpdateVoiceConnectorGroup.go +++ b/service/chime/api_op_UpdateVoiceConnectorGroup.go @@ -85,7 +85,10 @@ func addOperationUpdateVoiceConnectorGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_CreateEnvironmentEC2.go b/service/cloud9/api_op_CreateEnvironmentEC2.go index 4d3d37f394f..1977c578cee 100644 --- a/service/cloud9/api_op_CreateEnvironmentEC2.go +++ b/service/cloud9/api_op_CreateEnvironmentEC2.go @@ -111,7 +111,10 @@ func addOperationCreateEnvironmentEC2Middlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_CreateEnvironmentMembership.go b/service/cloud9/api_op_CreateEnvironmentMembership.go index cf39f5730a5..3f39bc19669 100644 --- a/service/cloud9/api_op_CreateEnvironmentMembership.go +++ b/service/cloud9/api_op_CreateEnvironmentMembership.go @@ -90,7 +90,10 @@ func addOperationCreateEnvironmentMembershipMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_DeleteEnvironment.go b/service/cloud9/api_op_DeleteEnvironment.go index 383476c85c6..a75d354618b 100644 --- a/service/cloud9/api_op_DeleteEnvironment.go +++ b/service/cloud9/api_op_DeleteEnvironment.go @@ -70,7 +70,10 @@ func addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_DeleteEnvironmentMembership.go b/service/cloud9/api_op_DeleteEnvironmentMembership.go index 19d5070e2b1..952d632409f 100644 --- a/service/cloud9/api_op_DeleteEnvironmentMembership.go +++ b/service/cloud9/api_op_DeleteEnvironmentMembership.go @@ -75,7 +75,10 @@ func addOperationDeleteEnvironmentMembershipMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_DescribeEnvironmentMemberships.go b/service/cloud9/api_op_DescribeEnvironmentMemberships.go index 5be7492090f..424ec96492b 100644 --- a/service/cloud9/api_op_DescribeEnvironmentMemberships.go +++ b/service/cloud9/api_op_DescribeEnvironmentMemberships.go @@ -111,7 +111,10 @@ func addOperationDescribeEnvironmentMembershipsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_DescribeEnvironmentStatus.go b/service/cloud9/api_op_DescribeEnvironmentStatus.go index 0a356b01cb8..b331fca2f96 100644 --- a/service/cloud9/api_op_DescribeEnvironmentStatus.go +++ b/service/cloud9/api_op_DescribeEnvironmentStatus.go @@ -95,7 +95,10 @@ func addOperationDescribeEnvironmentStatusMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_DescribeEnvironments.go b/service/cloud9/api_op_DescribeEnvironments.go index d40b0ff91be..b00f10a6751 100644 --- a/service/cloud9/api_op_DescribeEnvironments.go +++ b/service/cloud9/api_op_DescribeEnvironments.go @@ -74,7 +74,10 @@ func addOperationDescribeEnvironmentsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_ListEnvironments.go b/service/cloud9/api_op_ListEnvironments.go index 31d91fcf358..90a86e2cbdc 100644 --- a/service/cloud9/api_op_ListEnvironments.go +++ b/service/cloud9/api_op_ListEnvironments.go @@ -86,7 +86,10 @@ func addOperationListEnvironmentsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_ListTagsForResource.go b/service/cloud9/api_op_ListTagsForResource.go index 500cfc37ac9..0354b3b7b12 100644 --- a/service/cloud9/api_op_ListTagsForResource.go +++ b/service/cloud9/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_TagResource.go b/service/cloud9/api_op_TagResource.go index ba67756d4f2..8e6a8a591fb 100644 --- a/service/cloud9/api_op_TagResource.go +++ b/service/cloud9/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_UntagResource.go b/service/cloud9/api_op_UntagResource.go index c2cd881a68f..b3de654569d 100644 --- a/service/cloud9/api_op_UntagResource.go +++ b/service/cloud9/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_UpdateEnvironment.go b/service/cloud9/api_op_UpdateEnvironment.go index fae43d52a6c..05631f31493 100644 --- a/service/cloud9/api_op_UpdateEnvironment.go +++ b/service/cloud9/api_op_UpdateEnvironment.go @@ -75,7 +75,10 @@ func addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloud9/api_op_UpdateEnvironmentMembership.go b/service/cloud9/api_op_UpdateEnvironmentMembership.go index 18387a50118..98faa83b4eb 100644 --- a/service/cloud9/api_op_UpdateEnvironmentMembership.go +++ b/service/cloud9/api_op_UpdateEnvironmentMembership.go @@ -94,7 +94,10 @@ func addOperationUpdateEnvironmentMembershipMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_AddFacetToObject.go b/service/clouddirectory/api_op_AddFacetToObject.go index e582692c0f5..fe5c6f28c45 100644 --- a/service/clouddirectory/api_op_AddFacetToObject.go +++ b/service/clouddirectory/api_op_AddFacetToObject.go @@ -86,7 +86,10 @@ func addOperationAddFacetToObjectMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ApplySchema.go b/service/clouddirectory/api_op_ApplySchema.go index 5bcd9fa6808..5d43704112d 100644 --- a/service/clouddirectory/api_op_ApplySchema.go +++ b/service/clouddirectory/api_op_ApplySchema.go @@ -86,7 +86,10 @@ func addOperationApplySchemaMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_AttachObject.go b/service/clouddirectory/api_op_AttachObject.go index 7941ec3600d..96f9c81bebd 100644 --- a/service/clouddirectory/api_op_AttachObject.go +++ b/service/clouddirectory/api_op_AttachObject.go @@ -95,7 +95,10 @@ func addOperationAttachObjectMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_AttachPolicy.go b/service/clouddirectory/api_op_AttachPolicy.go index 74d39551117..dbe9c5e6d31 100644 --- a/service/clouddirectory/api_op_AttachPolicy.go +++ b/service/clouddirectory/api_op_AttachPolicy.go @@ -82,7 +82,10 @@ func addOperationAttachPolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_AttachToIndex.go b/service/clouddirectory/api_op_AttachToIndex.go index f63b92bdb92..461ec89e24e 100644 --- a/service/clouddirectory/api_op_AttachToIndex.go +++ b/service/clouddirectory/api_op_AttachToIndex.go @@ -85,7 +85,10 @@ func addOperationAttachToIndexMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_AttachTypedLink.go b/service/clouddirectory/api_op_AttachTypedLink.go index 15bd63bb34e..00daea6d8ac 100644 --- a/service/clouddirectory/api_op_AttachTypedLink.go +++ b/service/clouddirectory/api_op_AttachTypedLink.go @@ -97,7 +97,10 @@ func addOperationAttachTypedLinkMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_BatchRead.go b/service/clouddirectory/api_op_BatchRead.go index 02b809f2a7f..cd39e16eb41 100644 --- a/service/clouddirectory/api_op_BatchRead.go +++ b/service/clouddirectory/api_op_BatchRead.go @@ -84,7 +84,10 @@ func addOperationBatchReadMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_BatchWrite.go b/service/clouddirectory/api_op_BatchWrite.go index 162ec4be46f..cc017fbb04c 100644 --- a/service/clouddirectory/api_op_BatchWrite.go +++ b/service/clouddirectory/api_op_BatchWrite.go @@ -81,7 +81,10 @@ func addOperationBatchWriteMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_CreateDirectory.go b/service/clouddirectory/api_op_CreateDirectory.go index 14bbe184e55..957c34eb606 100644 --- a/service/clouddirectory/api_op_CreateDirectory.go +++ b/service/clouddirectory/api_op_CreateDirectory.go @@ -103,7 +103,10 @@ func addOperationCreateDirectoryMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_CreateFacet.go b/service/clouddirectory/api_op_CreateFacet.go index 4676faeebbe..6ada795cccc 100644 --- a/service/clouddirectory/api_op_CreateFacet.go +++ b/service/clouddirectory/api_op_CreateFacet.go @@ -102,7 +102,10 @@ func addOperationCreateFacetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_CreateIndex.go b/service/clouddirectory/api_op_CreateIndex.go index a89a4d31b60..8666ef346c6 100644 --- a/service/clouddirectory/api_op_CreateIndex.go +++ b/service/clouddirectory/api_op_CreateIndex.go @@ -93,7 +93,10 @@ func addOperationCreateIndexMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_CreateObject.go b/service/clouddirectory/api_op_CreateObject.go index beca7ba23c5..d90011ece6c 100644 --- a/service/clouddirectory/api_op_CreateObject.go +++ b/service/clouddirectory/api_op_CreateObject.go @@ -94,7 +94,10 @@ func addOperationCreateObjectMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_CreateSchema.go b/service/clouddirectory/api_op_CreateSchema.go index 4be6385e03c..488bb1e58be 100644 --- a/service/clouddirectory/api_op_CreateSchema.go +++ b/service/clouddirectory/api_op_CreateSchema.go @@ -88,7 +88,10 @@ func addOperationCreateSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_CreateTypedLinkFacet.go b/service/clouddirectory/api_op_CreateTypedLinkFacet.go index 01ff9173aad..33fa99d5f6c 100644 --- a/service/clouddirectory/api_op_CreateTypedLinkFacet.go +++ b/service/clouddirectory/api_op_CreateTypedLinkFacet.go @@ -77,7 +77,10 @@ func addOperationCreateTypedLinkFacetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DeleteDirectory.go b/service/clouddirectory/api_op_DeleteDirectory.go index 3cb1d384fb7..fb2bafc0e48 100644 --- a/service/clouddirectory/api_op_DeleteDirectory.go +++ b/service/clouddirectory/api_op_DeleteDirectory.go @@ -76,7 +76,10 @@ func addOperationDeleteDirectoryMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DeleteFacet.go b/service/clouddirectory/api_op_DeleteFacet.go index 5cf5635de99..f96d44ee12d 100644 --- a/service/clouddirectory/api_op_DeleteFacet.go +++ b/service/clouddirectory/api_op_DeleteFacet.go @@ -76,7 +76,10 @@ func addOperationDeleteFacetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DeleteObject.go b/service/clouddirectory/api_op_DeleteObject.go index c67f86283fb..fea6ea8ef88 100644 --- a/service/clouddirectory/api_op_DeleteObject.go +++ b/service/clouddirectory/api_op_DeleteObject.go @@ -80,7 +80,10 @@ func addOperationDeleteObjectMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DeleteSchema.go b/service/clouddirectory/api_op_DeleteSchema.go index 86639553c1d..bbb39ba08e2 100644 --- a/service/clouddirectory/api_op_DeleteSchema.go +++ b/service/clouddirectory/api_op_DeleteSchema.go @@ -76,7 +76,10 @@ func addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DeleteTypedLinkFacet.go b/service/clouddirectory/api_op_DeleteTypedLinkFacet.go index e11c6902bdc..62529676e60 100644 --- a/service/clouddirectory/api_op_DeleteTypedLinkFacet.go +++ b/service/clouddirectory/api_op_DeleteTypedLinkFacet.go @@ -76,7 +76,10 @@ func addOperationDeleteTypedLinkFacetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DetachFromIndex.go b/service/clouddirectory/api_op_DetachFromIndex.go index a162a641cce..b067202086f 100644 --- a/service/clouddirectory/api_op_DetachFromIndex.go +++ b/service/clouddirectory/api_op_DetachFromIndex.go @@ -84,7 +84,10 @@ func addOperationDetachFromIndexMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DetachObject.go b/service/clouddirectory/api_op_DetachObject.go index 9c4c038da4d..143d1aafe6a 100644 --- a/service/clouddirectory/api_op_DetachObject.go +++ b/service/clouddirectory/api_op_DetachObject.go @@ -87,7 +87,10 @@ func addOperationDetachObjectMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DetachPolicy.go b/service/clouddirectory/api_op_DetachPolicy.go index 8eeca0fb3a7..c8022f05bea 100644 --- a/service/clouddirectory/api_op_DetachPolicy.go +++ b/service/clouddirectory/api_op_DetachPolicy.go @@ -81,7 +81,10 @@ func addOperationDetachPolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DetachTypedLink.go b/service/clouddirectory/api_op_DetachTypedLink.go index 6a2fa4f9b07..61c0a0c76e5 100644 --- a/service/clouddirectory/api_op_DetachTypedLink.go +++ b/service/clouddirectory/api_op_DetachTypedLink.go @@ -78,7 +78,10 @@ func addOperationDetachTypedLinkMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_DisableDirectory.go b/service/clouddirectory/api_op_DisableDirectory.go index 38999995081..bc6a116ea5d 100644 --- a/service/clouddirectory/api_op_DisableDirectory.go +++ b/service/clouddirectory/api_op_DisableDirectory.go @@ -77,7 +77,10 @@ func addOperationDisableDirectoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_EnableDirectory.go b/service/clouddirectory/api_op_EnableDirectory.go index 5a6fdf77558..0a7ea8cf3b2 100644 --- a/service/clouddirectory/api_op_EnableDirectory.go +++ b/service/clouddirectory/api_op_EnableDirectory.go @@ -76,7 +76,10 @@ func addOperationEnableDirectoryMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_GetAppliedSchemaVersion.go b/service/clouddirectory/api_op_GetAppliedSchemaVersion.go index 8c03f7ec2a7..ad94071d470 100644 --- a/service/clouddirectory/api_op_GetAppliedSchemaVersion.go +++ b/service/clouddirectory/api_op_GetAppliedSchemaVersion.go @@ -74,7 +74,10 @@ func addOperationGetAppliedSchemaVersionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_GetDirectory.go b/service/clouddirectory/api_op_GetDirectory.go index f3516ba9af8..9d26ea34604 100644 --- a/service/clouddirectory/api_op_GetDirectory.go +++ b/service/clouddirectory/api_op_GetDirectory.go @@ -76,7 +76,10 @@ func addOperationGetDirectoryMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_GetFacet.go b/service/clouddirectory/api_op_GetFacet.go index 3f5396e8a81..ab7f1c414ce 100644 --- a/service/clouddirectory/api_op_GetFacet.go +++ b/service/clouddirectory/api_op_GetFacet.go @@ -82,7 +82,10 @@ func addOperationGetFacetMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_GetLinkAttributes.go b/service/clouddirectory/api_op_GetLinkAttributes.go index ad0411eb167..411bf485225 100644 --- a/service/clouddirectory/api_op_GetLinkAttributes.go +++ b/service/clouddirectory/api_op_GetLinkAttributes.go @@ -89,7 +89,10 @@ func addOperationGetLinkAttributesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_GetObjectAttributes.go b/service/clouddirectory/api_op_GetObjectAttributes.go index 64fd136dc18..87696bd3d60 100644 --- a/service/clouddirectory/api_op_GetObjectAttributes.go +++ b/service/clouddirectory/api_op_GetObjectAttributes.go @@ -94,7 +94,10 @@ func addOperationGetObjectAttributesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_GetObjectInformation.go b/service/clouddirectory/api_op_GetObjectInformation.go index 18420bf192f..ad5c5440248 100644 --- a/service/clouddirectory/api_op_GetObjectInformation.go +++ b/service/clouddirectory/api_op_GetObjectInformation.go @@ -87,7 +87,10 @@ func addOperationGetObjectInformationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_GetSchemaAsJson.go b/service/clouddirectory/api_op_GetSchemaAsJson.go index b441064c8c7..9a407bfdada 100644 --- a/service/clouddirectory/api_op_GetSchemaAsJson.go +++ b/service/clouddirectory/api_op_GetSchemaAsJson.go @@ -78,7 +78,10 @@ func addOperationGetSchemaAsJsonMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go b/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go index 71788688dd3..dcebb28ccd3 100644 --- a/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go +++ b/service/clouddirectory/api_op_GetTypedLinkFacetInformation.go @@ -89,7 +89,10 @@ func addOperationGetTypedLinkFacetInformationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListAppliedSchemaArns.go b/service/clouddirectory/api_op_ListAppliedSchemaArns.go index 902ecac7e82..7d36b287a80 100644 --- a/service/clouddirectory/api_op_ListAppliedSchemaArns.go +++ b/service/clouddirectory/api_op_ListAppliedSchemaArns.go @@ -88,7 +88,10 @@ func addOperationListAppliedSchemaArnsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListAttachedIndices.go b/service/clouddirectory/api_op_ListAttachedIndices.go index 3b11767d862..5414886237c 100644 --- a/service/clouddirectory/api_op_ListAttachedIndices.go +++ b/service/clouddirectory/api_op_ListAttachedIndices.go @@ -92,7 +92,10 @@ func addOperationListAttachedIndicesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go b/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go index 0968e361bb4..8f862ee677d 100644 --- a/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go +++ b/service/clouddirectory/api_op_ListDevelopmentSchemaArns.go @@ -78,7 +78,10 @@ func addOperationListDevelopmentSchemaArnsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListDirectories.go b/service/clouddirectory/api_op_ListDirectories.go index abb9c7b4a57..842a42d6a9d 100644 --- a/service/clouddirectory/api_op_ListDirectories.go +++ b/service/clouddirectory/api_op_ListDirectories.go @@ -86,7 +86,10 @@ func addOperationListDirectoriesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListFacetAttributes.go b/service/clouddirectory/api_op_ListFacetAttributes.go index 6b7bb04cb61..f20759883da 100644 --- a/service/clouddirectory/api_op_ListFacetAttributes.go +++ b/service/clouddirectory/api_op_ListFacetAttributes.go @@ -89,7 +89,10 @@ func addOperationListFacetAttributesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListFacetNames.go b/service/clouddirectory/api_op_ListFacetNames.go index 2ad668c8320..b3c2e92023a 100644 --- a/service/clouddirectory/api_op_ListFacetNames.go +++ b/service/clouddirectory/api_op_ListFacetNames.go @@ -83,7 +83,10 @@ func addOperationListFacetNamesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListIncomingTypedLinks.go b/service/clouddirectory/api_op_ListIncomingTypedLinks.go index 0f1147caee3..4ba5a9191a6 100644 --- a/service/clouddirectory/api_op_ListIncomingTypedLinks.go +++ b/service/clouddirectory/api_op_ListIncomingTypedLinks.go @@ -104,7 +104,10 @@ func addOperationListIncomingTypedLinksMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListIndex.go b/service/clouddirectory/api_op_ListIndex.go index 2a7c7f8c9c8..2e6a7d81856 100644 --- a/service/clouddirectory/api_op_ListIndex.go +++ b/service/clouddirectory/api_op_ListIndex.go @@ -97,7 +97,10 @@ func addOperationListIndexMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListManagedSchemaArns.go b/service/clouddirectory/api_op_ListManagedSchemaArns.go index e3aaa96ad9c..4d9dac141b0 100644 --- a/service/clouddirectory/api_op_ListManagedSchemaArns.go +++ b/service/clouddirectory/api_op_ListManagedSchemaArns.go @@ -84,7 +84,10 @@ func addOperationListManagedSchemaArnsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListObjectAttributes.go b/service/clouddirectory/api_op_ListObjectAttributes.go index fcb889f855a..7bdebe5cec8 100644 --- a/service/clouddirectory/api_op_ListObjectAttributes.go +++ b/service/clouddirectory/api_op_ListObjectAttributes.go @@ -100,7 +100,10 @@ func addOperationListObjectAttributesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListObjectChildren.go b/service/clouddirectory/api_op_ListObjectChildren.go index 45742fa5efe..97def350a8f 100644 --- a/service/clouddirectory/api_op_ListObjectChildren.go +++ b/service/clouddirectory/api_op_ListObjectChildren.go @@ -98,7 +98,10 @@ func addOperationListObjectChildrenMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListObjectParentPaths.go b/service/clouddirectory/api_op_ListObjectParentPaths.go index 7ff08b1c583..a8f2d7d7e11 100644 --- a/service/clouddirectory/api_op_ListObjectParentPaths.go +++ b/service/clouddirectory/api_op_ListObjectParentPaths.go @@ -100,7 +100,10 @@ func addOperationListObjectParentPathsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListObjectParents.go b/service/clouddirectory/api_op_ListObjectParents.go index 640f80581ea..0df881bf43f 100644 --- a/service/clouddirectory/api_op_ListObjectParents.go +++ b/service/clouddirectory/api_op_ListObjectParents.go @@ -105,7 +105,10 @@ func addOperationListObjectParentsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListObjectPolicies.go b/service/clouddirectory/api_op_ListObjectPolicies.go index d754bcdacd1..46720ad7b82 100644 --- a/service/clouddirectory/api_op_ListObjectPolicies.go +++ b/service/clouddirectory/api_op_ListObjectPolicies.go @@ -95,7 +95,10 @@ func addOperationListObjectPoliciesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListOutgoingTypedLinks.go b/service/clouddirectory/api_op_ListOutgoingTypedLinks.go index 67998af913a..9da6d58e15a 100644 --- a/service/clouddirectory/api_op_ListOutgoingTypedLinks.go +++ b/service/clouddirectory/api_op_ListOutgoingTypedLinks.go @@ -104,7 +104,10 @@ func addOperationListOutgoingTypedLinksMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListPolicyAttachments.go b/service/clouddirectory/api_op_ListPolicyAttachments.go index 50e4748f6e5..dba3093e59b 100644 --- a/service/clouddirectory/api_op_ListPolicyAttachments.go +++ b/service/clouddirectory/api_op_ListPolicyAttachments.go @@ -95,7 +95,10 @@ func addOperationListPolicyAttachmentsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListPublishedSchemaArns.go b/service/clouddirectory/api_op_ListPublishedSchemaArns.go index 1555a302cff..a578bf1c98a 100644 --- a/service/clouddirectory/api_op_ListPublishedSchemaArns.go +++ b/service/clouddirectory/api_op_ListPublishedSchemaArns.go @@ -84,7 +84,10 @@ func addOperationListPublishedSchemaArnsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListTagsForResource.go b/service/clouddirectory/api_op_ListTagsForResource.go index d5eb2dfd2b9..0214554c578 100644 --- a/service/clouddirectory/api_op_ListTagsForResource.go +++ b/service/clouddirectory/api_op_ListTagsForResource.go @@ -90,7 +90,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go b/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go index fe7e4e7179e..56e88f275f1 100644 --- a/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go +++ b/service/clouddirectory/api_op_ListTypedLinkFacetAttributes.go @@ -92,7 +92,10 @@ func addOperationListTypedLinkFacetAttributesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_ListTypedLinkFacetNames.go b/service/clouddirectory/api_op_ListTypedLinkFacetNames.go index 9d77e970560..2ebf987cbf0 100644 --- a/service/clouddirectory/api_op_ListTypedLinkFacetNames.go +++ b/service/clouddirectory/api_op_ListTypedLinkFacetNames.go @@ -86,7 +86,10 @@ func addOperationListTypedLinkFacetNamesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_LookupPolicy.go b/service/clouddirectory/api_op_LookupPolicy.go index fa4a15212f3..083e68f56ab 100644 --- a/service/clouddirectory/api_op_LookupPolicy.go +++ b/service/clouddirectory/api_op_LookupPolicy.go @@ -99,7 +99,10 @@ func addOperationLookupPolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_PublishSchema.go b/service/clouddirectory/api_op_PublishSchema.go index 212cde7b0a5..d8553f1732f 100644 --- a/service/clouddirectory/api_op_PublishSchema.go +++ b/service/clouddirectory/api_op_PublishSchema.go @@ -90,7 +90,10 @@ func addOperationPublishSchemaMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_PutSchemaFromJson.go b/service/clouddirectory/api_op_PutSchemaFromJson.go index 2114c52d67d..76e315b279b 100644 --- a/service/clouddirectory/api_op_PutSchemaFromJson.go +++ b/service/clouddirectory/api_op_PutSchemaFromJson.go @@ -81,7 +81,10 @@ func addOperationPutSchemaFromJsonMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_RemoveFacetFromObject.go b/service/clouddirectory/api_op_RemoveFacetFromObject.go index d2fce3af647..8a19b4e9989 100644 --- a/service/clouddirectory/api_op_RemoveFacetFromObject.go +++ b/service/clouddirectory/api_op_RemoveFacetFromObject.go @@ -80,7 +80,10 @@ func addOperationRemoveFacetFromObjectMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_TagResource.go b/service/clouddirectory/api_op_TagResource.go index 2ad365b2910..3b3b21b1f06 100644 --- a/service/clouddirectory/api_op_TagResource.go +++ b/service/clouddirectory/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_UntagResource.go b/service/clouddirectory/api_op_UntagResource.go index 7cdfbbc3027..fc6aeca5409 100644 --- a/service/clouddirectory/api_op_UntagResource.go +++ b/service/clouddirectory/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_UpdateFacet.go b/service/clouddirectory/api_op_UpdateFacet.go index 260a436e4fa..1f77fed3e4e 100644 --- a/service/clouddirectory/api_op_UpdateFacet.go +++ b/service/clouddirectory/api_op_UpdateFacet.go @@ -93,7 +93,10 @@ func addOperationUpdateFacetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_UpdateLinkAttributes.go b/service/clouddirectory/api_op_UpdateLinkAttributes.go index eec000eb22b..c3d7a7335e8 100644 --- a/service/clouddirectory/api_op_UpdateLinkAttributes.go +++ b/service/clouddirectory/api_op_UpdateLinkAttributes.go @@ -84,7 +84,10 @@ func addOperationUpdateLinkAttributesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_UpdateObjectAttributes.go b/service/clouddirectory/api_op_UpdateObjectAttributes.go index 36f7e2e50c2..bbd4ee17cea 100644 --- a/service/clouddirectory/api_op_UpdateObjectAttributes.go +++ b/service/clouddirectory/api_op_UpdateObjectAttributes.go @@ -85,7 +85,10 @@ func addOperationUpdateObjectAttributesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_UpdateSchema.go b/service/clouddirectory/api_op_UpdateSchema.go index 695bd906e28..e11b107df33 100644 --- a/service/clouddirectory/api_op_UpdateSchema.go +++ b/service/clouddirectory/api_op_UpdateSchema.go @@ -81,7 +81,10 @@ func addOperationUpdateSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_UpdateTypedLinkFacet.go b/service/clouddirectory/api_op_UpdateTypedLinkFacet.go index e7ded58a3e5..487e241f577 100644 --- a/service/clouddirectory/api_op_UpdateTypedLinkFacet.go +++ b/service/clouddirectory/api_op_UpdateTypedLinkFacet.go @@ -95,7 +95,10 @@ func addOperationUpdateTypedLinkFacetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_UpgradeAppliedSchema.go b/service/clouddirectory/api_op_UpgradeAppliedSchema.go index 17b6f065522..94dde03071c 100644 --- a/service/clouddirectory/api_op_UpgradeAppliedSchema.go +++ b/service/clouddirectory/api_op_UpgradeAppliedSchema.go @@ -91,7 +91,10 @@ func addOperationUpgradeAppliedSchemaMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/clouddirectory/api_op_UpgradePublishedSchema.go b/service/clouddirectory/api_op_UpgradePublishedSchema.go index 59c2e9f239b..fa9bbc26ad8 100644 --- a/service/clouddirectory/api_op_UpgradePublishedSchema.go +++ b/service/clouddirectory/api_op_UpgradePublishedSchema.go @@ -91,7 +91,10 @@ func addOperationUpgradePublishedSchemaMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_CancelUpdateStack.go b/service/cloudformation/api_op_CancelUpdateStack.go index 3cf36236f87..e892269465c 100644 --- a/service/cloudformation/api_op_CancelUpdateStack.go +++ b/service/cloudformation/api_op_CancelUpdateStack.go @@ -79,7 +79,10 @@ func addOperationCancelUpdateStackMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ContinueUpdateRollback.go b/service/cloudformation/api_op_ContinueUpdateRollback.go index 9b9e8d0f67a..b92657672bf 100644 --- a/service/cloudformation/api_op_ContinueUpdateRollback.go +++ b/service/cloudformation/api_op_ContinueUpdateRollback.go @@ -135,7 +135,10 @@ func addOperationContinueUpdateRollbackMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_CreateChangeSet.go b/service/cloudformation/api_op_CreateChangeSet.go index 640a5585f05..95bbfb253ee 100644 --- a/service/cloudformation/api_op_CreateChangeSet.go +++ b/service/cloudformation/api_op_CreateChangeSet.go @@ -277,7 +277,10 @@ func addOperationCreateChangeSetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_CreateStack.go b/service/cloudformation/api_op_CreateStack.go index 7bddb28f73b..3e40e0d675c 100644 --- a/service/cloudformation/api_op_CreateStack.go +++ b/service/cloudformation/api_op_CreateStack.go @@ -278,7 +278,10 @@ func addOperationCreateStackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_CreateStackInstances.go b/service/cloudformation/api_op_CreateStackInstances.go index 55bb4211532..23b5d6e5687 100644 --- a/service/cloudformation/api_op_CreateStackInstances.go +++ b/service/cloudformation/api_op_CreateStackInstances.go @@ -141,7 +141,10 @@ func addOperationCreateStackInstancesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_CreateStackSet.go b/service/cloudformation/api_op_CreateStackSet.go index f0879b2e485..6d89d62e537 100644 --- a/service/cloudformation/api_op_CreateStackSet.go +++ b/service/cloudformation/api_op_CreateStackSet.go @@ -227,7 +227,10 @@ func addOperationCreateStackSetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DeleteChangeSet.go b/service/cloudformation/api_op_DeleteChangeSet.go index 766649a87d7..fdc8bac2380 100644 --- a/service/cloudformation/api_op_DeleteChangeSet.go +++ b/service/cloudformation/api_op_DeleteChangeSet.go @@ -82,7 +82,10 @@ func addOperationDeleteChangeSetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DeleteStack.go b/service/cloudformation/api_op_DeleteStack.go index b627965aa4c..1a26f24cd35 100644 --- a/service/cloudformation/api_op_DeleteStack.go +++ b/service/cloudformation/api_op_DeleteStack.go @@ -102,7 +102,10 @@ func addOperationDeleteStackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DeleteStackInstances.go b/service/cloudformation/api_op_DeleteStackInstances.go index 018ab667564..89d147b7aa2 100644 --- a/service/cloudformation/api_op_DeleteStackInstances.go +++ b/service/cloudformation/api_op_DeleteStackInstances.go @@ -111,7 +111,10 @@ func addOperationDeleteStackInstancesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DeleteStackSet.go b/service/cloudformation/api_op_DeleteStackSet.go index 0ca4f9b974c..f9acf168ce9 100644 --- a/service/cloudformation/api_op_DeleteStackSet.go +++ b/service/cloudformation/api_op_DeleteStackSet.go @@ -72,7 +72,10 @@ func addOperationDeleteStackSetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DeregisterType.go b/service/cloudformation/api_op_DeregisterType.go index 28396b0d965..3d03e078e3d 100644 --- a/service/cloudformation/api_op_DeregisterType.go +++ b/service/cloudformation/api_op_DeregisterType.go @@ -89,7 +89,10 @@ func addOperationDeregisterTypeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeAccountLimits.go b/service/cloudformation/api_op_DescribeAccountLimits.go index 973d9196dd7..859fcc12be7 100644 --- a/service/cloudformation/api_op_DescribeAccountLimits.go +++ b/service/cloudformation/api_op_DescribeAccountLimits.go @@ -84,7 +84,10 @@ func addOperationDescribeAccountLimitsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeChangeSet.go b/service/cloudformation/api_op_DescribeChangeSet.go index a4c66dfc407..1512ed6ba52 100644 --- a/service/cloudformation/api_op_DescribeChangeSet.go +++ b/service/cloudformation/api_op_DescribeChangeSet.go @@ -159,7 +159,10 @@ func addOperationDescribeChangeSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go b/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go index ee5a47b0a44..77fdfb4a6aa 100644 --- a/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go +++ b/service/cloudformation/api_op_DescribeStackDriftDetectionStatus.go @@ -150,7 +150,10 @@ func addOperationDescribeStackDriftDetectionStatusMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeStackEvents.go b/service/cloudformation/api_op_DescribeStackEvents.go index e85130569a0..aa9778bdb41 100644 --- a/service/cloudformation/api_op_DescribeStackEvents.go +++ b/service/cloudformation/api_op_DescribeStackEvents.go @@ -96,7 +96,10 @@ func addOperationDescribeStackEventsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeStackInstance.go b/service/cloudformation/api_op_DescribeStackInstance.go index d5d521cbb8f..4b27ba98720 100644 --- a/service/cloudformation/api_op_DescribeStackInstance.go +++ b/service/cloudformation/api_op_DescribeStackInstance.go @@ -87,7 +87,10 @@ func addOperationDescribeStackInstanceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeStackResource.go b/service/cloudformation/api_op_DescribeStackResource.go index d9f420b9db2..1d2ae683b0d 100644 --- a/service/cloudformation/api_op_DescribeStackResource.go +++ b/service/cloudformation/api_op_DescribeStackResource.go @@ -94,7 +94,10 @@ func addOperationDescribeStackResourceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeStackResourceDrifts.go b/service/cloudformation/api_op_DescribeStackResourceDrifts.go index c32ad8d45dc..6d9cc695591 100644 --- a/service/cloudformation/api_op_DescribeStackResourceDrifts.go +++ b/service/cloudformation/api_op_DescribeStackResourceDrifts.go @@ -126,7 +126,10 @@ func addOperationDescribeStackResourceDriftsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeStackResources.go b/service/cloudformation/api_op_DescribeStackResources.go index 69c17e01790..8dbba518ff9 100644 --- a/service/cloudformation/api_op_DescribeStackResources.go +++ b/service/cloudformation/api_op_DescribeStackResources.go @@ -110,7 +110,10 @@ func addOperationDescribeStackResourcesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeStackSet.go b/service/cloudformation/api_op_DescribeStackSet.go index 84169ef163a..91f2e01efae 100644 --- a/service/cloudformation/api_op_DescribeStackSet.go +++ b/service/cloudformation/api_op_DescribeStackSet.go @@ -74,7 +74,10 @@ func addOperationDescribeStackSetMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeStackSetOperation.go b/service/cloudformation/api_op_DescribeStackSetOperation.go index 4cb048a676d..a327db6ed70 100644 --- a/service/cloudformation/api_op_DescribeStackSetOperation.go +++ b/service/cloudformation/api_op_DescribeStackSetOperation.go @@ -79,7 +79,10 @@ func addOperationDescribeStackSetOperationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeStacks.go b/service/cloudformation/api_op_DescribeStacks.go index 4f866ee4f42..24825db116a 100644 --- a/service/cloudformation/api_op_DescribeStacks.go +++ b/service/cloudformation/api_op_DescribeStacks.go @@ -93,7 +93,10 @@ func addOperationDescribeStacksMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeType.go b/service/cloudformation/api_op_DescribeType.go index cd74ab27f83..98d1534b07c 100644 --- a/service/cloudformation/api_op_DescribeType.go +++ b/service/cloudformation/api_op_DescribeType.go @@ -182,7 +182,10 @@ func addOperationDescribeTypeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DescribeTypeRegistration.go b/service/cloudformation/api_op_DescribeTypeRegistration.go index 152aff9b335..d2451c6fe62 100644 --- a/service/cloudformation/api_op_DescribeTypeRegistration.go +++ b/service/cloudformation/api_op_DescribeTypeRegistration.go @@ -97,7 +97,10 @@ func addOperationDescribeTypeRegistrationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DetectStackDrift.go b/service/cloudformation/api_op_DetectStackDrift.go index 1f54dac6bf1..8a3fa10be2c 100644 --- a/service/cloudformation/api_op_DetectStackDrift.go +++ b/service/cloudformation/api_op_DetectStackDrift.go @@ -102,7 +102,10 @@ func addOperationDetectStackDriftMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DetectStackResourceDrift.go b/service/cloudformation/api_op_DetectStackResourceDrift.go index e7d349f882e..7c7e72c175d 100644 --- a/service/cloudformation/api_op_DetectStackResourceDrift.go +++ b/service/cloudformation/api_op_DetectStackResourceDrift.go @@ -96,7 +96,10 @@ func addOperationDetectStackResourceDriftMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_DetectStackSetDrift.go b/service/cloudformation/api_op_DetectStackSetDrift.go index a583b5609d6..1293476527f 100644 --- a/service/cloudformation/api_op_DetectStackSetDrift.go +++ b/service/cloudformation/api_op_DetectStackSetDrift.go @@ -117,7 +117,10 @@ func addOperationDetectStackSetDriftMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_EstimateTemplateCost.go b/service/cloudformation/api_op_EstimateTemplateCost.go index 891d90ea584..0106b23fc2f 100644 --- a/service/cloudformation/api_op_EstimateTemplateCost.go +++ b/service/cloudformation/api_op_EstimateTemplateCost.go @@ -92,7 +92,10 @@ func addOperationEstimateTemplateCostMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ExecuteChangeSet.go b/service/cloudformation/api_op_ExecuteChangeSet.go index f59d2e90c8e..e343799d3b1 100644 --- a/service/cloudformation/api_op_ExecuteChangeSet.go +++ b/service/cloudformation/api_op_ExecuteChangeSet.go @@ -91,7 +91,10 @@ func addOperationExecuteChangeSetMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_GetStackPolicy.go b/service/cloudformation/api_op_GetStackPolicy.go index 8343e7b5124..331f93eab59 100644 --- a/service/cloudformation/api_op_GetStackPolicy.go +++ b/service/cloudformation/api_op_GetStackPolicy.go @@ -80,7 +80,10 @@ func addOperationGetStackPolicyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_GetTemplate.go b/service/cloudformation/api_op_GetTemplate.go index 6798b2a5731..750ea6ca550 100644 --- a/service/cloudformation/api_op_GetTemplate.go +++ b/service/cloudformation/api_op_GetTemplate.go @@ -108,7 +108,10 @@ func addOperationGetTemplateMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_GetTemplateSummary.go b/service/cloudformation/api_op_GetTemplateSummary.go index 07fddc64613..058dbaf58c1 100644 --- a/service/cloudformation/api_op_GetTemplateSummary.go +++ b/service/cloudformation/api_op_GetTemplateSummary.go @@ -143,7 +143,10 @@ func addOperationGetTemplateSummaryMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListChangeSets.go b/service/cloudformation/api_op_ListChangeSets.go index cd825da82be..b7259a386d7 100644 --- a/service/cloudformation/api_op_ListChangeSets.go +++ b/service/cloudformation/api_op_ListChangeSets.go @@ -89,7 +89,10 @@ func addOperationListChangeSetsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListExports.go b/service/cloudformation/api_op_ListExports.go index 0e6a9d82422..7af24ce656f 100644 --- a/service/cloudformation/api_op_ListExports.go +++ b/service/cloudformation/api_op_ListExports.go @@ -84,7 +84,10 @@ func addOperationListExportsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListImports.go b/service/cloudformation/api_op_ListImports.go index 19dff2504da..68f7610f0ba 100644 --- a/service/cloudformation/api_op_ListImports.go +++ b/service/cloudformation/api_op_ListImports.go @@ -89,7 +89,10 @@ func addOperationListImportsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListStackInstances.go b/service/cloudformation/api_op_ListStackInstances.go index f2ec0452939..876f1c494d7 100644 --- a/service/cloudformation/api_op_ListStackInstances.go +++ b/service/cloudformation/api_op_ListStackInstances.go @@ -107,7 +107,10 @@ func addOperationListStackInstancesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListStackResources.go b/service/cloudformation/api_op_ListStackResources.go index 4a64d154ffa..8e183b43a38 100644 --- a/service/cloudformation/api_op_ListStackResources.go +++ b/service/cloudformation/api_op_ListStackResources.go @@ -96,7 +96,10 @@ func addOperationListStackResourcesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListStackSetOperationResults.go b/service/cloudformation/api_op_ListStackSetOperationResults.go index 79404aea594..11ceb8c3383 100644 --- a/service/cloudformation/api_op_ListStackSetOperationResults.go +++ b/service/cloudformation/api_op_ListStackSetOperationResults.go @@ -102,7 +102,10 @@ func addOperationListStackSetOperationResultsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListStackSetOperations.go b/service/cloudformation/api_op_ListStackSetOperations.go index 98e51b28fde..f98e04961d8 100644 --- a/service/cloudformation/api_op_ListStackSetOperations.go +++ b/service/cloudformation/api_op_ListStackSetOperations.go @@ -96,7 +96,10 @@ func addOperationListStackSetOperationsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListStackSets.go b/service/cloudformation/api_op_ListStackSets.go index 4fa3fe8b634..ff9f7a57d6c 100644 --- a/service/cloudformation/api_op_ListStackSets.go +++ b/service/cloudformation/api_op_ListStackSets.go @@ -93,7 +93,10 @@ func addOperationListStackSetsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListStacks.go b/service/cloudformation/api_op_ListStacks.go index d7981d9943a..07e57ff2699 100644 --- a/service/cloudformation/api_op_ListStacks.go +++ b/service/cloudformation/api_op_ListStacks.go @@ -89,7 +89,10 @@ func addOperationListStacksMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListTypeRegistrations.go b/service/cloudformation/api_op_ListTypeRegistrations.go index b2ebe2a8e9a..8fb628a22a2 100644 --- a/service/cloudformation/api_op_ListTypeRegistrations.go +++ b/service/cloudformation/api_op_ListTypeRegistrations.go @@ -105,7 +105,10 @@ func addOperationListTypeRegistrationsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListTypeVersions.go b/service/cloudformation/api_op_ListTypeVersions.go index 158509d7f60..1cdd71155b8 100644 --- a/service/cloudformation/api_op_ListTypeVersions.go +++ b/service/cloudformation/api_op_ListTypeVersions.go @@ -116,7 +116,10 @@ func addOperationListTypeVersionsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ListTypes.go b/service/cloudformation/api_op_ListTypes.go index 26def08ec9e..6752eccc6ea 100644 --- a/service/cloudformation/api_op_ListTypes.go +++ b/service/cloudformation/api_op_ListTypes.go @@ -133,7 +133,10 @@ func addOperationListTypesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_RecordHandlerProgress.go b/service/cloudformation/api_op_RecordHandlerProgress.go index 3f3523cc2e9..0b540b10b81 100644 --- a/service/cloudformation/api_op_RecordHandlerProgress.go +++ b/service/cloudformation/api_op_RecordHandlerProgress.go @@ -100,7 +100,10 @@ func addOperationRecordHandlerProgressMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_RegisterType.go b/service/cloudformation/api_op_RegisterType.go index 197c76a7fd8..b37f71f9d14 100644 --- a/service/cloudformation/api_op_RegisterType.go +++ b/service/cloudformation/api_op_RegisterType.go @@ -150,7 +150,10 @@ func addOperationRegisterTypeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_SetStackPolicy.go b/service/cloudformation/api_op_SetStackPolicy.go index 4e834910686..99745542336 100644 --- a/service/cloudformation/api_op_SetStackPolicy.go +++ b/service/cloudformation/api_op_SetStackPolicy.go @@ -83,7 +83,10 @@ func addOperationSetStackPolicyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_SetTypeDefaultVersion.go b/service/cloudformation/api_op_SetTypeDefaultVersion.go index ae46a4777f7..c5ca3482725 100644 --- a/service/cloudformation/api_op_SetTypeDefaultVersion.go +++ b/service/cloudformation/api_op_SetTypeDefaultVersion.go @@ -83,7 +83,10 @@ func addOperationSetTypeDefaultVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_SignalResource.go b/service/cloudformation/api_op_SignalResource.go index 465b937df95..9dd960c85f9 100644 --- a/service/cloudformation/api_op_SignalResource.go +++ b/service/cloudformation/api_op_SignalResource.go @@ -97,7 +97,10 @@ func addOperationSignalResourceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_StopStackSetOperation.go b/service/cloudformation/api_op_StopStackSetOperation.go index ba170d89153..20b5c92bfca 100644 --- a/service/cloudformation/api_op_StopStackSetOperation.go +++ b/service/cloudformation/api_op_StopStackSetOperation.go @@ -75,7 +75,10 @@ func addOperationStopStackSetOperationMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_UpdateStack.go b/service/cloudformation/api_op_UpdateStack.go index 44e4b92c9eb..7c6f32591d7 100644 --- a/service/cloudformation/api_op_UpdateStack.go +++ b/service/cloudformation/api_op_UpdateStack.go @@ -277,7 +277,10 @@ func addOperationUpdateStackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_UpdateStackInstances.go b/service/cloudformation/api_op_UpdateStackInstances.go index 4667c6201b4..c2053a68758 100644 --- a/service/cloudformation/api_op_UpdateStackInstances.go +++ b/service/cloudformation/api_op_UpdateStackInstances.go @@ -162,7 +162,10 @@ func addOperationUpdateStackInstancesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_UpdateStackSet.go b/service/cloudformation/api_op_UpdateStackSet.go index b8f7085b49e..e7115fe3fd2 100644 --- a/service/cloudformation/api_op_UpdateStackSet.go +++ b/service/cloudformation/api_op_UpdateStackSet.go @@ -307,7 +307,10 @@ func addOperationUpdateStackSetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_UpdateTerminationProtection.go b/service/cloudformation/api_op_UpdateTerminationProtection.go index 4ac902d7c1d..605520ae37c 100644 --- a/service/cloudformation/api_op_UpdateTerminationProtection.go +++ b/service/cloudformation/api_op_UpdateTerminationProtection.go @@ -87,7 +87,10 @@ func addOperationUpdateTerminationProtectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudformation/api_op_ValidateTemplate.go b/service/cloudformation/api_op_ValidateTemplate.go index 5b17f8689aa..7e4e85ec07e 100644 --- a/service/cloudformation/api_op_ValidateTemplate.go +++ b/service/cloudformation/api_op_ValidateTemplate.go @@ -108,7 +108,10 @@ func addOperationValidateTemplateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateCachePolicy.go b/service/cloudfront/api_op_CreateCachePolicy.go index d8465729ad2..f1625e0c40a 100644 --- a/service/cloudfront/api_op_CreateCachePolicy.go +++ b/service/cloudfront/api_op_CreateCachePolicy.go @@ -100,7 +100,10 @@ func addOperationCreateCachePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go index 9c512523819..3bed213b5ad 100644 --- a/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_CreateCloudFrontOriginAccessIdentity.go @@ -94,7 +94,10 @@ func addOperationCreateCloudFrontOriginAccessIdentityMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateDistribution.go b/service/cloudfront/api_op_CreateDistribution.go index a2bda916f00..21635b40bcf 100644 --- a/service/cloudfront/api_op_CreateDistribution.go +++ b/service/cloudfront/api_op_CreateDistribution.go @@ -94,7 +94,10 @@ func addOperationCreateDistributionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateDistributionWithTags.go b/service/cloudfront/api_op_CreateDistributionWithTags.go index ab4176d749f..8701611fb02 100644 --- a/service/cloudfront/api_op_CreateDistributionWithTags.go +++ b/service/cloudfront/api_op_CreateDistributionWithTags.go @@ -82,7 +82,10 @@ func addOperationCreateDistributionWithTagsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go index 5b5debf80d3..5222e3927f9 100644 --- a/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_CreateFieldLevelEncryptionConfig.go @@ -81,7 +81,10 @@ func addOperationCreateFieldLevelEncryptionConfigMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go index 8dc6fdf987a..187279a25b5 100644 --- a/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_CreateFieldLevelEncryptionProfile.go @@ -81,7 +81,10 @@ func addOperationCreateFieldLevelEncryptionProfileMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateInvalidation.go b/service/cloudfront/api_op_CreateInvalidation.go index d878a5067a3..3d32ab6f31b 100644 --- a/service/cloudfront/api_op_CreateInvalidation.go +++ b/service/cloudfront/api_op_CreateInvalidation.go @@ -85,7 +85,10 @@ func addOperationCreateInvalidationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateKeyGroup.go b/service/cloudfront/api_op_CreateKeyGroup.go index ecdcfb6337c..0e796d546b5 100644 --- a/service/cloudfront/api_op_CreateKeyGroup.go +++ b/service/cloudfront/api_op_CreateKeyGroup.go @@ -92,7 +92,10 @@ func addOperationCreateKeyGroupMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateMonitoringSubscription.go b/service/cloudfront/api_op_CreateMonitoringSubscription.go index 6c707b3440c..7084e0107b9 100644 --- a/service/cloudfront/api_op_CreateMonitoringSubscription.go +++ b/service/cloudfront/api_op_CreateMonitoringSubscription.go @@ -85,7 +85,10 @@ func addOperationCreateMonitoringSubscriptionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateOriginRequestPolicy.go b/service/cloudfront/api_op_CreateOriginRequestPolicy.go index bce2074f873..e06fffe6e29 100644 --- a/service/cloudfront/api_op_CreateOriginRequestPolicy.go +++ b/service/cloudfront/api_op_CreateOriginRequestPolicy.go @@ -104,7 +104,10 @@ func addOperationCreateOriginRequestPolicyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreatePublicKey.go b/service/cloudfront/api_op_CreatePublicKey.go index 2bfac469893..66f37417f0f 100644 --- a/service/cloudfront/api_op_CreatePublicKey.go +++ b/service/cloudfront/api_op_CreatePublicKey.go @@ -84,7 +84,10 @@ func addOperationCreatePublicKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateRealtimeLogConfig.go b/service/cloudfront/api_op_CreateRealtimeLogConfig.go index 0d461f56a09..4fb99f42bc9 100644 --- a/service/cloudfront/api_op_CreateRealtimeLogConfig.go +++ b/service/cloudfront/api_op_CreateRealtimeLogConfig.go @@ -100,7 +100,10 @@ func addOperationCreateRealtimeLogConfigMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateStreamingDistribution.go b/service/cloudfront/api_op_CreateStreamingDistribution.go index 858266c8dee..80af09b3a54 100644 --- a/service/cloudfront/api_op_CreateStreamingDistribution.go +++ b/service/cloudfront/api_op_CreateStreamingDistribution.go @@ -104,7 +104,10 @@ func addOperationCreateStreamingDistributionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go b/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go index 889de9f1d6f..6f7735163df 100644 --- a/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go +++ b/service/cloudfront/api_op_CreateStreamingDistributionWithTags.go @@ -82,7 +82,10 @@ func addOperationCreateStreamingDistributionWithTagsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteCachePolicy.go b/service/cloudfront/api_op_DeleteCachePolicy.go index c7445b01231..95b5875d0c8 100644 --- a/service/cloudfront/api_op_DeleteCachePolicy.go +++ b/service/cloudfront/api_op_DeleteCachePolicy.go @@ -79,7 +79,10 @@ func addOperationDeleteCachePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go index ec3e8afdf2b..225e405ba05 100644 --- a/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_DeleteCloudFrontOriginAccessIdentity.go @@ -74,7 +74,10 @@ func addOperationDeleteCloudFrontOriginAccessIdentityMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteDistribution.go b/service/cloudfront/api_op_DeleteDistribution.go index bc97182d23a..8662c02af5e 100644 --- a/service/cloudfront/api_op_DeleteDistribution.go +++ b/service/cloudfront/api_op_DeleteDistribution.go @@ -113,7 +113,10 @@ func addOperationDeleteDistributionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go index 9f9736e52a5..eb4d3c5b9b8 100644 --- a/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_DeleteFieldLevelEncryptionConfig.go @@ -73,7 +73,10 @@ func addOperationDeleteFieldLevelEncryptionConfigMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go index 21afcc5b966..b732aff3518 100644 --- a/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_DeleteFieldLevelEncryptionProfile.go @@ -73,7 +73,10 @@ func addOperationDeleteFieldLevelEncryptionProfileMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteKeyGroup.go b/service/cloudfront/api_op_DeleteKeyGroup.go index 596d808d61d..a6be5f00759 100644 --- a/service/cloudfront/api_op_DeleteKeyGroup.go +++ b/service/cloudfront/api_op_DeleteKeyGroup.go @@ -78,7 +78,10 @@ func addOperationDeleteKeyGroupMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteMonitoringSubscription.go b/service/cloudfront/api_op_DeleteMonitoringSubscription.go index 618849f40d7..f486accd598 100644 --- a/service/cloudfront/api_op_DeleteMonitoringSubscription.go +++ b/service/cloudfront/api_op_DeleteMonitoringSubscription.go @@ -70,7 +70,10 @@ func addOperationDeleteMonitoringSubscriptionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteOriginRequestPolicy.go b/service/cloudfront/api_op_DeleteOriginRequestPolicy.go index c9cb3b17a7a..d6a8a5fbe76 100644 --- a/service/cloudfront/api_op_DeleteOriginRequestPolicy.go +++ b/service/cloudfront/api_op_DeleteOriginRequestPolicy.go @@ -81,7 +81,10 @@ func addOperationDeleteOriginRequestPolicyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeletePublicKey.go b/service/cloudfront/api_op_DeletePublicKey.go index 84a43a068ed..10020b6bfab 100644 --- a/service/cloudfront/api_op_DeletePublicKey.go +++ b/service/cloudfront/api_op_DeletePublicKey.go @@ -73,7 +73,10 @@ func addOperationDeletePublicKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteRealtimeLogConfig.go b/service/cloudfront/api_op_DeleteRealtimeLogConfig.go index 264e6c8839f..a96f0a5f71d 100644 --- a/service/cloudfront/api_op_DeleteRealtimeLogConfig.go +++ b/service/cloudfront/api_op_DeleteRealtimeLogConfig.go @@ -76,7 +76,10 @@ func addOperationDeleteRealtimeLogConfigMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_DeleteStreamingDistribution.go b/service/cloudfront/api_op_DeleteStreamingDistribution.go index dde53582e53..6a8c5c66561 100644 --- a/service/cloudfront/api_op_DeleteStreamingDistribution.go +++ b/service/cloudfront/api_op_DeleteStreamingDistribution.go @@ -114,7 +114,10 @@ func addOperationDeleteStreamingDistributionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetCachePolicy.go b/service/cloudfront/api_op_GetCachePolicy.go index 43bf17f75fd..3f80dcf67e6 100644 --- a/service/cloudfront/api_op_GetCachePolicy.go +++ b/service/cloudfront/api_op_GetCachePolicy.go @@ -91,7 +91,10 @@ func addOperationGetCachePolicyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetCachePolicyConfig.go b/service/cloudfront/api_op_GetCachePolicyConfig.go index 46110b76053..f3a79a8f64c 100644 --- a/service/cloudfront/api_op_GetCachePolicyConfig.go +++ b/service/cloudfront/api_op_GetCachePolicyConfig.go @@ -84,7 +84,10 @@ func addOperationGetCachePolicyConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go index ec695a02cc9..b0f52b2c760 100644 --- a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentity.go @@ -80,7 +80,10 @@ func addOperationGetCloudFrontOriginAccessIdentityMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go index 477b58341d5..1ce8d4e3f1d 100644 --- a/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go +++ b/service/cloudfront/api_op_GetCloudFrontOriginAccessIdentityConfig.go @@ -81,7 +81,10 @@ func addOperationGetCloudFrontOriginAccessIdentityConfigMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetDistribution.go b/service/cloudfront/api_op_GetDistribution.go index b3904eff459..ac7996c2f85 100644 --- a/service/cloudfront/api_op_GetDistribution.go +++ b/service/cloudfront/api_op_GetDistribution.go @@ -86,7 +86,10 @@ func addOperationGetDistributionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetDistributionConfig.go b/service/cloudfront/api_op_GetDistributionConfig.go index 22669c6fc6f..75c226f951d 100644 --- a/service/cloudfront/api_op_GetDistributionConfig.go +++ b/service/cloudfront/api_op_GetDistributionConfig.go @@ -80,7 +80,10 @@ func addOperationGetDistributionConfigMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetFieldLevelEncryption.go b/service/cloudfront/api_op_GetFieldLevelEncryption.go index 66da0c4e817..279194d4e35 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryption.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryption.go @@ -78,7 +78,10 @@ func addOperationGetFieldLevelEncryptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go index b7e982e772f..da1ac439632 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryptionConfig.go @@ -78,7 +78,10 @@ func addOperationGetFieldLevelEncryptionConfigMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go index f607aa7dca6..e650de58f87 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryptionProfile.go @@ -78,7 +78,10 @@ func addOperationGetFieldLevelEncryptionProfileMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go b/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go index 4f71fe5cce0..104a8cc2d60 100644 --- a/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go +++ b/service/cloudfront/api_op_GetFieldLevelEncryptionProfileConfig.go @@ -78,7 +78,10 @@ func addOperationGetFieldLevelEncryptionProfileConfigMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetInvalidation.go b/service/cloudfront/api_op_GetInvalidation.go index 4374f52a6aa..43b80bc37b8 100644 --- a/service/cloudfront/api_op_GetInvalidation.go +++ b/service/cloudfront/api_op_GetInvalidation.go @@ -88,7 +88,10 @@ func addOperationGetInvalidationMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetKeyGroup.go b/service/cloudfront/api_op_GetKeyGroup.go index d34e36b0aaa..228ef61666a 100644 --- a/service/cloudfront/api_op_GetKeyGroup.go +++ b/service/cloudfront/api_op_GetKeyGroup.go @@ -83,7 +83,10 @@ func addOperationGetKeyGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetKeyGroupConfig.go b/service/cloudfront/api_op_GetKeyGroupConfig.go index 647c68de609..120a780f20e 100644 --- a/service/cloudfront/api_op_GetKeyGroupConfig.go +++ b/service/cloudfront/api_op_GetKeyGroupConfig.go @@ -82,7 +82,10 @@ func addOperationGetKeyGroupConfigMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetMonitoringSubscription.go b/service/cloudfront/api_op_GetMonitoringSubscription.go index 19dcf74bc43..19a904dc85e 100644 --- a/service/cloudfront/api_op_GetMonitoringSubscription.go +++ b/service/cloudfront/api_op_GetMonitoringSubscription.go @@ -76,7 +76,10 @@ func addOperationGetMonitoringSubscriptionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetOriginRequestPolicy.go b/service/cloudfront/api_op_GetOriginRequestPolicy.go index 116e3415189..0710d24f041 100644 --- a/service/cloudfront/api_op_GetOriginRequestPolicy.go +++ b/service/cloudfront/api_op_GetOriginRequestPolicy.go @@ -93,7 +93,10 @@ func addOperationGetOriginRequestPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go b/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go index 200779e3824..5ef09001a54 100644 --- a/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go +++ b/service/cloudfront/api_op_GetOriginRequestPolicyConfig.go @@ -86,7 +86,10 @@ func addOperationGetOriginRequestPolicyConfigMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetPublicKey.go b/service/cloudfront/api_op_GetPublicKey.go index 702188bd06d..8de29e9741b 100644 --- a/service/cloudfront/api_op_GetPublicKey.go +++ b/service/cloudfront/api_op_GetPublicKey.go @@ -77,7 +77,10 @@ func addOperationGetPublicKeyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetPublicKeyConfig.go b/service/cloudfront/api_op_GetPublicKeyConfig.go index 47cb4921d7d..6b78a8113c0 100644 --- a/service/cloudfront/api_op_GetPublicKeyConfig.go +++ b/service/cloudfront/api_op_GetPublicKeyConfig.go @@ -77,7 +77,10 @@ func addOperationGetPublicKeyConfigMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetRealtimeLogConfig.go b/service/cloudfront/api_op_GetRealtimeLogConfig.go index e75c83e95fd..f95afe1b3b0 100644 --- a/service/cloudfront/api_op_GetRealtimeLogConfig.go +++ b/service/cloudfront/api_op_GetRealtimeLogConfig.go @@ -78,7 +78,10 @@ func addOperationGetRealtimeLogConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetStreamingDistribution.go b/service/cloudfront/api_op_GetStreamingDistribution.go index 47d8479f2ff..719731ec041 100644 --- a/service/cloudfront/api_op_GetStreamingDistribution.go +++ b/service/cloudfront/api_op_GetStreamingDistribution.go @@ -86,7 +86,10 @@ func addOperationGetStreamingDistributionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_GetStreamingDistributionConfig.go b/service/cloudfront/api_op_GetStreamingDistributionConfig.go index 3f1bae9ab64..ff507dfc2d7 100644 --- a/service/cloudfront/api_op_GetStreamingDistributionConfig.go +++ b/service/cloudfront/api_op_GetStreamingDistributionConfig.go @@ -79,7 +79,10 @@ func addOperationGetStreamingDistributionConfigMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListCachePolicies.go b/service/cloudfront/api_op_ListCachePolicies.go index 67099b1e4d4..7883bdf3c09 100644 --- a/service/cloudfront/api_op_ListCachePolicies.go +++ b/service/cloudfront/api_op_ListCachePolicies.go @@ -93,7 +93,10 @@ func addOperationListCachePoliciesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go b/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go index 932166f885f..f3cba76302f 100644 --- a/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go +++ b/service/cloudfront/api_op_ListCloudFrontOriginAccessIdentities.go @@ -82,7 +82,10 @@ func addOperationListCloudFrontOriginAccessIdentitiesMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListDistributions.go b/service/cloudfront/api_op_ListDistributions.go index 9c8e8f331bf..8936e1aa70e 100644 --- a/service/cloudfront/api_op_ListDistributions.go +++ b/service/cloudfront/api_op_ListDistributions.go @@ -82,7 +82,10 @@ func addOperationListDistributionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go b/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go index 1e4c51c84dd..1434beea5d0 100644 --- a/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByCachePolicyId.go @@ -89,7 +89,10 @@ func addOperationListDistributionsByCachePolicyIdMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListDistributionsByKeyGroup.go b/service/cloudfront/api_op_ListDistributionsByKeyGroup.go index 809f47502eb..3d3df2e0c00 100644 --- a/service/cloudfront/api_op_ListDistributionsByKeyGroup.go +++ b/service/cloudfront/api_op_ListDistributionsByKeyGroup.go @@ -89,7 +89,10 @@ func addOperationListDistributionsByKeyGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go b/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go index fc792b0a4f4..5a1be6bb0fe 100644 --- a/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go +++ b/service/cloudfront/api_op_ListDistributionsByOriginRequestPolicyId.go @@ -90,7 +90,10 @@ func addOperationListDistributionsByOriginRequestPolicyIdMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go b/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go index cfb6e401112..9ffb0b2c742 100644 --- a/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go +++ b/service/cloudfront/api_op_ListDistributionsByRealtimeLogConfig.go @@ -95,7 +95,10 @@ func addOperationListDistributionsByRealtimeLogConfigMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListDistributionsByWebACLId.go b/service/cloudfront/api_op_ListDistributionsByWebACLId.go index 113777016d6..3f10b72d6c7 100644 --- a/service/cloudfront/api_op_ListDistributionsByWebACLId.go +++ b/service/cloudfront/api_op_ListDistributionsByWebACLId.go @@ -91,7 +91,10 @@ func addOperationListDistributionsByWebACLIdMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go b/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go index f363270aaf7..0db3ee496b5 100644 --- a/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go +++ b/service/cloudfront/api_op_ListFieldLevelEncryptionConfigs.go @@ -82,7 +82,10 @@ func addOperationListFieldLevelEncryptionConfigsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go b/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go index 858d358ba73..4a3fce6e738 100644 --- a/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go +++ b/service/cloudfront/api_op_ListFieldLevelEncryptionProfiles.go @@ -82,7 +82,10 @@ func addOperationListFieldLevelEncryptionProfilesMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListInvalidations.go b/service/cloudfront/api_op_ListInvalidations.go index f9bd11ad2f5..b6b1b82eeb4 100644 --- a/service/cloudfront/api_op_ListInvalidations.go +++ b/service/cloudfront/api_op_ListInvalidations.go @@ -89,7 +89,10 @@ func addOperationListInvalidationsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListKeyGroups.go b/service/cloudfront/api_op_ListKeyGroups.go index 821f8f92507..e311dd26c15 100644 --- a/service/cloudfront/api_op_ListKeyGroups.go +++ b/service/cloudfront/api_op_ListKeyGroups.go @@ -83,7 +83,10 @@ func addOperationListKeyGroupsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListOriginRequestPolicies.go b/service/cloudfront/api_op_ListOriginRequestPolicies.go index d3d242c30da..18c36f7a6e8 100644 --- a/service/cloudfront/api_op_ListOriginRequestPolicies.go +++ b/service/cloudfront/api_op_ListOriginRequestPolicies.go @@ -94,7 +94,10 @@ func addOperationListOriginRequestPoliciesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListPublicKeys.go b/service/cloudfront/api_op_ListPublicKeys.go index 90395b2df80..729c9547456 100644 --- a/service/cloudfront/api_op_ListPublicKeys.go +++ b/service/cloudfront/api_op_ListPublicKeys.go @@ -80,7 +80,10 @@ func addOperationListPublicKeysMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListRealtimeLogConfigs.go b/service/cloudfront/api_op_ListRealtimeLogConfigs.go index a44f2c0f2c5..752654b6da8 100644 --- a/service/cloudfront/api_op_ListRealtimeLogConfigs.go +++ b/service/cloudfront/api_op_ListRealtimeLogConfigs.go @@ -85,7 +85,10 @@ func addOperationListRealtimeLogConfigsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListStreamingDistributions.go b/service/cloudfront/api_op_ListStreamingDistributions.go index 5b168385423..5be32d7d20c 100644 --- a/service/cloudfront/api_op_ListStreamingDistributions.go +++ b/service/cloudfront/api_op_ListStreamingDistributions.go @@ -78,7 +78,10 @@ func addOperationListStreamingDistributionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_ListTagsForResource.go b/service/cloudfront/api_op_ListTagsForResource.go index 928c7e19048..721701af865 100644 --- a/service/cloudfront/api_op_ListTagsForResource.go +++ b/service/cloudfront/api_op_ListTagsForResource.go @@ -78,7 +78,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_TagResource.go b/service/cloudfront/api_op_TagResource.go index 00fa875f813..0661f594a92 100644 --- a/service/cloudfront/api_op_TagResource.go +++ b/service/cloudfront/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UntagResource.go b/service/cloudfront/api_op_UntagResource.go index 14a1e365de5..6764c581a66 100644 --- a/service/cloudfront/api_op_UntagResource.go +++ b/service/cloudfront/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdateCachePolicy.go b/service/cloudfront/api_op_UpdateCachePolicy.go index af5d0508bc4..8754786e661 100644 --- a/service/cloudfront/api_op_UpdateCachePolicy.go +++ b/service/cloudfront/api_op_UpdateCachePolicy.go @@ -101,7 +101,10 @@ func addOperationUpdateCachePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go b/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go index 76b1350719a..c9efda1e434 100644 --- a/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go +++ b/service/cloudfront/api_op_UpdateCloudFrontOriginAccessIdentity.go @@ -88,7 +88,10 @@ func addOperationUpdateCloudFrontOriginAccessIdentityMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdateDistribution.go b/service/cloudfront/api_op_UpdateDistribution.go index b72f7432f7d..a3bc0c33823 100644 --- a/service/cloudfront/api_op_UpdateDistribution.go +++ b/service/cloudfront/api_op_UpdateDistribution.go @@ -165,7 +165,10 @@ func addOperationUpdateDistributionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go b/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go index 50d0000a7b9..9239481ad67 100644 --- a/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go +++ b/service/cloudfront/api_op_UpdateFieldLevelEncryptionConfig.go @@ -87,7 +87,10 @@ func addOperationUpdateFieldLevelEncryptionConfigMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go b/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go index 5f4c31be441..90fe95b14ec 100644 --- a/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go +++ b/service/cloudfront/api_op_UpdateFieldLevelEncryptionProfile.go @@ -86,7 +86,10 @@ func addOperationUpdateFieldLevelEncryptionProfileMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdateKeyGroup.go b/service/cloudfront/api_op_UpdateKeyGroup.go index 1a4d95e1978..548ec10d3bc 100644 --- a/service/cloudfront/api_op_UpdateKeyGroup.go +++ b/service/cloudfront/api_op_UpdateKeyGroup.go @@ -98,7 +98,10 @@ func addOperationUpdateKeyGroupMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdateOriginRequestPolicy.go b/service/cloudfront/api_op_UpdateOriginRequestPolicy.go index 32808435637..c1771b7a00c 100644 --- a/service/cloudfront/api_op_UpdateOriginRequestPolicy.go +++ b/service/cloudfront/api_op_UpdateOriginRequestPolicy.go @@ -103,7 +103,10 @@ func addOperationUpdateOriginRequestPolicyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdatePublicKey.go b/service/cloudfront/api_op_UpdatePublicKey.go index 0a475dc5f9d..92b779a5a55 100644 --- a/service/cloudfront/api_op_UpdatePublicKey.go +++ b/service/cloudfront/api_op_UpdatePublicKey.go @@ -87,7 +87,10 @@ func addOperationUpdatePublicKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdateRealtimeLogConfig.go b/service/cloudfront/api_op_UpdateRealtimeLogConfig.go index 7fb6377625d..4efacedec2e 100644 --- a/service/cloudfront/api_op_UpdateRealtimeLogConfig.go +++ b/service/cloudfront/api_op_UpdateRealtimeLogConfig.go @@ -106,7 +106,10 @@ func addOperationUpdateRealtimeLogConfigMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudfront/api_op_UpdateStreamingDistribution.go b/service/cloudfront/api_op_UpdateStreamingDistribution.go index 29318e6f36d..718e6d17213 100644 --- a/service/cloudfront/api_op_UpdateStreamingDistribution.go +++ b/service/cloudfront/api_op_UpdateStreamingDistribution.go @@ -88,7 +88,10 @@ func addOperationUpdateStreamingDistributionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_AddTagsToResource.go b/service/cloudhsm/api_op_AddTagsToResource.go index e146d369485..5229124fe42 100644 --- a/service/cloudhsm/api_op_AddTagsToResource.go +++ b/service/cloudhsm/api_op_AddTagsToResource.go @@ -92,7 +92,10 @@ func addOperationAddTagsToResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_CreateHapg.go b/service/cloudhsm/api_op_CreateHapg.go index 165f0fd91f6..1f38d11efb4 100644 --- a/service/cloudhsm/api_op_CreateHapg.go +++ b/service/cloudhsm/api_op_CreateHapg.go @@ -86,7 +86,10 @@ func addOperationCreateHapgMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_CreateHsm.go b/service/cloudhsm/api_op_CreateHsm.go index fb9decc1b44..9dc935d0066 100644 --- a/service/cloudhsm/api_op_CreateHsm.go +++ b/service/cloudhsm/api_op_CreateHsm.go @@ -131,7 +131,10 @@ func addOperationCreateHsmMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_CreateLunaClient.go b/service/cloudhsm/api_op_CreateLunaClient.go index 62a2946b18d..06421a25223 100644 --- a/service/cloudhsm/api_op_CreateLunaClient.go +++ b/service/cloudhsm/api_op_CreateLunaClient.go @@ -89,7 +89,10 @@ func addOperationCreateLunaClientMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_DeleteHapg.go b/service/cloudhsm/api_op_DeleteHapg.go index 7c076ffbc46..e88d874b003 100644 --- a/service/cloudhsm/api_op_DeleteHapg.go +++ b/service/cloudhsm/api_op_DeleteHapg.go @@ -87,7 +87,10 @@ func addOperationDeleteHapgMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_DeleteHsm.go b/service/cloudhsm/api_op_DeleteHsm.go index 29bc7e83f48..5b6693a7439 100644 --- a/service/cloudhsm/api_op_DeleteHsm.go +++ b/service/cloudhsm/api_op_DeleteHsm.go @@ -88,7 +88,10 @@ func addOperationDeleteHsmMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_DeleteLunaClient.go b/service/cloudhsm/api_op_DeleteLunaClient.go index e5eb512fc3b..522d81a4b8b 100644 --- a/service/cloudhsm/api_op_DeleteLunaClient.go +++ b/service/cloudhsm/api_op_DeleteLunaClient.go @@ -85,7 +85,10 @@ func addOperationDeleteLunaClientMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_DescribeHapg.go b/service/cloudhsm/api_op_DescribeHapg.go index dfa6638e5f4..1eb8623ea1b 100644 --- a/service/cloudhsm/api_op_DescribeHapg.go +++ b/service/cloudhsm/api_op_DescribeHapg.go @@ -111,7 +111,10 @@ func addOperationDescribeHapgMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_DescribeHsm.go b/service/cloudhsm/api_op_DescribeHsm.go index 329244a76cc..f536e8dc5d8 100644 --- a/service/cloudhsm/api_op_DescribeHsm.go +++ b/service/cloudhsm/api_op_DescribeHsm.go @@ -156,7 +156,10 @@ func addOperationDescribeHsmMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_DescribeLunaClient.go b/service/cloudhsm/api_op_DescribeLunaClient.go index 446b8effb68..e968092fa11 100644 --- a/service/cloudhsm/api_op_DescribeLunaClient.go +++ b/service/cloudhsm/api_op_DescribeLunaClient.go @@ -96,7 +96,10 @@ func addOperationDescribeLunaClientMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_GetConfig.go b/service/cloudhsm/api_op_GetConfig.go index e3886543d84..5fd7f59c025 100644 --- a/service/cloudhsm/api_op_GetConfig.go +++ b/service/cloudhsm/api_op_GetConfig.go @@ -102,7 +102,10 @@ func addOperationGetConfigMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_ListAvailableZones.go b/service/cloudhsm/api_op_ListAvailableZones.go index b4030cc1c3b..f404fc78c3e 100644 --- a/service/cloudhsm/api_op_ListAvailableZones.go +++ b/service/cloudhsm/api_op_ListAvailableZones.go @@ -79,7 +79,10 @@ func addOperationListAvailableZonesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_ListHapgs.go b/service/cloudhsm/api_op_ListHapgs.go index ac7915e9360..47534d3b7b2 100644 --- a/service/cloudhsm/api_op_ListHapgs.go +++ b/service/cloudhsm/api_op_ListHapgs.go @@ -91,7 +91,10 @@ func addOperationListHapgsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_ListHsms.go b/service/cloudhsm/api_op_ListHsms.go index 688deb6eb63..3731614fc75 100644 --- a/service/cloudhsm/api_op_ListHsms.go +++ b/service/cloudhsm/api_op_ListHsms.go @@ -91,7 +91,10 @@ func addOperationListHsmsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_ListLunaClients.go b/service/cloudhsm/api_op_ListLunaClients.go index 065adf1a381..3e6ae9c908b 100644 --- a/service/cloudhsm/api_op_ListLunaClients.go +++ b/service/cloudhsm/api_op_ListLunaClients.go @@ -91,7 +91,10 @@ func addOperationListLunaClientsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_ListTagsForResource.go b/service/cloudhsm/api_op_ListTagsForResource.go index db1d5646114..2f1d58e281e 100644 --- a/service/cloudhsm/api_op_ListTagsForResource.go +++ b/service/cloudhsm/api_op_ListTagsForResource.go @@ -86,7 +86,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_ModifyHapg.go b/service/cloudhsm/api_op_ModifyHapg.go index de2c11ca24f..597016fd146 100644 --- a/service/cloudhsm/api_op_ModifyHapg.go +++ b/service/cloudhsm/api_op_ModifyHapg.go @@ -90,7 +90,10 @@ func addOperationModifyHapgMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_ModifyHsm.go b/service/cloudhsm/api_op_ModifyHsm.go index 943c3653bc6..c323740d54f 100644 --- a/service/cloudhsm/api_op_ModifyHsm.go +++ b/service/cloudhsm/api_op_ModifyHsm.go @@ -108,7 +108,10 @@ func addOperationModifyHsmMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_ModifyLunaClient.go b/service/cloudhsm/api_op_ModifyLunaClient.go index d5d1262f344..151a64aaf74 100644 --- a/service/cloudhsm/api_op_ModifyLunaClient.go +++ b/service/cloudhsm/api_op_ModifyLunaClient.go @@ -89,7 +89,10 @@ func addOperationModifyLunaClientMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsm/api_op_RemoveTagsFromResource.go b/service/cloudhsm/api_op_RemoveTagsFromResource.go index 152b26cb80a..07d3133a0b2 100644 --- a/service/cloudhsm/api_op_RemoveTagsFromResource.go +++ b/service/cloudhsm/api_op_RemoveTagsFromResource.go @@ -93,7 +93,10 @@ func addOperationRemoveTagsFromResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_CopyBackupToRegion.go b/service/cloudhsmv2/api_op_CopyBackupToRegion.go index 8cc9b8dc764..de1bf8ed1ea 100644 --- a/service/cloudhsmv2/api_op_CopyBackupToRegion.go +++ b/service/cloudhsmv2/api_op_CopyBackupToRegion.go @@ -89,7 +89,10 @@ func addOperationCopyBackupToRegionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_CreateCluster.go b/service/cloudhsmv2/api_op_CreateCluster.go index 9846861c635..5c9f8fa2525 100644 --- a/service/cloudhsmv2/api_op_CreateCluster.go +++ b/service/cloudhsmv2/api_op_CreateCluster.go @@ -98,7 +98,10 @@ func addOperationCreateClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_CreateHsm.go b/service/cloudhsmv2/api_op_CreateHsm.go index b80adcd9ce5..18e7b02f394 100644 --- a/service/cloudhsmv2/api_op_CreateHsm.go +++ b/service/cloudhsmv2/api_op_CreateHsm.go @@ -87,7 +87,10 @@ func addOperationCreateHsmMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_DeleteBackup.go b/service/cloudhsmv2/api_op_DeleteBackup.go index 426cfd44945..0001304505d 100644 --- a/service/cloudhsmv2/api_op_DeleteBackup.go +++ b/service/cloudhsmv2/api_op_DeleteBackup.go @@ -77,7 +77,10 @@ func addOperationDeleteBackupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_DeleteCluster.go b/service/cloudhsmv2/api_op_DeleteCluster.go index b2b6721181f..ea0af44e6e6 100644 --- a/service/cloudhsmv2/api_op_DeleteCluster.go +++ b/service/cloudhsmv2/api_op_DeleteCluster.go @@ -77,7 +77,10 @@ func addOperationDeleteClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_DeleteHsm.go b/service/cloudhsmv2/api_op_DeleteHsm.go index 147ac832943..d92edb403f1 100644 --- a/service/cloudhsmv2/api_op_DeleteHsm.go +++ b/service/cloudhsmv2/api_op_DeleteHsm.go @@ -87,7 +87,10 @@ func addOperationDeleteHsmMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_DescribeBackups.go b/service/cloudhsmv2/api_op_DescribeBackups.go index acbf02b93d0..98bc0cceeec 100644 --- a/service/cloudhsmv2/api_op_DescribeBackups.go +++ b/service/cloudhsmv2/api_op_DescribeBackups.go @@ -105,7 +105,10 @@ func addOperationDescribeBackupsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_DescribeClusters.go b/service/cloudhsmv2/api_op_DescribeClusters.go index 644340a0371..f98467eb821 100644 --- a/service/cloudhsmv2/api_op_DescribeClusters.go +++ b/service/cloudhsmv2/api_op_DescribeClusters.go @@ -96,7 +96,10 @@ func addOperationDescribeClustersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_InitializeCluster.go b/service/cloudhsmv2/api_op_InitializeCluster.go index 205ab6af85a..2ea0c9c3d08 100644 --- a/service/cloudhsmv2/api_op_InitializeCluster.go +++ b/service/cloudhsmv2/api_op_InitializeCluster.go @@ -97,7 +97,10 @@ func addOperationInitializeClusterMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_ListTags.go b/service/cloudhsmv2/api_op_ListTags.go index 46c3dd0743e..91faf643ec4 100644 --- a/service/cloudhsmv2/api_op_ListTags.go +++ b/service/cloudhsmv2/api_op_ListTags.go @@ -95,7 +95,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_ModifyBackupAttributes.go b/service/cloudhsmv2/api_op_ModifyBackupAttributes.go index fe9361d29aa..c022040327d 100644 --- a/service/cloudhsmv2/api_op_ModifyBackupAttributes.go +++ b/service/cloudhsmv2/api_op_ModifyBackupAttributes.go @@ -87,7 +87,10 @@ func addOperationModifyBackupAttributesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_ModifyCluster.go b/service/cloudhsmv2/api_op_ModifyCluster.go index c8a06340d61..ca322604505 100644 --- a/service/cloudhsmv2/api_op_ModifyCluster.go +++ b/service/cloudhsmv2/api_op_ModifyCluster.go @@ -80,7 +80,10 @@ func addOperationModifyClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_RestoreBackup.go b/service/cloudhsmv2/api_op_RestoreBackup.go index 53cd92f6ac9..0d4d65cba42 100644 --- a/service/cloudhsmv2/api_op_RestoreBackup.go +++ b/service/cloudhsmv2/api_op_RestoreBackup.go @@ -76,7 +76,10 @@ func addOperationRestoreBackupMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_TagResource.go b/service/cloudhsmv2/api_op_TagResource.go index 65b783d9144..24b46442dc4 100644 --- a/service/cloudhsmv2/api_op_TagResource.go +++ b/service/cloudhsmv2/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudhsmv2/api_op_UntagResource.go b/service/cloudhsmv2/api_op_UntagResource.go index d51b808230b..4f8e7f68410 100644 --- a/service/cloudhsmv2/api_op_UntagResource.go +++ b/service/cloudhsmv2/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_BuildSuggesters.go b/service/cloudsearch/api_op_BuildSuggesters.go index e6c1a9579e3..86145db2e4c 100644 --- a/service/cloudsearch/api_op_BuildSuggesters.go +++ b/service/cloudsearch/api_op_BuildSuggesters.go @@ -82,7 +82,10 @@ func addOperationBuildSuggestersMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_CreateDomain.go b/service/cloudsearch/api_op_CreateDomain.go index 740ee8dfb56..9b3deb7cc57 100644 --- a/service/cloudsearch/api_op_CreateDomain.go +++ b/service/cloudsearch/api_op_CreateDomain.go @@ -82,7 +82,10 @@ func addOperationCreateDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DefineAnalysisScheme.go b/service/cloudsearch/api_op_DefineAnalysisScheme.go index c6054e0a04f..cd4754528f2 100644 --- a/service/cloudsearch/api_op_DefineAnalysisScheme.go +++ b/service/cloudsearch/api_op_DefineAnalysisScheme.go @@ -95,7 +95,10 @@ func addOperationDefineAnalysisSchemeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DefineExpression.go b/service/cloudsearch/api_op_DefineExpression.go index 9f4ef356ad0..75c88ca7a56 100644 --- a/service/cloudsearch/api_op_DefineExpression.go +++ b/service/cloudsearch/api_op_DefineExpression.go @@ -94,7 +94,10 @@ func addOperationDefineExpressionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DefineIndexField.go b/service/cloudsearch/api_op_DefineIndexField.go index fc25bb4291d..1b472f36449 100644 --- a/service/cloudsearch/api_op_DefineIndexField.go +++ b/service/cloudsearch/api_op_DefineIndexField.go @@ -96,7 +96,10 @@ func addOperationDefineIndexFieldMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DefineSuggester.go b/service/cloudsearch/api_op_DefineSuggester.go index dca09890791..37baf758353 100644 --- a/service/cloudsearch/api_op_DefineSuggester.go +++ b/service/cloudsearch/api_op_DefineSuggester.go @@ -96,7 +96,10 @@ func addOperationDefineSuggesterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DeleteAnalysisScheme.go b/service/cloudsearch/api_op_DeleteAnalysisScheme.go index bfe4f3867d1..d854a83d101 100644 --- a/service/cloudsearch/api_op_DeleteAnalysisScheme.go +++ b/service/cloudsearch/api_op_DeleteAnalysisScheme.go @@ -92,7 +92,10 @@ func addOperationDeleteAnalysisSchemeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DeleteDomain.go b/service/cloudsearch/api_op_DeleteDomain.go index cd618afecf9..821ff40ec37 100644 --- a/service/cloudsearch/api_op_DeleteDomain.go +++ b/service/cloudsearch/api_op_DeleteDomain.go @@ -82,7 +82,10 @@ func addOperationDeleteDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DeleteExpression.go b/service/cloudsearch/api_op_DeleteExpression.go index 2eb0e2cc2f3..2c287b5edd3 100644 --- a/service/cloudsearch/api_op_DeleteExpression.go +++ b/service/cloudsearch/api_op_DeleteExpression.go @@ -92,7 +92,10 @@ func addOperationDeleteExpressionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DeleteIndexField.go b/service/cloudsearch/api_op_DeleteIndexField.go index c5e33103dc6..c159c4af7d5 100644 --- a/service/cloudsearch/api_op_DeleteIndexField.go +++ b/service/cloudsearch/api_op_DeleteIndexField.go @@ -92,7 +92,10 @@ func addOperationDeleteIndexFieldMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DeleteSuggester.go b/service/cloudsearch/api_op_DeleteSuggester.go index 53009e738e4..af20ae21aa7 100644 --- a/service/cloudsearch/api_op_DeleteSuggester.go +++ b/service/cloudsearch/api_op_DeleteSuggester.go @@ -91,7 +91,10 @@ func addOperationDeleteSuggesterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DescribeAnalysisSchemes.go b/service/cloudsearch/api_op_DescribeAnalysisSchemes.go index 1d29ed38e5a..d8c99cbcf23 100644 --- a/service/cloudsearch/api_op_DescribeAnalysisSchemes.go +++ b/service/cloudsearch/api_op_DescribeAnalysisSchemes.go @@ -97,7 +97,10 @@ func addOperationDescribeAnalysisSchemesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DescribeAvailabilityOptions.go b/service/cloudsearch/api_op_DescribeAvailabilityOptions.go index 44d878420c4..b2f42174b33 100644 --- a/service/cloudsearch/api_op_DescribeAvailabilityOptions.go +++ b/service/cloudsearch/api_op_DescribeAvailabilityOptions.go @@ -89,7 +89,10 @@ func addOperationDescribeAvailabilityOptionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go b/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go index 74e4d8470d1..1cc8c097485 100644 --- a/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go +++ b/service/cloudsearch/api_op_DescribeDomainEndpointOptions.go @@ -87,7 +87,10 @@ func addOperationDescribeDomainEndpointOptionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DescribeDomains.go b/service/cloudsearch/api_op_DescribeDomains.go index 9df220887c8..0775c2cf945 100644 --- a/service/cloudsearch/api_op_DescribeDomains.go +++ b/service/cloudsearch/api_op_DescribeDomains.go @@ -85,7 +85,10 @@ func addOperationDescribeDomainsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DescribeExpressions.go b/service/cloudsearch/api_op_DescribeExpressions.go index 6bb4d97ec6e..3e2c7d36da3 100644 --- a/service/cloudsearch/api_op_DescribeExpressions.go +++ b/service/cloudsearch/api_op_DescribeExpressions.go @@ -97,7 +97,10 @@ func addOperationDescribeExpressionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DescribeIndexFields.go b/service/cloudsearch/api_op_DescribeIndexFields.go index 9d04d0ce8ca..f09703c965d 100644 --- a/service/cloudsearch/api_op_DescribeIndexFields.go +++ b/service/cloudsearch/api_op_DescribeIndexFields.go @@ -97,7 +97,10 @@ func addOperationDescribeIndexFieldsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DescribeScalingParameters.go b/service/cloudsearch/api_op_DescribeScalingParameters.go index 7a63ffb3b79..594464e1fd0 100644 --- a/service/cloudsearch/api_op_DescribeScalingParameters.go +++ b/service/cloudsearch/api_op_DescribeScalingParameters.go @@ -87,7 +87,10 @@ func addOperationDescribeScalingParametersMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go b/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go index 95b30347d75..e7b76f58227 100644 --- a/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go +++ b/service/cloudsearch/api_op_DescribeServiceAccessPolicies.go @@ -90,7 +90,10 @@ func addOperationDescribeServiceAccessPoliciesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_DescribeSuggesters.go b/service/cloudsearch/api_op_DescribeSuggesters.go index 2a48e2c1d08..747149741f9 100644 --- a/service/cloudsearch/api_op_DescribeSuggesters.go +++ b/service/cloudsearch/api_op_DescribeSuggesters.go @@ -96,7 +96,10 @@ func addOperationDescribeSuggestersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_IndexDocuments.go b/service/cloudsearch/api_op_IndexDocuments.go index 1303b8685de..21e471cfcf7 100644 --- a/service/cloudsearch/api_op_IndexDocuments.go +++ b/service/cloudsearch/api_op_IndexDocuments.go @@ -82,7 +82,10 @@ func addOperationIndexDocumentsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_ListDomainNames.go b/service/cloudsearch/api_op_ListDomainNames.go index 3ac04498540..8ac9130d0eb 100644 --- a/service/cloudsearch/api_op_ListDomainNames.go +++ b/service/cloudsearch/api_op_ListDomainNames.go @@ -70,7 +70,10 @@ func addOperationListDomainNamesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_UpdateAvailabilityOptions.go b/service/cloudsearch/api_op_UpdateAvailabilityOptions.go index 4bcd8a294e0..fd572dfadda 100644 --- a/service/cloudsearch/api_op_UpdateAvailabilityOptions.go +++ b/service/cloudsearch/api_op_UpdateAvailabilityOptions.go @@ -97,7 +97,10 @@ func addOperationUpdateAvailabilityOptionsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go b/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go index 8266b3a2178..639b34b2dd4 100644 --- a/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go +++ b/service/cloudsearch/api_op_UpdateDomainEndpointOptions.go @@ -90,7 +90,10 @@ func addOperationUpdateDomainEndpointOptionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_UpdateScalingParameters.go b/service/cloudsearch/api_op_UpdateScalingParameters.go index e6d52d4ad1e..c6d5119e322 100644 --- a/service/cloudsearch/api_op_UpdateScalingParameters.go +++ b/service/cloudsearch/api_op_UpdateScalingParameters.go @@ -97,7 +97,10 @@ func addOperationUpdateScalingParametersMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go b/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go index 3e653140e28..5f50553c4f6 100644 --- a/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go +++ b/service/cloudsearch/api_op_UpdateServiceAccessPolicies.go @@ -92,7 +92,10 @@ func addOperationUpdateServiceAccessPoliciesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearchdomain/api_op_Search.go b/service/cloudsearchdomain/api_op_Search.go index e34db554803..ad77912138a 100644 --- a/service/cloudsearchdomain/api_op_Search.go +++ b/service/cloudsearchdomain/api_op_Search.go @@ -407,7 +407,10 @@ func addOperationSearchMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearchdomain/api_op_Suggest.go b/service/cloudsearchdomain/api_op_Suggest.go index dabc701d4ab..17682b13da1 100644 --- a/service/cloudsearchdomain/api_op_Suggest.go +++ b/service/cloudsearchdomain/api_op_Suggest.go @@ -102,7 +102,10 @@ func addOperationSuggestMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudsearchdomain/api_op_UploadDocuments.go b/service/cloudsearchdomain/api_op_UploadDocuments.go index 724f9434651..efad4296dcd 100644 --- a/service/cloudsearchdomain/api_op_UploadDocuments.go +++ b/service/cloudsearchdomain/api_op_UploadDocuments.go @@ -117,7 +117,10 @@ func addOperationUploadDocumentsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_AddTags.go b/service/cloudtrail/api_op_AddTags.go index bf91b3b59b7..d82b669cba9 100644 --- a/service/cloudtrail/api_op_AddTags.go +++ b/service/cloudtrail/api_op_AddTags.go @@ -84,7 +84,10 @@ func addOperationAddTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_CreateTrail.go b/service/cloudtrail/api_op_CreateTrail.go index 5c354deba3c..2865808d972 100644 --- a/service/cloudtrail/api_op_CreateTrail.go +++ b/service/cloudtrail/api_op_CreateTrail.go @@ -216,7 +216,10 @@ func addOperationCreateTrailMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_DeleteTrail.go b/service/cloudtrail/api_op_DeleteTrail.go index b0382f0570c..e63bbb1495a 100644 --- a/service/cloudtrail/api_op_DeleteTrail.go +++ b/service/cloudtrail/api_op_DeleteTrail.go @@ -75,7 +75,10 @@ func addOperationDeleteTrailMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_DescribeTrails.go b/service/cloudtrail/api_op_DescribeTrails.go index a138477f997..41ec3adfa40 100644 --- a/service/cloudtrail/api_op_DescribeTrails.go +++ b/service/cloudtrail/api_op_DescribeTrails.go @@ -105,7 +105,10 @@ func addOperationDescribeTrailsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_GetEventSelectors.go b/service/cloudtrail/api_op_GetEventSelectors.go index cba12e7e642..0479fddbde1 100644 --- a/service/cloudtrail/api_op_GetEventSelectors.go +++ b/service/cloudtrail/api_op_GetEventSelectors.go @@ -116,7 +116,10 @@ func addOperationGetEventSelectorsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_GetInsightSelectors.go b/service/cloudtrail/api_op_GetInsightSelectors.go index c27eb838466..08215a9525a 100644 --- a/service/cloudtrail/api_op_GetInsightSelectors.go +++ b/service/cloudtrail/api_op_GetInsightSelectors.go @@ -105,7 +105,10 @@ func addOperationGetInsightSelectorsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_GetTrail.go b/service/cloudtrail/api_op_GetTrail.go index 357cded22bf..ced0e756574 100644 --- a/service/cloudtrail/api_op_GetTrail.go +++ b/service/cloudtrail/api_op_GetTrail.go @@ -75,7 +75,10 @@ func addOperationGetTrailMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_GetTrailStatus.go b/service/cloudtrail/api_op_GetTrailStatus.go index 6e5e9aae750..748c02a88b2 100644 --- a/service/cloudtrail/api_op_GetTrailStatus.go +++ b/service/cloudtrail/api_op_GetTrailStatus.go @@ -156,7 +156,10 @@ func addOperationGetTrailStatusMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_ListPublicKeys.go b/service/cloudtrail/api_op_ListPublicKeys.go index 55c069edbd2..8bbdc92b8eb 100644 --- a/service/cloudtrail/api_op_ListPublicKeys.go +++ b/service/cloudtrail/api_op_ListPublicKeys.go @@ -96,7 +96,10 @@ func addOperationListPublicKeysMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_ListTags.go b/service/cloudtrail/api_op_ListTags.go index f61fa817fff..123d9b7defc 100644 --- a/service/cloudtrail/api_op_ListTags.go +++ b/service/cloudtrail/api_op_ListTags.go @@ -86,7 +86,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_ListTrails.go b/service/cloudtrail/api_op_ListTrails.go index fa86017580d..2b932f1c8e4 100644 --- a/service/cloudtrail/api_op_ListTrails.go +++ b/service/cloudtrail/api_op_ListTrails.go @@ -84,7 +84,10 @@ func addOperationListTrailsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_LookupEvents.go b/service/cloudtrail/api_op_LookupEvents.go index bfa5c2f6aec..fd4bb586d5f 100644 --- a/service/cloudtrail/api_op_LookupEvents.go +++ b/service/cloudtrail/api_op_LookupEvents.go @@ -151,7 +151,10 @@ func addOperationLookupEventsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_PutEventSelectors.go b/service/cloudtrail/api_op_PutEventSelectors.go index 155e6cd829e..01eba66db93 100644 --- a/service/cloudtrail/api_op_PutEventSelectors.go +++ b/service/cloudtrail/api_op_PutEventSelectors.go @@ -159,7 +159,10 @@ func addOperationPutEventSelectorsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_PutInsightSelectors.go b/service/cloudtrail/api_op_PutInsightSelectors.go index baae677511e..8dc52595224 100644 --- a/service/cloudtrail/api_op_PutInsightSelectors.go +++ b/service/cloudtrail/api_op_PutInsightSelectors.go @@ -89,7 +89,10 @@ func addOperationPutInsightSelectorsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_RemoveTags.go b/service/cloudtrail/api_op_RemoveTags.go index 396f3b48970..ea009d5da2c 100644 --- a/service/cloudtrail/api_op_RemoveTags.go +++ b/service/cloudtrail/api_op_RemoveTags.go @@ -77,7 +77,10 @@ func addOperationRemoveTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_StartLogging.go b/service/cloudtrail/api_op_StartLogging.go index 07262c31c2c..21be5b7832a 100644 --- a/service/cloudtrail/api_op_StartLogging.go +++ b/service/cloudtrail/api_op_StartLogging.go @@ -78,7 +78,10 @@ func addOperationStartLoggingMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_StopLogging.go b/service/cloudtrail/api_op_StopLogging.go index 30133c6e221..0ce9df8ce0a 100644 --- a/service/cloudtrail/api_op_StopLogging.go +++ b/service/cloudtrail/api_op_StopLogging.go @@ -81,7 +81,10 @@ func addOperationStopLoggingMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudtrail/api_op_UpdateTrail.go b/service/cloudtrail/api_op_UpdateTrail.go index c8b0af78bbe..37d5f018434 100644 --- a/service/cloudtrail/api_op_UpdateTrail.go +++ b/service/cloudtrail/api_op_UpdateTrail.go @@ -225,7 +225,10 @@ func addOperationUpdateTrailMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DeleteAlarms.go b/service/cloudwatch/api_op_DeleteAlarms.go index 80a64ca006a..52265c3ed2a 100644 --- a/service/cloudwatch/api_op_DeleteAlarms.go +++ b/service/cloudwatch/api_op_DeleteAlarms.go @@ -82,7 +82,10 @@ func addOperationDeleteAlarmsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DeleteAnomalyDetector.go b/service/cloudwatch/api_op_DeleteAnomalyDetector.go index 9d562b544c7..e42dfe23b31 100644 --- a/service/cloudwatch/api_op_DeleteAnomalyDetector.go +++ b/service/cloudwatch/api_op_DeleteAnomalyDetector.go @@ -83,7 +83,10 @@ func addOperationDeleteAnomalyDetectorMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DeleteDashboards.go b/service/cloudwatch/api_op_DeleteDashboards.go index a501b84cd67..4f82cd11a86 100644 --- a/service/cloudwatch/api_op_DeleteDashboards.go +++ b/service/cloudwatch/api_op_DeleteDashboards.go @@ -70,7 +70,10 @@ func addOperationDeleteDashboardsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DeleteInsightRules.go b/service/cloudwatch/api_op_DeleteInsightRules.go index dfc7ad216b2..fc89cacc535 100644 --- a/service/cloudwatch/api_op_DeleteInsightRules.go +++ b/service/cloudwatch/api_op_DeleteInsightRules.go @@ -79,7 +79,10 @@ func addOperationDeleteInsightRulesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DescribeAlarmHistory.go b/service/cloudwatch/api_op_DescribeAlarmHistory.go index ea8ab1ce87a..b1015168aa8 100644 --- a/service/cloudwatch/api_op_DescribeAlarmHistory.go +++ b/service/cloudwatch/api_op_DescribeAlarmHistory.go @@ -106,7 +106,10 @@ func addOperationDescribeAlarmHistoryMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DescribeAlarms.go b/service/cloudwatch/api_op_DescribeAlarms.go index 44f137ef51b..79531fe0942 100644 --- a/service/cloudwatch/api_op_DescribeAlarms.go +++ b/service/cloudwatch/api_op_DescribeAlarms.go @@ -138,7 +138,10 @@ func addOperationDescribeAlarmsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DescribeAlarmsForMetric.go b/service/cloudwatch/api_op_DescribeAlarmsForMetric.go index a3d0a605f18..1ddab68a910 100644 --- a/service/cloudwatch/api_op_DescribeAlarmsForMetric.go +++ b/service/cloudwatch/api_op_DescribeAlarmsForMetric.go @@ -100,7 +100,10 @@ func addOperationDescribeAlarmsForMetricMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DescribeAnomalyDetectors.go b/service/cloudwatch/api_op_DescribeAnomalyDetectors.go index a5ea5437c2f..8d764b1cc9b 100644 --- a/service/cloudwatch/api_op_DescribeAnomalyDetectors.go +++ b/service/cloudwatch/api_op_DescribeAnomalyDetectors.go @@ -98,7 +98,10 @@ func addOperationDescribeAnomalyDetectorsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DescribeInsightRules.go b/service/cloudwatch/api_op_DescribeInsightRules.go index 6b747b4b1a3..94074daeb02 100644 --- a/service/cloudwatch/api_op_DescribeInsightRules.go +++ b/service/cloudwatch/api_op_DescribeInsightRules.go @@ -85,7 +85,10 @@ func addOperationDescribeInsightRulesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DisableAlarmActions.go b/service/cloudwatch/api_op_DisableAlarmActions.go index 8ebdadf3f19..8e8216408dd 100644 --- a/service/cloudwatch/api_op_DisableAlarmActions.go +++ b/service/cloudwatch/api_op_DisableAlarmActions.go @@ -70,7 +70,10 @@ func addOperationDisableAlarmActionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_DisableInsightRules.go b/service/cloudwatch/api_op_DisableInsightRules.go index 5d7fc7a0790..9ceb5ec7c54 100644 --- a/service/cloudwatch/api_op_DisableInsightRules.go +++ b/service/cloudwatch/api_op_DisableInsightRules.go @@ -78,7 +78,10 @@ func addOperationDisableInsightRulesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_EnableAlarmActions.go b/service/cloudwatch/api_op_EnableAlarmActions.go index 0900b5c187a..ad1feaf0f0f 100644 --- a/service/cloudwatch/api_op_EnableAlarmActions.go +++ b/service/cloudwatch/api_op_EnableAlarmActions.go @@ -69,7 +69,10 @@ func addOperationEnableAlarmActionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_EnableInsightRules.go b/service/cloudwatch/api_op_EnableInsightRules.go index 3a0399ae178..f0958290422 100644 --- a/service/cloudwatch/api_op_EnableInsightRules.go +++ b/service/cloudwatch/api_op_EnableInsightRules.go @@ -78,7 +78,10 @@ func addOperationEnableInsightRulesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_GetDashboard.go b/service/cloudwatch/api_op_GetDashboard.go index 75a5c9da456..2e123ce07b0 100644 --- a/service/cloudwatch/api_op_GetDashboard.go +++ b/service/cloudwatch/api_op_GetDashboard.go @@ -85,7 +85,10 @@ func addOperationGetDashboardMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_GetInsightRuleReport.go b/service/cloudwatch/api_op_GetInsightRuleReport.go index 689bf0a0b2b..179866fef7e 100644 --- a/service/cloudwatch/api_op_GetInsightRuleReport.go +++ b/service/cloudwatch/api_op_GetInsightRuleReport.go @@ -186,7 +186,10 @@ func addOperationGetInsightRuleReportMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_GetMetricData.go b/service/cloudwatch/api_op_GetMetricData.go index 28aef04b057..b64576fa408 100644 --- a/service/cloudwatch/api_op_GetMetricData.go +++ b/service/cloudwatch/api_op_GetMetricData.go @@ -186,7 +186,10 @@ func addOperationGetMetricDataMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_GetMetricStatistics.go b/service/cloudwatch/api_op_GetMetricStatistics.go index 54e8a2d076a..22e2d9bfe8d 100644 --- a/service/cloudwatch/api_op_GetMetricStatistics.go +++ b/service/cloudwatch/api_op_GetMetricStatistics.go @@ -224,7 +224,10 @@ func addOperationGetMetricStatisticsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_GetMetricWidgetImage.go b/service/cloudwatch/api_op_GetMetricWidgetImage.go index d3a5c208044..de43f798fdf 100644 --- a/service/cloudwatch/api_op_GetMetricWidgetImage.go +++ b/service/cloudwatch/api_op_GetMetricWidgetImage.go @@ -110,7 +110,10 @@ func addOperationGetMetricWidgetImageMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_ListDashboards.go b/service/cloudwatch/api_op_ListDashboards.go index edb06e6675a..c8a4624223c 100644 --- a/service/cloudwatch/api_op_ListDashboards.go +++ b/service/cloudwatch/api_op_ListDashboards.go @@ -87,7 +87,10 @@ func addOperationListDashboardsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_ListMetrics.go b/service/cloudwatch/api_op_ListMetrics.go index b34058ca206..f5bdd81a264 100644 --- a/service/cloudwatch/api_op_ListMetrics.go +++ b/service/cloudwatch/api_op_ListMetrics.go @@ -113,7 +113,10 @@ func addOperationListMetricsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_ListTagsForResource.go b/service/cloudwatch/api_op_ListTagsForResource.go index a4cd5b30622..6030d35dc30 100644 --- a/service/cloudwatch/api_op_ListTagsForResource.go +++ b/service/cloudwatch/api_op_ListTagsForResource.go @@ -81,7 +81,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_PutAnomalyDetector.go b/service/cloudwatch/api_op_PutAnomalyDetector.go index 992bd45aa82..4633263d244 100644 --- a/service/cloudwatch/api_op_PutAnomalyDetector.go +++ b/service/cloudwatch/api_op_PutAnomalyDetector.go @@ -92,7 +92,10 @@ func addOperationPutAnomalyDetectorMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_PutCompositeAlarm.go b/service/cloudwatch/api_op_PutCompositeAlarm.go index f3eefa7ce08..a4b7e121e14 100644 --- a/service/cloudwatch/api_op_PutCompositeAlarm.go +++ b/service/cloudwatch/api_op_PutCompositeAlarm.go @@ -181,7 +181,10 @@ func addOperationPutCompositeAlarmMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_PutDashboard.go b/service/cloudwatch/api_op_PutDashboard.go index ab30df560ce..7a67fff2f7e 100644 --- a/service/cloudwatch/api_op_PutDashboard.go +++ b/service/cloudwatch/api_op_PutDashboard.go @@ -103,7 +103,10 @@ func addOperationPutDashboardMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_PutInsightRule.go b/service/cloudwatch/api_op_PutInsightRule.go index 21ca7f99e32..ba9eb2587a4 100644 --- a/service/cloudwatch/api_op_PutInsightRule.go +++ b/service/cloudwatch/api_op_PutInsightRule.go @@ -98,7 +98,10 @@ func addOperationPutInsightRuleMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_PutMetricAlarm.go b/service/cloudwatch/api_op_PutMetricAlarm.go index 68d66876949..2a3738f6330 100644 --- a/service/cloudwatch/api_op_PutMetricAlarm.go +++ b/service/cloudwatch/api_op_PutMetricAlarm.go @@ -273,7 +273,10 @@ func addOperationPutMetricAlarmMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_PutMetricData.go b/service/cloudwatch/api_op_PutMetricData.go index 7c3a51bc860..e2069ac3d54 100644 --- a/service/cloudwatch/api_op_PutMetricData.go +++ b/service/cloudwatch/api_op_PutMetricData.go @@ -118,7 +118,10 @@ func addOperationPutMetricDataMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_SetAlarmState.go b/service/cloudwatch/api_op_SetAlarmState.go index 79bdb541e78..53112055945 100644 --- a/service/cloudwatch/api_op_SetAlarmState.go +++ b/service/cloudwatch/api_op_SetAlarmState.go @@ -100,7 +100,10 @@ func addOperationSetAlarmStateMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_TagResource.go b/service/cloudwatch/api_op_TagResource.go index 292789adc7c..b7ce4e3c09e 100644 --- a/service/cloudwatch/api_op_TagResource.go +++ b/service/cloudwatch/api_op_TagResource.go @@ -92,7 +92,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatch/api_op_UntagResource.go b/service/cloudwatch/api_op_UntagResource.go index 33d11bd7773..076d16d4bdc 100644 --- a/service/cloudwatch/api_op_UntagResource.go +++ b/service/cloudwatch/api_op_UntagResource.go @@ -80,7 +80,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ActivateEventSource.go b/service/cloudwatchevents/api_op_ActivateEventSource.go index 11ea8413ff4..e60fb493789 100644 --- a/service/cloudwatchevents/api_op_ActivateEventSource.go +++ b/service/cloudwatchevents/api_op_ActivateEventSource.go @@ -70,7 +70,10 @@ func addOperationActivateEventSourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_CancelReplay.go b/service/cloudwatchevents/api_op_CancelReplay.go index 1c059aae308..87868489178 100644 --- a/service/cloudwatchevents/api_op_CancelReplay.go +++ b/service/cloudwatchevents/api_op_CancelReplay.go @@ -80,7 +80,10 @@ func addOperationCancelReplayMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_CreateArchive.go b/service/cloudwatchevents/api_op_CreateArchive.go index 9f924993c9b..74eb18b0ffb 100644 --- a/service/cloudwatchevents/api_op_CreateArchive.go +++ b/service/cloudwatchevents/api_op_CreateArchive.go @@ -103,7 +103,10 @@ func addOperationCreateArchiveMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_CreateEventBus.go b/service/cloudwatchevents/api_op_CreateEventBus.go index 69a5a9e2368..4af64cebf02 100644 --- a/service/cloudwatchevents/api_op_CreateEventBus.go +++ b/service/cloudwatchevents/api_op_CreateEventBus.go @@ -87,7 +87,10 @@ func addOperationCreateEventBusMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_CreatePartnerEventSource.go b/service/cloudwatchevents/api_op_CreatePartnerEventSource.go index b4dbb23f470..e00d4c8b025 100644 --- a/service/cloudwatchevents/api_op_CreatePartnerEventSource.go +++ b/service/cloudwatchevents/api_op_CreatePartnerEventSource.go @@ -97,7 +97,10 @@ func addOperationCreatePartnerEventSourceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DeactivateEventSource.go b/service/cloudwatchevents/api_op_DeactivateEventSource.go index 37ce4b4ae34..3918f529c95 100644 --- a/service/cloudwatchevents/api_op_DeactivateEventSource.go +++ b/service/cloudwatchevents/api_op_DeactivateEventSource.go @@ -73,7 +73,10 @@ func addOperationDeactivateEventSourceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DeleteArchive.go b/service/cloudwatchevents/api_op_DeleteArchive.go index b26fc8dcd90..94fabf60dc2 100644 --- a/service/cloudwatchevents/api_op_DeleteArchive.go +++ b/service/cloudwatchevents/api_op_DeleteArchive.go @@ -69,7 +69,10 @@ func addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DeleteEventBus.go b/service/cloudwatchevents/api_op_DeleteEventBus.go index 964ad5b7ef9..2bb86b33969 100644 --- a/service/cloudwatchevents/api_op_DeleteEventBus.go +++ b/service/cloudwatchevents/api_op_DeleteEventBus.go @@ -71,7 +71,10 @@ func addOperationDeleteEventBusMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DeletePartnerEventSource.go b/service/cloudwatchevents/api_op_DeletePartnerEventSource.go index 93ea6fdba4d..d3ee288c1f5 100644 --- a/service/cloudwatchevents/api_op_DeletePartnerEventSource.go +++ b/service/cloudwatchevents/api_op_DeletePartnerEventSource.go @@ -77,7 +77,10 @@ func addOperationDeletePartnerEventSourceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DeleteRule.go b/service/cloudwatchevents/api_op_DeleteRule.go index 633af709da2..4ed5cd18270 100644 --- a/service/cloudwatchevents/api_op_DeleteRule.go +++ b/service/cloudwatchevents/api_op_DeleteRule.go @@ -87,7 +87,10 @@ func addOperationDeleteRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DescribeArchive.go b/service/cloudwatchevents/api_op_DescribeArchive.go index 8647d141aa0..d99f359985a 100644 --- a/service/cloudwatchevents/api_op_DescribeArchive.go +++ b/service/cloudwatchevents/api_op_DescribeArchive.go @@ -105,7 +105,10 @@ func addOperationDescribeArchiveMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DescribeEventBus.go b/service/cloudwatchevents/api_op_DescribeEventBus.go index 6330c24ccc7..c09cb34f09f 100644 --- a/service/cloudwatchevents/api_op_DescribeEventBus.go +++ b/service/cloudwatchevents/api_op_DescribeEventBus.go @@ -85,7 +85,10 @@ func addOperationDescribeEventBusMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DescribeEventSource.go b/service/cloudwatchevents/api_op_DescribeEventSource.go index d8927f2f4b9..9d2c27c0bd2 100644 --- a/service/cloudwatchevents/api_op_DescribeEventSource.go +++ b/service/cloudwatchevents/api_op_DescribeEventSource.go @@ -96,7 +96,10 @@ func addOperationDescribeEventSourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DescribePartnerEventSource.go b/service/cloudwatchevents/api_op_DescribePartnerEventSource.go index 663c260d9fb..13be8e26281 100644 --- a/service/cloudwatchevents/api_op_DescribePartnerEventSource.go +++ b/service/cloudwatchevents/api_op_DescribePartnerEventSource.go @@ -79,7 +79,10 @@ func addOperationDescribePartnerEventSourceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DescribeReplay.go b/service/cloudwatchevents/api_op_DescribeReplay.go index 41103613fd5..a013e781409 100644 --- a/service/cloudwatchevents/api_op_DescribeReplay.go +++ b/service/cloudwatchevents/api_op_DescribeReplay.go @@ -116,7 +116,10 @@ func addOperationDescribeReplayMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DescribeRule.go b/service/cloudwatchevents/api_op_DescribeRule.go index 1be0c8adeed..11cd7a2bb53 100644 --- a/service/cloudwatchevents/api_op_DescribeRule.go +++ b/service/cloudwatchevents/api_op_DescribeRule.go @@ -113,7 +113,10 @@ func addOperationDescribeRuleMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_DisableRule.go b/service/cloudwatchevents/api_op_DisableRule.go index 4a016661bd5..5647083102c 100644 --- a/service/cloudwatchevents/api_op_DisableRule.go +++ b/service/cloudwatchevents/api_op_DisableRule.go @@ -76,7 +76,10 @@ func addOperationDisableRuleMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_EnableRule.go b/service/cloudwatchevents/api_op_EnableRule.go index 16b4d5d0a0d..65d03ba5ee0 100644 --- a/service/cloudwatchevents/api_op_EnableRule.go +++ b/service/cloudwatchevents/api_op_EnableRule.go @@ -75,7 +75,10 @@ func addOperationEnableRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListArchives.go b/service/cloudwatchevents/api_op_ListArchives.go index f33c812db52..f43d7a519e4 100644 --- a/service/cloudwatchevents/api_op_ListArchives.go +++ b/service/cloudwatchevents/api_op_ListArchives.go @@ -89,7 +89,10 @@ func addOperationListArchivesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListEventBuses.go b/service/cloudwatchevents/api_op_ListEventBuses.go index 7eb8c920238..da582324015 100644 --- a/service/cloudwatchevents/api_op_ListEventBuses.go +++ b/service/cloudwatchevents/api_op_ListEventBuses.go @@ -86,7 +86,10 @@ func addOperationListEventBusesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListEventSources.go b/service/cloudwatchevents/api_op_ListEventSources.go index f6dd436d94d..8e4de2c8044 100644 --- a/service/cloudwatchevents/api_op_ListEventSources.go +++ b/service/cloudwatchevents/api_op_ListEventSources.go @@ -87,7 +87,10 @@ func addOperationListEventSourcesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go b/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go index afcfce9ac0b..473a7433af1 100644 --- a/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go +++ b/service/cloudwatchevents/api_op_ListPartnerEventSourceAccounts.go @@ -89,7 +89,10 @@ func addOperationListPartnerEventSourceAccountsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListPartnerEventSources.go b/service/cloudwatchevents/api_op_ListPartnerEventSources.go index 8aafc41ea21..c3bd2921151 100644 --- a/service/cloudwatchevents/api_op_ListPartnerEventSources.go +++ b/service/cloudwatchevents/api_op_ListPartnerEventSources.go @@ -89,7 +89,10 @@ func addOperationListPartnerEventSourcesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListReplays.go b/service/cloudwatchevents/api_op_ListReplays.go index 219fe80aa6f..7f350f441d9 100644 --- a/service/cloudwatchevents/api_op_ListReplays.go +++ b/service/cloudwatchevents/api_op_ListReplays.go @@ -89,7 +89,10 @@ func addOperationListReplaysMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go b/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go index 4a2fd5b1735..b07cafc9d01 100644 --- a/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go +++ b/service/cloudwatchevents/api_op_ListRuleNamesByTarget.go @@ -88,7 +88,10 @@ func addOperationListRuleNamesByTargetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListRules.go b/service/cloudwatchevents/api_op_ListRules.go index e870885099b..aaacbb0f77e 100644 --- a/service/cloudwatchevents/api_op_ListRules.go +++ b/service/cloudwatchevents/api_op_ListRules.go @@ -89,7 +89,10 @@ func addOperationListRulesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListTagsForResource.go b/service/cloudwatchevents/api_op_ListTagsForResource.go index 41b826c05fd..ea508285a52 100644 --- a/service/cloudwatchevents/api_op_ListTagsForResource.go +++ b/service/cloudwatchevents/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_ListTargetsByRule.go b/service/cloudwatchevents/api_op_ListTargetsByRule.go index a0bd29ce9ec..f95b0809a25 100644 --- a/service/cloudwatchevents/api_op_ListTargetsByRule.go +++ b/service/cloudwatchevents/api_op_ListTargetsByRule.go @@ -88,7 +88,10 @@ func addOperationListTargetsByRuleMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_PutEvents.go b/service/cloudwatchevents/api_op_PutEvents.go index 987258de12b..800d5fa70c2 100644 --- a/service/cloudwatchevents/api_op_PutEvents.go +++ b/service/cloudwatchevents/api_op_PutEvents.go @@ -81,7 +81,10 @@ func addOperationPutEventsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_PutPartnerEvents.go b/service/cloudwatchevents/api_op_PutPartnerEvents.go index e680650f031..ca2c1cb792e 100644 --- a/service/cloudwatchevents/api_op_PutPartnerEvents.go +++ b/service/cloudwatchevents/api_op_PutPartnerEvents.go @@ -80,7 +80,10 @@ func addOperationPutPartnerEventsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_PutPermission.go b/service/cloudwatchevents/api_op_PutPermission.go index 83ac7323da5..68a6e4b4888 100644 --- a/service/cloudwatchevents/api_op_PutPermission.go +++ b/service/cloudwatchevents/api_op_PutPermission.go @@ -118,7 +118,10 @@ func addOperationPutPermissionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_PutRule.go b/service/cloudwatchevents/api_op_PutRule.go index 5660da20276..8baec6fa99a 100644 --- a/service/cloudwatchevents/api_op_PutRule.go +++ b/service/cloudwatchevents/api_op_PutRule.go @@ -138,7 +138,10 @@ func addOperationPutRuleMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_PutTargets.go b/service/cloudwatchevents/api_op_PutTargets.go index f0bca346507..f2f6d9dbd42 100644 --- a/service/cloudwatchevents/api_op_PutTargets.go +++ b/service/cloudwatchevents/api_op_PutTargets.go @@ -192,7 +192,10 @@ func addOperationPutTargetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_RemovePermission.go b/service/cloudwatchevents/api_op_RemovePermission.go index 7cff7839de3..5d7824295be 100644 --- a/service/cloudwatchevents/api_op_RemovePermission.go +++ b/service/cloudwatchevents/api_op_RemovePermission.go @@ -78,7 +78,10 @@ func addOperationRemovePermissionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_RemoveTargets.go b/service/cloudwatchevents/api_op_RemoveTargets.go index 35de92b9533..a154992e4f7 100644 --- a/service/cloudwatchevents/api_op_RemoveTargets.go +++ b/service/cloudwatchevents/api_op_RemoveTargets.go @@ -99,7 +99,10 @@ func addOperationRemoveTargetsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_StartReplay.go b/service/cloudwatchevents/api_op_StartReplay.go index aedf30266a9..e0b5d3abb95 100644 --- a/service/cloudwatchevents/api_op_StartReplay.go +++ b/service/cloudwatchevents/api_op_StartReplay.go @@ -118,7 +118,10 @@ func addOperationStartReplayMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_TagResource.go b/service/cloudwatchevents/api_op_TagResource.go index d4f68ffc143..90eb68987a7 100644 --- a/service/cloudwatchevents/api_op_TagResource.go +++ b/service/cloudwatchevents/api_op_TagResource.go @@ -85,7 +85,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_TestEventPattern.go b/service/cloudwatchevents/api_op_TestEventPattern.go index 8a9a9077681..07ea3263514 100644 --- a/service/cloudwatchevents/api_op_TestEventPattern.go +++ b/service/cloudwatchevents/api_op_TestEventPattern.go @@ -84,7 +84,10 @@ func addOperationTestEventPatternMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_UntagResource.go b/service/cloudwatchevents/api_op_UntagResource.go index 62444fc9f1c..ad274b83c07 100644 --- a/service/cloudwatchevents/api_op_UntagResource.go +++ b/service/cloudwatchevents/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchevents/api_op_UpdateArchive.go b/service/cloudwatchevents/api_op_UpdateArchive.go index 53831c2272b..13da5a7963b 100644 --- a/service/cloudwatchevents/api_op_UpdateArchive.go +++ b/service/cloudwatchevents/api_op_UpdateArchive.go @@ -93,7 +93,10 @@ func addOperationUpdateArchiveMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_AssociateKmsKey.go b/service/cloudwatchlogs/api_op_AssociateKmsKey.go index 9fc06a543fc..5fc6f3bd653 100644 --- a/service/cloudwatchlogs/api_op_AssociateKmsKey.go +++ b/service/cloudwatchlogs/api_op_AssociateKmsKey.go @@ -92,7 +92,10 @@ func addOperationAssociateKmsKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_CancelExportTask.go b/service/cloudwatchlogs/api_op_CancelExportTask.go index d862b9fae0d..3bb0b6c7fd3 100644 --- a/service/cloudwatchlogs/api_op_CancelExportTask.go +++ b/service/cloudwatchlogs/api_op_CancelExportTask.go @@ -70,7 +70,10 @@ func addOperationCancelExportTaskMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_CreateExportTask.go b/service/cloudwatchlogs/api_op_CreateExportTask.go index 8942f85923a..53f3075e037 100644 --- a/service/cloudwatchlogs/api_op_CreateExportTask.go +++ b/service/cloudwatchlogs/api_op_CreateExportTask.go @@ -120,7 +120,10 @@ func addOperationCreateExportTaskMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_CreateLogGroup.go b/service/cloudwatchlogs/api_op_CreateLogGroup.go index 163ed99549b..3c9d4b6691f 100644 --- a/service/cloudwatchlogs/api_op_CreateLogGroup.go +++ b/service/cloudwatchlogs/api_op_CreateLogGroup.go @@ -105,7 +105,10 @@ func addOperationCreateLogGroupMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_CreateLogStream.go b/service/cloudwatchlogs/api_op_CreateLogStream.go index 6394280f10d..3888be8b795 100644 --- a/service/cloudwatchlogs/api_op_CreateLogStream.go +++ b/service/cloudwatchlogs/api_op_CreateLogStream.go @@ -88,7 +88,10 @@ func addOperationCreateLogStreamMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DeleteDestination.go b/service/cloudwatchlogs/api_op_DeleteDestination.go index c7e6d75b293..d9fc47db321 100644 --- a/service/cloudwatchlogs/api_op_DeleteDestination.go +++ b/service/cloudwatchlogs/api_op_DeleteDestination.go @@ -71,7 +71,10 @@ func addOperationDeleteDestinationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DeleteLogGroup.go b/service/cloudwatchlogs/api_op_DeleteLogGroup.go index d40dd8f307a..f29e3d35635 100644 --- a/service/cloudwatchlogs/api_op_DeleteLogGroup.go +++ b/service/cloudwatchlogs/api_op_DeleteLogGroup.go @@ -70,7 +70,10 @@ func addOperationDeleteLogGroupMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DeleteLogStream.go b/service/cloudwatchlogs/api_op_DeleteLogStream.go index a042bfb40cd..b6db54f67e7 100644 --- a/service/cloudwatchlogs/api_op_DeleteLogStream.go +++ b/service/cloudwatchlogs/api_op_DeleteLogStream.go @@ -75,7 +75,10 @@ func addOperationDeleteLogStreamMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DeleteMetricFilter.go b/service/cloudwatchlogs/api_op_DeleteMetricFilter.go index bf63dfd29e0..48c94c42c83 100644 --- a/service/cloudwatchlogs/api_op_DeleteMetricFilter.go +++ b/service/cloudwatchlogs/api_op_DeleteMetricFilter.go @@ -74,7 +74,10 @@ func addOperationDeleteMetricFilterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go b/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go index 57f5d38c842..9f8638d3ae9 100644 --- a/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go +++ b/service/cloudwatchlogs/api_op_DeleteQueryDefinition.go @@ -80,7 +80,10 @@ func addOperationDeleteQueryDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go b/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go index 21bd27a445f..e6d17744b0e 100644 --- a/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteResourcePolicy.go @@ -68,7 +68,10 @@ func addOperationDeleteResourcePolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go b/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go index bcd07e22521..b63bf5603ce 100644 --- a/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go +++ b/service/cloudwatchlogs/api_op_DeleteRetentionPolicy.go @@ -70,7 +70,10 @@ func addOperationDeleteRetentionPolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go b/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go index 227cc4aa993..58cafece04b 100644 --- a/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go +++ b/service/cloudwatchlogs/api_op_DeleteSubscriptionFilter.go @@ -74,7 +74,10 @@ func addOperationDeleteSubscriptionFilterMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DescribeDestinations.go b/service/cloudwatchlogs/api_op_DescribeDestinations.go index 3f2f70c0719..96fcbd29d8f 100644 --- a/service/cloudwatchlogs/api_op_DescribeDestinations.go +++ b/service/cloudwatchlogs/api_op_DescribeDestinations.go @@ -84,7 +84,10 @@ func addOperationDescribeDestinationsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DescribeExportTasks.go b/service/cloudwatchlogs/api_op_DescribeExportTasks.go index c2ea2287c78..3e5d4191da5 100644 --- a/service/cloudwatchlogs/api_op_DescribeExportTasks.go +++ b/service/cloudwatchlogs/api_op_DescribeExportTasks.go @@ -89,7 +89,10 @@ func addOperationDescribeExportTasksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DescribeLogGroups.go b/service/cloudwatchlogs/api_op_DescribeLogGroups.go index 9a90c59cbb9..93594705d46 100644 --- a/service/cloudwatchlogs/api_op_DescribeLogGroups.go +++ b/service/cloudwatchlogs/api_op_DescribeLogGroups.go @@ -86,7 +86,10 @@ func addOperationDescribeLogGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DescribeLogStreams.go b/service/cloudwatchlogs/api_op_DescribeLogStreams.go index 518f7f76355..b37b158fb91 100644 --- a/service/cloudwatchlogs/api_op_DescribeLogStreams.go +++ b/service/cloudwatchlogs/api_op_DescribeLogStreams.go @@ -108,7 +108,10 @@ func addOperationDescribeLogStreamsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DescribeMetricFilters.go b/service/cloudwatchlogs/api_op_DescribeMetricFilters.go index 2b614627e3c..7fb50938a74 100644 --- a/service/cloudwatchlogs/api_op_DescribeMetricFilters.go +++ b/service/cloudwatchlogs/api_op_DescribeMetricFilters.go @@ -99,7 +99,10 @@ func addOperationDescribeMetricFiltersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DescribeQueries.go b/service/cloudwatchlogs/api_op_DescribeQueries.go index 4507a12ac92..01598b89970 100644 --- a/service/cloudwatchlogs/api_op_DescribeQueries.go +++ b/service/cloudwatchlogs/api_op_DescribeQueries.go @@ -88,7 +88,10 @@ func addOperationDescribeQueriesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go b/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go index 24feaa2ec3a..46b3223fc8f 100644 --- a/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go +++ b/service/cloudwatchlogs/api_op_DescribeQueryDefinitions.go @@ -85,7 +85,10 @@ func addOperationDescribeQueryDefinitionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go b/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go index c5ea1a3a201..f72850e420d 100644 --- a/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go +++ b/service/cloudwatchlogs/api_op_DescribeResourcePolicies.go @@ -79,7 +79,10 @@ func addOperationDescribeResourcePoliciesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go b/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go index 61f5db568d6..f68fd6474d4 100644 --- a/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go +++ b/service/cloudwatchlogs/api_op_DescribeSubscriptionFilters.go @@ -91,7 +91,10 @@ func addOperationDescribeSubscriptionFiltersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_DisassociateKmsKey.go b/service/cloudwatchlogs/api_op_DisassociateKmsKey.go index 569cb077764..28d83e63219 100644 --- a/service/cloudwatchlogs/api_op_DisassociateKmsKey.go +++ b/service/cloudwatchlogs/api_op_DisassociateKmsKey.go @@ -75,7 +75,10 @@ func addOperationDisassociateKmsKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_FilterLogEvents.go b/service/cloudwatchlogs/api_op_FilterLogEvents.go index 8c73588b8dc..df09ab53d5d 100644 --- a/service/cloudwatchlogs/api_op_FilterLogEvents.go +++ b/service/cloudwatchlogs/api_op_FilterLogEvents.go @@ -141,7 +141,10 @@ func addOperationFilterLogEventsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_GetLogEvents.go b/service/cloudwatchlogs/api_op_GetLogEvents.go index 5289a9e0710..df8a2a6ae4c 100644 --- a/service/cloudwatchlogs/api_op_GetLogEvents.go +++ b/service/cloudwatchlogs/api_op_GetLogEvents.go @@ -122,7 +122,10 @@ func addOperationGetLogEventsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_GetLogGroupFields.go b/service/cloudwatchlogs/api_op_GetLogGroupFields.go index c60aaa69fe0..4d1c5ae2500 100644 --- a/service/cloudwatchlogs/api_op_GetLogGroupFields.go +++ b/service/cloudwatchlogs/api_op_GetLogGroupFields.go @@ -90,7 +90,10 @@ func addOperationGetLogGroupFieldsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_GetLogRecord.go b/service/cloudwatchlogs/api_op_GetLogRecord.go index 362b21fc7f7..a921262da41 100644 --- a/service/cloudwatchlogs/api_op_GetLogRecord.go +++ b/service/cloudwatchlogs/api_op_GetLogRecord.go @@ -79,7 +79,10 @@ func addOperationGetLogRecordMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_GetQueryResults.go b/service/cloudwatchlogs/api_op_GetQueryResults.go index 91d1bb40990..34cb0e24582 100644 --- a/service/cloudwatchlogs/api_op_GetQueryResults.go +++ b/service/cloudwatchlogs/api_op_GetQueryResults.go @@ -98,7 +98,10 @@ func addOperationGetQueryResultsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_ListTagsLogGroup.go b/service/cloudwatchlogs/api_op_ListTagsLogGroup.go index 200f7e8565a..7b5e137c6d2 100644 --- a/service/cloudwatchlogs/api_op_ListTagsLogGroup.go +++ b/service/cloudwatchlogs/api_op_ListTagsLogGroup.go @@ -73,7 +73,10 @@ func addOperationListTagsLogGroupMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_PutDestination.go b/service/cloudwatchlogs/api_op_PutDestination.go index 90fd8b774d6..852d1d6f8bd 100644 --- a/service/cloudwatchlogs/api_op_PutDestination.go +++ b/service/cloudwatchlogs/api_op_PutDestination.go @@ -99,7 +99,10 @@ func addOperationPutDestinationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_PutDestinationPolicy.go b/service/cloudwatchlogs/api_op_PutDestinationPolicy.go index e7c9dc47608..848f7c426c8 100644 --- a/service/cloudwatchlogs/api_op_PutDestinationPolicy.go +++ b/service/cloudwatchlogs/api_op_PutDestinationPolicy.go @@ -79,7 +79,10 @@ func addOperationPutDestinationPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_PutLogEvents.go b/service/cloudwatchlogs/api_op_PutLogEvents.go index 92cf545a174..d3f42e16d00 100644 --- a/service/cloudwatchlogs/api_op_PutLogEvents.go +++ b/service/cloudwatchlogs/api_op_PutLogEvents.go @@ -132,7 +132,10 @@ func addOperationPutLogEventsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_PutMetricFilter.go b/service/cloudwatchlogs/api_op_PutMetricFilter.go index f998d149b5c..4026790a2a7 100644 --- a/service/cloudwatchlogs/api_op_PutMetricFilter.go +++ b/service/cloudwatchlogs/api_op_PutMetricFilter.go @@ -90,7 +90,10 @@ func addOperationPutMetricFilterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_PutQueryDefinition.go b/service/cloudwatchlogs/api_op_PutQueryDefinition.go index 0527281020b..dba5c5bede0 100644 --- a/service/cloudwatchlogs/api_op_PutQueryDefinition.go +++ b/service/cloudwatchlogs/api_op_PutQueryDefinition.go @@ -108,7 +108,10 @@ func addOperationPutQueryDefinitionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_PutResourcePolicy.go b/service/cloudwatchlogs/api_op_PutResourcePolicy.go index 9c1cee96b99..fe9ee606b6d 100644 --- a/service/cloudwatchlogs/api_op_PutResourcePolicy.go +++ b/service/cloudwatchlogs/api_op_PutResourcePolicy.go @@ -85,7 +85,10 @@ func addOperationPutResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_PutRetentionPolicy.go b/service/cloudwatchlogs/api_op_PutRetentionPolicy.go index 9a35670cf88..8ca41924012 100644 --- a/service/cloudwatchlogs/api_op_PutRetentionPolicy.go +++ b/service/cloudwatchlogs/api_op_PutRetentionPolicy.go @@ -79,7 +79,10 @@ func addOperationPutRetentionPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go b/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go index c240b69f19c..177816567c9 100644 --- a/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go +++ b/service/cloudwatchlogs/api_op_PutSubscriptionFilter.go @@ -142,7 +142,10 @@ func addOperationPutSubscriptionFilterMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_StartQuery.go b/service/cloudwatchlogs/api_op_StartQuery.go index d90ddf4f4e7..d4a859d08c6 100644 --- a/service/cloudwatchlogs/api_op_StartQuery.go +++ b/service/cloudwatchlogs/api_op_StartQuery.go @@ -109,7 +109,10 @@ func addOperationStartQueryMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_StopQuery.go b/service/cloudwatchlogs/api_op_StopQuery.go index 08817c6449e..d392fe15e9b 100644 --- a/service/cloudwatchlogs/api_op_StopQuery.go +++ b/service/cloudwatchlogs/api_op_StopQuery.go @@ -75,7 +75,10 @@ func addOperationStopQueryMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_TagLogGroup.go b/service/cloudwatchlogs/api_op_TagLogGroup.go index 897c2c605fa..8789401a303 100644 --- a/service/cloudwatchlogs/api_op_TagLogGroup.go +++ b/service/cloudwatchlogs/api_op_TagLogGroup.go @@ -81,7 +81,10 @@ func addOperationTagLogGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_TestMetricFilter.go b/service/cloudwatchlogs/api_op_TestMetricFilter.go index 0e69fdbe258..796ae3c0e13 100644 --- a/service/cloudwatchlogs/api_op_TestMetricFilter.go +++ b/service/cloudwatchlogs/api_op_TestMetricFilter.go @@ -84,7 +84,10 @@ func addOperationTestMetricFilterMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cloudwatchlogs/api_op_UntagLogGroup.go b/service/cloudwatchlogs/api_op_UntagLogGroup.go index 93c20eda099..4d0cbfb7985 100644 --- a/service/cloudwatchlogs/api_op_UntagLogGroup.go +++ b/service/cloudwatchlogs/api_op_UntagLogGroup.go @@ -78,7 +78,10 @@ func addOperationUntagLogGroupMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_AssociateExternalConnection.go b/service/codeartifact/api_op_AssociateExternalConnection.go index 6a073410f2f..c67e2f703cd 100644 --- a/service/codeartifact/api_op_AssociateExternalConnection.go +++ b/service/codeartifact/api_op_AssociateExternalConnection.go @@ -110,7 +110,10 @@ func addOperationAssociateExternalConnectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_CopyPackageVersions.go b/service/codeartifact/api_op_CopyPackageVersions.go index bcbf15a1b05..56fa112f82c 100644 --- a/service/codeartifact/api_op_CopyPackageVersions.go +++ b/service/codeartifact/api_op_CopyPackageVersions.go @@ -167,7 +167,10 @@ func addOperationCopyPackageVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_CreateDomain.go b/service/codeartifact/api_op_CreateDomain.go index b0a48ed1868..32491f5c37d 100644 --- a/service/codeartifact/api_op_CreateDomain.go +++ b/service/codeartifact/api_op_CreateDomain.go @@ -103,7 +103,10 @@ func addOperationCreateDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_CreateRepository.go b/service/codeartifact/api_op_CreateRepository.go index 007bed94fe3..ed8f4dc3641 100644 --- a/service/codeartifact/api_op_CreateRepository.go +++ b/service/codeartifact/api_op_CreateRepository.go @@ -96,7 +96,10 @@ func addOperationCreateRepositoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DeleteDomain.go b/service/codeartifact/api_op_DeleteDomain.go index 6b96c1c3733..cff18219920 100644 --- a/service/codeartifact/api_op_DeleteDomain.go +++ b/service/codeartifact/api_op_DeleteDomain.go @@ -79,7 +79,10 @@ func addOperationDeleteDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go b/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go index b37046872c4..1953d261b72 100644 --- a/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_DeleteDomainPermissionsPolicy.go @@ -83,7 +83,10 @@ func addOperationDeleteDomainPermissionsPolicyMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DeletePackageVersions.go b/service/codeartifact/api_op_DeletePackageVersions.go index 9ea02ffed67..705c245fd81 100644 --- a/service/codeartifact/api_op_DeletePackageVersions.go +++ b/service/codeartifact/api_op_DeletePackageVersions.go @@ -161,7 +161,10 @@ func addOperationDeletePackageVersionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DeleteRepository.go b/service/codeartifact/api_op_DeleteRepository.go index 755ca4c35ce..69405b04aa3 100644 --- a/service/codeartifact/api_op_DeleteRepository.go +++ b/service/codeartifact/api_op_DeleteRepository.go @@ -83,7 +83,10 @@ func addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go index 147a75c78ee..da6237a627c 100644 --- a/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_DeleteRepositoryPermissionsPolicy.go @@ -95,7 +95,10 @@ func addOperationDeleteRepositoryPermissionsPolicyMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DescribeDomain.go b/service/codeartifact/api_op_DescribeDomain.go index 1ec1ecb7b79..501cc8ec918 100644 --- a/service/codeartifact/api_op_DescribeDomain.go +++ b/service/codeartifact/api_op_DescribeDomain.go @@ -81,7 +81,10 @@ func addOperationDescribeDomainMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DescribePackageVersion.go b/service/codeartifact/api_op_DescribePackageVersion.go index 85fee7bce42..ac8b448355b 100644 --- a/service/codeartifact/api_op_DescribePackageVersion.go +++ b/service/codeartifact/api_op_DescribePackageVersion.go @@ -130,7 +130,10 @@ func addOperationDescribePackageVersionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DescribeRepository.go b/service/codeartifact/api_op_DescribeRepository.go index 0b038d50c06..5baf911850d 100644 --- a/service/codeartifact/api_op_DescribeRepository.go +++ b/service/codeartifact/api_op_DescribeRepository.go @@ -85,7 +85,10 @@ func addOperationDescribeRepositoryMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DisassociateExternalConnection.go b/service/codeartifact/api_op_DisassociateExternalConnection.go index e0c4357eda1..fcdf82e6914 100644 --- a/service/codeartifact/api_op_DisassociateExternalConnection.go +++ b/service/codeartifact/api_op_DisassociateExternalConnection.go @@ -89,7 +89,10 @@ func addOperationDisassociateExternalConnectionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_DisposePackageVersions.go b/service/codeartifact/api_op_DisposePackageVersions.go index 7867ffa1702..9ed019fe8b4 100644 --- a/service/codeartifact/api_op_DisposePackageVersions.go +++ b/service/codeartifact/api_op_DisposePackageVersions.go @@ -168,7 +168,10 @@ func addOperationDisposePackageVersionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_GetAuthorizationToken.go b/service/codeartifact/api_op_GetAuthorizationToken.go index 72ff22112a5..9ca1d5a76dc 100644 --- a/service/codeartifact/api_op_GetAuthorizationToken.go +++ b/service/codeartifact/api_op_GetAuthorizationToken.go @@ -104,7 +104,10 @@ func addOperationGetAuthorizationTokenMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_GetDomainPermissionsPolicy.go b/service/codeartifact/api_op_GetDomainPermissionsPolicy.go index 6c089fa78bb..11c0d39159a 100644 --- a/service/codeartifact/api_op_GetDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_GetDomainPermissionsPolicy.go @@ -82,7 +82,10 @@ func addOperationGetDomainPermissionsPolicyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_GetPackageVersionAsset.go b/service/codeartifact/api_op_GetPackageVersionAsset.go index 0173b2e5cfa..7c2df424cdd 100644 --- a/service/codeartifact/api_op_GetPackageVersionAsset.go +++ b/service/codeartifact/api_op_GetPackageVersionAsset.go @@ -144,7 +144,10 @@ func addOperationGetPackageVersionAssetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_GetPackageVersionReadme.go b/service/codeartifact/api_op_GetPackageVersionReadme.go index 5064efef21d..8a2169aaecd 100644 --- a/service/codeartifact/api_op_GetPackageVersionReadme.go +++ b/service/codeartifact/api_op_GetPackageVersionReadme.go @@ -165,7 +165,10 @@ func addOperationGetPackageVersionReadmeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_GetRepositoryEndpoint.go b/service/codeartifact/api_op_GetRepositoryEndpoint.go index bc6083be31d..cc80de0ec95 100644 --- a/service/codeartifact/api_op_GetRepositoryEndpoint.go +++ b/service/codeartifact/api_op_GetRepositoryEndpoint.go @@ -106,7 +106,10 @@ func addOperationGetRepositoryEndpointMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go index 511f82404da..a6194ba1386 100644 --- a/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_GetRepositoryPermissionsPolicy.go @@ -84,7 +84,10 @@ func addOperationGetRepositoryPermissionsPolicyMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_ListDomains.go b/service/codeartifact/api_op_ListDomains.go index 39cc50b01db..9df8e89fe1d 100644 --- a/service/codeartifact/api_op_ListDomains.go +++ b/service/codeartifact/api_op_ListDomains.go @@ -86,7 +86,10 @@ func addOperationListDomainsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_ListPackageVersionAssets.go b/service/codeartifact/api_op_ListPackageVersionAssets.go index d91a35d7aff..15d76610ff9 100644 --- a/service/codeartifact/api_op_ListPackageVersionAssets.go +++ b/service/codeartifact/api_op_ListPackageVersionAssets.go @@ -171,7 +171,10 @@ func addOperationListPackageVersionAssetsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_ListPackageVersionDependencies.go b/service/codeartifact/api_op_ListPackageVersionDependencies.go index d811b3d62a2..520c0f02fe4 100644 --- a/service/codeartifact/api_op_ListPackageVersionDependencies.go +++ b/service/codeartifact/api_op_ListPackageVersionDependencies.go @@ -180,7 +180,10 @@ func addOperationListPackageVersionDependenciesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_ListPackageVersions.go b/service/codeartifact/api_op_ListPackageVersions.go index 17e1106bfd1..9c113176e4b 100644 --- a/service/codeartifact/api_op_ListPackageVersions.go +++ b/service/codeartifact/api_op_ListPackageVersions.go @@ -195,7 +195,10 @@ func addOperationListPackageVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_ListPackages.go b/service/codeartifact/api_op_ListPackages.go index 3e854bfa3ea..9f1c763070b 100644 --- a/service/codeartifact/api_op_ListPackages.go +++ b/service/codeartifact/api_op_ListPackages.go @@ -133,7 +133,10 @@ func addOperationListPackagesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_ListRepositories.go b/service/codeartifact/api_op_ListRepositories.go index b774b90cf53..02a6c39e53b 100644 --- a/service/codeartifact/api_op_ListRepositories.go +++ b/service/codeartifact/api_op_ListRepositories.go @@ -89,7 +89,10 @@ func addOperationListRepositoriesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_ListRepositoriesInDomain.go b/service/codeartifact/api_op_ListRepositoriesInDomain.go index c746d979359..d65b3f6750c 100644 --- a/service/codeartifact/api_op_ListRepositoriesInDomain.go +++ b/service/codeartifact/api_op_ListRepositoriesInDomain.go @@ -100,7 +100,10 @@ func addOperationListRepositoriesInDomainMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_ListTagsForResource.go b/service/codeartifact/api_op_ListTagsForResource.go index 54c756833d6..70868d44e0e 100644 --- a/service/codeartifact/api_op_ListTagsForResource.go +++ b/service/codeartifact/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_PutDomainPermissionsPolicy.go b/service/codeartifact/api_op_PutDomainPermissionsPolicy.go index dedd1e6680b..1ef64d27c8d 100644 --- a/service/codeartifact/api_op_PutDomainPermissionsPolicy.go +++ b/service/codeartifact/api_op_PutDomainPermissionsPolicy.go @@ -93,7 +93,10 @@ func addOperationPutDomainPermissionsPolicyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go b/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go index fb00e01eb53..1623323bde0 100644 --- a/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go +++ b/service/codeartifact/api_op_PutRepositoryPermissionsPolicy.go @@ -98,7 +98,10 @@ func addOperationPutRepositoryPermissionsPolicyMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_TagResource.go b/service/codeartifact/api_op_TagResource.go index 6b95fec478f..4174ec045c2 100644 --- a/service/codeartifact/api_op_TagResource.go +++ b/service/codeartifact/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_UntagResource.go b/service/codeartifact/api_op_UntagResource.go index de11940a980..eb6a213673d 100644 --- a/service/codeartifact/api_op_UntagResource.go +++ b/service/codeartifact/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_UpdatePackageVersionsStatus.go b/service/codeartifact/api_op_UpdatePackageVersionsStatus.go index 596f30c528f..70793199131 100644 --- a/service/codeartifact/api_op_UpdatePackageVersionsStatus.go +++ b/service/codeartifact/api_op_UpdatePackageVersionsStatus.go @@ -146,7 +146,10 @@ func addOperationUpdatePackageVersionsStatusMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeartifact/api_op_UpdateRepository.go b/service/codeartifact/api_op_UpdateRepository.go index 74bd86076c2..e930eb66be5 100644 --- a/service/codeartifact/api_op_UpdateRepository.go +++ b/service/codeartifact/api_op_UpdateRepository.go @@ -93,7 +93,10 @@ func addOperationUpdateRepositoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_BatchDeleteBuilds.go b/service/codebuild/api_op_BatchDeleteBuilds.go index 08828a042d6..a38a6762835 100644 --- a/service/codebuild/api_op_BatchDeleteBuilds.go +++ b/service/codebuild/api_op_BatchDeleteBuilds.go @@ -77,7 +77,10 @@ func addOperationBatchDeleteBuildsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_BatchGetBuildBatches.go b/service/codebuild/api_op_BatchGetBuildBatches.go index 8a207697aa6..b3b07180a47 100644 --- a/service/codebuild/api_op_BatchGetBuildBatches.go +++ b/service/codebuild/api_op_BatchGetBuildBatches.go @@ -77,7 +77,10 @@ func addOperationBatchGetBuildBatchesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_BatchGetBuilds.go b/service/codebuild/api_op_BatchGetBuilds.go index 364aaceafe8..e64180a4a09 100644 --- a/service/codebuild/api_op_BatchGetBuilds.go +++ b/service/codebuild/api_op_BatchGetBuilds.go @@ -77,7 +77,10 @@ func addOperationBatchGetBuildsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_BatchGetProjects.go b/service/codebuild/api_op_BatchGetProjects.go index 7c3c4fc59e2..17ced4a69ff 100644 --- a/service/codebuild/api_op_BatchGetProjects.go +++ b/service/codebuild/api_op_BatchGetProjects.go @@ -79,7 +79,10 @@ func addOperationBatchGetProjectsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_BatchGetReportGroups.go b/service/codebuild/api_op_BatchGetReportGroups.go index 1ffa0132315..03d21df95fd 100644 --- a/service/codebuild/api_op_BatchGetReportGroups.go +++ b/service/codebuild/api_op_BatchGetReportGroups.go @@ -78,7 +78,10 @@ func addOperationBatchGetReportGroupsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_BatchGetReports.go b/service/codebuild/api_op_BatchGetReports.go index 37782777625..c8000134c2e 100644 --- a/service/codebuild/api_op_BatchGetReports.go +++ b/service/codebuild/api_op_BatchGetReports.go @@ -78,7 +78,10 @@ func addOperationBatchGetReportsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_CreateProject.go b/service/codebuild/api_op_CreateProject.go index 29e7f2aa5c0..5546b22157b 100644 --- a/service/codebuild/api_op_CreateProject.go +++ b/service/codebuild/api_op_CreateProject.go @@ -183,7 +183,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_CreateReportGroup.go b/service/codebuild/api_op_CreateReportGroup.go index 8b89aab542a..16bb4fe5b8c 100644 --- a/service/codebuild/api_op_CreateReportGroup.go +++ b/service/codebuild/api_op_CreateReportGroup.go @@ -90,7 +90,10 @@ func addOperationCreateReportGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_CreateWebhook.go b/service/codebuild/api_op_CreateWebhook.go index b621349d82a..8a4aff175bd 100644 --- a/service/codebuild/api_op_CreateWebhook.go +++ b/service/codebuild/api_op_CreateWebhook.go @@ -100,7 +100,10 @@ func addOperationCreateWebhookMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_DeleteBuildBatch.go b/service/codebuild/api_op_DeleteBuildBatch.go index 7cd820e9119..2cda28b7cd5 100644 --- a/service/codebuild/api_op_DeleteBuildBatch.go +++ b/service/codebuild/api_op_DeleteBuildBatch.go @@ -82,7 +82,10 @@ func addOperationDeleteBuildBatchMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_DeleteProject.go b/service/codebuild/api_op_DeleteProject.go index 684d7b9b546..9be2dc34472 100644 --- a/service/codebuild/api_op_DeleteProject.go +++ b/service/codebuild/api_op_DeleteProject.go @@ -69,7 +69,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_DeleteReport.go b/service/codebuild/api_op_DeleteReport.go index c10519f2c26..c3a99e1c985 100644 --- a/service/codebuild/api_op_DeleteReport.go +++ b/service/codebuild/api_op_DeleteReport.go @@ -69,7 +69,10 @@ func addOperationDeleteReportMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_DeleteReportGroup.go b/service/codebuild/api_op_DeleteReportGroup.go index 69cd5707692..5009ef68889 100644 --- a/service/codebuild/api_op_DeleteReportGroup.go +++ b/service/codebuild/api_op_DeleteReportGroup.go @@ -80,7 +80,10 @@ func addOperationDeleteReportGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_DeleteResourcePolicy.go b/service/codebuild/api_op_DeleteResourcePolicy.go index 3e6c90e19e5..d8f16544494 100644 --- a/service/codebuild/api_op_DeleteResourcePolicy.go +++ b/service/codebuild/api_op_DeleteResourcePolicy.go @@ -69,7 +69,10 @@ func addOperationDeleteResourcePolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_DeleteSourceCredentials.go b/service/codebuild/api_op_DeleteSourceCredentials.go index f13069585f7..9d91dc11cb9 100644 --- a/service/codebuild/api_op_DeleteSourceCredentials.go +++ b/service/codebuild/api_op_DeleteSourceCredentials.go @@ -73,7 +73,10 @@ func addOperationDeleteSourceCredentialsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_DeleteWebhook.go b/service/codebuild/api_op_DeleteWebhook.go index 6029dc25baf..74f49b6deaf 100644 --- a/service/codebuild/api_op_DeleteWebhook.go +++ b/service/codebuild/api_op_DeleteWebhook.go @@ -71,7 +71,10 @@ func addOperationDeleteWebhookMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_DescribeCodeCoverages.go b/service/codebuild/api_op_DescribeCodeCoverages.go index b60fdf79fba..6936cd22614 100644 --- a/service/codebuild/api_op_DescribeCodeCoverages.go +++ b/service/codebuild/api_op_DescribeCodeCoverages.go @@ -101,7 +101,10 @@ func addOperationDescribeCodeCoveragesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_DescribeTestCases.go b/service/codebuild/api_op_DescribeTestCases.go index 5b5427ae503..a31f2d6b46f 100644 --- a/service/codebuild/api_op_DescribeTestCases.go +++ b/service/codebuild/api_op_DescribeTestCases.go @@ -99,7 +99,10 @@ func addOperationDescribeTestCasesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_GetReportGroupTrend.go b/service/codebuild/api_op_GetReportGroupTrend.go index 08ef8b8035a..e9e3ba44fdd 100644 --- a/service/codebuild/api_op_GetReportGroupTrend.go +++ b/service/codebuild/api_op_GetReportGroupTrend.go @@ -76,7 +76,10 @@ func addOperationGetReportGroupTrendMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_GetResourcePolicy.go b/service/codebuild/api_op_GetResourcePolicy.go index 7b0d90405d2..758e47c644e 100644 --- a/service/codebuild/api_op_GetResourcePolicy.go +++ b/service/codebuild/api_op_GetResourcePolicy.go @@ -73,7 +73,10 @@ func addOperationGetResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ImportSourceCredentials.go b/service/codebuild/api_op_ImportSourceCredentials.go index f0d7f314b79..4d6b6a6a315 100644 --- a/service/codebuild/api_op_ImportSourceCredentials.go +++ b/service/codebuild/api_op_ImportSourceCredentials.go @@ -96,7 +96,10 @@ func addOperationImportSourceCredentialsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_InvalidateProjectCache.go b/service/codebuild/api_op_InvalidateProjectCache.go index cf201db956c..240abcba277 100644 --- a/service/codebuild/api_op_InvalidateProjectCache.go +++ b/service/codebuild/api_op_InvalidateProjectCache.go @@ -69,7 +69,10 @@ func addOperationInvalidateProjectCacheMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListBuildBatches.go b/service/codebuild/api_op_ListBuildBatches.go index cea3d7cab41..4b54ec7bb73 100644 --- a/service/codebuild/api_op_ListBuildBatches.go +++ b/service/codebuild/api_op_ListBuildBatches.go @@ -94,7 +94,10 @@ func addOperationListBuildBatchesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListBuildBatchesForProject.go b/service/codebuild/api_op_ListBuildBatchesForProject.go index 4b858a0e466..7b940e3a936 100644 --- a/service/codebuild/api_op_ListBuildBatchesForProject.go +++ b/service/codebuild/api_op_ListBuildBatchesForProject.go @@ -97,7 +97,10 @@ func addOperationListBuildBatchesForProjectMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListBuilds.go b/service/codebuild/api_op_ListBuilds.go index b1d6a707d02..71c8d6e99a5 100644 --- a/service/codebuild/api_op_ListBuilds.go +++ b/service/codebuild/api_op_ListBuilds.go @@ -93,7 +93,10 @@ func addOperationListBuildsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListBuildsForProject.go b/service/codebuild/api_op_ListBuildsForProject.go index fa9f6326704..1c74f23ca17 100644 --- a/service/codebuild/api_op_ListBuildsForProject.go +++ b/service/codebuild/api_op_ListBuildsForProject.go @@ -100,7 +100,10 @@ func addOperationListBuildsForProjectMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListCuratedEnvironmentImages.go b/service/codebuild/api_op_ListCuratedEnvironmentImages.go index f26a338493d..f2018cd7e21 100644 --- a/service/codebuild/api_op_ListCuratedEnvironmentImages.go +++ b/service/codebuild/api_op_ListCuratedEnvironmentImages.go @@ -70,7 +70,10 @@ func addOperationListCuratedEnvironmentImagesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListProjects.go b/service/codebuild/api_op_ListProjects.go index b803e3165a4..58d16a86b83 100644 --- a/service/codebuild/api_op_ListProjects.go +++ b/service/codebuild/api_op_ListProjects.go @@ -113,7 +113,10 @@ func addOperationListProjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListReportGroups.go b/service/codebuild/api_op_ListReportGroups.go index 4429aaa8a5b..a0b28551b3b 100644 --- a/service/codebuild/api_op_ListReportGroups.go +++ b/service/codebuild/api_op_ListReportGroups.go @@ -107,7 +107,10 @@ func addOperationListReportGroupsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListReports.go b/service/codebuild/api_op_ListReports.go index bb4c3ea7e07..f33ef0698ab 100644 --- a/service/codebuild/api_op_ListReports.go +++ b/service/codebuild/api_op_ListReports.go @@ -103,7 +103,10 @@ func addOperationListReportsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListReportsForReportGroup.go b/service/codebuild/api_op_ListReportsForReportGroup.go index f3b61351d33..8b401ac1eff 100644 --- a/service/codebuild/api_op_ListReportsForReportGroup.go +++ b/service/codebuild/api_op_ListReportsForReportGroup.go @@ -103,7 +103,10 @@ func addOperationListReportsForReportGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListSharedProjects.go b/service/codebuild/api_op_ListSharedProjects.go index 7f14594e265..a01ed233fe2 100644 --- a/service/codebuild/api_op_ListSharedProjects.go +++ b/service/codebuild/api_op_ListSharedProjects.go @@ -110,7 +110,10 @@ func addOperationListSharedProjectsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListSharedReportGroups.go b/service/codebuild/api_op_ListSharedReportGroups.go index 5fb12005b80..1638ff6b971 100644 --- a/service/codebuild/api_op_ListSharedReportGroups.go +++ b/service/codebuild/api_op_ListSharedReportGroups.go @@ -110,7 +110,10 @@ func addOperationListSharedReportGroupsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_ListSourceCredentials.go b/service/codebuild/api_op_ListSourceCredentials.go index b721f762592..1d55f5f686d 100644 --- a/service/codebuild/api_op_ListSourceCredentials.go +++ b/service/codebuild/api_op_ListSourceCredentials.go @@ -71,7 +71,10 @@ func addOperationListSourceCredentialsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_PutResourcePolicy.go b/service/codebuild/api_op_PutResourcePolicy.go index c78fad66c83..70f607cb18d 100644 --- a/service/codebuild/api_op_PutResourcePolicy.go +++ b/service/codebuild/api_op_PutResourcePolicy.go @@ -84,7 +84,10 @@ func addOperationPutResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_RetryBuild.go b/service/codebuild/api_op_RetryBuild.go index 1cd9dab4dec..4b39aaa371a 100644 --- a/service/codebuild/api_op_RetryBuild.go +++ b/service/codebuild/api_op_RetryBuild.go @@ -78,7 +78,10 @@ func addOperationRetryBuildMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_RetryBuildBatch.go b/service/codebuild/api_op_RetryBuildBatch.go index 469af9412af..13b670141eb 100644 --- a/service/codebuild/api_op_RetryBuildBatch.go +++ b/service/codebuild/api_op_RetryBuildBatch.go @@ -83,7 +83,10 @@ func addOperationRetryBuildBatchMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_StartBuild.go b/service/codebuild/api_op_StartBuild.go index 77e41f45d54..59790633c28 100644 --- a/service/codebuild/api_op_StartBuild.go +++ b/service/codebuild/api_op_StartBuild.go @@ -231,7 +231,10 @@ func addOperationStartBuildMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_StartBuildBatch.go b/service/codebuild/api_op_StartBuildBatch.go index e2f8cd68578..967e47ce8f6 100644 --- a/service/codebuild/api_op_StartBuildBatch.go +++ b/service/codebuild/api_op_StartBuildBatch.go @@ -228,7 +228,10 @@ func addOperationStartBuildBatchMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_StopBuild.go b/service/codebuild/api_op_StopBuild.go index a037ac9794e..1e4f7fb0a8d 100644 --- a/service/codebuild/api_op_StopBuild.go +++ b/service/codebuild/api_op_StopBuild.go @@ -74,7 +74,10 @@ func addOperationStopBuildMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_StopBuildBatch.go b/service/codebuild/api_op_StopBuildBatch.go index 385c41bcb46..b490a6285b1 100644 --- a/service/codebuild/api_op_StopBuildBatch.go +++ b/service/codebuild/api_op_StopBuildBatch.go @@ -74,7 +74,10 @@ func addOperationStopBuildBatchMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_UpdateProject.go b/service/codebuild/api_op_UpdateProject.go index 7fc00ef3ff6..ef4a2cee7ee 100644 --- a/service/codebuild/api_op_UpdateProject.go +++ b/service/codebuild/api_op_UpdateProject.go @@ -176,7 +176,10 @@ func addOperationUpdateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_UpdateReportGroup.go b/service/codebuild/api_op_UpdateReportGroup.go index a7ec4fbca3b..ca04f1befb7 100644 --- a/service/codebuild/api_op_UpdateReportGroup.go +++ b/service/codebuild/api_op_UpdateReportGroup.go @@ -88,7 +88,10 @@ func addOperationUpdateReportGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codebuild/api_op_UpdateWebhook.go b/service/codebuild/api_op_UpdateWebhook.go index d17d5bffaad..85c4f264df0 100644 --- a/service/codebuild/api_op_UpdateWebhook.go +++ b/service/codebuild/api_op_UpdateWebhook.go @@ -95,7 +95,10 @@ func addOperationUpdateWebhookMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go b/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go index f07a8b40757..781b457f54c 100644 --- a/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go +++ b/service/codecommit/api_op_AssociateApprovalRuleTemplateWithRepository.go @@ -80,7 +80,10 @@ func addOperationAssociateApprovalRuleTemplateWithRepositoryMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go b/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go index 11eb190e6b3..deb090739ee 100644 --- a/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go +++ b/service/codecommit/api_op_BatchAssociateApprovalRuleTemplateWithRepositories.go @@ -90,7 +90,10 @@ func addOperationBatchAssociateApprovalRuleTemplateWithRepositoriesMiddlewares(s if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_BatchDescribeMergeConflicts.go b/service/codecommit/api_op_BatchDescribeMergeConflicts.go index 54e91de4260..c8a6a488051 100644 --- a/service/codecommit/api_op_BatchDescribeMergeConflicts.go +++ b/service/codecommit/api_op_BatchDescribeMergeConflicts.go @@ -144,7 +144,10 @@ func addOperationBatchDescribeMergeConflictsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go b/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go index 23b3afb4847..66ef91b2e8f 100644 --- a/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go +++ b/service/codecommit/api_op_BatchDisassociateApprovalRuleTemplateFromRepositories.go @@ -92,7 +92,10 @@ func addOperationBatchDisassociateApprovalRuleTemplateFromRepositoriesMiddleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_BatchGetCommits.go b/service/codecommit/api_op_BatchGetCommits.go index 03389e18718..86478c2fb4b 100644 --- a/service/codecommit/api_op_BatchGetCommits.go +++ b/service/codecommit/api_op_BatchGetCommits.go @@ -86,7 +86,10 @@ func addOperationBatchGetCommitsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_BatchGetRepositories.go b/service/codecommit/api_op_BatchGetRepositories.go index d7eb2f32692..998e879dbc3 100644 --- a/service/codecommit/api_op_BatchGetRepositories.go +++ b/service/codecommit/api_op_BatchGetRepositories.go @@ -85,7 +85,10 @@ func addOperationBatchGetRepositoriesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_CreateApprovalRuleTemplate.go b/service/codecommit/api_op_CreateApprovalRuleTemplate.go index d43d74594f0..dcb6786c647 100644 --- a/service/codecommit/api_op_CreateApprovalRuleTemplate.go +++ b/service/codecommit/api_op_CreateApprovalRuleTemplate.go @@ -125,7 +125,10 @@ func addOperationCreateApprovalRuleTemplateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_CreateBranch.go b/service/codecommit/api_op_CreateBranch.go index c6aef7836bf..160c3b4e167 100644 --- a/service/codecommit/api_op_CreateBranch.go +++ b/service/codecommit/api_op_CreateBranch.go @@ -82,7 +82,10 @@ func addOperationCreateBranchMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_CreateCommit.go b/service/codecommit/api_op_CreateCommit.go index ff26e2bf1f7..67cbd95eca0 100644 --- a/service/codecommit/api_op_CreateCommit.go +++ b/service/codecommit/api_op_CreateCommit.go @@ -121,7 +121,10 @@ func addOperationCreateCommitMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_CreatePullRequest.go b/service/codecommit/api_op_CreatePullRequest.go index fee8beba31b..8cadada3f7d 100644 --- a/service/codecommit/api_op_CreatePullRequest.go +++ b/service/codecommit/api_op_CreatePullRequest.go @@ -97,7 +97,10 @@ func addOperationCreatePullRequestMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_CreatePullRequestApprovalRule.go b/service/codecommit/api_op_CreatePullRequestApprovalRule.go index 96bf82b68bd..aa748515088 100644 --- a/service/codecommit/api_op_CreatePullRequestApprovalRule.go +++ b/service/codecommit/api_op_CreatePullRequestApprovalRule.go @@ -120,7 +120,10 @@ func addOperationCreatePullRequestApprovalRuleMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_CreateRepository.go b/service/codecommit/api_op_CreateRepository.go index a2092ee6405..41273facc14 100644 --- a/service/codecommit/api_op_CreateRepository.go +++ b/service/codecommit/api_op_CreateRepository.go @@ -92,7 +92,10 @@ func addOperationCreateRepositoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_CreateUnreferencedMergeCommit.go b/service/codecommit/api_op_CreateUnreferencedMergeCommit.go index cd18688246c..b6d45eb710a 100644 --- a/service/codecommit/api_op_CreateUnreferencedMergeCommit.go +++ b/service/codecommit/api_op_CreateUnreferencedMergeCommit.go @@ -133,7 +133,10 @@ func addOperationCreateUnreferencedMergeCommitMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_DeleteApprovalRuleTemplate.go b/service/codecommit/api_op_DeleteApprovalRuleTemplate.go index 411ca96dd16..50981e7c9af 100644 --- a/service/codecommit/api_op_DeleteApprovalRuleTemplate.go +++ b/service/codecommit/api_op_DeleteApprovalRuleTemplate.go @@ -77,7 +77,10 @@ func addOperationDeleteApprovalRuleTemplateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_DeleteBranch.go b/service/codecommit/api_op_DeleteBranch.go index 747a49f1442..fff25b806f3 100644 --- a/service/codecommit/api_op_DeleteBranch.go +++ b/service/codecommit/api_op_DeleteBranch.go @@ -83,7 +83,10 @@ func addOperationDeleteBranchMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_DeleteCommentContent.go b/service/codecommit/api_op_DeleteCommentContent.go index f82638ff170..e15bb79d7bd 100644 --- a/service/codecommit/api_op_DeleteCommentContent.go +++ b/service/codecommit/api_op_DeleteCommentContent.go @@ -76,7 +76,10 @@ func addOperationDeleteCommentContentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_DeleteFile.go b/service/codecommit/api_op_DeleteFile.go index dd0cdfd6c8a..c193b334002 100644 --- a/service/codecommit/api_op_DeleteFile.go +++ b/service/codecommit/api_op_DeleteFile.go @@ -134,7 +134,10 @@ func addOperationDeleteFileMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_DeletePullRequestApprovalRule.go b/service/codecommit/api_op_DeletePullRequestApprovalRule.go index fd50f86cdd1..723e5f12511 100644 --- a/service/codecommit/api_op_DeletePullRequestApprovalRule.go +++ b/service/codecommit/api_op_DeletePullRequestApprovalRule.go @@ -87,7 +87,10 @@ func addOperationDeletePullRequestApprovalRuleMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_DeleteRepository.go b/service/codecommit/api_op_DeleteRepository.go index d5ca2a31cbc..1c8c92631b3 100644 --- a/service/codecommit/api_op_DeleteRepository.go +++ b/service/codecommit/api_op_DeleteRepository.go @@ -78,7 +78,10 @@ func addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_DescribeMergeConflicts.go b/service/codecommit/api_op_DescribeMergeConflicts.go index f6ef91ee577..5499a23e3e3 100644 --- a/service/codecommit/api_op_DescribeMergeConflicts.go +++ b/service/codecommit/api_op_DescribeMergeConflicts.go @@ -146,7 +146,10 @@ func addOperationDescribeMergeConflictsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_DescribePullRequestEvents.go b/service/codecommit/api_op_DescribePullRequestEvents.go index 92a1e092aa3..0c893d9f1dd 100644 --- a/service/codecommit/api_op_DescribePullRequestEvents.go +++ b/service/codecommit/api_op_DescribePullRequestEvents.go @@ -100,7 +100,10 @@ func addOperationDescribePullRequestEventsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go b/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go index d5ccf6abe5c..2a151759e83 100644 --- a/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go +++ b/service/codecommit/api_op_DisassociateApprovalRuleTemplateFromRepository.go @@ -78,7 +78,10 @@ func addOperationDisassociateApprovalRuleTemplateFromRepositoryMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go b/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go index df8fb9a6dec..4a732e494fb 100644 --- a/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go +++ b/service/codecommit/api_op_EvaluatePullRequestApprovalRules.go @@ -86,7 +86,10 @@ func addOperationEvaluatePullRequestApprovalRulesMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetApprovalRuleTemplate.go b/service/codecommit/api_op_GetApprovalRuleTemplate.go index 09081dde3b9..d30cadeb2f5 100644 --- a/service/codecommit/api_op_GetApprovalRuleTemplate.go +++ b/service/codecommit/api_op_GetApprovalRuleTemplate.go @@ -76,7 +76,10 @@ func addOperationGetApprovalRuleTemplateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetBlob.go b/service/codecommit/api_op_GetBlob.go index 031bad950fc..33790cf6849 100644 --- a/service/codecommit/api_op_GetBlob.go +++ b/service/codecommit/api_op_GetBlob.go @@ -82,7 +82,10 @@ func addOperationGetBlobMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetBranch.go b/service/codecommit/api_op_GetBranch.go index 2cb0c155d63..e8acc6fc772 100644 --- a/service/codecommit/api_op_GetBranch.go +++ b/service/codecommit/api_op_GetBranch.go @@ -79,7 +79,10 @@ func addOperationGetBranchMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetComment.go b/service/codecommit/api_op_GetComment.go index 02c43c07c50..c0969c2a08e 100644 --- a/service/codecommit/api_op_GetComment.go +++ b/service/codecommit/api_op_GetComment.go @@ -78,7 +78,10 @@ func addOperationGetCommentMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetCommentReactions.go b/service/codecommit/api_op_GetCommentReactions.go index b67fb256086..f97cdf2356a 100644 --- a/service/codecommit/api_op_GetCommentReactions.go +++ b/service/codecommit/api_op_GetCommentReactions.go @@ -94,7 +94,10 @@ func addOperationGetCommentReactionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetCommentsForComparedCommit.go b/service/codecommit/api_op_GetCommentsForComparedCommit.go index 63ed1b875dd..3485e928fe0 100644 --- a/service/codecommit/api_op_GetCommentsForComparedCommit.go +++ b/service/codecommit/api_op_GetCommentsForComparedCommit.go @@ -100,7 +100,10 @@ func addOperationGetCommentsForComparedCommitMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetCommentsForPullRequest.go b/service/codecommit/api_op_GetCommentsForPullRequest.go index 91b8c01fa9d..1afe0dd1492 100644 --- a/service/codecommit/api_op_GetCommentsForPullRequest.go +++ b/service/codecommit/api_op_GetCommentsForPullRequest.go @@ -102,7 +102,10 @@ func addOperationGetCommentsForPullRequestMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetCommit.go b/service/codecommit/api_op_GetCommit.go index 6c59d973442..365eb97d3d7 100644 --- a/service/codecommit/api_op_GetCommit.go +++ b/service/codecommit/api_op_GetCommit.go @@ -84,7 +84,10 @@ func addOperationGetCommitMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetDifferences.go b/service/codecommit/api_op_GetDifferences.go index 7cca506325f..56ecf31e59c 100644 --- a/service/codecommit/api_op_GetDifferences.go +++ b/service/codecommit/api_op_GetDifferences.go @@ -112,7 +112,10 @@ func addOperationGetDifferencesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetFile.go b/service/codecommit/api_op_GetFile.go index cb4d0adb71f..023ca96f667 100644 --- a/service/codecommit/api_op_GetFile.go +++ b/service/codecommit/api_op_GetFile.go @@ -118,7 +118,10 @@ func addOperationGetFileMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetFolder.go b/service/codecommit/api_op_GetFolder.go index a9e5c96bb6d..1cce56b8b2d 100644 --- a/service/codecommit/api_op_GetFolder.go +++ b/service/codecommit/api_op_GetFolder.go @@ -112,7 +112,10 @@ func addOperationGetFolderMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetMergeCommit.go b/service/codecommit/api_op_GetMergeCommit.go index 7c2adc2ae04..5918cc31b7a 100644 --- a/service/codecommit/api_op_GetMergeCommit.go +++ b/service/codecommit/api_op_GetMergeCommit.go @@ -112,7 +112,10 @@ func addOperationGetMergeCommitMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetMergeConflicts.go b/service/codecommit/api_op_GetMergeConflicts.go index 337d44d360e..fd878ca5d25 100644 --- a/service/codecommit/api_op_GetMergeConflicts.go +++ b/service/codecommit/api_op_GetMergeConflicts.go @@ -140,7 +140,10 @@ func addOperationGetMergeConflictsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetMergeOptions.go b/service/codecommit/api_op_GetMergeOptions.go index cc7177ac3b1..6593abd8809 100644 --- a/service/codecommit/api_op_GetMergeOptions.go +++ b/service/codecommit/api_op_GetMergeOptions.go @@ -120,7 +120,10 @@ func addOperationGetMergeOptionsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetPullRequest.go b/service/codecommit/api_op_GetPullRequest.go index cb6efab486c..f51d014da4d 100644 --- a/service/codecommit/api_op_GetPullRequest.go +++ b/service/codecommit/api_op_GetPullRequest.go @@ -77,7 +77,10 @@ func addOperationGetPullRequestMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetPullRequestApprovalStates.go b/service/codecommit/api_op_GetPullRequestApprovalStates.go index 7eaa7672433..c9989d3001a 100644 --- a/service/codecommit/api_op_GetPullRequestApprovalStates.go +++ b/service/codecommit/api_op_GetPullRequestApprovalStates.go @@ -81,7 +81,10 @@ func addOperationGetPullRequestApprovalStatesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetPullRequestOverrideState.go b/service/codecommit/api_op_GetPullRequestOverrideState.go index 12ac3bed47b..55cc0ce7acb 100644 --- a/service/codecommit/api_op_GetPullRequestOverrideState.go +++ b/service/codecommit/api_op_GetPullRequestOverrideState.go @@ -88,7 +88,10 @@ func addOperationGetPullRequestOverrideStateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetRepository.go b/service/codecommit/api_op_GetRepository.go index 011f5b5ec13..8b17aee997f 100644 --- a/service/codecommit/api_op_GetRepository.go +++ b/service/codecommit/api_op_GetRepository.go @@ -81,7 +81,10 @@ func addOperationGetRepositoryMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_GetRepositoryTriggers.go b/service/codecommit/api_op_GetRepositoryTriggers.go index 74d7f22f38c..b8e0fa4f734 100644 --- a/service/codecommit/api_op_GetRepositoryTriggers.go +++ b/service/codecommit/api_op_GetRepositoryTriggers.go @@ -79,7 +79,10 @@ func addOperationGetRepositoryTriggersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_ListApprovalRuleTemplates.go b/service/codecommit/api_op_ListApprovalRuleTemplates.go index cb58c4bb369..6043f43037a 100644 --- a/service/codecommit/api_op_ListApprovalRuleTemplates.go +++ b/service/codecommit/api_op_ListApprovalRuleTemplates.go @@ -83,7 +83,10 @@ func addOperationListApprovalRuleTemplatesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go b/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go index cfce51a8156..eb0c789540f 100644 --- a/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go +++ b/service/codecommit/api_op_ListAssociatedApprovalRuleTemplatesForRepository.go @@ -87,7 +87,10 @@ func addOperationListAssociatedApprovalRuleTemplatesForRepositoryMiddlewares(sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_ListBranches.go b/service/codecommit/api_op_ListBranches.go index 1aef223ee5a..f1ba6b718be 100644 --- a/service/codecommit/api_op_ListBranches.go +++ b/service/codecommit/api_op_ListBranches.go @@ -82,7 +82,10 @@ func addOperationListBranchesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_ListPullRequests.go b/service/codecommit/api_op_ListPullRequests.go index eb31ce94d9c..408db88e83f 100644 --- a/service/codecommit/api_op_ListPullRequests.go +++ b/service/codecommit/api_op_ListPullRequests.go @@ -98,7 +98,10 @@ func addOperationListPullRequestsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_ListRepositories.go b/service/codecommit/api_op_ListRepositories.go index 594ab594b4a..3dfe7663d2b 100644 --- a/service/codecommit/api_op_ListRepositories.go +++ b/service/codecommit/api_op_ListRepositories.go @@ -90,7 +90,10 @@ func addOperationListRepositoriesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go b/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go index ce0d958845a..e6735ed5ec5 100644 --- a/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go +++ b/service/codecommit/api_op_ListRepositoriesForApprovalRuleTemplate.go @@ -87,7 +87,10 @@ func addOperationListRepositoriesForApprovalRuleTemplateMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_ListTagsForResource.go b/service/codecommit/api_op_ListTagsForResource.go index 6b0aa199fdb..f12fffc5e42 100644 --- a/service/codecommit/api_op_ListTagsForResource.go +++ b/service/codecommit/api_op_ListTagsForResource.go @@ -86,7 +86,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_MergeBranchesByFastForward.go b/service/codecommit/api_op_MergeBranchesByFastForward.go index 1029413a7c1..174610e9a37 100644 --- a/service/codecommit/api_op_MergeBranchesByFastForward.go +++ b/service/codecommit/api_op_MergeBranchesByFastForward.go @@ -91,7 +91,10 @@ func addOperationMergeBranchesByFastForwardMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_MergeBranchesBySquash.go b/service/codecommit/api_op_MergeBranchesBySquash.go index b3b009438e1..0fcaca276d6 100644 --- a/service/codecommit/api_op_MergeBranchesBySquash.go +++ b/service/codecommit/api_op_MergeBranchesBySquash.go @@ -124,7 +124,10 @@ func addOperationMergeBranchesBySquashMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_MergeBranchesByThreeWay.go b/service/codecommit/api_op_MergeBranchesByThreeWay.go index 5c1be1f8831..c1c3c477d4c 100644 --- a/service/codecommit/api_op_MergeBranchesByThreeWay.go +++ b/service/codecommit/api_op_MergeBranchesByThreeWay.go @@ -124,7 +124,10 @@ func addOperationMergeBranchesByThreeWayMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_MergePullRequestByFastForward.go b/service/codecommit/api_op_MergePullRequestByFastForward.go index 8495830b108..72c0b371243 100644 --- a/service/codecommit/api_op_MergePullRequestByFastForward.go +++ b/service/codecommit/api_op_MergePullRequestByFastForward.go @@ -88,7 +88,10 @@ func addOperationMergePullRequestByFastForwardMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_MergePullRequestBySquash.go b/service/codecommit/api_op_MergePullRequestBySquash.go index 21d54c706f8..b8d18129cdb 100644 --- a/service/codecommit/api_op_MergePullRequestBySquash.go +++ b/service/codecommit/api_op_MergePullRequestBySquash.go @@ -119,7 +119,10 @@ func addOperationMergePullRequestBySquashMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_MergePullRequestByThreeWay.go b/service/codecommit/api_op_MergePullRequestByThreeWay.go index 132bc54e853..2699d465d94 100644 --- a/service/codecommit/api_op_MergePullRequestByThreeWay.go +++ b/service/codecommit/api_op_MergePullRequestByThreeWay.go @@ -120,7 +120,10 @@ func addOperationMergePullRequestByThreeWayMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_OverridePullRequestApprovalRules.go b/service/codecommit/api_op_OverridePullRequestApprovalRules.go index e68931f2fa7..583bb48155c 100644 --- a/service/codecommit/api_op_OverridePullRequestApprovalRules.go +++ b/service/codecommit/api_op_OverridePullRequestApprovalRules.go @@ -86,7 +86,10 @@ func addOperationOverridePullRequestApprovalRulesMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_PostCommentForComparedCommit.go b/service/codecommit/api_op_PostCommentForComparedCommit.go index 0c1126c5969..c2031bf658b 100644 --- a/service/codecommit/api_op_PostCommentForComparedCommit.go +++ b/service/codecommit/api_op_PostCommentForComparedCommit.go @@ -120,7 +120,10 @@ func addOperationPostCommentForComparedCommitMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_PostCommentForPullRequest.go b/service/codecommit/api_op_PostCommentForPullRequest.go index 966f58fd109..5a2a2805640 100644 --- a/service/codecommit/api_op_PostCommentForPullRequest.go +++ b/service/codecommit/api_op_PostCommentForPullRequest.go @@ -133,7 +133,10 @@ func addOperationPostCommentForPullRequestMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_PostCommentReply.go b/service/codecommit/api_op_PostCommentReply.go index 757ff08b062..a1dfc95ef5d 100644 --- a/service/codecommit/api_op_PostCommentReply.go +++ b/service/codecommit/api_op_PostCommentReply.go @@ -88,7 +88,10 @@ func addOperationPostCommentReplyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_PutCommentReaction.go b/service/codecommit/api_op_PutCommentReaction.go index 467e5d11d06..74cf56a0f4b 100644 --- a/service/codecommit/api_op_PutCommentReaction.go +++ b/service/codecommit/api_op_PutCommentReaction.go @@ -80,7 +80,10 @@ func addOperationPutCommentReactionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_PutFile.go b/service/codecommit/api_op_PutFile.go index 04d9b2e8b68..42739f593df 100644 --- a/service/codecommit/api_op_PutFile.go +++ b/service/codecommit/api_op_PutFile.go @@ -128,7 +128,10 @@ func addOperationPutFileMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_PutRepositoryTriggers.go b/service/codecommit/api_op_PutRepositoryTriggers.go index f8bc5ece07c..7e897d1bde1 100644 --- a/service/codecommit/api_op_PutRepositoryTriggers.go +++ b/service/codecommit/api_op_PutRepositoryTriggers.go @@ -81,7 +81,10 @@ func addOperationPutRepositoryTriggersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_TagResource.go b/service/codecommit/api_op_TagResource.go index 7b486c245b1..16f9ea75595 100644 --- a/service/codecommit/api_op_TagResource.go +++ b/service/codecommit/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_TestRepositoryTriggers.go b/service/codecommit/api_op_TestRepositoryTriggers.go index 7734fa46a27..4ff8a49ee80 100644 --- a/service/codecommit/api_op_TestRepositoryTriggers.go +++ b/service/codecommit/api_op_TestRepositoryTriggers.go @@ -88,7 +88,10 @@ func addOperationTestRepositoryTriggersMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UntagResource.go b/service/codecommit/api_op_UntagResource.go index aac30e7e5ee..81554716339 100644 --- a/service/codecommit/api_op_UntagResource.go +++ b/service/codecommit/api_op_UntagResource.go @@ -77,7 +77,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go b/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go index 69183ba00ea..d7d944c6708 100644 --- a/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go +++ b/service/codecommit/api_op_UpdateApprovalRuleTemplateContent.go @@ -89,7 +89,10 @@ func addOperationUpdateApprovalRuleTemplateContentMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go b/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go index 56de3539ffb..b239273e1a8 100644 --- a/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go +++ b/service/codecommit/api_op_UpdateApprovalRuleTemplateDescription.go @@ -81,7 +81,10 @@ func addOperationUpdateApprovalRuleTemplateDescriptionMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go b/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go index a8b32f07651..94c47290985 100644 --- a/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go +++ b/service/codecommit/api_op_UpdateApprovalRuleTemplateName.go @@ -81,7 +81,10 @@ func addOperationUpdateApprovalRuleTemplateNameMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdateComment.go b/service/codecommit/api_op_UpdateComment.go index 3f257612bf8..7de71ea4036 100644 --- a/service/codecommit/api_op_UpdateComment.go +++ b/service/codecommit/api_op_UpdateComment.go @@ -80,7 +80,10 @@ func addOperationUpdateCommentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdateDefaultBranch.go b/service/codecommit/api_op_UpdateDefaultBranch.go index 4b4869f24f9..3ab9375aa80 100644 --- a/service/codecommit/api_op_UpdateDefaultBranch.go +++ b/service/codecommit/api_op_UpdateDefaultBranch.go @@ -78,7 +78,10 @@ func addOperationUpdateDefaultBranchMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go b/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go index ec67cb51d56..328add232a7 100644 --- a/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go +++ b/service/codecommit/api_op_UpdatePullRequestApprovalRuleContent.go @@ -122,7 +122,10 @@ func addOperationUpdatePullRequestApprovalRuleContentMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdatePullRequestApprovalState.go b/service/codecommit/api_op_UpdatePullRequestApprovalState.go index d98ff2f2d61..d3ec3d61e84 100644 --- a/service/codecommit/api_op_UpdatePullRequestApprovalState.go +++ b/service/codecommit/api_op_UpdatePullRequestApprovalState.go @@ -81,7 +81,10 @@ func addOperationUpdatePullRequestApprovalStateMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdatePullRequestDescription.go b/service/codecommit/api_op_UpdatePullRequestDescription.go index 3ae861eabe5..4071ea4909e 100644 --- a/service/codecommit/api_op_UpdatePullRequestDescription.go +++ b/service/codecommit/api_op_UpdatePullRequestDescription.go @@ -83,7 +83,10 @@ func addOperationUpdatePullRequestDescriptionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdatePullRequestStatus.go b/service/codecommit/api_op_UpdatePullRequestStatus.go index 9f4a5255274..8e331a53ef8 100644 --- a/service/codecommit/api_op_UpdatePullRequestStatus.go +++ b/service/codecommit/api_op_UpdatePullRequestStatus.go @@ -83,7 +83,10 @@ func addOperationUpdatePullRequestStatusMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdatePullRequestTitle.go b/service/codecommit/api_op_UpdatePullRequestTitle.go index 179970b1e65..24838f55904 100644 --- a/service/codecommit/api_op_UpdatePullRequestTitle.go +++ b/service/codecommit/api_op_UpdatePullRequestTitle.go @@ -82,7 +82,10 @@ func addOperationUpdatePullRequestTitleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdateRepositoryDescription.go b/service/codecommit/api_op_UpdateRepositoryDescription.go index f697125a152..905cb7ff65e 100644 --- a/service/codecommit/api_op_UpdateRepositoryDescription.go +++ b/service/codecommit/api_op_UpdateRepositoryDescription.go @@ -79,7 +79,10 @@ func addOperationUpdateRepositoryDescriptionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codecommit/api_op_UpdateRepositoryName.go b/service/codecommit/api_op_UpdateRepositoryName.go index 2c7d0d248ec..83afc078958 100644 --- a/service/codecommit/api_op_UpdateRepositoryName.go +++ b/service/codecommit/api_op_UpdateRepositoryName.go @@ -80,7 +80,10 @@ func addOperationUpdateRepositoryNameMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go b/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go index 132e6220b6b..6789220f43c 100644 --- a/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go +++ b/service/codedeploy/api_op_AddTagsToOnPremisesInstances.go @@ -78,7 +78,10 @@ func addOperationAddTagsToOnPremisesInstancesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_BatchGetApplicationRevisions.go b/service/codedeploy/api_op_BatchGetApplicationRevisions.go index 4e2ed6eb24f..b6fc07c6d5f 100644 --- a/service/codedeploy/api_op_BatchGetApplicationRevisions.go +++ b/service/codedeploy/api_op_BatchGetApplicationRevisions.go @@ -91,7 +91,10 @@ func addOperationBatchGetApplicationRevisionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_BatchGetApplications.go b/service/codedeploy/api_op_BatchGetApplications.go index b6f9911d162..8e29d36912e 100644 --- a/service/codedeploy/api_op_BatchGetApplications.go +++ b/service/codedeploy/api_op_BatchGetApplications.go @@ -78,7 +78,10 @@ func addOperationBatchGetApplicationsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_BatchGetDeploymentGroups.go b/service/codedeploy/api_op_BatchGetDeploymentGroups.go index 2aed35d7025..6d4c9cc16df 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentGroups.go +++ b/service/codedeploy/api_op_BatchGetDeploymentGroups.go @@ -85,7 +85,10 @@ func addOperationBatchGetDeploymentGroupsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_BatchGetDeploymentInstances.go b/service/codedeploy/api_op_BatchGetDeploymentInstances.go index e4438712aed..8873caccfc3 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentInstances.go +++ b/service/codedeploy/api_op_BatchGetDeploymentInstances.go @@ -91,7 +91,10 @@ func addOperationBatchGetDeploymentInstancesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_BatchGetDeploymentTargets.go b/service/codedeploy/api_op_BatchGetDeploymentTargets.go index 1a7fd8c9974..553dac7fdb3 100644 --- a/service/codedeploy/api_op_BatchGetDeploymentTargets.go +++ b/service/codedeploy/api_op_BatchGetDeploymentTargets.go @@ -123,7 +123,10 @@ func addOperationBatchGetDeploymentTargetsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_BatchGetDeployments.go b/service/codedeploy/api_op_BatchGetDeployments.go index e97d6f01582..d5104b4e3ac 100644 --- a/service/codedeploy/api_op_BatchGetDeployments.go +++ b/service/codedeploy/api_op_BatchGetDeployments.go @@ -78,7 +78,10 @@ func addOperationBatchGetDeploymentsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_BatchGetOnPremisesInstances.go b/service/codedeploy/api_op_BatchGetOnPremisesInstances.go index 15a59652bce..6b8813ebd8a 100644 --- a/service/codedeploy/api_op_BatchGetOnPremisesInstances.go +++ b/service/codedeploy/api_op_BatchGetOnPremisesInstances.go @@ -78,7 +78,10 @@ func addOperationBatchGetOnPremisesInstancesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ContinueDeployment.go b/service/codedeploy/api_op_ContinueDeployment.go index 0a7ac3d6a92..ead80ec3548 100644 --- a/service/codedeploy/api_op_ContinueDeployment.go +++ b/service/codedeploy/api_op_ContinueDeployment.go @@ -79,7 +79,10 @@ func addOperationContinueDeploymentMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_CreateApplication.go b/service/codedeploy/api_op_CreateApplication.go index 149453cb335..496e2266a28 100644 --- a/service/codedeploy/api_op_CreateApplication.go +++ b/service/codedeploy/api_op_CreateApplication.go @@ -85,7 +85,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_CreateDeployment.go b/service/codedeploy/api_op_CreateDeployment.go index 98b1acd787c..841b924a6dd 100644 --- a/service/codedeploy/api_op_CreateDeployment.go +++ b/service/codedeploy/api_op_CreateDeployment.go @@ -141,7 +141,10 @@ func addOperationCreateDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_CreateDeploymentConfig.go b/service/codedeploy/api_op_CreateDeploymentConfig.go index 2d26c86017d..fefd601946d 100644 --- a/service/codedeploy/api_op_CreateDeploymentConfig.go +++ b/service/codedeploy/api_op_CreateDeploymentConfig.go @@ -101,7 +101,10 @@ func addOperationCreateDeploymentConfigMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_CreateDeploymentGroup.go b/service/codedeploy/api_op_CreateDeploymentGroup.go index fcf23efd25b..0eb24409b10 100644 --- a/service/codedeploy/api_op_CreateDeploymentGroup.go +++ b/service/codedeploy/api_op_CreateDeploymentGroup.go @@ -157,7 +157,10 @@ func addOperationCreateDeploymentGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_DeleteApplication.go b/service/codedeploy/api_op_DeleteApplication.go index e9962a4c5dd..baefc9af47e 100644 --- a/service/codedeploy/api_op_DeleteApplication.go +++ b/service/codedeploy/api_op_DeleteApplication.go @@ -71,7 +71,10 @@ func addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_DeleteDeploymentConfig.go b/service/codedeploy/api_op_DeleteDeploymentConfig.go index 6b0ce58d696..e4d4331671f 100644 --- a/service/codedeploy/api_op_DeleteDeploymentConfig.go +++ b/service/codedeploy/api_op_DeleteDeploymentConfig.go @@ -72,7 +72,10 @@ func addOperationDeleteDeploymentConfigMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_DeleteDeploymentGroup.go b/service/codedeploy/api_op_DeleteDeploymentGroup.go index 1e14949344e..0fcd0dcee82 100644 --- a/service/codedeploy/api_op_DeleteDeploymentGroup.go +++ b/service/codedeploy/api_op_DeleteDeploymentGroup.go @@ -87,7 +87,10 @@ func addOperationDeleteDeploymentGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_DeleteGitHubAccountToken.go b/service/codedeploy/api_op_DeleteGitHubAccountToken.go index 2991ceb6bd4..3cbb02e0e0a 100644 --- a/service/codedeploy/api_op_DeleteGitHubAccountToken.go +++ b/service/codedeploy/api_op_DeleteGitHubAccountToken.go @@ -73,7 +73,10 @@ func addOperationDeleteGitHubAccountTokenMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_DeleteResourcesByExternalId.go b/service/codedeploy/api_op_DeleteResourcesByExternalId.go index 978c654c0a6..557e602e5f0 100644 --- a/service/codedeploy/api_op_DeleteResourcesByExternalId.go +++ b/service/codedeploy/api_op_DeleteResourcesByExternalId.go @@ -68,7 +68,10 @@ func addOperationDeleteResourcesByExternalIdMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_DeregisterOnPremisesInstance.go b/service/codedeploy/api_op_DeregisterOnPremisesInstance.go index f33c3ead834..2c182bd406a 100644 --- a/service/codedeploy/api_op_DeregisterOnPremisesInstance.go +++ b/service/codedeploy/api_op_DeregisterOnPremisesInstance.go @@ -70,7 +70,10 @@ func addOperationDeregisterOnPremisesInstanceMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_GetApplication.go b/service/codedeploy/api_op_GetApplication.go index 7373843446e..15e74ed929d 100644 --- a/service/codedeploy/api_op_GetApplication.go +++ b/service/codedeploy/api_op_GetApplication.go @@ -77,7 +77,10 @@ func addOperationGetApplicationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_GetApplicationRevision.go b/service/codedeploy/api_op_GetApplicationRevision.go index aa8514f1611..543ee52fac7 100644 --- a/service/codedeploy/api_op_GetApplicationRevision.go +++ b/service/codedeploy/api_op_GetApplicationRevision.go @@ -87,7 +87,10 @@ func addOperationGetApplicationRevisionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_GetDeployment.go b/service/codedeploy/api_op_GetDeployment.go index 06db819d6fc..0e91fe9855e 100644 --- a/service/codedeploy/api_op_GetDeployment.go +++ b/service/codedeploy/api_op_GetDeployment.go @@ -79,7 +79,10 @@ func addOperationGetDeploymentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_GetDeploymentConfig.go b/service/codedeploy/api_op_GetDeploymentConfig.go index 29d5ba6aa53..20066ea26f6 100644 --- a/service/codedeploy/api_op_GetDeploymentConfig.go +++ b/service/codedeploy/api_op_GetDeploymentConfig.go @@ -77,7 +77,10 @@ func addOperationGetDeploymentConfigMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_GetDeploymentGroup.go b/service/codedeploy/api_op_GetDeploymentGroup.go index e76bf019684..0b44050c35e 100644 --- a/service/codedeploy/api_op_GetDeploymentGroup.go +++ b/service/codedeploy/api_op_GetDeploymentGroup.go @@ -82,7 +82,10 @@ func addOperationGetDeploymentGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_GetDeploymentInstance.go b/service/codedeploy/api_op_GetDeploymentInstance.go index 4c3dc350c04..b0ab8b24edc 100644 --- a/service/codedeploy/api_op_GetDeploymentInstance.go +++ b/service/codedeploy/api_op_GetDeploymentInstance.go @@ -85,7 +85,10 @@ func addOperationGetDeploymentInstanceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_GetDeploymentTarget.go b/service/codedeploy/api_op_GetDeploymentTarget.go index 722d6bcd6c1..a182b2dcfbd 100644 --- a/service/codedeploy/api_op_GetDeploymentTarget.go +++ b/service/codedeploy/api_op_GetDeploymentTarget.go @@ -78,7 +78,10 @@ func addOperationGetDeploymentTargetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_GetOnPremisesInstance.go b/service/codedeploy/api_op_GetOnPremisesInstance.go index f5ab8edd3f5..fced9ccc79f 100644 --- a/service/codedeploy/api_op_GetOnPremisesInstance.go +++ b/service/codedeploy/api_op_GetOnPremisesInstance.go @@ -76,7 +76,10 @@ func addOperationGetOnPremisesInstanceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListApplicationRevisions.go b/service/codedeploy/api_op_ListApplicationRevisions.go index edd2c24dbd4..c5bbae77d3e 100644 --- a/service/codedeploy/api_op_ListApplicationRevisions.go +++ b/service/codedeploy/api_op_ListApplicationRevisions.go @@ -132,7 +132,10 @@ func addOperationListApplicationRevisionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListApplications.go b/service/codedeploy/api_op_ListApplications.go index cb603c98dbd..de01459304b 100644 --- a/service/codedeploy/api_op_ListApplications.go +++ b/service/codedeploy/api_op_ListApplications.go @@ -80,7 +80,10 @@ func addOperationListApplicationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListDeploymentConfigs.go b/service/codedeploy/api_op_ListDeploymentConfigs.go index 671e203b4df..9098674b0b5 100644 --- a/service/codedeploy/api_op_ListDeploymentConfigs.go +++ b/service/codedeploy/api_op_ListDeploymentConfigs.go @@ -81,7 +81,10 @@ func addOperationListDeploymentConfigsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListDeploymentGroups.go b/service/codedeploy/api_op_ListDeploymentGroups.go index 3cbe4859722..2c24019cf18 100644 --- a/service/codedeploy/api_op_ListDeploymentGroups.go +++ b/service/codedeploy/api_op_ListDeploymentGroups.go @@ -90,7 +90,10 @@ func addOperationListDeploymentGroupsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListDeploymentInstances.go b/service/codedeploy/api_op_ListDeploymentInstances.go index c0aced4fe59..656a3005d80 100644 --- a/service/codedeploy/api_op_ListDeploymentInstances.go +++ b/service/codedeploy/api_op_ListDeploymentInstances.go @@ -116,7 +116,10 @@ func addOperationListDeploymentInstancesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListDeploymentTargets.go b/service/codedeploy/api_op_ListDeploymentTargets.go index ba26c8f66e7..3b814ed0569 100644 --- a/service/codedeploy/api_op_ListDeploymentTargets.go +++ b/service/codedeploy/api_op_ListDeploymentTargets.go @@ -90,7 +90,10 @@ func addOperationListDeploymentTargetsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListDeployments.go b/service/codedeploy/api_op_ListDeployments.go index 038c709c4d7..40475b8b5be 100644 --- a/service/codedeploy/api_op_ListDeployments.go +++ b/service/codedeploy/api_op_ListDeployments.go @@ -120,7 +120,10 @@ func addOperationListDeploymentsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListGitHubAccountTokenNames.go b/service/codedeploy/api_op_ListGitHubAccountTokenNames.go index 52a10e04afb..0f17eaae33e 100644 --- a/service/codedeploy/api_op_ListGitHubAccountTokenNames.go +++ b/service/codedeploy/api_op_ListGitHubAccountTokenNames.go @@ -79,7 +79,10 @@ func addOperationListGitHubAccountTokenNamesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListOnPremisesInstances.go b/service/codedeploy/api_op_ListOnPremisesInstances.go index 2d1eb857ee7..4c7738a57a4 100644 --- a/service/codedeploy/api_op_ListOnPremisesInstances.go +++ b/service/codedeploy/api_op_ListOnPremisesInstances.go @@ -96,7 +96,10 @@ func addOperationListOnPremisesInstancesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_ListTagsForResource.go b/service/codedeploy/api_op_ListTagsForResource.go index 83d6c972dc2..6cf77d27bd4 100644 --- a/service/codedeploy/api_op_ListTagsForResource.go +++ b/service/codedeploy/api_op_ListTagsForResource.go @@ -87,7 +87,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go b/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go index bf39e13d5a4..1159009f81a 100644 --- a/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go +++ b/service/codedeploy/api_op_PutLifecycleEventHookExecutionStatus.go @@ -92,7 +92,10 @@ func addOperationPutLifecycleEventHookExecutionStatusMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_RegisterApplicationRevision.go b/service/codedeploy/api_op_RegisterApplicationRevision.go index 31bd09231ab..1151b018dd4 100644 --- a/service/codedeploy/api_op_RegisterApplicationRevision.go +++ b/service/codedeploy/api_op_RegisterApplicationRevision.go @@ -81,7 +81,10 @@ func addOperationRegisterApplicationRevisionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_RegisterOnPremisesInstance.go b/service/codedeploy/api_op_RegisterOnPremisesInstance.go index 99f63fdc538..0eb377ce3b2 100644 --- a/service/codedeploy/api_op_RegisterOnPremisesInstance.go +++ b/service/codedeploy/api_op_RegisterOnPremisesInstance.go @@ -77,7 +77,10 @@ func addOperationRegisterOnPremisesInstanceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go b/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go index 1ef5c9944fc..5924ad0da59 100644 --- a/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go +++ b/service/codedeploy/api_op_RemoveTagsFromOnPremisesInstances.go @@ -76,7 +76,10 @@ func addOperationRemoveTagsFromOnPremisesInstancesMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go b/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go index 4613b68775a..854757f1bda 100644 --- a/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go +++ b/service/codedeploy/api_op_SkipWaitTimeForInstanceTermination.go @@ -72,7 +72,10 @@ func addOperationSkipWaitTimeForInstanceTerminationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_StopDeployment.go b/service/codedeploy/api_op_StopDeployment.go index bbb97c13fb0..0ccc97bd32e 100644 --- a/service/codedeploy/api_op_StopDeployment.go +++ b/service/codedeploy/api_op_StopDeployment.go @@ -89,7 +89,10 @@ func addOperationStopDeploymentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_TagResource.go b/service/codedeploy/api_op_TagResource.go index c90dcd8ec51..9143f20a487 100644 --- a/service/codedeploy/api_op_TagResource.go +++ b/service/codedeploy/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_UntagResource.go b/service/codedeploy/api_op_UntagResource.go index dd654734f4e..96b0b4504cf 100644 --- a/service/codedeploy/api_op_UntagResource.go +++ b/service/codedeploy/api_op_UntagResource.go @@ -78,7 +78,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_UpdateApplication.go b/service/codedeploy/api_op_UpdateApplication.go index feb75d367ea..3a526d84c67 100644 --- a/service/codedeploy/api_op_UpdateApplication.go +++ b/service/codedeploy/api_op_UpdateApplication.go @@ -71,7 +71,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codedeploy/api_op_UpdateDeploymentGroup.go b/service/codedeploy/api_op_UpdateDeploymentGroup.go index 986ff7c8760..9f3fa2a5e9a 100644 --- a/service/codedeploy/api_op_UpdateDeploymentGroup.go +++ b/service/codedeploy/api_op_UpdateDeploymentGroup.go @@ -147,7 +147,10 @@ func addOperationUpdateDeploymentGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_ConfigureAgent.go b/service/codeguruprofiler/api_op_ConfigureAgent.go index 52f28c5b4d9..c9a412753c0 100644 --- a/service/codeguruprofiler/api_op_ConfigureAgent.go +++ b/service/codeguruprofiler/api_op_ConfigureAgent.go @@ -83,7 +83,10 @@ func addOperationConfigureAgentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_CreateProfilingGroup.go b/service/codeguruprofiler/api_op_CreateProfilingGroup.go index f6fdc5c0036..8d91b7160fe 100644 --- a/service/codeguruprofiler/api_op_CreateProfilingGroup.go +++ b/service/codeguruprofiler/api_op_CreateProfilingGroup.go @@ -90,7 +90,10 @@ func addOperationCreateProfilingGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_DeleteProfilingGroup.go b/service/codeguruprofiler/api_op_DeleteProfilingGroup.go index a98c0835c9d..f1d88a7593f 100644 --- a/service/codeguruprofiler/api_op_DeleteProfilingGroup.go +++ b/service/codeguruprofiler/api_op_DeleteProfilingGroup.go @@ -71,7 +71,10 @@ func addOperationDeleteProfilingGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_DescribeProfilingGroup.go b/service/codeguruprofiler/api_op_DescribeProfilingGroup.go index 97c7368592c..9c16ceac11a 100644 --- a/service/codeguruprofiler/api_op_DescribeProfilingGroup.go +++ b/service/codeguruprofiler/api_op_DescribeProfilingGroup.go @@ -78,7 +78,10 @@ func addOperationDescribeProfilingGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_GetPolicy.go b/service/codeguruprofiler/api_op_GetPolicy.go index b9bc8aae14c..212fd5d655f 100644 --- a/service/codeguruprofiler/api_op_GetPolicy.go +++ b/service/codeguruprofiler/api_op_GetPolicy.go @@ -82,7 +82,10 @@ func addOperationGetPolicyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_GetProfile.go b/service/codeguruprofiler/api_op_GetProfile.go index facc8c328d3..c3d6baa39fc 100644 --- a/service/codeguruprofiler/api_op_GetProfile.go +++ b/service/codeguruprofiler/api_op_GetProfile.go @@ -115,7 +115,10 @@ func addOperationGetProfileMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_ListProfileTimes.go b/service/codeguruprofiler/api_op_ListProfileTimes.go index 8f3b1c88097..5b2330953b0 100644 --- a/service/codeguruprofiler/api_op_ListProfileTimes.go +++ b/service/codeguruprofiler/api_op_ListProfileTimes.go @@ -122,7 +122,10 @@ func addOperationListProfileTimesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_ListProfilingGroups.go b/service/codeguruprofiler/api_op_ListProfilingGroups.go index 24e4692d478..0e2caf2d8a6 100644 --- a/service/codeguruprofiler/api_op_ListProfilingGroups.go +++ b/service/codeguruprofiler/api_op_ListProfilingGroups.go @@ -101,7 +101,10 @@ func addOperationListProfilingGroupsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_PostAgentProfile.go b/service/codeguruprofiler/api_op_PostAgentProfile.go index 2bf9201fecc..adfd8e78266 100644 --- a/service/codeguruprofiler/api_op_PostAgentProfile.go +++ b/service/codeguruprofiler/api_op_PostAgentProfile.go @@ -84,7 +84,10 @@ func addOperationPostAgentProfileMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_PutPermission.go b/service/codeguruprofiler/api_op_PutPermission.go index f6684960f75..b779cab2a8f 100644 --- a/service/codeguruprofiler/api_op_PutPermission.go +++ b/service/codeguruprofiler/api_op_PutPermission.go @@ -100,7 +100,10 @@ func addOperationPutPermissionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_RemovePermission.go b/service/codeguruprofiler/api_op_RemovePermission.go index 6fa76d56566..5713021886c 100644 --- a/service/codeguruprofiler/api_op_RemovePermission.go +++ b/service/codeguruprofiler/api_op_RemovePermission.go @@ -93,7 +93,10 @@ func addOperationRemovePermissionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_RetrieveTimeSeries.go b/service/codeguruprofiler/api_op_RetrieveTimeSeries.go index c498604bbf5..a46648a7cad 100644 --- a/service/codeguruprofiler/api_op_RetrieveTimeSeries.go +++ b/service/codeguruprofiler/api_op_RetrieveTimeSeries.go @@ -100,7 +100,10 @@ func addOperationRetrieveTimeSeriesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codeguruprofiler/api_op_UpdateProfilingGroup.go b/service/codeguruprofiler/api_op_UpdateProfilingGroup.go index 988ef622636..d6cf4ff41c6 100644 --- a/service/codeguruprofiler/api_op_UpdateProfilingGroup.go +++ b/service/codeguruprofiler/api_op_UpdateProfilingGroup.go @@ -83,7 +83,10 @@ func addOperationUpdateProfilingGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_AssociateRepository.go b/service/codegurureviewer/api_op_AssociateRepository.go index d926c9cd576..a7b9e42c5ce 100644 --- a/service/codegurureviewer/api_op_AssociateRepository.go +++ b/service/codegurureviewer/api_op_AssociateRepository.go @@ -121,7 +121,10 @@ func addOperationAssociateRepositoryMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_CreateCodeReview.go b/service/codegurureviewer/api_op_CreateCodeReview.go index 0b47d8193e3..ecb10d1a966 100644 --- a/service/codegurureviewer/api_op_CreateCodeReview.go +++ b/service/codegurureviewer/api_op_CreateCodeReview.go @@ -103,7 +103,10 @@ func addOperationCreateCodeReviewMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_DescribeCodeReview.go b/service/codegurureviewer/api_op_DescribeCodeReview.go index 02ff1934c1f..e49566e71bc 100644 --- a/service/codegurureviewer/api_op_DescribeCodeReview.go +++ b/service/codegurureviewer/api_op_DescribeCodeReview.go @@ -76,7 +76,10 @@ func addOperationDescribeCodeReviewMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go b/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go index 7c39296e2fb..dc9ccb4b6d4 100644 --- a/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go +++ b/service/codegurureviewer/api_op_DescribeRecommendationFeedback.go @@ -90,7 +90,10 @@ func addOperationDescribeRecommendationFeedbackMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go b/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go index d5ea98f9deb..df4531910bb 100644 --- a/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go +++ b/service/codegurureviewer/api_op_DescribeRepositoryAssociation.go @@ -91,7 +91,10 @@ func addOperationDescribeRepositoryAssociationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_DisassociateRepository.go b/service/codegurureviewer/api_op_DisassociateRepository.go index 92e6cb3c6a0..4f0b0abb902 100644 --- a/service/codegurureviewer/api_op_DisassociateRepository.go +++ b/service/codegurureviewer/api_op_DisassociateRepository.go @@ -89,7 +89,10 @@ func addOperationDisassociateRepositoryMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_ListCodeReviews.go b/service/codegurureviewer/api_op_ListCodeReviews.go index d1db3c153a1..aad41f22640 100644 --- a/service/codegurureviewer/api_op_ListCodeReviews.go +++ b/service/codegurureviewer/api_op_ListCodeReviews.go @@ -110,7 +110,10 @@ func addOperationListCodeReviewsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_ListRecommendationFeedback.go b/service/codegurureviewer/api_op_ListRecommendationFeedback.go index 2c70c62a4af..04537571911 100644 --- a/service/codegurureviewer/api_op_ListRecommendationFeedback.go +++ b/service/codegurureviewer/api_op_ListRecommendationFeedback.go @@ -106,7 +106,10 @@ func addOperationListRecommendationFeedbackMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_ListRecommendations.go b/service/codegurureviewer/api_op_ListRecommendations.go index bd905f2bfbb..fbd7f411aa2 100644 --- a/service/codegurureviewer/api_op_ListRecommendations.go +++ b/service/codegurureviewer/api_op_ListRecommendations.go @@ -86,7 +86,10 @@ func addOperationListRecommendationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_ListRepositoryAssociations.go b/service/codegurureviewer/api_op_ListRepositoryAssociations.go index 5637edba638..16e52a805fc 100644 --- a/service/codegurureviewer/api_op_ListRepositoryAssociations.go +++ b/service/codegurureviewer/api_op_ListRepositoryAssociations.go @@ -151,7 +151,10 @@ func addOperationListRepositoryAssociationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_ListTagsForResource.go b/service/codegurureviewer/api_op_ListTagsForResource.go index 030f9fe1e76..152e4ee9103 100644 --- a/service/codegurureviewer/api_op_ListTagsForResource.go +++ b/service/codegurureviewer/api_op_ListTagsForResource.go @@ -85,7 +85,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_PutRecommendationFeedback.go b/service/codegurureviewer/api_op_PutRecommendationFeedback.go index 5110d2fd2ce..1925cce3911 100644 --- a/service/codegurureviewer/api_op_PutRecommendationFeedback.go +++ b/service/codegurureviewer/api_op_PutRecommendationFeedback.go @@ -85,7 +85,10 @@ func addOperationPutRecommendationFeedbackMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_TagResource.go b/service/codegurureviewer/api_op_TagResource.go index db5425f3c22..6b92fedacdb 100644 --- a/service/codegurureviewer/api_op_TagResource.go +++ b/service/codegurureviewer/api_op_TagResource.go @@ -86,7 +86,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codegurureviewer/api_op_UntagResource.go b/service/codegurureviewer/api_op_UntagResource.go index 0692ef75a36..e4970730e4d 100644 --- a/service/codegurureviewer/api_op_UntagResource.go +++ b/service/codegurureviewer/api_op_UntagResource.go @@ -78,7 +78,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_AcknowledgeJob.go b/service/codepipeline/api_op_AcknowledgeJob.go index dd31c025376..1a9a51bf295 100644 --- a/service/codepipeline/api_op_AcknowledgeJob.go +++ b/service/codepipeline/api_op_AcknowledgeJob.go @@ -84,7 +84,10 @@ func addOperationAcknowledgeJobMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go b/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go index 6a5c2c70e88..f9ec830dc47 100644 --- a/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go +++ b/service/codepipeline/api_op_AcknowledgeThirdPartyJob.go @@ -90,7 +90,10 @@ func addOperationAcknowledgeThirdPartyJobMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_CreateCustomActionType.go b/service/codepipeline/api_op_CreateCustomActionType.go index 57cdc0987aa..356ab177fb9 100644 --- a/service/codepipeline/api_op_CreateCustomActionType.go +++ b/service/codepipeline/api_op_CreateCustomActionType.go @@ -116,7 +116,10 @@ func addOperationCreateCustomActionTypeMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_CreatePipeline.go b/service/codepipeline/api_op_CreatePipeline.go index cf39f965f15..439404f48e3 100644 --- a/service/codepipeline/api_op_CreatePipeline.go +++ b/service/codepipeline/api_op_CreatePipeline.go @@ -84,7 +84,10 @@ func addOperationCreatePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_DeleteCustomActionType.go b/service/codepipeline/api_op_DeleteCustomActionType.go index 7a17cbe01b2..6238de7e95e 100644 --- a/service/codepipeline/api_op_DeleteCustomActionType.go +++ b/service/codepipeline/api_op_DeleteCustomActionType.go @@ -89,7 +89,10 @@ func addOperationDeleteCustomActionTypeMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_DeletePipeline.go b/service/codepipeline/api_op_DeletePipeline.go index ffe91aa5d7d..98230e6e5e8 100644 --- a/service/codepipeline/api_op_DeletePipeline.go +++ b/service/codepipeline/api_op_DeletePipeline.go @@ -70,7 +70,10 @@ func addOperationDeletePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_DeleteWebhook.go b/service/codepipeline/api_op_DeleteWebhook.go index ecf342f02de..c37356a0ca9 100644 --- a/service/codepipeline/api_op_DeleteWebhook.go +++ b/service/codepipeline/api_op_DeleteWebhook.go @@ -73,7 +73,10 @@ func addOperationDeleteWebhookMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go b/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go index 3b52256274d..d87e5329aed 100644 --- a/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go +++ b/service/codepipeline/api_op_DeregisterWebhookWithThirdParty.go @@ -69,7 +69,10 @@ func addOperationDeregisterWebhookWithThirdPartyMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_DisableStageTransition.go b/service/codepipeline/api_op_DisableStageTransition.go index c410c7a596b..7db88b116c5 100644 --- a/service/codepipeline/api_op_DisableStageTransition.go +++ b/service/codepipeline/api_op_DisableStageTransition.go @@ -94,7 +94,10 @@ func addOperationDisableStageTransitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_EnableStageTransition.go b/service/codepipeline/api_op_EnableStageTransition.go index 0ff84ce344d..e4523e77f40 100644 --- a/service/codepipeline/api_op_EnableStageTransition.go +++ b/service/codepipeline/api_op_EnableStageTransition.go @@ -85,7 +85,10 @@ func addOperationEnableStageTransitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_GetJobDetails.go b/service/codepipeline/api_op_GetJobDetails.go index 7d239d28d3d..1566aaeb450 100644 --- a/service/codepipeline/api_op_GetJobDetails.go +++ b/service/codepipeline/api_op_GetJobDetails.go @@ -81,7 +81,10 @@ func addOperationGetJobDetailsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_GetPipeline.go b/service/codepipeline/api_op_GetPipeline.go index a17ff9f5666..345adceb2cf 100644 --- a/service/codepipeline/api_op_GetPipeline.go +++ b/service/codepipeline/api_op_GetPipeline.go @@ -87,7 +87,10 @@ func addOperationGetPipelineMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_GetPipelineExecution.go b/service/codepipeline/api_op_GetPipelineExecution.go index 3043ca32d42..a784fce987c 100644 --- a/service/codepipeline/api_op_GetPipelineExecution.go +++ b/service/codepipeline/api_op_GetPipelineExecution.go @@ -83,7 +83,10 @@ func addOperationGetPipelineExecutionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_GetPipelineState.go b/service/codepipeline/api_op_GetPipelineState.go index 5547edb44ae..ea8863a4053 100644 --- a/service/codepipeline/api_op_GetPipelineState.go +++ b/service/codepipeline/api_op_GetPipelineState.go @@ -93,7 +93,10 @@ func addOperationGetPipelineStateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_GetThirdPartyJobDetails.go b/service/codepipeline/api_op_GetThirdPartyJobDetails.go index 85ce28c526f..2de2017b506 100644 --- a/service/codepipeline/api_op_GetThirdPartyJobDetails.go +++ b/service/codepipeline/api_op_GetThirdPartyJobDetails.go @@ -86,7 +86,10 @@ func addOperationGetThirdPartyJobDetailsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_ListActionExecutions.go b/service/codepipeline/api_op_ListActionExecutions.go index 90d4b4f0723..dfb1664a64c 100644 --- a/service/codepipeline/api_op_ListActionExecutions.go +++ b/service/codepipeline/api_op_ListActionExecutions.go @@ -94,7 +94,10 @@ func addOperationListActionExecutionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_ListActionTypes.go b/service/codepipeline/api_op_ListActionTypes.go index 095d02ea7af..b54cd2bc361 100644 --- a/service/codepipeline/api_op_ListActionTypes.go +++ b/service/codepipeline/api_op_ListActionTypes.go @@ -87,7 +87,10 @@ func addOperationListActionTypesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_ListPipelineExecutions.go b/service/codepipeline/api_op_ListPipelineExecutions.go index f88571565a8..4fb9b99f1dc 100644 --- a/service/codepipeline/api_op_ListPipelineExecutions.go +++ b/service/codepipeline/api_op_ListPipelineExecutions.go @@ -93,7 +93,10 @@ func addOperationListPipelineExecutionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_ListPipelines.go b/service/codepipeline/api_op_ListPipelines.go index f6a532c8016..8f6a5f1c72b 100644 --- a/service/codepipeline/api_op_ListPipelines.go +++ b/service/codepipeline/api_op_ListPipelines.go @@ -81,7 +81,10 @@ func addOperationListPipelinesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_ListTagsForResource.go b/service/codepipeline/api_op_ListTagsForResource.go index 6f8f6e21aaf..0af4ca0d8a3 100644 --- a/service/codepipeline/api_op_ListTagsForResource.go +++ b/service/codepipeline/api_op_ListTagsForResource.go @@ -89,7 +89,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_ListWebhooks.go b/service/codepipeline/api_op_ListWebhooks.go index 17b0998e714..352456f4b6c 100644 --- a/service/codepipeline/api_op_ListWebhooks.go +++ b/service/codepipeline/api_op_ListWebhooks.go @@ -86,7 +86,10 @@ func addOperationListWebhooksMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_PollForJobs.go b/service/codepipeline/api_op_PollForJobs.go index db484c34cdb..6c76686da21 100644 --- a/service/codepipeline/api_op_PollForJobs.go +++ b/service/codepipeline/api_op_PollForJobs.go @@ -91,7 +91,10 @@ func addOperationPollForJobsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_PollForThirdPartyJobs.go b/service/codepipeline/api_op_PollForThirdPartyJobs.go index 3225701307f..1af981a346c 100644 --- a/service/codepipeline/api_op_PollForThirdPartyJobs.go +++ b/service/codepipeline/api_op_PollForThirdPartyJobs.go @@ -83,7 +83,10 @@ func addOperationPollForThirdPartyJobsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_PutActionRevision.go b/service/codepipeline/api_op_PutActionRevision.go index a8b1ccb5359..9e598b3c31b 100644 --- a/service/codepipeline/api_op_PutActionRevision.go +++ b/service/codepipeline/api_op_PutActionRevision.go @@ -95,7 +95,10 @@ func addOperationPutActionRevisionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_PutApprovalResult.go b/service/codepipeline/api_op_PutApprovalResult.go index 3b658c981d6..9229eba5b5b 100644 --- a/service/codepipeline/api_op_PutApprovalResult.go +++ b/service/codepipeline/api_op_PutApprovalResult.go @@ -101,7 +101,10 @@ func addOperationPutApprovalResultMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_PutJobFailureResult.go b/service/codepipeline/api_op_PutJobFailureResult.go index 540148ff8be..546ced061ec 100644 --- a/service/codepipeline/api_op_PutJobFailureResult.go +++ b/service/codepipeline/api_op_PutJobFailureResult.go @@ -78,7 +78,10 @@ func addOperationPutJobFailureResultMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_PutJobSuccessResult.go b/service/codepipeline/api_op_PutJobSuccessResult.go index 1d1634aede9..ceb794af288 100644 --- a/service/codepipeline/api_op_PutJobSuccessResult.go +++ b/service/codepipeline/api_op_PutJobSuccessResult.go @@ -93,7 +93,10 @@ func addOperationPutJobSuccessResultMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go b/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go index 8a3785c909e..53f75317bb3 100644 --- a/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go +++ b/service/codepipeline/api_op_PutThirdPartyJobFailureResult.go @@ -84,7 +84,10 @@ func addOperationPutThirdPartyJobFailureResultMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go b/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go index f5fa2645dc0..9c09683244b 100644 --- a/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go +++ b/service/codepipeline/api_op_PutThirdPartyJobSuccessResult.go @@ -93,7 +93,10 @@ func addOperationPutThirdPartyJobSuccessResultMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_PutWebhook.go b/service/codepipeline/api_op_PutWebhook.go index 3af0e826fcc..7ea8c01ff32 100644 --- a/service/codepipeline/api_op_PutWebhook.go +++ b/service/codepipeline/api_op_PutWebhook.go @@ -88,7 +88,10 @@ func addOperationPutWebhookMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go b/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go index ec6bd1ebff9..9dbc3ec973f 100644 --- a/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go +++ b/service/codepipeline/api_op_RegisterWebhookWithThirdParty.go @@ -69,7 +69,10 @@ func addOperationRegisterWebhookWithThirdPartyMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_RetryStageExecution.go b/service/codepipeline/api_op_RetryStageExecution.go index f0d54646119..a7a0f45a9e5 100644 --- a/service/codepipeline/api_op_RetryStageExecution.go +++ b/service/codepipeline/api_op_RetryStageExecution.go @@ -97,7 +97,10 @@ func addOperationRetryStageExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_StartPipelineExecution.go b/service/codepipeline/api_op_StartPipelineExecution.go index 5a46bc3f1f4..1b51a930ae3 100644 --- a/service/codepipeline/api_op_StartPipelineExecution.go +++ b/service/codepipeline/api_op_StartPipelineExecution.go @@ -80,7 +80,10 @@ func addOperationStartPipelineExecutionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_StopPipelineExecution.go b/service/codepipeline/api_op_StopPipelineExecution.go index b1baf942cd3..a634e3a4769 100644 --- a/service/codepipeline/api_op_StopPipelineExecution.go +++ b/service/codepipeline/api_op_StopPipelineExecution.go @@ -92,7 +92,10 @@ func addOperationStopPipelineExecutionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_TagResource.go b/service/codepipeline/api_op_TagResource.go index 6de89382c4c..ba1e681345e 100644 --- a/service/codepipeline/api_op_TagResource.go +++ b/service/codepipeline/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_UntagResource.go b/service/codepipeline/api_op_UntagResource.go index 150fc9e090f..a93347b82cc 100644 --- a/service/codepipeline/api_op_UntagResource.go +++ b/service/codepipeline/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codepipeline/api_op_UpdatePipeline.go b/service/codepipeline/api_op_UpdatePipeline.go index f4df3a27c62..561d3ca7994 100644 --- a/service/codepipeline/api_op_UpdatePipeline.go +++ b/service/codepipeline/api_op_UpdatePipeline.go @@ -79,7 +79,10 @@ func addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_AssociateTeamMember.go b/service/codestar/api_op_AssociateTeamMember.go index f679570baaa..6326c395dc1 100644 --- a/service/codestar/api_op_AssociateTeamMember.go +++ b/service/codestar/api_op_AssociateTeamMember.go @@ -95,7 +95,10 @@ func addOperationAssociateTeamMemberMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_CreateProject.go b/service/codestar/api_op_CreateProject.go index c1b68988dc3..912ded582fa 100644 --- a/service/codestar/api_op_CreateProject.go +++ b/service/codestar/api_op_CreateProject.go @@ -115,7 +115,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_CreateUserProfile.go b/service/codestar/api_op_CreateUserProfile.go index 2492f6fcd7a..2a391109926 100644 --- a/service/codestar/api_op_CreateUserProfile.go +++ b/service/codestar/api_op_CreateUserProfile.go @@ -114,7 +114,10 @@ func addOperationCreateUserProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_DeleteProject.go b/service/codestar/api_op_DeleteProject.go index c0944f8d90f..8ee400644c4 100644 --- a/service/codestar/api_op_DeleteProject.go +++ b/service/codestar/api_op_DeleteProject.go @@ -89,7 +89,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_DeleteUserProfile.go b/service/codestar/api_op_DeleteUserProfile.go index bd758d52fb9..5590d391538 100644 --- a/service/codestar/api_op_DeleteUserProfile.go +++ b/service/codestar/api_op_DeleteUserProfile.go @@ -78,7 +78,10 @@ func addOperationDeleteUserProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_DescribeProject.go b/service/codestar/api_op_DescribeProject.go index e8a633d609a..8682bf27e2c 100644 --- a/service/codestar/api_op_DescribeProject.go +++ b/service/codestar/api_op_DescribeProject.go @@ -101,7 +101,10 @@ func addOperationDescribeProjectMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_DescribeUserProfile.go b/service/codestar/api_op_DescribeUserProfile.go index 365f6f15399..f5db056a339 100644 --- a/service/codestar/api_op_DescribeUserProfile.go +++ b/service/codestar/api_op_DescribeUserProfile.go @@ -107,7 +107,10 @@ func addOperationDescribeUserProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_DisassociateTeamMember.go b/service/codestar/api_op_DisassociateTeamMember.go index 8432b97c4e1..2a08d047b0b 100644 --- a/service/codestar/api_op_DisassociateTeamMember.go +++ b/service/codestar/api_op_DisassociateTeamMember.go @@ -78,7 +78,10 @@ func addOperationDisassociateTeamMemberMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_ListProjects.go b/service/codestar/api_op_ListProjects.go index c87e25577b5..7c8afac0ad6 100644 --- a/service/codestar/api_op_ListProjects.go +++ b/service/codestar/api_op_ListProjects.go @@ -82,7 +82,10 @@ func addOperationListProjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_ListResources.go b/service/codestar/api_op_ListResources.go index 0223fe67e50..3cbab20a497 100644 --- a/service/codestar/api_op_ListResources.go +++ b/service/codestar/api_op_ListResources.go @@ -85,7 +85,10 @@ func addOperationListResourcesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_ListTagsForProject.go b/service/codestar/api_op_ListTagsForProject.go index 53d70d8c6ea..34ece94f179 100644 --- a/service/codestar/api_op_ListTagsForProject.go +++ b/service/codestar/api_op_ListTagsForProject.go @@ -82,7 +82,10 @@ func addOperationListTagsForProjectMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_ListTeamMembers.go b/service/codestar/api_op_ListTeamMembers.go index 89d23e1c22b..b9ae9406e0b 100644 --- a/service/codestar/api_op_ListTeamMembers.go +++ b/service/codestar/api_op_ListTeamMembers.go @@ -87,7 +87,10 @@ func addOperationListTeamMembersMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_ListUserProfiles.go b/service/codestar/api_op_ListUserProfiles.go index 692c769823a..a293924b4c4 100644 --- a/service/codestar/api_op_ListUserProfiles.go +++ b/service/codestar/api_op_ListUserProfiles.go @@ -82,7 +82,10 @@ func addOperationListUserProfilesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_TagProject.go b/service/codestar/api_op_TagProject.go index 1c740cf6a60..3241c09d92a 100644 --- a/service/codestar/api_op_TagProject.go +++ b/service/codestar/api_op_TagProject.go @@ -78,7 +78,10 @@ func addOperationTagProjectMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_UntagProject.go b/service/codestar/api_op_UntagProject.go index 0ea42287cba..5e4b7a6420f 100644 --- a/service/codestar/api_op_UntagProject.go +++ b/service/codestar/api_op_UntagProject.go @@ -74,7 +74,10 @@ func addOperationUntagProjectMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_UpdateProject.go b/service/codestar/api_op_UpdateProject.go index 1ab47e7ecdd..25a808a87c9 100644 --- a/service/codestar/api_op_UpdateProject.go +++ b/service/codestar/api_op_UpdateProject.go @@ -75,7 +75,10 @@ func addOperationUpdateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_UpdateTeamMember.go b/service/codestar/api_op_UpdateTeamMember.go index 509e426413c..052943204c1 100644 --- a/service/codestar/api_op_UpdateTeamMember.go +++ b/service/codestar/api_op_UpdateTeamMember.go @@ -101,7 +101,10 @@ func addOperationUpdateTeamMemberMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestar/api_op_UpdateUserProfile.go b/service/codestar/api_op_UpdateUserProfile.go index a0984f25f52..fcc6d1abbc3 100644 --- a/service/codestar/api_op_UpdateUserProfile.go +++ b/service/codestar/api_op_UpdateUserProfile.go @@ -109,7 +109,10 @@ func addOperationUpdateUserProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_CreateConnection.go b/service/codestarconnections/api_op_CreateConnection.go index 82b8b92974e..157535029db 100644 --- a/service/codestarconnections/api_op_CreateConnection.go +++ b/service/codestarconnections/api_op_CreateConnection.go @@ -96,7 +96,10 @@ func addOperationCreateConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_CreateHost.go b/service/codestarconnections/api_op_CreateHost.go index 61b95216cc0..e4f095a2f4e 100644 --- a/service/codestarconnections/api_op_CreateHost.go +++ b/service/codestarconnections/api_op_CreateHost.go @@ -98,7 +98,10 @@ func addOperationCreateHostMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_DeleteConnection.go b/service/codestarconnections/api_op_DeleteConnection.go index 254d59be41a..338033d679e 100644 --- a/service/codestarconnections/api_op_DeleteConnection.go +++ b/service/codestarconnections/api_op_DeleteConnection.go @@ -70,7 +70,10 @@ func addOperationDeleteConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_DeleteHost.go b/service/codestarconnections/api_op_DeleteHost.go index f1faa2f1f22..614aac92a94 100644 --- a/service/codestarconnections/api_op_DeleteHost.go +++ b/service/codestarconnections/api_op_DeleteHost.go @@ -71,7 +71,10 @@ func addOperationDeleteHostMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_GetConnection.go b/service/codestarconnections/api_op_GetConnection.go index ea767c84dc8..b36c8f48b4d 100644 --- a/service/codestarconnections/api_op_GetConnection.go +++ b/service/codestarconnections/api_op_GetConnection.go @@ -74,7 +74,10 @@ func addOperationGetConnectionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_GetHost.go b/service/codestarconnections/api_op_GetHost.go index cd143f0c2f8..3f8db3aafe5 100644 --- a/service/codestarconnections/api_op_GetHost.go +++ b/service/codestarconnections/api_op_GetHost.go @@ -87,7 +87,10 @@ func addOperationGetHostMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_ListConnections.go b/service/codestarconnections/api_op_ListConnections.go index 0ed80720348..cb74887cbef 100644 --- a/service/codestarconnections/api_op_ListConnections.go +++ b/service/codestarconnections/api_op_ListConnections.go @@ -91,7 +91,10 @@ func addOperationListConnectionsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_ListHosts.go b/service/codestarconnections/api_op_ListHosts.go index 250b20ff6bc..95025822571 100644 --- a/service/codestarconnections/api_op_ListHosts.go +++ b/service/codestarconnections/api_op_ListHosts.go @@ -84,7 +84,10 @@ func addOperationListHostsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_ListTagsForResource.go b/service/codestarconnections/api_op_ListTagsForResource.go index 4c628404a8f..37e5d6eef68 100644 --- a/service/codestarconnections/api_op_ListTagsForResource.go +++ b/service/codestarconnections/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_TagResource.go b/service/codestarconnections/api_op_TagResource.go index 355c6ca4d6b..198bc2b8e60 100644 --- a/service/codestarconnections/api_op_TagResource.go +++ b/service/codestarconnections/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_UntagResource.go b/service/codestarconnections/api_op_UntagResource.go index 2030027b85c..7d38072ba15 100644 --- a/service/codestarconnections/api_op_UntagResource.go +++ b/service/codestarconnections/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarconnections/api_op_UpdateHost.go b/service/codestarconnections/api_op_UpdateHost.go index 14cb6dbed93..f542d9895db 100644 --- a/service/codestarconnections/api_op_UpdateHost.go +++ b/service/codestarconnections/api_op_UpdateHost.go @@ -78,7 +78,10 @@ func addOperationUpdateHostMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_CreateNotificationRule.go b/service/codestarnotifications/api_op_CreateNotificationRule.go index 9d539db8b54..c5f2e8d90ee 100644 --- a/service/codestarnotifications/api_op_CreateNotificationRule.go +++ b/service/codestarnotifications/api_op_CreateNotificationRule.go @@ -122,7 +122,10 @@ func addOperationCreateNotificationRuleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_DeleteNotificationRule.go b/service/codestarnotifications/api_op_DeleteNotificationRule.go index fa3d9cbc6d4..e7ffc78f543 100644 --- a/service/codestarnotifications/api_op_DeleteNotificationRule.go +++ b/service/codestarnotifications/api_op_DeleteNotificationRule.go @@ -73,7 +73,10 @@ func addOperationDeleteNotificationRuleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_DeleteTarget.go b/service/codestarnotifications/api_op_DeleteTarget.go index 5a990a421b7..ac523c0e192 100644 --- a/service/codestarnotifications/api_op_DeleteTarget.go +++ b/service/codestarnotifications/api_op_DeleteTarget.go @@ -74,7 +74,10 @@ func addOperationDeleteTargetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_DescribeNotificationRule.go b/service/codestarnotifications/api_op_DescribeNotificationRule.go index 967e120ea17..9bb817907a0 100644 --- a/service/codestarnotifications/api_op_DescribeNotificationRule.go +++ b/service/codestarnotifications/api_op_DescribeNotificationRule.go @@ -114,7 +114,10 @@ func addOperationDescribeNotificationRuleMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_ListEventTypes.go b/service/codestarnotifications/api_op_ListEventTypes.go index 1a4eaacadd7..6209f46437b 100644 --- a/service/codestarnotifications/api_op_ListEventTypes.go +++ b/service/codestarnotifications/api_op_ListEventTypes.go @@ -87,7 +87,10 @@ func addOperationListEventTypesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_ListNotificationRules.go b/service/codestarnotifications/api_op_ListNotificationRules.go index 660415bae4c..64e0d440aba 100644 --- a/service/codestarnotifications/api_op_ListNotificationRules.go +++ b/service/codestarnotifications/api_op_ListNotificationRules.go @@ -89,7 +89,10 @@ func addOperationListNotificationRulesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_ListTagsForResource.go b/service/codestarnotifications/api_op_ListTagsForResource.go index 673c8912985..63eb042626a 100644 --- a/service/codestarnotifications/api_op_ListTagsForResource.go +++ b/service/codestarnotifications/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_ListTargets.go b/service/codestarnotifications/api_op_ListTargets.go index be12fe998e6..306688ba2a1 100644 --- a/service/codestarnotifications/api_op_ListTargets.go +++ b/service/codestarnotifications/api_op_ListTargets.go @@ -88,7 +88,10 @@ func addOperationListTargetsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_Subscribe.go b/service/codestarnotifications/api_op_Subscribe.go index 7bf92fbcced..07d171b81fd 100644 --- a/service/codestarnotifications/api_op_Subscribe.go +++ b/service/codestarnotifications/api_op_Subscribe.go @@ -87,7 +87,10 @@ func addOperationSubscribeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_TagResource.go b/service/codestarnotifications/api_op_TagResource.go index 49789c6dfb2..93cdae750e3 100644 --- a/service/codestarnotifications/api_op_TagResource.go +++ b/service/codestarnotifications/api_op_TagResource.go @@ -79,7 +79,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_Unsubscribe.go b/service/codestarnotifications/api_op_Unsubscribe.go index 6ae90bc88e7..1b242d439cc 100644 --- a/service/codestarnotifications/api_op_Unsubscribe.go +++ b/service/codestarnotifications/api_op_Unsubscribe.go @@ -83,7 +83,10 @@ func addOperationUnsubscribeMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_UntagResource.go b/service/codestarnotifications/api_op_UntagResource.go index e50039ce9d5..572980ac1c5 100644 --- a/service/codestarnotifications/api_op_UntagResource.go +++ b/service/codestarnotifications/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/codestarnotifications/api_op_UpdateNotificationRule.go b/service/codestarnotifications/api_op_UpdateNotificationRule.go index 0db48fa6023..750e14bb876 100644 --- a/service/codestarnotifications/api_op_UpdateNotificationRule.go +++ b/service/codestarnotifications/api_op_UpdateNotificationRule.go @@ -94,7 +94,10 @@ func addOperationUpdateNotificationRuleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_CreateIdentityPool.go b/service/cognitoidentity/api_op_CreateIdentityPool.go index a10d01a82b4..b694ab5d7fc 100644 --- a/service/cognitoidentity/api_op_CreateIdentityPool.go +++ b/service/cognitoidentity/api_op_CreateIdentityPool.go @@ -169,7 +169,10 @@ func addOperationCreateIdentityPoolMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_DeleteIdentities.go b/service/cognitoidentity/api_op_DeleteIdentities.go index 4d8994d54fe..a71e0267623 100644 --- a/service/cognitoidentity/api_op_DeleteIdentities.go +++ b/service/cognitoidentity/api_op_DeleteIdentities.go @@ -79,7 +79,10 @@ func addOperationDeleteIdentitiesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_DeleteIdentityPool.go b/service/cognitoidentity/api_op_DeleteIdentityPool.go index 91be42e6bd4..6bfb172e966 100644 --- a/service/cognitoidentity/api_op_DeleteIdentityPool.go +++ b/service/cognitoidentity/api_op_DeleteIdentityPool.go @@ -72,7 +72,10 @@ func addOperationDeleteIdentityPoolMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_DescribeIdentity.go b/service/cognitoidentity/api_op_DescribeIdentity.go index 87f12efff80..d07792da886 100644 --- a/service/cognitoidentity/api_op_DescribeIdentity.go +++ b/service/cognitoidentity/api_op_DescribeIdentity.go @@ -87,7 +87,10 @@ func addOperationDescribeIdentityMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_DescribeIdentityPool.go b/service/cognitoidentity/api_op_DescribeIdentityPool.go index 8109cb40c13..60f28a1b290 100644 --- a/service/cognitoidentity/api_op_DescribeIdentityPool.go +++ b/service/cognitoidentity/api_op_DescribeIdentityPool.go @@ -117,7 +117,10 @@ func addOperationDescribeIdentityPoolMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_GetCredentialsForIdentity.go b/service/cognitoidentity/api_op_GetCredentialsForIdentity.go index 6622511e041..1d2d25993a9 100644 --- a/service/cognitoidentity/api_op_GetCredentialsForIdentity.go +++ b/service/cognitoidentity/api_op_GetCredentialsForIdentity.go @@ -93,7 +93,10 @@ func addOperationGetCredentialsForIdentityMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_GetId.go b/service/cognitoidentity/api_op_GetId.go index 5b4d96fdb19..89cc849ed27 100644 --- a/service/cognitoidentity/api_op_GetId.go +++ b/service/cognitoidentity/api_op_GetId.go @@ -93,7 +93,10 @@ func addOperationGetIdMiddlewares(stack *middleware.Stack, options Options) (err if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_GetIdentityPoolRoles.go b/service/cognitoidentity/api_op_GetIdentityPoolRoles.go index 81e8e1f5efa..af2336c95ff 100644 --- a/service/cognitoidentity/api_op_GetIdentityPoolRoles.go +++ b/service/cognitoidentity/api_op_GetIdentityPoolRoles.go @@ -87,7 +87,10 @@ func addOperationGetIdentityPoolRolesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_GetOpenIdToken.go b/service/cognitoidentity/api_op_GetOpenIdToken.go index 278cf5c653e..4034117aa45 100644 --- a/service/cognitoidentity/api_op_GetOpenIdToken.go +++ b/service/cognitoidentity/api_op_GetOpenIdToken.go @@ -83,7 +83,10 @@ func addOperationGetOpenIdTokenMiddlewares(stack *middleware.Stack, options Opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go b/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go index 2cf4d820299..a57446c63b9 100644 --- a/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_GetOpenIdTokenForDeveloperIdentity.go @@ -117,7 +117,10 @@ func addOperationGetOpenIdTokenForDeveloperIdentityMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_ListIdentities.go b/service/cognitoidentity/api_op_ListIdentities.go index c12e1486b69..a05b92bb7ff 100644 --- a/service/cognitoidentity/api_op_ListIdentities.go +++ b/service/cognitoidentity/api_op_ListIdentities.go @@ -96,7 +96,10 @@ func addOperationListIdentitiesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_ListIdentityPools.go b/service/cognitoidentity/api_op_ListIdentityPools.go index d0980712d13..52ea3ae0af8 100644 --- a/service/cognitoidentity/api_op_ListIdentityPools.go +++ b/service/cognitoidentity/api_op_ListIdentityPools.go @@ -84,7 +84,10 @@ func addOperationListIdentityPoolsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_ListTagsForResource.go b/service/cognitoidentity/api_op_ListTagsForResource.go index dc56b209f47..1cc7fc7583a 100644 --- a/service/cognitoidentity/api_op_ListTagsForResource.go +++ b/service/cognitoidentity/api_op_ListTagsForResource.go @@ -77,7 +77,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_LookupDeveloperIdentity.go b/service/cognitoidentity/api_op_LookupDeveloperIdentity.go index 69ac840e9c2..d3523e1b22a 100644 --- a/service/cognitoidentity/api_op_LookupDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_LookupDeveloperIdentity.go @@ -120,7 +120,10 @@ func addOperationLookupDeveloperIdentityMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_MergeDeveloperIdentities.go b/service/cognitoidentity/api_op_MergeDeveloperIdentities.go index 8ee074efced..a9818ba1f16 100644 --- a/service/cognitoidentity/api_op_MergeDeveloperIdentities.go +++ b/service/cognitoidentity/api_op_MergeDeveloperIdentities.go @@ -107,7 +107,10 @@ func addOperationMergeDeveloperIdentitiesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_SetIdentityPoolRoles.go b/service/cognitoidentity/api_op_SetIdentityPoolRoles.go index b27a0410e6c..ce637ec8d4f 100644 --- a/service/cognitoidentity/api_op_SetIdentityPoolRoles.go +++ b/service/cognitoidentity/api_op_SetIdentityPoolRoles.go @@ -86,7 +86,10 @@ func addOperationSetIdentityPoolRolesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_TagResource.go b/service/cognitoidentity/api_op_TagResource.go index 753ab401b3e..86ff7a98e75 100644 --- a/service/cognitoidentity/api_op_TagResource.go +++ b/service/cognitoidentity/api_op_TagResource.go @@ -86,7 +86,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go b/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go index 35ae4d468a6..3adf4820e78 100644 --- a/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_UnlinkDeveloperIdentity.go @@ -89,7 +89,10 @@ func addOperationUnlinkDeveloperIdentityMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_UnlinkIdentity.go b/service/cognitoidentity/api_op_UnlinkIdentity.go index 8d1ec2571b2..2f216899043 100644 --- a/service/cognitoidentity/api_op_UnlinkIdentity.go +++ b/service/cognitoidentity/api_op_UnlinkIdentity.go @@ -76,7 +76,10 @@ func addOperationUnlinkIdentityMiddlewares(stack *middleware.Stack, options Opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_UntagResource.go b/service/cognitoidentity/api_op_UntagResource.go index 8ab4cdb589f..9e0e08b4388 100644 --- a/service/cognitoidentity/api_op_UntagResource.go +++ b/service/cognitoidentity/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentity/api_op_UpdateIdentityPool.go b/service/cognitoidentity/api_op_UpdateIdentityPool.go index dce262a8007..1c0cdaf0a44 100644 --- a/service/cognitoidentity/api_op_UpdateIdentityPool.go +++ b/service/cognitoidentity/api_op_UpdateIdentityPool.go @@ -153,7 +153,10 @@ func addOperationUpdateIdentityPoolMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AddCustomAttributes.go b/service/cognitoidentityprovider/api_op_AddCustomAttributes.go index 60f07c4d7b7..f02eb9b6ee4 100644 --- a/service/cognitoidentityprovider/api_op_AddCustomAttributes.go +++ b/service/cognitoidentityprovider/api_op_AddCustomAttributes.go @@ -78,7 +78,10 @@ func addOperationAddCustomAttributesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go b/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go index 0034dc1602d..a9b39276d76 100644 --- a/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go +++ b/service/cognitoidentityprovider/api_op_AdminAddUserToGroup.go @@ -80,7 +80,10 @@ func addOperationAdminAddUserToGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go b/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go index 139da619664..7d096b818e8 100644 --- a/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go +++ b/service/cognitoidentityprovider/api_op_AdminConfirmSignUp.go @@ -104,7 +104,10 @@ func addOperationAdminConfirmSignUpMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminCreateUser.go b/service/cognitoidentityprovider/api_op_AdminCreateUser.go index 5598548526d..d0aba1a11f9 100644 --- a/service/cognitoidentityprovider/api_op_AdminCreateUser.go +++ b/service/cognitoidentityprovider/api_op_AdminCreateUser.go @@ -187,7 +187,10 @@ func addOperationAdminCreateUserMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminDeleteUser.go b/service/cognitoidentityprovider/api_op_AdminDeleteUser.go index eb7d6f7f77c..d5a82285ab0 100644 --- a/service/cognitoidentityprovider/api_op_AdminDeleteUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDeleteUser.go @@ -76,7 +76,10 @@ func addOperationAdminDeleteUserMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go b/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go index e55a225a7a9..827d6f3e1f7 100644 --- a/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_AdminDeleteUserAttributes.go @@ -85,7 +85,10 @@ func addOperationAdminDeleteUserAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go b/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go index 7816adc1c70..eb1d3bf620d 100644 --- a/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDisableProviderForUser.go @@ -98,7 +98,10 @@ func addOperationAdminDisableProviderForUserMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminDisableUser.go b/service/cognitoidentityprovider/api_op_AdminDisableUser.go index 4fccd160f54..5d6a409aaf5 100644 --- a/service/cognitoidentityprovider/api_op_AdminDisableUser.go +++ b/service/cognitoidentityprovider/api_op_AdminDisableUser.go @@ -77,7 +77,10 @@ func addOperationAdminDisableUserMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminEnableUser.go b/service/cognitoidentityprovider/api_op_AdminEnableUser.go index b2e79fac7d9..21e8543a395 100644 --- a/service/cognitoidentityprovider/api_op_AdminEnableUser.go +++ b/service/cognitoidentityprovider/api_op_AdminEnableUser.go @@ -78,7 +78,10 @@ func addOperationAdminEnableUserMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminForgetDevice.go b/service/cognitoidentityprovider/api_op_AdminForgetDevice.go index f4d9e0eaa5a..5ea9b7f7b53 100644 --- a/service/cognitoidentityprovider/api_op_AdminForgetDevice.go +++ b/service/cognitoidentityprovider/api_op_AdminForgetDevice.go @@ -81,7 +81,10 @@ func addOperationAdminForgetDeviceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminGetDevice.go b/service/cognitoidentityprovider/api_op_AdminGetDevice.go index 0b03586afa1..2ba43a7812d 100644 --- a/service/cognitoidentityprovider/api_op_AdminGetDevice.go +++ b/service/cognitoidentityprovider/api_op_AdminGetDevice.go @@ -89,7 +89,10 @@ func addOperationAdminGetDeviceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminGetUser.go b/service/cognitoidentityprovider/api_op_AdminGetUser.go index 21bc06b4dd7..358ce7b65b6 100644 --- a/service/cognitoidentityprovider/api_op_AdminGetUser.go +++ b/service/cognitoidentityprovider/api_op_AdminGetUser.go @@ -136,7 +136,10 @@ func addOperationAdminGetUserMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go b/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go index 7802996ed7a..b36338a0466 100644 --- a/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go +++ b/service/cognitoidentityprovider/api_op_AdminInitiateAuth.go @@ -271,7 +271,10 @@ func addOperationAdminInitiateAuthMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go b/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go index 81cf0836476..9fff3ad87f0 100644 --- a/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminLinkProviderForUser.go @@ -117,7 +117,10 @@ func addOperationAdminLinkProviderForUserMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminListDevices.go b/service/cognitoidentityprovider/api_op_AdminListDevices.go index b32bb951861..63fa34e0825 100644 --- a/service/cognitoidentityprovider/api_op_AdminListDevices.go +++ b/service/cognitoidentityprovider/api_op_AdminListDevices.go @@ -91,7 +91,10 @@ func addOperationAdminListDevicesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go b/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go index 6ed1dbb43a5..5d1f1e2b728 100644 --- a/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go +++ b/service/cognitoidentityprovider/api_op_AdminListGroupsForUser.go @@ -92,7 +92,10 @@ func addOperationAdminListGroupsForUserMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go b/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go index 86a7defacdc..5371c52267a 100644 --- a/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go +++ b/service/cognitoidentityprovider/api_op_AdminListUserAuthEvents.go @@ -91,7 +91,10 @@ func addOperationAdminListUserAuthEventsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go b/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go index 583c3777e53..6a0c6b4e8e1 100644 --- a/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go +++ b/service/cognitoidentityprovider/api_op_AdminRemoveUserFromGroup.go @@ -80,7 +80,10 @@ func addOperationAdminRemoveUserFromGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go b/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go index 3670578a0a9..c23c6d1d8c3 100644 --- a/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go +++ b/service/cognitoidentityprovider/api_op_AdminResetUserPassword.go @@ -114,7 +114,10 @@ func addOperationAdminResetUserPasswordMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go b/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go index ec9581fee8c..b38b8892687 100644 --- a/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go +++ b/service/cognitoidentityprovider/api_op_AdminRespondToAuthChallenge.go @@ -174,7 +174,10 @@ func addOperationAdminRespondToAuthChallengeMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go b/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go index 855f7bb503d..abe7615922c 100644 --- a/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go +++ b/service/cognitoidentityprovider/api_op_AdminSetUserMFAPreference.go @@ -85,7 +85,10 @@ func addOperationAdminSetUserMFAPreferenceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go b/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go index 3d972c1839a..91fafd51538 100644 --- a/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go +++ b/service/cognitoidentityprovider/api_op_AdminSetUserPassword.go @@ -89,7 +89,10 @@ func addOperationAdminSetUserPasswordMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go b/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go index b657e6ac919..cb198be49d9 100644 --- a/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go +++ b/service/cognitoidentityprovider/api_op_AdminSetUserSettings.go @@ -89,7 +89,10 @@ func addOperationAdminSetUserSettingsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go b/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go index 0e6eea2b0dc..4fc4baa6e7d 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateAuthEventFeedback.go @@ -87,7 +87,10 @@ func addOperationAdminUpdateAuthEventFeedbackMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go b/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go index 13d3f3e35fe..f8c24f48255 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateDeviceStatus.go @@ -86,7 +86,10 @@ func addOperationAdminUpdateDeviceStatusMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go b/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go index 9632ee58231..ca83adcab96 100644 --- a/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_AdminUpdateUserAttributes.go @@ -116,7 +116,10 @@ func addOperationAdminUpdateUserAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go b/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go index 1dd9d9c5d0b..d53d77c1a3b 100644 --- a/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go +++ b/service/cognitoidentityprovider/api_op_AdminUserGlobalSignOut.go @@ -79,7 +79,10 @@ func addOperationAdminUserGlobalSignOutMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go b/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go index 557841584b8..3bb0064a947 100644 --- a/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go +++ b/service/cognitoidentityprovider/api_op_AssociateSoftwareToken.go @@ -83,7 +83,10 @@ func addOperationAssociateSoftwareTokenMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ChangePassword.go b/service/cognitoidentityprovider/api_op_ChangePassword.go index a4dd6c361f3..27c78caa9fa 100644 --- a/service/cognitoidentityprovider/api_op_ChangePassword.go +++ b/service/cognitoidentityprovider/api_op_ChangePassword.go @@ -74,7 +74,10 @@ func addOperationChangePasswordMiddlewares(stack *middleware.Stack, options Opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ConfirmDevice.go b/service/cognitoidentityprovider/api_op_ConfirmDevice.go index e0c0afcadbb..cc1ec155554 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmDevice.go +++ b/service/cognitoidentityprovider/api_op_ConfirmDevice.go @@ -89,7 +89,10 @@ func addOperationConfirmDeviceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go b/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go index cd7804beba0..75bc5d9a1b7 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go +++ b/service/cognitoidentityprovider/api_op_ConfirmForgotPassword.go @@ -125,7 +125,10 @@ func addOperationConfirmForgotPasswordMiddlewares(stack *middleware.Stack, optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ConfirmSignUp.go b/service/cognitoidentityprovider/api_op_ConfirmSignUp.go index de4816584e6..e0add81783a 100644 --- a/service/cognitoidentityprovider/api_op_ConfirmSignUp.go +++ b/service/cognitoidentityprovider/api_op_ConfirmSignUp.go @@ -125,7 +125,10 @@ func addOperationConfirmSignUpMiddlewares(stack *middleware.Stack, options Optio if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_CreateGroup.go b/service/cognitoidentityprovider/api_op_CreateGroup.go index 78b64ebbb8d..6e92752c832 100644 --- a/service/cognitoidentityprovider/api_op_CreateGroup.go +++ b/service/cognitoidentityprovider/api_op_CreateGroup.go @@ -100,7 +100,10 @@ func addOperationCreateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go b/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go index 780129191c6..3f3bfce62cd 100644 --- a/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_CreateIdentityProvider.go @@ -165,7 +165,10 @@ func addOperationCreateIdentityProviderMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_CreateResourceServer.go b/service/cognitoidentityprovider/api_op_CreateResourceServer.go index 98811e15c6f..74a01b9b1e7 100644 --- a/service/cognitoidentityprovider/api_op_CreateResourceServer.go +++ b/service/cognitoidentityprovider/api_op_CreateResourceServer.go @@ -91,7 +91,10 @@ func addOperationCreateResourceServerMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_CreateUserImportJob.go b/service/cognitoidentityprovider/api_op_CreateUserImportJob.go index 62a5a8207fd..41fb81209f5 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_CreateUserImportJob.go @@ -87,7 +87,10 @@ func addOperationCreateUserImportJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_CreateUserPool.go b/service/cognitoidentityprovider/api_op_CreateUserPool.go index 0e57d7aed1b..5da5bb63c5f 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPool.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPool.go @@ -167,7 +167,10 @@ func addOperationCreateUserPoolMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go b/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go index 86702e42f30..09b8a964dc3 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPoolClient.go @@ -229,7 +229,10 @@ func addOperationCreateUserPoolClientMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go b/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go index fae49f0c4ac..40c24870d0f 100644 --- a/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_CreateUserPoolDomain.go @@ -88,7 +88,10 @@ func addOperationCreateUserPoolDomainMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DeleteGroup.go b/service/cognitoidentityprovider/api_op_DeleteGroup.go index 94a633e2e15..9382b498e40 100644 --- a/service/cognitoidentityprovider/api_op_DeleteGroup.go +++ b/service/cognitoidentityprovider/api_op_DeleteGroup.go @@ -75,7 +75,10 @@ func addOperationDeleteGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go b/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go index ff9da5638bf..595ac5ac550 100644 --- a/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_DeleteIdentityProvider.go @@ -74,7 +74,10 @@ func addOperationDeleteIdentityProviderMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DeleteResourceServer.go b/service/cognitoidentityprovider/api_op_DeleteResourceServer.go index fc17225b183..35e61fde637 100644 --- a/service/cognitoidentityprovider/api_op_DeleteResourceServer.go +++ b/service/cognitoidentityprovider/api_op_DeleteResourceServer.go @@ -74,7 +74,10 @@ func addOperationDeleteResourceServerMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DeleteUser.go b/service/cognitoidentityprovider/api_op_DeleteUser.go index 8b85a1d8bda..4aeb0742308 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUser.go +++ b/service/cognitoidentityprovider/api_op_DeleteUser.go @@ -63,7 +63,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go b/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go index 1593ff14a48..0ccc851071d 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserAttributes.go @@ -71,7 +71,10 @@ func addOperationDeleteUserAttributesMiddlewares(stack *middleware.Stack, option if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DeleteUserPool.go b/service/cognitoidentityprovider/api_op_DeleteUserPool.go index 106005c5c07..e9d41d25fa5 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserPool.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserPool.go @@ -70,7 +70,10 @@ func addOperationDeleteUserPoolMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go b/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go index 7cde36d13bd..57d48da9bda 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserPoolClient.go @@ -75,7 +75,10 @@ func addOperationDeleteUserPoolClientMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go b/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go index 2f9f04da7a0..fa7d42d106d 100644 --- a/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_DeleteUserPoolDomain.go @@ -74,7 +74,10 @@ func addOperationDeleteUserPoolDomainMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go b/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go index de163bacb91..f242de40867 100644 --- a/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_DescribeIdentityProvider.go @@ -81,7 +81,10 @@ func addOperationDescribeIdentityProviderMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DescribeResourceServer.go b/service/cognitoidentityprovider/api_op_DescribeResourceServer.go index d879434e925..1b2740e43da 100644 --- a/service/cognitoidentityprovider/api_op_DescribeResourceServer.go +++ b/service/cognitoidentityprovider/api_op_DescribeResourceServer.go @@ -81,7 +81,10 @@ func addOperationDescribeResourceServerMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go b/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go index e4586c33b3a..5e9e9241f8c 100644 --- a/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go +++ b/service/cognitoidentityprovider/api_op_DescribeRiskConfiguration.go @@ -79,7 +79,10 @@ func addOperationDescribeRiskConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go b/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go index 39f5670492d..48ac66dcd25 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserImportJob.go @@ -82,7 +82,10 @@ func addOperationDescribeUserImportJobMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DescribeUserPool.go b/service/cognitoidentityprovider/api_op_DescribeUserPool.go index 7c6e1e41d52..68eed6cdeb0 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserPool.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserPool.go @@ -76,7 +76,10 @@ func addOperationDescribeUserPoolMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go b/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go index 34dd718d416..7b7e68ddf79 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserPoolClient.go @@ -83,7 +83,10 @@ func addOperationDescribeUserPoolClientMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go b/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go index c951b7e8696..6e682019a69 100644 --- a/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_DescribeUserPoolDomain.go @@ -74,7 +74,10 @@ func addOperationDescribeUserPoolDomainMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ForgetDevice.go b/service/cognitoidentityprovider/api_op_ForgetDevice.go index 486d91a857e..3d572a1cdcb 100644 --- a/service/cognitoidentityprovider/api_op_ForgetDevice.go +++ b/service/cognitoidentityprovider/api_op_ForgetDevice.go @@ -73,7 +73,10 @@ func addOperationForgetDeviceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ForgotPassword.go b/service/cognitoidentityprovider/api_op_ForgotPassword.go index 292f19ae1ca..f7714137ac7 100644 --- a/service/cognitoidentityprovider/api_op_ForgotPassword.go +++ b/service/cognitoidentityprovider/api_op_ForgotPassword.go @@ -127,7 +127,10 @@ func addOperationForgotPasswordMiddlewares(stack *middleware.Stack, options Opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GetCSVHeader.go b/service/cognitoidentityprovider/api_op_GetCSVHeader.go index a1065a602c8..9cf21f94971 100644 --- a/service/cognitoidentityprovider/api_op_GetCSVHeader.go +++ b/service/cognitoidentityprovider/api_op_GetCSVHeader.go @@ -81,7 +81,10 @@ func addOperationGetCSVHeaderMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GetDevice.go b/service/cognitoidentityprovider/api_op_GetDevice.go index 82d09c79f23..f690cb6ff18 100644 --- a/service/cognitoidentityprovider/api_op_GetDevice.go +++ b/service/cognitoidentityprovider/api_op_GetDevice.go @@ -81,7 +81,10 @@ func addOperationGetDeviceMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GetGroup.go b/service/cognitoidentityprovider/api_op_GetGroup.go index 4f3a0e1cbe6..3eac76d422b 100644 --- a/service/cognitoidentityprovider/api_op_GetGroup.go +++ b/service/cognitoidentityprovider/api_op_GetGroup.go @@ -79,7 +79,10 @@ func addOperationGetGroupMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go b/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go index 055af1db9a4..50e9efbe674 100644 --- a/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go +++ b/service/cognitoidentityprovider/api_op_GetIdentityProviderByIdentifier.go @@ -81,7 +81,10 @@ func addOperationGetIdentityProviderByIdentifierMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GetSigningCertificate.go b/service/cognitoidentityprovider/api_op_GetSigningCertificate.go index 907a1288228..e4b8876b957 100644 --- a/service/cognitoidentityprovider/api_op_GetSigningCertificate.go +++ b/service/cognitoidentityprovider/api_op_GetSigningCertificate.go @@ -75,7 +75,10 @@ func addOperationGetSigningCertificateMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GetUICustomization.go b/service/cognitoidentityprovider/api_op_GetUICustomization.go index eae502f96f8..762ed9c6a5c 100644 --- a/service/cognitoidentityprovider/api_op_GetUICustomization.go +++ b/service/cognitoidentityprovider/api_op_GetUICustomization.go @@ -82,7 +82,10 @@ func addOperationGetUICustomizationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GetUser.go b/service/cognitoidentityprovider/api_op_GetUser.go index 9f86ec8b2f0..9594d68dafb 100644 --- a/service/cognitoidentityprovider/api_op_GetUser.go +++ b/service/cognitoidentityprovider/api_op_GetUser.go @@ -92,7 +92,10 @@ func addOperationGetUserMiddlewares(stack *middleware.Stack, options Options) (e if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go b/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go index 8d6c84d4c20..f95d634db1a 100644 --- a/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go +++ b/service/cognitoidentityprovider/api_op_GetUserAttributeVerificationCode.go @@ -107,7 +107,10 @@ func addOperationGetUserAttributeVerificationCodeMiddlewares(stack *middleware.S if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go b/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go index cc58f5e7d68..92c2a583bbc 100644 --- a/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go +++ b/service/cognitoidentityprovider/api_op_GetUserPoolMfaConfig.go @@ -89,7 +89,10 @@ func addOperationGetUserPoolMfaConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_GlobalSignOut.go b/service/cognitoidentityprovider/api_op_GlobalSignOut.go index 0fb549eedaa..4233de7e0cf 100644 --- a/service/cognitoidentityprovider/api_op_GlobalSignOut.go +++ b/service/cognitoidentityprovider/api_op_GlobalSignOut.go @@ -73,7 +73,10 @@ func addOperationGlobalSignOutMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_InitiateAuth.go b/service/cognitoidentityprovider/api_op_InitiateAuth.go index e66cb6c9dd4..aefadb59dc1 100644 --- a/service/cognitoidentityprovider/api_op_InitiateAuth.go +++ b/service/cognitoidentityprovider/api_op_InitiateAuth.go @@ -236,7 +236,10 @@ func addOperationInitiateAuthMiddlewares(stack *middleware.Stack, options Option if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListDevices.go b/service/cognitoidentityprovider/api_op_ListDevices.go index 4ffb2f71c45..ebf8782d640 100644 --- a/service/cognitoidentityprovider/api_op_ListDevices.go +++ b/service/cognitoidentityprovider/api_op_ListDevices.go @@ -85,7 +85,10 @@ func addOperationListDevicesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListGroups.go b/service/cognitoidentityprovider/api_op_ListGroups.go index 77b6295865b..b6e2d6fb1b7 100644 --- a/service/cognitoidentityprovider/api_op_ListGroups.go +++ b/service/cognitoidentityprovider/api_op_ListGroups.go @@ -87,7 +87,10 @@ func addOperationListGroupsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListIdentityProviders.go b/service/cognitoidentityprovider/api_op_ListIdentityProviders.go index 351f5ac70a7..b65b6736821 100644 --- a/service/cognitoidentityprovider/api_op_ListIdentityProviders.go +++ b/service/cognitoidentityprovider/api_op_ListIdentityProviders.go @@ -86,7 +86,10 @@ func addOperationListIdentityProvidersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListResourceServers.go b/service/cognitoidentityprovider/api_op_ListResourceServers.go index ab8d751fc23..d38c41a2177 100644 --- a/service/cognitoidentityprovider/api_op_ListResourceServers.go +++ b/service/cognitoidentityprovider/api_op_ListResourceServers.go @@ -86,7 +86,10 @@ func addOperationListResourceServersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListTagsForResource.go b/service/cognitoidentityprovider/api_op_ListTagsForResource.go index f322587db97..2606a360409 100644 --- a/service/cognitoidentityprovider/api_op_ListTagsForResource.go +++ b/service/cognitoidentityprovider/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListUserImportJobs.go b/service/cognitoidentityprovider/api_op_ListUserImportJobs.go index 7ec120ef832..3ddbbca7195 100644 --- a/service/cognitoidentityprovider/api_op_ListUserImportJobs.go +++ b/service/cognitoidentityprovider/api_op_ListUserImportJobs.go @@ -90,7 +90,10 @@ func addOperationListUserImportJobsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListUserPoolClients.go b/service/cognitoidentityprovider/api_op_ListUserPoolClients.go index e8258869856..6bdaf0ac832 100644 --- a/service/cognitoidentityprovider/api_op_ListUserPoolClients.go +++ b/service/cognitoidentityprovider/api_op_ListUserPoolClients.go @@ -89,7 +89,10 @@ func addOperationListUserPoolClientsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListUserPools.go b/service/cognitoidentityprovider/api_op_ListUserPools.go index b8709889943..52c31e23985 100644 --- a/service/cognitoidentityprovider/api_op_ListUserPools.go +++ b/service/cognitoidentityprovider/api_op_ListUserPools.go @@ -86,7 +86,10 @@ func addOperationListUserPoolsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListUsers.go b/service/cognitoidentityprovider/api_op_ListUsers.go index f33cb8ef1a6..e78ce5f2d15 100644 --- a/service/cognitoidentityprovider/api_op_ListUsers.go +++ b/service/cognitoidentityprovider/api_op_ListUsers.go @@ -143,7 +143,10 @@ func addOperationListUsersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListUsersInGroup.go b/service/cognitoidentityprovider/api_op_ListUsersInGroup.go index f2964d2687c..f2d5f3a2b62 100644 --- a/service/cognitoidentityprovider/api_op_ListUsersInGroup.go +++ b/service/cognitoidentityprovider/api_op_ListUsersInGroup.go @@ -92,7 +92,10 @@ func addOperationListUsersInGroupMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go b/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go index bd5be1a6428..82500075859 100644 --- a/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go +++ b/service/cognitoidentityprovider/api_op_ResendConfirmationCode.go @@ -118,7 +118,10 @@ func addOperationResendConfirmationCodeMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go b/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go index a88de772ccc..50b86d9543c 100644 --- a/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go +++ b/service/cognitoidentityprovider/api_op_RespondToAuthChallenge.go @@ -161,7 +161,10 @@ func addOperationRespondToAuthChallengeMiddlewares(stack *middleware.Stack, opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go b/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go index 5e19730d9b7..246f26229f1 100644 --- a/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go +++ b/service/cognitoidentityprovider/api_op_SetRiskConfiguration.go @@ -95,7 +95,10 @@ func addOperationSetRiskConfigurationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_SetUICustomization.go b/service/cognitoidentityprovider/api_op_SetUICustomization.go index 0f001da424e..1e055766bc6 100644 --- a/service/cognitoidentityprovider/api_op_SetUICustomization.go +++ b/service/cognitoidentityprovider/api_op_SetUICustomization.go @@ -92,7 +92,10 @@ func addOperationSetUICustomizationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go b/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go index e920553a867..8b57ed0423b 100644 --- a/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go +++ b/service/cognitoidentityprovider/api_op_SetUserMFAPreference.go @@ -85,7 +85,10 @@ func addOperationSetUserMFAPreferenceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go b/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go index 4f8d3aa0b1d..f64ec9a8efc 100644 --- a/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go +++ b/service/cognitoidentityprovider/api_op_SetUserPoolMfaConfig.go @@ -105,7 +105,10 @@ func addOperationSetUserPoolMfaConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_SetUserSettings.go b/service/cognitoidentityprovider/api_op_SetUserSettings.go index 87cabe09d8d..4891e3783fa 100644 --- a/service/cognitoidentityprovider/api_op_SetUserSettings.go +++ b/service/cognitoidentityprovider/api_op_SetUserSettings.go @@ -75,7 +75,10 @@ func addOperationSetUserSettingsMiddlewares(stack *middleware.Stack, options Opt if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_SignUp.go b/service/cognitoidentityprovider/api_op_SignUp.go index d6a630ba9dc..92f7c8decf3 100644 --- a/service/cognitoidentityprovider/api_op_SignUp.go +++ b/service/cognitoidentityprovider/api_op_SignUp.go @@ -139,7 +139,10 @@ func addOperationSignUpMiddlewares(stack *middleware.Stack, options Options) (er if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_StartUserImportJob.go b/service/cognitoidentityprovider/api_op_StartUserImportJob.go index 2f344c44104..5fc612fd608 100644 --- a/service/cognitoidentityprovider/api_op_StartUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_StartUserImportJob.go @@ -82,7 +82,10 @@ func addOperationStartUserImportJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_StopUserImportJob.go b/service/cognitoidentityprovider/api_op_StopUserImportJob.go index cc18bde652f..6b60b1aadd7 100644 --- a/service/cognitoidentityprovider/api_op_StopUserImportJob.go +++ b/service/cognitoidentityprovider/api_op_StopUserImportJob.go @@ -82,7 +82,10 @@ func addOperationStopUserImportJobMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_TagResource.go b/service/cognitoidentityprovider/api_op_TagResource.go index 4f52893e705..ed3fa05ce8b 100644 --- a/service/cognitoidentityprovider/api_op_TagResource.go +++ b/service/cognitoidentityprovider/api_op_TagResource.go @@ -86,7 +86,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UntagResource.go b/service/cognitoidentityprovider/api_op_UntagResource.go index bff79fbe153..c7f7780715f 100644 --- a/service/cognitoidentityprovider/api_op_UntagResource.go +++ b/service/cognitoidentityprovider/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go b/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go index ac97ff0caf6..72fa5fb6753 100644 --- a/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go +++ b/service/cognitoidentityprovider/api_op_UpdateAuthEventFeedback.go @@ -92,7 +92,10 @@ func addOperationUpdateAuthEventFeedbackMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go b/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go index 8cb79c5986a..54732a74401 100644 --- a/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go +++ b/service/cognitoidentityprovider/api_op_UpdateDeviceStatus.go @@ -80,7 +80,10 @@ func addOperationUpdateDeviceStatusMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UpdateGroup.go b/service/cognitoidentityprovider/api_op_UpdateGroup.go index 77a17609ed0..bfde5ef3e1f 100644 --- a/service/cognitoidentityprovider/api_op_UpdateGroup.go +++ b/service/cognitoidentityprovider/api_op_UpdateGroup.go @@ -93,7 +93,10 @@ func addOperationUpdateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go b/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go index 78e9d1cf3de..4a18f2f1602 100644 --- a/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go +++ b/service/cognitoidentityprovider/api_op_UpdateIdentityProvider.go @@ -91,7 +91,10 @@ func addOperationUpdateIdentityProviderMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UpdateResourceServer.go b/service/cognitoidentityprovider/api_op_UpdateResourceServer.go index 6f51f9e20c0..9f94141d470 100644 --- a/service/cognitoidentityprovider/api_op_UpdateResourceServer.go +++ b/service/cognitoidentityprovider/api_op_UpdateResourceServer.go @@ -91,7 +91,10 @@ func addOperationUpdateResourceServerMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go b/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go index 7ce7518aeb9..0ced013b18b 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserAttributes.go @@ -105,7 +105,10 @@ func addOperationUpdateUserAttributesMiddlewares(stack *middleware.Stack, option if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPool.go b/service/cognitoidentityprovider/api_op_UpdateUserPool.go index b513d420f74..bf211403548 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPool.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPool.go @@ -146,7 +146,10 @@ func addOperationUpdateUserPoolMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go b/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go index 5e94afbdd3e..a82aba9ce93 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPoolClient.go @@ -224,7 +224,10 @@ func addOperationUpdateUserPoolClientMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go b/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go index 3f8e77260f6..7755fc50061 100644 --- a/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go +++ b/service/cognitoidentityprovider/api_op_UpdateUserPoolDomain.go @@ -111,7 +111,10 @@ func addOperationUpdateUserPoolDomainMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go b/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go index 4c1d801f664..076ff7a91ad 100644 --- a/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go +++ b/service/cognitoidentityprovider/api_op_VerifySoftwareToken.go @@ -92,7 +92,10 @@ func addOperationVerifySoftwareTokenMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go b/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go index 1951e190f87..f222bef0bda 100644 --- a/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go +++ b/service/cognitoidentityprovider/api_op_VerifyUserAttribute.go @@ -75,7 +75,10 @@ func addOperationVerifyUserAttributeMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_BulkPublish.go b/service/cognitosync/api_op_BulkPublish.go index a5f4171e17a..7d704b5179c 100644 --- a/service/cognitosync/api_op_BulkPublish.go +++ b/service/cognitosync/api_op_BulkPublish.go @@ -82,7 +82,10 @@ func addOperationBulkPublishMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_DeleteDataset.go b/service/cognitosync/api_op_DeleteDataset.go index 3ed6ba075e6..a12bf88ce28 100644 --- a/service/cognitosync/api_op_DeleteDataset.go +++ b/service/cognitosync/api_op_DeleteDataset.go @@ -97,7 +97,10 @@ func addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_DescribeDataset.go b/service/cognitosync/api_op_DescribeDataset.go index 2a2a20b2107..b77c3d4c508 100644 --- a/service/cognitosync/api_op_DescribeDataset.go +++ b/service/cognitosync/api_op_DescribeDataset.go @@ -99,7 +99,10 @@ func addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_DescribeIdentityPoolUsage.go b/service/cognitosync/api_op_DescribeIdentityPoolUsage.go index 954d3b38d0d..db07c15a27d 100644 --- a/service/cognitosync/api_op_DescribeIdentityPoolUsage.go +++ b/service/cognitosync/api_op_DescribeIdentityPoolUsage.go @@ -79,7 +79,10 @@ func addOperationDescribeIdentityPoolUsageMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_DescribeIdentityUsage.go b/service/cognitosync/api_op_DescribeIdentityUsage.go index 2f75e998edb..216d27f1f09 100644 --- a/service/cognitosync/api_op_DescribeIdentityUsage.go +++ b/service/cognitosync/api_op_DescribeIdentityUsage.go @@ -85,7 +85,10 @@ func addOperationDescribeIdentityUsageMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_GetBulkPublishDetails.go b/service/cognitosync/api_op_GetBulkPublishDetails.go index 312d345a76d..3e2803cf67a 100644 --- a/service/cognitosync/api_op_GetBulkPublishDetails.go +++ b/service/cognitosync/api_op_GetBulkPublishDetails.go @@ -107,7 +107,10 @@ func addOperationGetBulkPublishDetailsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_GetCognitoEvents.go b/service/cognitosync/api_op_GetCognitoEvents.go index 3d4032bcf12..e3acf866fb7 100644 --- a/service/cognitosync/api_op_GetCognitoEvents.go +++ b/service/cognitosync/api_op_GetCognitoEvents.go @@ -78,7 +78,10 @@ func addOperationGetCognitoEventsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_GetIdentityPoolConfiguration.go b/service/cognitosync/api_op_GetIdentityPoolConfiguration.go index e02c0ea9f00..342cc39b98d 100644 --- a/service/cognitosync/api_op_GetIdentityPoolConfiguration.go +++ b/service/cognitosync/api_op_GetIdentityPoolConfiguration.go @@ -87,7 +87,10 @@ func addOperationGetIdentityPoolConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_ListDatasets.go b/service/cognitosync/api_op_ListDatasets.go index ea4b4a176c6..18f8f08dcc0 100644 --- a/service/cognitosync/api_op_ListDatasets.go +++ b/service/cognitosync/api_op_ListDatasets.go @@ -100,7 +100,10 @@ func addOperationListDatasetsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_ListIdentityPoolUsage.go b/service/cognitosync/api_op_ListIdentityPoolUsage.go index 9a817f7f010..4e82222d382 100644 --- a/service/cognitosync/api_op_ListIdentityPoolUsage.go +++ b/service/cognitosync/api_op_ListIdentityPoolUsage.go @@ -88,7 +88,10 @@ func addOperationListIdentityPoolUsageMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_ListRecords.go b/service/cognitosync/api_op_ListRecords.go index 3c13358a21b..ebe96334b5c 100644 --- a/service/cognitosync/api_op_ListRecords.go +++ b/service/cognitosync/api_op_ListRecords.go @@ -130,7 +130,10 @@ func addOperationListRecordsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_RegisterDevice.go b/service/cognitosync/api_op_RegisterDevice.go index c4201f935d6..967cb35cc37 100644 --- a/service/cognitosync/api_op_RegisterDevice.go +++ b/service/cognitosync/api_op_RegisterDevice.go @@ -95,7 +95,10 @@ func addOperationRegisterDeviceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_SetCognitoEvents.go b/service/cognitosync/api_op_SetCognitoEvents.go index 1ed2175cb78..c22e9202a4f 100644 --- a/service/cognitosync/api_op_SetCognitoEvents.go +++ b/service/cognitosync/api_op_SetCognitoEvents.go @@ -79,7 +79,10 @@ func addOperationSetCognitoEventsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_SetIdentityPoolConfiguration.go b/service/cognitosync/api_op_SetIdentityPoolConfiguration.go index aebc191914e..f61f43b5bed 100644 --- a/service/cognitosync/api_op_SetIdentityPoolConfiguration.go +++ b/service/cognitosync/api_op_SetIdentityPoolConfiguration.go @@ -92,7 +92,10 @@ func addOperationSetIdentityPoolConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_SubscribeToDataset.go b/service/cognitosync/api_op_SubscribeToDataset.go index ea5d7e5f120..abc737fc748 100644 --- a/service/cognitosync/api_op_SubscribeToDataset.go +++ b/service/cognitosync/api_op_SubscribeToDataset.go @@ -89,7 +89,10 @@ func addOperationSubscribeToDatasetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_UnsubscribeFromDataset.go b/service/cognitosync/api_op_UnsubscribeFromDataset.go index de616c8a44e..58e964762ba 100644 --- a/service/cognitosync/api_op_UnsubscribeFromDataset.go +++ b/service/cognitosync/api_op_UnsubscribeFromDataset.go @@ -89,7 +89,10 @@ func addOperationUnsubscribeFromDatasetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/cognitosync/api_op_UpdateRecords.go b/service/cognitosync/api_op_UpdateRecords.go index b9149f1a748..22254a1cd74 100644 --- a/service/cognitosync/api_op_UpdateRecords.go +++ b/service/cognitosync/api_op_UpdateRecords.go @@ -117,7 +117,10 @@ func addOperationUpdateRecordsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_BatchDetectDominantLanguage.go b/service/comprehend/api_op_BatchDetectDominantLanguage.go index af256b6e9aa..2a7b10ba97d 100644 --- a/service/comprehend/api_op_BatchDetectDominantLanguage.go +++ b/service/comprehend/api_op_BatchDetectDominantLanguage.go @@ -92,7 +92,10 @@ func addOperationBatchDetectDominantLanguageMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_BatchDetectEntities.go b/service/comprehend/api_op_BatchDetectEntities.go index 7f31ec01bec..f585c48cace 100644 --- a/service/comprehend/api_op_BatchDetectEntities.go +++ b/service/comprehend/api_op_BatchDetectEntities.go @@ -98,7 +98,10 @@ func addOperationBatchDetectEntitiesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_BatchDetectKeyPhrases.go b/service/comprehend/api_op_BatchDetectKeyPhrases.go index 6f8a34b173a..ff1acbe538e 100644 --- a/service/comprehend/api_op_BatchDetectKeyPhrases.go +++ b/service/comprehend/api_op_BatchDetectKeyPhrases.go @@ -96,7 +96,10 @@ func addOperationBatchDetectKeyPhrasesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_BatchDetectSentiment.go b/service/comprehend/api_op_BatchDetectSentiment.go index a5cef2056f6..ffd1e097298 100644 --- a/service/comprehend/api_op_BatchDetectSentiment.go +++ b/service/comprehend/api_op_BatchDetectSentiment.go @@ -97,7 +97,10 @@ func addOperationBatchDetectSentimentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_BatchDetectSyntax.go b/service/comprehend/api_op_BatchDetectSyntax.go index f0ae935ceaa..b3f01f3508d 100644 --- a/service/comprehend/api_op_BatchDetectSyntax.go +++ b/service/comprehend/api_op_BatchDetectSyntax.go @@ -99,7 +99,10 @@ func addOperationBatchDetectSyntaxMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ClassifyDocument.go b/service/comprehend/api_op_ClassifyDocument.go index 6bffe6476ff..e15ee328d60 100644 --- a/service/comprehend/api_op_ClassifyDocument.go +++ b/service/comprehend/api_op_ClassifyDocument.go @@ -90,7 +90,10 @@ func addOperationClassifyDocumentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_CreateDocumentClassifier.go b/service/comprehend/api_op_CreateDocumentClassifier.go index a6c01082874..026f9e3dd3a 100644 --- a/service/comprehend/api_op_CreateDocumentClassifier.go +++ b/service/comprehend/api_op_CreateDocumentClassifier.go @@ -137,7 +137,10 @@ func addOperationCreateDocumentClassifierMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_CreateEndpoint.go b/service/comprehend/api_op_CreateEndpoint.go index 53586cdb72f..dfa277ee081 100644 --- a/service/comprehend/api_op_CreateEndpoint.go +++ b/service/comprehend/api_op_CreateEndpoint.go @@ -100,7 +100,10 @@ func addOperationCreateEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_CreateEntityRecognizer.go b/service/comprehend/api_op_CreateEntityRecognizer.go index cf984c77aa2..cec7333185b 100644 --- a/service/comprehend/api_op_CreateEntityRecognizer.go +++ b/service/comprehend/api_op_CreateEntityRecognizer.go @@ -127,7 +127,10 @@ func addOperationCreateEntityRecognizerMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DeleteDocumentClassifier.go b/service/comprehend/api_op_DeleteDocumentClassifier.go index e40c9a1e3d2..bb2f85320aa 100644 --- a/service/comprehend/api_op_DeleteDocumentClassifier.go +++ b/service/comprehend/api_op_DeleteDocumentClassifier.go @@ -74,7 +74,10 @@ func addOperationDeleteDocumentClassifierMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DeleteEndpoint.go b/service/comprehend/api_op_DeleteEndpoint.go index 7dd4c8c40d3..b251480d9f0 100644 --- a/service/comprehend/api_op_DeleteEndpoint.go +++ b/service/comprehend/api_op_DeleteEndpoint.go @@ -70,7 +70,10 @@ func addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DeleteEntityRecognizer.go b/service/comprehend/api_op_DeleteEntityRecognizer.go index 48cbdc1ca85..459b6b9f311 100644 --- a/service/comprehend/api_op_DeleteEntityRecognizer.go +++ b/service/comprehend/api_op_DeleteEntityRecognizer.go @@ -74,7 +74,10 @@ func addOperationDeleteEntityRecognizerMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeDocumentClassificationJob.go b/service/comprehend/api_op_DescribeDocumentClassificationJob.go index 622cbc0c405..4e22f0f7855 100644 --- a/service/comprehend/api_op_DescribeDocumentClassificationJob.go +++ b/service/comprehend/api_op_DescribeDocumentClassificationJob.go @@ -77,7 +77,10 @@ func addOperationDescribeDocumentClassificationJobMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeDocumentClassifier.go b/service/comprehend/api_op_DescribeDocumentClassifier.go index 2396ca02d2a..60396b34ec5 100644 --- a/service/comprehend/api_op_DescribeDocumentClassifier.go +++ b/service/comprehend/api_op_DescribeDocumentClassifier.go @@ -75,7 +75,10 @@ func addOperationDescribeDocumentClassifierMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go b/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go index 4ea00e5aeb3..8064283eefc 100644 --- a/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go +++ b/service/comprehend/api_op_DescribeDominantLanguageDetectionJob.go @@ -77,7 +77,10 @@ func addOperationDescribeDominantLanguageDetectionJobMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeEndpoint.go b/service/comprehend/api_op_DescribeEndpoint.go index 2914bf5a1a7..66bb4fc9841 100644 --- a/service/comprehend/api_op_DescribeEndpoint.go +++ b/service/comprehend/api_op_DescribeEndpoint.go @@ -75,7 +75,10 @@ func addOperationDescribeEndpointMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeEntitiesDetectionJob.go b/service/comprehend/api_op_DescribeEntitiesDetectionJob.go index 22b1823dbb6..4e9ef75fa66 100644 --- a/service/comprehend/api_op_DescribeEntitiesDetectionJob.go +++ b/service/comprehend/api_op_DescribeEntitiesDetectionJob.go @@ -77,7 +77,10 @@ func addOperationDescribeEntitiesDetectionJobMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeEntityRecognizer.go b/service/comprehend/api_op_DescribeEntityRecognizer.go index af7a1b80d43..7ab13c46386 100644 --- a/service/comprehend/api_op_DescribeEntityRecognizer.go +++ b/service/comprehend/api_op_DescribeEntityRecognizer.go @@ -75,7 +75,10 @@ func addOperationDescribeEntityRecognizerMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeEventsDetectionJob.go b/service/comprehend/api_op_DescribeEventsDetectionJob.go index d9fd75ea2d6..62d2f9e0cb4 100644 --- a/service/comprehend/api_op_DescribeEventsDetectionJob.go +++ b/service/comprehend/api_op_DescribeEventsDetectionJob.go @@ -74,7 +74,10 @@ func addOperationDescribeEventsDetectionJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go b/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go index 98ab053cb55..56170bc4870 100644 --- a/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go +++ b/service/comprehend/api_op_DescribeKeyPhrasesDetectionJob.go @@ -77,7 +77,10 @@ func addOperationDescribeKeyPhrasesDetectionJobMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go b/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go index 192175ef357..1a9f37767b2 100644 --- a/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_DescribePiiEntitiesDetectionJob.go @@ -76,7 +76,10 @@ func addOperationDescribePiiEntitiesDetectionJobMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeSentimentDetectionJob.go b/service/comprehend/api_op_DescribeSentimentDetectionJob.go index 4c730f88c81..89ebf3a7389 100644 --- a/service/comprehend/api_op_DescribeSentimentDetectionJob.go +++ b/service/comprehend/api_op_DescribeSentimentDetectionJob.go @@ -77,7 +77,10 @@ func addOperationDescribeSentimentDetectionJobMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DescribeTopicsDetectionJob.go b/service/comprehend/api_op_DescribeTopicsDetectionJob.go index 167b47d4ae9..d85eec396f7 100644 --- a/service/comprehend/api_op_DescribeTopicsDetectionJob.go +++ b/service/comprehend/api_op_DescribeTopicsDetectionJob.go @@ -75,7 +75,10 @@ func addOperationDescribeTopicsDetectionJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DetectDominantLanguage.go b/service/comprehend/api_op_DetectDominantLanguage.go index 48400cc2352..6cc0f35277f 100644 --- a/service/comprehend/api_op_DetectDominantLanguage.go +++ b/service/comprehend/api_op_DetectDominantLanguage.go @@ -81,7 +81,10 @@ func addOperationDetectDominantLanguageMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DetectEntities.go b/service/comprehend/api_op_DetectEntities.go index ff9494d4849..551be1d203e 100644 --- a/service/comprehend/api_op_DetectEntities.go +++ b/service/comprehend/api_op_DetectEntities.go @@ -97,7 +97,10 @@ func addOperationDetectEntitiesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DetectKeyPhrases.go b/service/comprehend/api_op_DetectKeyPhrases.go index 702007ecf77..5a38689a6b3 100644 --- a/service/comprehend/api_op_DetectKeyPhrases.go +++ b/service/comprehend/api_op_DetectKeyPhrases.go @@ -85,7 +85,10 @@ func addOperationDetectKeyPhrasesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DetectPiiEntities.go b/service/comprehend/api_op_DetectPiiEntities.go index 8d81e138fd3..aa8b2322b38 100644 --- a/service/comprehend/api_op_DetectPiiEntities.go +++ b/service/comprehend/api_op_DetectPiiEntities.go @@ -83,7 +83,10 @@ func addOperationDetectPiiEntitiesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DetectSentiment.go b/service/comprehend/api_op_DetectSentiment.go index d4978a76b5e..365e873d5f8 100644 --- a/service/comprehend/api_op_DetectSentiment.go +++ b/service/comprehend/api_op_DetectSentiment.go @@ -87,7 +87,10 @@ func addOperationDetectSentimentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_DetectSyntax.go b/service/comprehend/api_op_DetectSyntax.go index 1bbd8a6f63f..1b46476dcbe 100644 --- a/service/comprehend/api_op_DetectSyntax.go +++ b/service/comprehend/api_op_DetectSyntax.go @@ -86,7 +86,10 @@ func addOperationDetectSyntaxMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListDocumentClassificationJobs.go b/service/comprehend/api_op_ListDocumentClassificationJobs.go index f96dd067cdf..239b6bf9c64 100644 --- a/service/comprehend/api_op_ListDocumentClassificationJobs.go +++ b/service/comprehend/api_op_ListDocumentClassificationJobs.go @@ -84,7 +84,10 @@ func addOperationListDocumentClassificationJobsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListDocumentClassifiers.go b/service/comprehend/api_op_ListDocumentClassifiers.go index c81d63a710a..73e7d543741 100644 --- a/service/comprehend/api_op_ListDocumentClassifiers.go +++ b/service/comprehend/api_op_ListDocumentClassifiers.go @@ -84,7 +84,10 @@ func addOperationListDocumentClassifiersMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go b/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go index ef5ea19d430..408e3a509ec 100644 --- a/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go +++ b/service/comprehend/api_op_ListDominantLanguageDetectionJobs.go @@ -84,7 +84,10 @@ func addOperationListDominantLanguageDetectionJobsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListEndpoints.go b/service/comprehend/api_op_ListEndpoints.go index d4048399d7a..30aba254036 100644 --- a/service/comprehend/api_op_ListEndpoints.go +++ b/service/comprehend/api_op_ListEndpoints.go @@ -84,7 +84,10 @@ func addOperationListEndpointsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListEntitiesDetectionJobs.go b/service/comprehend/api_op_ListEntitiesDetectionJobs.go index d3c2302b791..ff78ae901a8 100644 --- a/service/comprehend/api_op_ListEntitiesDetectionJobs.go +++ b/service/comprehend/api_op_ListEntitiesDetectionJobs.go @@ -84,7 +84,10 @@ func addOperationListEntitiesDetectionJobsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListEntityRecognizers.go b/service/comprehend/api_op_ListEntityRecognizers.go index 56b06282365..0ab6b4a4024 100644 --- a/service/comprehend/api_op_ListEntityRecognizers.go +++ b/service/comprehend/api_op_ListEntityRecognizers.go @@ -88,7 +88,10 @@ func addOperationListEntityRecognizersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListEventsDetectionJobs.go b/service/comprehend/api_op_ListEventsDetectionJobs.go index 7b06aea088e..5dfa633b66e 100644 --- a/service/comprehend/api_op_ListEventsDetectionJobs.go +++ b/service/comprehend/api_op_ListEventsDetectionJobs.go @@ -84,7 +84,10 @@ func addOperationListEventsDetectionJobsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go b/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go index 096812c35d7..2979ab651a0 100644 --- a/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go +++ b/service/comprehend/api_op_ListKeyPhrasesDetectionJobs.go @@ -84,7 +84,10 @@ func addOperationListKeyPhrasesDetectionJobsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go b/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go index d7ee4a032a5..82ca2b9852c 100644 --- a/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go +++ b/service/comprehend/api_op_ListPiiEntitiesDetectionJobs.go @@ -83,7 +83,10 @@ func addOperationListPiiEntitiesDetectionJobsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListSentimentDetectionJobs.go b/service/comprehend/api_op_ListSentimentDetectionJobs.go index fe3ac1e949a..d0ff911c6e3 100644 --- a/service/comprehend/api_op_ListSentimentDetectionJobs.go +++ b/service/comprehend/api_op_ListSentimentDetectionJobs.go @@ -84,7 +84,10 @@ func addOperationListSentimentDetectionJobsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListTagsForResource.go b/service/comprehend/api_op_ListTagsForResource.go index e817d788147..93e0d347bec 100644 --- a/service/comprehend/api_op_ListTagsForResource.go +++ b/service/comprehend/api_op_ListTagsForResource.go @@ -82,7 +82,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_ListTopicsDetectionJobs.go b/service/comprehend/api_op_ListTopicsDetectionJobs.go index 3d2461c2a23..b0a5a09c383 100644 --- a/service/comprehend/api_op_ListTopicsDetectionJobs.go +++ b/service/comprehend/api_op_ListTopicsDetectionJobs.go @@ -84,7 +84,10 @@ func addOperationListTopicsDetectionJobsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StartDocumentClassificationJob.go b/service/comprehend/api_op_StartDocumentClassificationJob.go index be3fb729eab..bd5174bcecd 100644 --- a/service/comprehend/api_op_StartDocumentClassificationJob.go +++ b/service/comprehend/api_op_StartDocumentClassificationJob.go @@ -140,7 +140,10 @@ func addOperationStartDocumentClassificationJobMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StartDominantLanguageDetectionJob.go b/service/comprehend/api_op_StartDominantLanguageDetectionJob.go index 2060b20338a..4d1f7be8050 100644 --- a/service/comprehend/api_op_StartDominantLanguageDetectionJob.go +++ b/service/comprehend/api_op_StartDominantLanguageDetectionJob.go @@ -130,7 +130,10 @@ func addOperationStartDominantLanguageDetectionJobMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StartEntitiesDetectionJob.go b/service/comprehend/api_op_StartEntitiesDetectionJob.go index 6e094f50ea3..6b29a97456c 100644 --- a/service/comprehend/api_op_StartEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StartEntitiesDetectionJob.go @@ -154,7 +154,10 @@ func addOperationStartEntitiesDetectionJobMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StartEventsDetectionJob.go b/service/comprehend/api_op_StartEventsDetectionJob.go index 9a2492f61e9..6fcbbf7886a 100644 --- a/service/comprehend/api_op_StartEventsDetectionJob.go +++ b/service/comprehend/api_op_StartEventsDetectionJob.go @@ -107,7 +107,10 @@ func addOperationStartEventsDetectionJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go b/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go index f78e3d7dfd9..c351eb61673 100644 --- a/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go +++ b/service/comprehend/api_op_StartKeyPhrasesDetectionJob.go @@ -137,7 +137,10 @@ func addOperationStartKeyPhrasesDetectionJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go b/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go index 43b510c639d..cf8c8eca78f 100644 --- a/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StartPiiEntitiesDetectionJob.go @@ -112,7 +112,10 @@ func addOperationStartPiiEntitiesDetectionJobMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StartSentimentDetectionJob.go b/service/comprehend/api_op_StartSentimentDetectionJob.go index 6e599281bae..ccd99d5e978 100644 --- a/service/comprehend/api_op_StartSentimentDetectionJob.go +++ b/service/comprehend/api_op_StartSentimentDetectionJob.go @@ -137,7 +137,10 @@ func addOperationStartSentimentDetectionJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StartTopicsDetectionJob.go b/service/comprehend/api_op_StartTopicsDetectionJob.go index 30f27ce27e3..89b269dac23 100644 --- a/service/comprehend/api_op_StartTopicsDetectionJob.go +++ b/service/comprehend/api_op_StartTopicsDetectionJob.go @@ -136,7 +136,10 @@ func addOperationStartTopicsDetectionJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StopDominantLanguageDetectionJob.go b/service/comprehend/api_op_StopDominantLanguageDetectionJob.go index e78d3221ee5..2e0c7efd5cb 100644 --- a/service/comprehend/api_op_StopDominantLanguageDetectionJob.go +++ b/service/comprehend/api_op_StopDominantLanguageDetectionJob.go @@ -85,7 +85,10 @@ func addOperationStopDominantLanguageDetectionJobMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StopEntitiesDetectionJob.go b/service/comprehend/api_op_StopEntitiesDetectionJob.go index 4cc44260e11..95d084f0ac5 100644 --- a/service/comprehend/api_op_StopEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StopEntitiesDetectionJob.go @@ -84,7 +84,10 @@ func addOperationStopEntitiesDetectionJobMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StopEventsDetectionJob.go b/service/comprehend/api_op_StopEventsDetectionJob.go index 1abc3c97577..5a58055d6bb 100644 --- a/service/comprehend/api_op_StopEventsDetectionJob.go +++ b/service/comprehend/api_op_StopEventsDetectionJob.go @@ -77,7 +77,10 @@ func addOperationStopEventsDetectionJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go b/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go index 6554215182e..ca9661ad3f1 100644 --- a/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go +++ b/service/comprehend/api_op_StopKeyPhrasesDetectionJob.go @@ -84,7 +84,10 @@ func addOperationStopKeyPhrasesDetectionJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go b/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go index 52adbc6a1b7..ffa5d7b6ec2 100644 --- a/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go +++ b/service/comprehend/api_op_StopPiiEntitiesDetectionJob.go @@ -77,7 +77,10 @@ func addOperationStopPiiEntitiesDetectionJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StopSentimentDetectionJob.go b/service/comprehend/api_op_StopSentimentDetectionJob.go index 58488760ffa..e889bd95978 100644 --- a/service/comprehend/api_op_StopSentimentDetectionJob.go +++ b/service/comprehend/api_op_StopSentimentDetectionJob.go @@ -84,7 +84,10 @@ func addOperationStopSentimentDetectionJobMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StopTrainingDocumentClassifier.go b/service/comprehend/api_op_StopTrainingDocumentClassifier.go index 88e794bb702..97b9e1c1f90 100644 --- a/service/comprehend/api_op_StopTrainingDocumentClassifier.go +++ b/service/comprehend/api_op_StopTrainingDocumentClassifier.go @@ -75,7 +75,10 @@ func addOperationStopTrainingDocumentClassifierMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_StopTrainingEntityRecognizer.go b/service/comprehend/api_op_StopTrainingEntityRecognizer.go index 1a17de07d60..e853abaa28c 100644 --- a/service/comprehend/api_op_StopTrainingEntityRecognizer.go +++ b/service/comprehend/api_op_StopTrainingEntityRecognizer.go @@ -75,7 +75,10 @@ func addOperationStopTrainingEntityRecognizerMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_TagResource.go b/service/comprehend/api_op_TagResource.go index fa9936fd478..9212bf274f3 100644 --- a/service/comprehend/api_op_TagResource.go +++ b/service/comprehend/api_op_TagResource.go @@ -81,7 +81,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_UntagResource.go b/service/comprehend/api_op_UntagResource.go index 077e8970809..ef034ee9b25 100644 --- a/service/comprehend/api_op_UntagResource.go +++ b/service/comprehend/api_op_UntagResource.go @@ -78,7 +78,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehend/api_op_UpdateEndpoint.go b/service/comprehend/api_op_UpdateEndpoint.go index 9887b91df61..9585a802ba9 100644 --- a/service/comprehend/api_op_UpdateEndpoint.go +++ b/service/comprehend/api_op_UpdateEndpoint.go @@ -76,7 +76,10 @@ func addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go b/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go index cc2d19c2ba8..e59678a6343 100644 --- a/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go +++ b/service/comprehendmedical/api_op_DescribeEntitiesDetectionV2Job.go @@ -76,7 +76,10 @@ func addOperationDescribeEntitiesDetectionV2JobMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go b/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go index bc046fedd69..72484e8d8a0 100644 --- a/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go +++ b/service/comprehendmedical/api_op_DescribeICD10CMInferenceJob.go @@ -76,7 +76,10 @@ func addOperationDescribeICD10CMInferenceJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_DescribePHIDetectionJob.go b/service/comprehendmedical/api_op_DescribePHIDetectionJob.go index 91cd67936e4..8b3f7c9a408 100644 --- a/service/comprehendmedical/api_op_DescribePHIDetectionJob.go +++ b/service/comprehendmedical/api_op_DescribePHIDetectionJob.go @@ -76,7 +76,10 @@ func addOperationDescribePHIDetectionJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go b/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go index f2f67e00a76..a6d51a50eb8 100644 --- a/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go +++ b/service/comprehendmedical/api_op_DescribeRxNormInferenceJob.go @@ -76,7 +76,10 @@ func addOperationDescribeRxNormInferenceJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_DetectEntities.go b/service/comprehendmedical/api_op_DetectEntities.go index 443d8f53f40..d8b665b22f5 100644 --- a/service/comprehendmedical/api_op_DetectEntities.go +++ b/service/comprehendmedical/api_op_DetectEntities.go @@ -101,7 +101,10 @@ func addOperationDetectEntitiesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_DetectEntitiesV2.go b/service/comprehendmedical/api_op_DetectEntitiesV2.go index bca89afbe02..d4aa86dbdc6 100644 --- a/service/comprehendmedical/api_op_DetectEntitiesV2.go +++ b/service/comprehendmedical/api_op_DetectEntitiesV2.go @@ -103,7 +103,10 @@ func addOperationDetectEntitiesV2Middlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_DetectPHI.go b/service/comprehendmedical/api_op_DetectPHI.go index 36b45a7efb7..7bd662efda6 100644 --- a/service/comprehendmedical/api_op_DetectPHI.go +++ b/service/comprehendmedical/api_op_DetectPHI.go @@ -93,7 +93,10 @@ func addOperationDetectPHIMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_InferICD10CM.go b/service/comprehendmedical/api_op_InferICD10CM.go index 2fadec24aeb..98e59d46448 100644 --- a/service/comprehendmedical/api_op_InferICD10CM.go +++ b/service/comprehendmedical/api_op_InferICD10CM.go @@ -91,7 +91,10 @@ func addOperationInferICD10CMMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_InferRxNorm.go b/service/comprehendmedical/api_op_InferRxNorm.go index aa3dfd537d3..8d8fc2be52d 100644 --- a/service/comprehendmedical/api_op_InferRxNorm.go +++ b/service/comprehendmedical/api_op_InferRxNorm.go @@ -91,7 +91,10 @@ func addOperationInferRxNormMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go b/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go index 5163326ea6e..3ffb4d554a3 100644 --- a/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go +++ b/service/comprehendmedical/api_op_ListEntitiesDetectionV2Jobs.go @@ -83,7 +83,10 @@ func addOperationListEntitiesDetectionV2JobsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go b/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go index 771bcb77b11..929c3851c87 100644 --- a/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go +++ b/service/comprehendmedical/api_op_ListICD10CMInferenceJobs.go @@ -83,7 +83,10 @@ func addOperationListICD10CMInferenceJobsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_ListPHIDetectionJobs.go b/service/comprehendmedical/api_op_ListPHIDetectionJobs.go index 99d895eafaf..500f9c4ea1a 100644 --- a/service/comprehendmedical/api_op_ListPHIDetectionJobs.go +++ b/service/comprehendmedical/api_op_ListPHIDetectionJobs.go @@ -84,7 +84,10 @@ func addOperationListPHIDetectionJobsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go b/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go index c1589468a78..0fde8223bd9 100644 --- a/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go +++ b/service/comprehendmedical/api_op_ListRxNormInferenceJobs.go @@ -83,7 +83,10 @@ func addOperationListRxNormInferenceJobsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go b/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go index 64ed98a7aec..2d2adb4fc67 100644 --- a/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go +++ b/service/comprehendmedical/api_op_StartEntitiesDetectionV2Job.go @@ -108,7 +108,10 @@ func addOperationStartEntitiesDetectionV2JobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go b/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go index be1b891862a..48aae5d28b3 100644 --- a/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go +++ b/service/comprehendmedical/api_op_StartICD10CMInferenceJob.go @@ -108,7 +108,10 @@ func addOperationStartICD10CMInferenceJobMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_StartPHIDetectionJob.go b/service/comprehendmedical/api_op_StartPHIDetectionJob.go index 1865563be16..c6d28a722ff 100644 --- a/service/comprehendmedical/api_op_StartPHIDetectionJob.go +++ b/service/comprehendmedical/api_op_StartPHIDetectionJob.go @@ -107,7 +107,10 @@ func addOperationStartPHIDetectionJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_StartRxNormInferenceJob.go b/service/comprehendmedical/api_op_StartRxNormInferenceJob.go index cd608237669..3d234ceeb8f 100644 --- a/service/comprehendmedical/api_op_StartRxNormInferenceJob.go +++ b/service/comprehendmedical/api_op_StartRxNormInferenceJob.go @@ -107,7 +107,10 @@ func addOperationStartRxNormInferenceJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go b/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go index 273deac3438..7962304b8af 100644 --- a/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go +++ b/service/comprehendmedical/api_op_StopEntitiesDetectionV2Job.go @@ -73,7 +73,10 @@ func addOperationStopEntitiesDetectionV2JobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go b/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go index 7eaf90b5a2f..e7c3ca4ea91 100644 --- a/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go +++ b/service/comprehendmedical/api_op_StopICD10CMInferenceJob.go @@ -74,7 +74,10 @@ func addOperationStopICD10CMInferenceJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_StopPHIDetectionJob.go b/service/comprehendmedical/api_op_StopPHIDetectionJob.go index 32a12163786..6513a61fd58 100644 --- a/service/comprehendmedical/api_op_StopPHIDetectionJob.go +++ b/service/comprehendmedical/api_op_StopPHIDetectionJob.go @@ -73,7 +73,10 @@ func addOperationStopPHIDetectionJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/comprehendmedical/api_op_StopRxNormInferenceJob.go b/service/comprehendmedical/api_op_StopRxNormInferenceJob.go index bdfdea637d0..73827ebc448 100644 --- a/service/comprehendmedical/api_op_StopRxNormInferenceJob.go +++ b/service/comprehendmedical/api_op_StopRxNormInferenceJob.go @@ -74,7 +74,10 @@ func addOperationStopRxNormInferenceJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go b/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go index 8a05584dad7..96591cd8c0c 100644 --- a/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go +++ b/service/computeoptimizer/api_op_DescribeRecommendationExportJobs.go @@ -94,7 +94,10 @@ func addOperationDescribeRecommendationExportJobsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go b/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go index c6a695db844..c66564d2d7a 100644 --- a/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go +++ b/service/computeoptimizer/api_op_ExportAutoScalingGroupRecommendations.go @@ -131,7 +131,10 @@ func addOperationExportAutoScalingGroupRecommendationsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go b/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go index c2b62e71908..c580706d80f 100644 --- a/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go +++ b/service/computeoptimizer/api_op_ExportEC2InstanceRecommendations.go @@ -130,7 +130,10 @@ func addOperationExportEC2InstanceRecommendationsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go b/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go index 6ded27e4d44..db03bd36e35 100644 --- a/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go +++ b/service/computeoptimizer/api_op_GetAutoScalingGroupRecommendations.go @@ -106,7 +106,10 @@ func addOperationGetAutoScalingGroupRecommendationsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go b/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go index fe7ca4ab4ba..3840db2436c 100644 --- a/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go +++ b/service/computeoptimizer/api_op_GetEBSVolumeRecommendations.go @@ -104,7 +104,10 @@ func addOperationGetEBSVolumeRecommendationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go b/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go index e03cab3dcfc..29e86b18e82 100644 --- a/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go +++ b/service/computeoptimizer/api_op_GetEC2InstanceRecommendations.go @@ -106,7 +106,10 @@ func addOperationGetEC2InstanceRecommendationsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go b/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go index f0270e2917a..40495fb8e80 100644 --- a/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go +++ b/service/computeoptimizer/api_op_GetEC2RecommendationProjectedMetrics.go @@ -102,7 +102,10 @@ func addOperationGetEC2RecommendationProjectedMetricsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_GetEnrollmentStatus.go b/service/computeoptimizer/api_op_GetEnrollmentStatus.go index fbc8db5cce1..d1c8297e567 100644 --- a/service/computeoptimizer/api_op_GetEnrollmentStatus.go +++ b/service/computeoptimizer/api_op_GetEnrollmentStatus.go @@ -81,7 +81,10 @@ func addOperationGetEnrollmentStatusMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_GetRecommendationSummaries.go b/service/computeoptimizer/api_op_GetRecommendationSummaries.go index a521aace0e6..908c22f9df7 100644 --- a/service/computeoptimizer/api_op_GetRecommendationSummaries.go +++ b/service/computeoptimizer/api_op_GetRecommendationSummaries.go @@ -91,7 +91,10 @@ func addOperationGetRecommendationSummariesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go b/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go index 061262802cd..656b23c61d0 100644 --- a/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go +++ b/service/computeoptimizer/api_op_UpdateEnrollmentStatus.go @@ -86,7 +86,10 @@ func addOperationUpdateEnrollmentStatusMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_BatchGetAggregateResourceConfig.go b/service/configservice/api_op_BatchGetAggregateResourceConfig.go index 794bed0c442..6c6082ad86b 100644 --- a/service/configservice/api_op_BatchGetAggregateResourceConfig.go +++ b/service/configservice/api_op_BatchGetAggregateResourceConfig.go @@ -92,7 +92,10 @@ func addOperationBatchGetAggregateResourceConfigMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_BatchGetResourceConfig.go b/service/configservice/api_op_BatchGetResourceConfig.go index edfaf29ea05..e8887702354 100644 --- a/service/configservice/api_op_BatchGetResourceConfig.go +++ b/service/configservice/api_op_BatchGetResourceConfig.go @@ -92,7 +92,10 @@ func addOperationBatchGetResourceConfigMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteAggregationAuthorization.go b/service/configservice/api_op_DeleteAggregationAuthorization.go index e3b9f545349..b97d5bfe1d4 100644 --- a/service/configservice/api_op_DeleteAggregationAuthorization.go +++ b/service/configservice/api_op_DeleteAggregationAuthorization.go @@ -75,7 +75,10 @@ func addOperationDeleteAggregationAuthorizationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteConfigRule.go b/service/configservice/api_op_DeleteConfigRule.go index 6331ca97b03..464a8089b18 100644 --- a/service/configservice/api_op_DeleteConfigRule.go +++ b/service/configservice/api_op_DeleteConfigRule.go @@ -75,7 +75,10 @@ func addOperationDeleteConfigRuleMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteConfigurationAggregator.go b/service/configservice/api_op_DeleteConfigurationAggregator.go index 8f7a35a688b..27e21537fef 100644 --- a/service/configservice/api_op_DeleteConfigurationAggregator.go +++ b/service/configservice/api_op_DeleteConfigurationAggregator.go @@ -70,7 +70,10 @@ func addOperationDeleteConfigurationAggregatorMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteConfigurationRecorder.go b/service/configservice/api_op_DeleteConfigurationRecorder.go index 1f6d31f25bc..4bc5378d9a2 100644 --- a/service/configservice/api_op_DeleteConfigurationRecorder.go +++ b/service/configservice/api_op_DeleteConfigurationRecorder.go @@ -78,7 +78,10 @@ func addOperationDeleteConfigurationRecorderMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteConformancePack.go b/service/configservice/api_op_DeleteConformancePack.go index 398ab8a234c..9ab021517aa 100644 --- a/service/configservice/api_op_DeleteConformancePack.go +++ b/service/configservice/api_op_DeleteConformancePack.go @@ -72,7 +72,10 @@ func addOperationDeleteConformancePackMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteDeliveryChannel.go b/service/configservice/api_op_DeleteDeliveryChannel.go index ca68af79e8d..6f7af3812f2 100644 --- a/service/configservice/api_op_DeleteDeliveryChannel.go +++ b/service/configservice/api_op_DeleteDeliveryChannel.go @@ -73,7 +73,10 @@ func addOperationDeleteDeliveryChannelMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteEvaluationResults.go b/service/configservice/api_op_DeleteEvaluationResults.go index 57fd88416b9..dbc4db0238f 100644 --- a/service/configservice/api_op_DeleteEvaluationResults.go +++ b/service/configservice/api_op_DeleteEvaluationResults.go @@ -76,7 +76,10 @@ func addOperationDeleteEvaluationResultsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteOrganizationConfigRule.go b/service/configservice/api_op_DeleteOrganizationConfigRule.go index cbf6364a368..76f1aae9bf2 100644 --- a/service/configservice/api_op_DeleteOrganizationConfigRule.go +++ b/service/configservice/api_op_DeleteOrganizationConfigRule.go @@ -75,7 +75,10 @@ func addOperationDeleteOrganizationConfigRuleMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteOrganizationConformancePack.go b/service/configservice/api_op_DeleteOrganizationConformancePack.go index 4b9be32b708..ca3bf0d5a00 100644 --- a/service/configservice/api_op_DeleteOrganizationConformancePack.go +++ b/service/configservice/api_op_DeleteOrganizationConformancePack.go @@ -76,7 +76,10 @@ func addOperationDeleteOrganizationConformancePackMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeletePendingAggregationRequest.go b/service/configservice/api_op_DeletePendingAggregationRequest.go index cb2ee1eb59d..da6f068c66b 100644 --- a/service/configservice/api_op_DeletePendingAggregationRequest.go +++ b/service/configservice/api_op_DeletePendingAggregationRequest.go @@ -75,7 +75,10 @@ func addOperationDeletePendingAggregationRequestMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteRemediationConfiguration.go b/service/configservice/api_op_DeleteRemediationConfiguration.go index c118e3dc157..fa1166f333e 100644 --- a/service/configservice/api_op_DeleteRemediationConfiguration.go +++ b/service/configservice/api_op_DeleteRemediationConfiguration.go @@ -73,7 +73,10 @@ func addOperationDeleteRemediationConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteRemediationExceptions.go b/service/configservice/api_op_DeleteRemediationExceptions.go index 46d09fbc3e6..87c8e22f49a 100644 --- a/service/configservice/api_op_DeleteRemediationExceptions.go +++ b/service/configservice/api_op_DeleteRemediationExceptions.go @@ -86,7 +86,10 @@ func addOperationDeleteRemediationExceptionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteResourceConfig.go b/service/configservice/api_op_DeleteResourceConfig.go index e6d25896b49..67377901a13 100644 --- a/service/configservice/api_op_DeleteResourceConfig.go +++ b/service/configservice/api_op_DeleteResourceConfig.go @@ -77,7 +77,10 @@ func addOperationDeleteResourceConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeleteRetentionConfiguration.go b/service/configservice/api_op_DeleteRetentionConfiguration.go index cb0315dac44..f719576e2bf 100644 --- a/service/configservice/api_op_DeleteRetentionConfiguration.go +++ b/service/configservice/api_op_DeleteRetentionConfiguration.go @@ -69,7 +69,10 @@ func addOperationDeleteRetentionConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DeliverConfigSnapshot.go b/service/configservice/api_op_DeliverConfigSnapshot.go index 5910ccb052b..0be3d6105dc 100644 --- a/service/configservice/api_op_DeliverConfigSnapshot.go +++ b/service/configservice/api_op_DeliverConfigSnapshot.go @@ -86,7 +86,10 @@ func addOperationDeliverConfigSnapshotMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go b/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go index da91bbe00ca..3a8e768a41e 100644 --- a/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go +++ b/service/configservice/api_op_DescribeAggregateComplianceByConfigRules.go @@ -91,7 +91,10 @@ func addOperationDescribeAggregateComplianceByConfigRulesMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeAggregationAuthorizations.go b/service/configservice/api_op_DescribeAggregationAuthorizations.go index c41121e7e9d..a0f601c777f 100644 --- a/service/configservice/api_op_DescribeAggregationAuthorizations.go +++ b/service/configservice/api_op_DescribeAggregationAuthorizations.go @@ -83,7 +83,10 @@ func addOperationDescribeAggregationAuthorizationsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeComplianceByConfigRule.go b/service/configservice/api_op_DescribeComplianceByConfigRule.go index 3281a567d15..c1f856fabed 100644 --- a/service/configservice/api_op_DescribeComplianceByConfigRule.go +++ b/service/configservice/api_op_DescribeComplianceByConfigRule.go @@ -107,7 +107,10 @@ func addOperationDescribeComplianceByConfigRuleMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeComplianceByResource.go b/service/configservice/api_op_DescribeComplianceByResource.go index b093effc71c..9d401b41b38 100644 --- a/service/configservice/api_op_DescribeComplianceByResource.go +++ b/service/configservice/api_op_DescribeComplianceByResource.go @@ -121,7 +121,10 @@ func addOperationDescribeComplianceByResourceMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go b/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go index f539d226861..187b897d5c1 100644 --- a/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go +++ b/service/configservice/api_op_DescribeConfigRuleEvaluationStatus.go @@ -95,7 +95,10 @@ func addOperationDescribeConfigRuleEvaluationStatusMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeConfigRules.go b/service/configservice/api_op_DescribeConfigRules.go index 16d0d4b81eb..6067607bb6f 100644 --- a/service/configservice/api_op_DescribeConfigRules.go +++ b/service/configservice/api_op_DescribeConfigRules.go @@ -83,7 +83,10 @@ func addOperationDescribeConfigRulesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go b/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go index 92128bfd8df..3fe73b3bc2e 100644 --- a/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go +++ b/service/configservice/api_op_DescribeConfigurationAggregatorSourcesStatus.go @@ -100,7 +100,10 @@ func addOperationDescribeConfigurationAggregatorSourcesStatusMiddlewares(stack * if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeConfigurationAggregators.go b/service/configservice/api_op_DescribeConfigurationAggregators.go index be4d5f76490..c69c6ae42b3 100644 --- a/service/configservice/api_op_DescribeConfigurationAggregators.go +++ b/service/configservice/api_op_DescribeConfigurationAggregators.go @@ -86,7 +86,10 @@ func addOperationDescribeConfigurationAggregatorsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeConfigurationRecorderStatus.go b/service/configservice/api_op_DescribeConfigurationRecorderStatus.go index 79b3e3b223c..f356e0aa535 100644 --- a/service/configservice/api_op_DescribeConfigurationRecorderStatus.go +++ b/service/configservice/api_op_DescribeConfigurationRecorderStatus.go @@ -79,7 +79,10 @@ func addOperationDescribeConfigurationRecorderStatusMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeConfigurationRecorders.go b/service/configservice/api_op_DescribeConfigurationRecorders.go index 2617dbcaa4c..38895b1ce4c 100644 --- a/service/configservice/api_op_DescribeConfigurationRecorders.go +++ b/service/configservice/api_op_DescribeConfigurationRecorders.go @@ -77,7 +77,10 @@ func addOperationDescribeConfigurationRecordersMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeConformancePackCompliance.go b/service/configservice/api_op_DescribeConformancePackCompliance.go index 2dcb6305011..3e4396fd222 100644 --- a/service/configservice/api_op_DescribeConformancePackCompliance.go +++ b/service/configservice/api_op_DescribeConformancePackCompliance.go @@ -97,7 +97,10 @@ func addOperationDescribeConformancePackComplianceMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeConformancePackStatus.go b/service/configservice/api_op_DescribeConformancePackStatus.go index 3ec1dde6c13..cdbcfd6c057 100644 --- a/service/configservice/api_op_DescribeConformancePackStatus.go +++ b/service/configservice/api_op_DescribeConformancePackStatus.go @@ -84,7 +84,10 @@ func addOperationDescribeConformancePackStatusMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeConformancePacks.go b/service/configservice/api_op_DescribeConformancePacks.go index 7a87d44a26f..c73c5eb90c8 100644 --- a/service/configservice/api_op_DescribeConformancePacks.go +++ b/service/configservice/api_op_DescribeConformancePacks.go @@ -85,7 +85,10 @@ func addOperationDescribeConformancePacksMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeDeliveryChannelStatus.go b/service/configservice/api_op_DescribeDeliveryChannelStatus.go index ba809c27115..32b4833bd4b 100644 --- a/service/configservice/api_op_DescribeDeliveryChannelStatus.go +++ b/service/configservice/api_op_DescribeDeliveryChannelStatus.go @@ -77,7 +77,10 @@ func addOperationDescribeDeliveryChannelStatusMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeDeliveryChannels.go b/service/configservice/api_op_DescribeDeliveryChannels.go index ff2b647ef1f..7e5880b24a9 100644 --- a/service/configservice/api_op_DescribeDeliveryChannels.go +++ b/service/configservice/api_op_DescribeDeliveryChannels.go @@ -77,7 +77,10 @@ func addOperationDescribeDeliveryChannelsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go b/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go index 5b5534b418a..c634d7efcd5 100644 --- a/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go +++ b/service/configservice/api_op_DescribeOrganizationConfigRuleStatuses.go @@ -95,7 +95,10 @@ func addOperationDescribeOrganizationConfigRuleStatusesMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeOrganizationConfigRules.go b/service/configservice/api_op_DescribeOrganizationConfigRules.go index d443f0fd782..77880b4ad31 100644 --- a/service/configservice/api_op_DescribeOrganizationConfigRules.go +++ b/service/configservice/api_op_DescribeOrganizationConfigRules.go @@ -92,7 +92,10 @@ func addOperationDescribeOrganizationConfigRulesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go b/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go index b8176b7c4d1..3a0b69473c7 100644 --- a/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go +++ b/service/configservice/api_op_DescribeOrganizationConformancePackStatuses.go @@ -95,7 +95,10 @@ func addOperationDescribeOrganizationConformancePackStatusesMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeOrganizationConformancePacks.go b/service/configservice/api_op_DescribeOrganizationConformancePacks.go index d2530b03935..11857846bc2 100644 --- a/service/configservice/api_op_DescribeOrganizationConformancePacks.go +++ b/service/configservice/api_op_DescribeOrganizationConformancePacks.go @@ -90,7 +90,10 @@ func addOperationDescribeOrganizationConformancePacksMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribePendingAggregationRequests.go b/service/configservice/api_op_DescribePendingAggregationRequests.go index 4ed26e5a460..a2e271718b6 100644 --- a/service/configservice/api_op_DescribePendingAggregationRequests.go +++ b/service/configservice/api_op_DescribePendingAggregationRequests.go @@ -81,7 +81,10 @@ func addOperationDescribePendingAggregationRequestsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeRemediationConfigurations.go b/service/configservice/api_op_DescribeRemediationConfigurations.go index 8022046cd4f..5019ede6be7 100644 --- a/service/configservice/api_op_DescribeRemediationConfigurations.go +++ b/service/configservice/api_op_DescribeRemediationConfigurations.go @@ -75,7 +75,10 @@ func addOperationDescribeRemediationConfigurationsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeRemediationExceptions.go b/service/configservice/api_op_DescribeRemediationExceptions.go index 73cdb282435..f038c3e036d 100644 --- a/service/configservice/api_op_DescribeRemediationExceptions.go +++ b/service/configservice/api_op_DescribeRemediationExceptions.go @@ -100,7 +100,10 @@ func addOperationDescribeRemediationExceptionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeRemediationExecutionStatus.go b/service/configservice/api_op_DescribeRemediationExecutionStatus.go index 80f233def8f..9cd1f8d84e4 100644 --- a/service/configservice/api_op_DescribeRemediationExecutionStatus.go +++ b/service/configservice/api_op_DescribeRemediationExecutionStatus.go @@ -94,7 +94,10 @@ func addOperationDescribeRemediationExecutionStatusMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_DescribeRetentionConfigurations.go b/service/configservice/api_op_DescribeRetentionConfigurations.go index 8fde846e00d..982cd5d839c 100644 --- a/service/configservice/api_op_DescribeRetentionConfigurations.go +++ b/service/configservice/api_op_DescribeRetentionConfigurations.go @@ -86,7 +86,10 @@ func addOperationDescribeRetentionConfigurationsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go b/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go index 9180d986d30..bf382f18ce4 100644 --- a/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go +++ b/service/configservice/api_op_GetAggregateComplianceDetailsByConfigRule.go @@ -112,7 +112,10 @@ func addOperationGetAggregateComplianceDetailsByConfigRuleMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go b/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go index 2b48d39abd0..af21b4ed757 100644 --- a/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go +++ b/service/configservice/api_op_GetAggregateConfigRuleComplianceSummary.go @@ -98,7 +98,10 @@ func addOperationGetAggregateConfigRuleComplianceSummaryMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go b/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go index 800e294e3d0..6e2ca3a981f 100644 --- a/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go +++ b/service/configservice/api_op_GetAggregateDiscoveredResourceCounts.go @@ -109,7 +109,10 @@ func addOperationGetAggregateDiscoveredResourceCountsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetAggregateResourceConfig.go b/service/configservice/api_op_GetAggregateResourceConfig.go index 59acb3421f8..bfaa101ac52 100644 --- a/service/configservice/api_op_GetAggregateResourceConfig.go +++ b/service/configservice/api_op_GetAggregateResourceConfig.go @@ -80,7 +80,10 @@ func addOperationGetAggregateResourceConfigMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetComplianceDetailsByConfigRule.go b/service/configservice/api_op_GetComplianceDetailsByConfigRule.go index c7ca272e320..a3d71eef779 100644 --- a/service/configservice/api_op_GetComplianceDetailsByConfigRule.go +++ b/service/configservice/api_op_GetComplianceDetailsByConfigRule.go @@ -95,7 +95,10 @@ func addOperationGetComplianceDetailsByConfigRuleMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetComplianceDetailsByResource.go b/service/configservice/api_op_GetComplianceDetailsByResource.go index 0c246d38d93..e823386516b 100644 --- a/service/configservice/api_op_GetComplianceDetailsByResource.go +++ b/service/configservice/api_op_GetComplianceDetailsByResource.go @@ -95,7 +95,10 @@ func addOperationGetComplianceDetailsByResourceMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetComplianceSummaryByConfigRule.go b/service/configservice/api_op_GetComplianceSummaryByConfigRule.go index 11d57b078a6..d0daa724567 100644 --- a/service/configservice/api_op_GetComplianceSummaryByConfigRule.go +++ b/service/configservice/api_op_GetComplianceSummaryByConfigRule.go @@ -72,7 +72,10 @@ func addOperationGetComplianceSummaryByConfigRuleMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetComplianceSummaryByResourceType.go b/service/configservice/api_op_GetComplianceSummaryByResourceType.go index 9bb45e6f62a..9a3308d1433 100644 --- a/service/configservice/api_op_GetComplianceSummaryByResourceType.go +++ b/service/configservice/api_op_GetComplianceSummaryByResourceType.go @@ -82,7 +82,10 @@ func addOperationGetComplianceSummaryByResourceTypeMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetConformancePackComplianceDetails.go b/service/configservice/api_op_GetConformancePackComplianceDetails.go index 5c515e4595a..1444938df11 100644 --- a/service/configservice/api_op_GetConformancePackComplianceDetails.go +++ b/service/configservice/api_op_GetConformancePackComplianceDetails.go @@ -95,7 +95,10 @@ func addOperationGetConformancePackComplianceDetailsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetConformancePackComplianceSummary.go b/service/configservice/api_op_GetConformancePackComplianceSummary.go index f1bf9ba3c31..6710e6dde56 100644 --- a/service/configservice/api_op_GetConformancePackComplianceSummary.go +++ b/service/configservice/api_op_GetConformancePackComplianceSummary.go @@ -86,7 +86,10 @@ func addOperationGetConformancePackComplianceSummaryMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetDiscoveredResourceCounts.go b/service/configservice/api_op_GetDiscoveredResourceCounts.go index d8801235dc2..9dac34939e4 100644 --- a/service/configservice/api_op_GetDiscoveredResourceCounts.go +++ b/service/configservice/api_op_GetDiscoveredResourceCounts.go @@ -145,7 +145,10 @@ func addOperationGetDiscoveredResourceCountsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go b/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go index 1ef53fe8890..2fe59f702fe 100644 --- a/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go +++ b/service/configservice/api_op_GetOrganizationConfigRuleDetailedStatus.go @@ -95,7 +95,10 @@ func addOperationGetOrganizationConfigRuleDetailedStatusMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go b/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go index ef8b8266b2c..0138225d90c 100644 --- a/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go +++ b/service/configservice/api_op_GetOrganizationConformancePackDetailedStatus.go @@ -95,7 +95,10 @@ func addOperationGetOrganizationConformancePackDetailedStatusMiddlewares(stack * if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_GetResourceConfigHistory.go b/service/configservice/api_op_GetResourceConfigHistory.go index a9c1b086fe2..c454575326c 100644 --- a/service/configservice/api_op_GetResourceConfigHistory.go +++ b/service/configservice/api_op_GetResourceConfigHistory.go @@ -120,7 +120,10 @@ func addOperationGetResourceConfigHistoryMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_ListAggregateDiscoveredResources.go b/service/configservice/api_op_ListAggregateDiscoveredResources.go index 0eae164ba4a..57911e35966 100644 --- a/service/configservice/api_op_ListAggregateDiscoveredResources.go +++ b/service/configservice/api_op_ListAggregateDiscoveredResources.go @@ -103,7 +103,10 @@ func addOperationListAggregateDiscoveredResourcesMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_ListDiscoveredResources.go b/service/configservice/api_op_ListDiscoveredResources.go index 7a1ba5f7a61..309b7d4a42f 100644 --- a/service/configservice/api_op_ListDiscoveredResources.go +++ b/service/configservice/api_op_ListDiscoveredResources.go @@ -114,7 +114,10 @@ func addOperationListDiscoveredResourcesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_ListTagsForResource.go b/service/configservice/api_op_ListTagsForResource.go index e59875b7fc6..d1331fbeb6e 100644 --- a/service/configservice/api_op_ListTagsForResource.go +++ b/service/configservice/api_op_ListTagsForResource.go @@ -89,7 +89,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutAggregationAuthorization.go b/service/configservice/api_op_PutAggregationAuthorization.go index 86993e76824..e1980b4f4f5 100644 --- a/service/configservice/api_op_PutAggregationAuthorization.go +++ b/service/configservice/api_op_PutAggregationAuthorization.go @@ -83,7 +83,10 @@ func addOperationPutAggregationAuthorizationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutConfigRule.go b/service/configservice/api_op_PutConfigRule.go index 3145746f148..617d97c1400 100644 --- a/service/configservice/api_op_PutConfigRule.go +++ b/service/configservice/api_op_PutConfigRule.go @@ -99,7 +99,10 @@ func addOperationPutConfigRuleMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutConfigurationAggregator.go b/service/configservice/api_op_PutConfigurationAggregator.go index 1b8f8ed12e8..691ff4317e4 100644 --- a/service/configservice/api_op_PutConfigurationAggregator.go +++ b/service/configservice/api_op_PutConfigurationAggregator.go @@ -89,7 +89,10 @@ func addOperationPutConfigurationAggregatorMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutConfigurationRecorder.go b/service/configservice/api_op_PutConfigurationRecorder.go index 56576cff929..db01862d1c7 100644 --- a/service/configservice/api_op_PutConfigurationRecorder.go +++ b/service/configservice/api_op_PutConfigurationRecorder.go @@ -78,7 +78,10 @@ func addOperationPutConfigurationRecorderMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutConformancePack.go b/service/configservice/api_op_PutConformancePack.go index d8d51f3f8c3..9a858ce2dd6 100644 --- a/service/configservice/api_op_PutConformancePack.go +++ b/service/configservice/api_op_PutConformancePack.go @@ -102,7 +102,10 @@ func addOperationPutConformancePackMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutDeliveryChannel.go b/service/configservice/api_op_PutDeliveryChannel.go index e6daf678ec6..21e4ee59d5c 100644 --- a/service/configservice/api_op_PutDeliveryChannel.go +++ b/service/configservice/api_op_PutDeliveryChannel.go @@ -80,7 +80,10 @@ func addOperationPutDeliveryChannelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutEvaluations.go b/service/configservice/api_op_PutEvaluations.go index 16881e2d9a7..1849969f988 100644 --- a/service/configservice/api_op_PutEvaluations.go +++ b/service/configservice/api_op_PutEvaluations.go @@ -91,7 +91,10 @@ func addOperationPutEvaluationsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutOrganizationConfigRule.go b/service/configservice/api_op_PutOrganizationConfigRule.go index 9b02f1eaf6f..ee58df58276 100644 --- a/service/configservice/api_op_PutOrganizationConfigRule.go +++ b/service/configservice/api_op_PutOrganizationConfigRule.go @@ -108,7 +108,10 @@ func addOperationPutOrganizationConfigRuleMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutOrganizationConformancePack.go b/service/configservice/api_op_PutOrganizationConformancePack.go index 1910fe440a8..8be08bd4b70 100644 --- a/service/configservice/api_op_PutOrganizationConformancePack.go +++ b/service/configservice/api_op_PutOrganizationConformancePack.go @@ -122,7 +122,10 @@ func addOperationPutOrganizationConformancePackMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutRemediationConfigurations.go b/service/configservice/api_op_PutRemediationConfigurations.go index 0005095228c..2874ec82b07 100644 --- a/service/configservice/api_op_PutRemediationConfigurations.go +++ b/service/configservice/api_op_PutRemediationConfigurations.go @@ -79,7 +79,10 @@ func addOperationPutRemediationConfigurationsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutRemediationExceptions.go b/service/configservice/api_op_PutRemediationExceptions.go index ee0a184a5a0..a1fedc8ff42 100644 --- a/service/configservice/api_op_PutRemediationExceptions.go +++ b/service/configservice/api_op_PutRemediationExceptions.go @@ -95,7 +95,10 @@ func addOperationPutRemediationExceptionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutResourceConfig.go b/service/configservice/api_op_PutResourceConfig.go index 9ef8a4f5687..d7f26de8c30 100644 --- a/service/configservice/api_op_PutResourceConfig.go +++ b/service/configservice/api_op_PutResourceConfig.go @@ -104,7 +104,10 @@ func addOperationPutResourceConfigMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_PutRetentionConfiguration.go b/service/configservice/api_op_PutRetentionConfiguration.go index c4511c910ba..18c51554fbf 100644 --- a/service/configservice/api_op_PutRetentionConfiguration.go +++ b/service/configservice/api_op_PutRetentionConfiguration.go @@ -80,7 +80,10 @@ func addOperationPutRetentionConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_SelectAggregateResourceConfig.go b/service/configservice/api_op_SelectAggregateResourceConfig.go index 11953edd9f5..7da9b743ba9 100644 --- a/service/configservice/api_op_SelectAggregateResourceConfig.go +++ b/service/configservice/api_op_SelectAggregateResourceConfig.go @@ -104,7 +104,10 @@ func addOperationSelectAggregateResourceConfigMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_SelectResourceConfig.go b/service/configservice/api_op_SelectResourceConfig.go index 2745b4166bb..f2e8a860685 100644 --- a/service/configservice/api_op_SelectResourceConfig.go +++ b/service/configservice/api_op_SelectResourceConfig.go @@ -93,7 +93,10 @@ func addOperationSelectResourceConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_StartConfigRulesEvaluation.go b/service/configservice/api_op_StartConfigRulesEvaluation.go index aaa68431262..71c5d4991c6 100644 --- a/service/configservice/api_op_StartConfigRulesEvaluation.go +++ b/service/configservice/api_op_StartConfigRulesEvaluation.go @@ -97,7 +97,10 @@ func addOperationStartConfigRulesEvaluationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_StartConfigurationRecorder.go b/service/configservice/api_op_StartConfigurationRecorder.go index c7e289feeb9..312d39229d5 100644 --- a/service/configservice/api_op_StartConfigurationRecorder.go +++ b/service/configservice/api_op_StartConfigurationRecorder.go @@ -73,7 +73,10 @@ func addOperationStartConfigurationRecorderMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_StartRemediationExecution.go b/service/configservice/api_op_StartRemediationExecution.go index 5c37eeb779b..d432e845f17 100644 --- a/service/configservice/api_op_StartRemediationExecution.go +++ b/service/configservice/api_op_StartRemediationExecution.go @@ -89,7 +89,10 @@ func addOperationStartRemediationExecutionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_StopConfigurationRecorder.go b/service/configservice/api_op_StopConfigurationRecorder.go index efa211ac493..8bf2e8bce4c 100644 --- a/service/configservice/api_op_StopConfigurationRecorder.go +++ b/service/configservice/api_op_StopConfigurationRecorder.go @@ -72,7 +72,10 @@ func addOperationStopConfigurationRecorderMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_TagResource.go b/service/configservice/api_op_TagResource.go index 5942f254b48..57f9409fdc5 100644 --- a/service/configservice/api_op_TagResource.go +++ b/service/configservice/api_op_TagResource.go @@ -80,7 +80,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/configservice/api_op_UntagResource.go b/service/configservice/api_op_UntagResource.go index 0a62025144e..34f127dfe4d 100644 --- a/service/configservice/api_op_UntagResource.go +++ b/service/configservice/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_AssociateApprovedOrigin.go b/service/connect/api_op_AssociateApprovedOrigin.go index bf0145715e1..58fd45d8554 100644 --- a/service/connect/api_op_AssociateApprovedOrigin.go +++ b/service/connect/api_op_AssociateApprovedOrigin.go @@ -75,7 +75,10 @@ func addOperationAssociateApprovedOriginMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_AssociateInstanceStorageConfig.go b/service/connect/api_op_AssociateInstanceStorageConfig.go index bcd78baaba2..ac51ab2930c 100644 --- a/service/connect/api_op_AssociateInstanceStorageConfig.go +++ b/service/connect/api_op_AssociateInstanceStorageConfig.go @@ -92,7 +92,10 @@ func addOperationAssociateInstanceStorageConfigMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_AssociateLambdaFunction.go b/service/connect/api_op_AssociateLambdaFunction.go index 47fe96d79d4..dd75f7fbeb3 100644 --- a/service/connect/api_op_AssociateLambdaFunction.go +++ b/service/connect/api_op_AssociateLambdaFunction.go @@ -77,7 +77,10 @@ func addOperationAssociateLambdaFunctionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_AssociateLexBot.go b/service/connect/api_op_AssociateLexBot.go index 8530d6a28d6..1cb91fc5ce8 100644 --- a/service/connect/api_op_AssociateLexBot.go +++ b/service/connect/api_op_AssociateLexBot.go @@ -77,7 +77,10 @@ func addOperationAssociateLexBotMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_AssociateRoutingProfileQueues.go b/service/connect/api_op_AssociateRoutingProfileQueues.go index 5194a026d98..82790e82757 100644 --- a/service/connect/api_op_AssociateRoutingProfileQueues.go +++ b/service/connect/api_op_AssociateRoutingProfileQueues.go @@ -80,7 +80,10 @@ func addOperationAssociateRoutingProfileQueuesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_AssociateSecurityKey.go b/service/connect/api_op_AssociateSecurityKey.go index d2497039517..17194a60e38 100644 --- a/service/connect/api_op_AssociateSecurityKey.go +++ b/service/connect/api_op_AssociateSecurityKey.go @@ -80,7 +80,10 @@ func addOperationAssociateSecurityKeyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_CreateContactFlow.go b/service/connect/api_op_CreateContactFlow.go index fa4136d2978..f8b41ca735c 100644 --- a/service/connect/api_op_CreateContactFlow.go +++ b/service/connect/api_op_CreateContactFlow.go @@ -103,7 +103,10 @@ func addOperationCreateContactFlowMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_CreateInstance.go b/service/connect/api_op_CreateInstance.go index ac0aa3a3347..8f8e70e55b3 100644 --- a/service/connect/api_op_CreateInstance.go +++ b/service/connect/api_op_CreateInstance.go @@ -99,7 +99,10 @@ func addOperationCreateInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_CreateIntegrationAssociation.go b/service/connect/api_op_CreateIntegrationAssociation.go index 69322dd7fbe..afe93e97ecd 100644 --- a/service/connect/api_op_CreateIntegrationAssociation.go +++ b/service/connect/api_op_CreateIntegrationAssociation.go @@ -103,7 +103,10 @@ func addOperationCreateIntegrationAssociationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_CreateQuickConnect.go b/service/connect/api_op_CreateQuickConnect.go index f1982ad9841..1fb6c655ab2 100644 --- a/service/connect/api_op_CreateQuickConnect.go +++ b/service/connect/api_op_CreateQuickConnect.go @@ -94,7 +94,10 @@ func addOperationCreateQuickConnectMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_CreateRoutingProfile.go b/service/connect/api_op_CreateRoutingProfile.go index 0f1fa13d191..87680e1788d 100644 --- a/service/connect/api_op_CreateRoutingProfile.go +++ b/service/connect/api_op_CreateRoutingProfile.go @@ -105,7 +105,10 @@ func addOperationCreateRoutingProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_CreateUseCase.go b/service/connect/api_op_CreateUseCase.go index 790dc2960ac..c622b722eb0 100644 --- a/service/connect/api_op_CreateUseCase.go +++ b/service/connect/api_op_CreateUseCase.go @@ -89,7 +89,10 @@ func addOperationCreateUseCaseMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_CreateUser.go b/service/connect/api_op_CreateUser.go index 8bc77fd13d1..34c79a13dbf 100644 --- a/service/connect/api_op_CreateUser.go +++ b/service/connect/api_op_CreateUser.go @@ -129,7 +129,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_CreateUserHierarchyGroup.go b/service/connect/api_op_CreateUserHierarchyGroup.go index 8bb8dacb815..3ccbcfffe4d 100644 --- a/service/connect/api_op_CreateUserHierarchyGroup.go +++ b/service/connect/api_op_CreateUserHierarchyGroup.go @@ -85,7 +85,10 @@ func addOperationCreateUserHierarchyGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DeleteInstance.go b/service/connect/api_op_DeleteInstance.go index 87b195a3293..5e7db897c3a 100644 --- a/service/connect/api_op_DeleteInstance.go +++ b/service/connect/api_op_DeleteInstance.go @@ -70,7 +70,10 @@ func addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DeleteIntegrationAssociation.go b/service/connect/api_op_DeleteIntegrationAssociation.go index b79c7cc6609..79ab27c3875 100644 --- a/service/connect/api_op_DeleteIntegrationAssociation.go +++ b/service/connect/api_op_DeleteIntegrationAssociation.go @@ -76,7 +76,10 @@ func addOperationDeleteIntegrationAssociationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DeleteQuickConnect.go b/service/connect/api_op_DeleteQuickConnect.go index 11f5249d845..b4fd7fd0ca9 100644 --- a/service/connect/api_op_DeleteQuickConnect.go +++ b/service/connect/api_op_DeleteQuickConnect.go @@ -75,7 +75,10 @@ func addOperationDeleteQuickConnectMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DeleteUseCase.go b/service/connect/api_op_DeleteUseCase.go index 63f7c10b7b4..03f8b1f177e 100644 --- a/service/connect/api_op_DeleteUseCase.go +++ b/service/connect/api_op_DeleteUseCase.go @@ -80,7 +80,10 @@ func addOperationDeleteUseCaseMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DeleteUser.go b/service/connect/api_op_DeleteUser.go index 6e92079749c..12943f1ef05 100644 --- a/service/connect/api_op_DeleteUser.go +++ b/service/connect/api_op_DeleteUser.go @@ -78,7 +78,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DeleteUserHierarchyGroup.go b/service/connect/api_op_DeleteUserHierarchyGroup.go index 3f286be0caa..74ad06df1cd 100644 --- a/service/connect/api_op_DeleteUserHierarchyGroup.go +++ b/service/connect/api_op_DeleteUserHierarchyGroup.go @@ -75,7 +75,10 @@ func addOperationDeleteUserHierarchyGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DescribeContactFlow.go b/service/connect/api_op_DescribeContactFlow.go index 91d0978f191..498bfd16b45 100644 --- a/service/connect/api_op_DescribeContactFlow.go +++ b/service/connect/api_op_DescribeContactFlow.go @@ -81,7 +81,10 @@ func addOperationDescribeContactFlowMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DescribeInstance.go b/service/connect/api_op_DescribeInstance.go index ed0f5359ece..748fb3063fe 100644 --- a/service/connect/api_op_DescribeInstance.go +++ b/service/connect/api_op_DescribeInstance.go @@ -79,7 +79,10 @@ func addOperationDescribeInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DescribeInstanceAttribute.go b/service/connect/api_op_DescribeInstanceAttribute.go index 3cb92a3c209..d3ce6a87f6b 100644 --- a/service/connect/api_op_DescribeInstanceAttribute.go +++ b/service/connect/api_op_DescribeInstanceAttribute.go @@ -80,7 +80,10 @@ func addOperationDescribeInstanceAttributeMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DescribeInstanceStorageConfig.go b/service/connect/api_op_DescribeInstanceStorageConfig.go index ba5c68ad5ef..491beafcb70 100644 --- a/service/connect/api_op_DescribeInstanceStorageConfig.go +++ b/service/connect/api_op_DescribeInstanceStorageConfig.go @@ -87,7 +87,10 @@ func addOperationDescribeInstanceStorageConfigMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DescribeQuickConnect.go b/service/connect/api_op_DescribeQuickConnect.go index fcde74de921..d8a1af69c65 100644 --- a/service/connect/api_op_DescribeQuickConnect.go +++ b/service/connect/api_op_DescribeQuickConnect.go @@ -80,7 +80,10 @@ func addOperationDescribeQuickConnectMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DescribeRoutingProfile.go b/service/connect/api_op_DescribeRoutingProfile.go index ae37b86bf9b..7d357d327e6 100644 --- a/service/connect/api_op_DescribeRoutingProfile.go +++ b/service/connect/api_op_DescribeRoutingProfile.go @@ -79,7 +79,10 @@ func addOperationDescribeRoutingProfileMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DescribeUser.go b/service/connect/api_op_DescribeUser.go index 425d73871ce..3277fc64fa4 100644 --- a/service/connect/api_op_DescribeUser.go +++ b/service/connect/api_op_DescribeUser.go @@ -81,7 +81,10 @@ func addOperationDescribeUserMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DescribeUserHierarchyGroup.go b/service/connect/api_op_DescribeUserHierarchyGroup.go index abd0a1f3da1..ea207197ccc 100644 --- a/service/connect/api_op_DescribeUserHierarchyGroup.go +++ b/service/connect/api_op_DescribeUserHierarchyGroup.go @@ -79,7 +79,10 @@ func addOperationDescribeUserHierarchyGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DescribeUserHierarchyStructure.go b/service/connect/api_op_DescribeUserHierarchyStructure.go index b8c69aa8450..057c0ee7555 100644 --- a/service/connect/api_op_DescribeUserHierarchyStructure.go +++ b/service/connect/api_op_DescribeUserHierarchyStructure.go @@ -74,7 +74,10 @@ func addOperationDescribeUserHierarchyStructureMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DisassociateApprovedOrigin.go b/service/connect/api_op_DisassociateApprovedOrigin.go index 44c9f7b04a5..c084265ad34 100644 --- a/service/connect/api_op_DisassociateApprovedOrigin.go +++ b/service/connect/api_op_DisassociateApprovedOrigin.go @@ -75,7 +75,10 @@ func addOperationDisassociateApprovedOriginMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DisassociateInstanceStorageConfig.go b/service/connect/api_op_DisassociateInstanceStorageConfig.go index 890b8d12fac..fe5d02b573d 100644 --- a/service/connect/api_op_DisassociateInstanceStorageConfig.go +++ b/service/connect/api_op_DisassociateInstanceStorageConfig.go @@ -83,7 +83,10 @@ func addOperationDisassociateInstanceStorageConfigMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DisassociateLambdaFunction.go b/service/connect/api_op_DisassociateLambdaFunction.go index a6df94e1535..0f9e400fda6 100644 --- a/service/connect/api_op_DisassociateLambdaFunction.go +++ b/service/connect/api_op_DisassociateLambdaFunction.go @@ -76,7 +76,10 @@ func addOperationDisassociateLambdaFunctionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DisassociateLexBot.go b/service/connect/api_op_DisassociateLexBot.go index bad6bad1307..94090c5331e 100644 --- a/service/connect/api_op_DisassociateLexBot.go +++ b/service/connect/api_op_DisassociateLexBot.go @@ -81,7 +81,10 @@ func addOperationDisassociateLexBotMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DisassociateRoutingProfileQueues.go b/service/connect/api_op_DisassociateRoutingProfileQueues.go index 261d1332685..e0921a96326 100644 --- a/service/connect/api_op_DisassociateRoutingProfileQueues.go +++ b/service/connect/api_op_DisassociateRoutingProfileQueues.go @@ -80,7 +80,10 @@ func addOperationDisassociateRoutingProfileQueuesMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_DisassociateSecurityKey.go b/service/connect/api_op_DisassociateSecurityKey.go index 5d6f812758d..5c8e5d00968 100644 --- a/service/connect/api_op_DisassociateSecurityKey.go +++ b/service/connect/api_op_DisassociateSecurityKey.go @@ -76,7 +76,10 @@ func addOperationDisassociateSecurityKeyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_GetContactAttributes.go b/service/connect/api_op_GetContactAttributes.go index 98f30c41db6..2d144e59f0f 100644 --- a/service/connect/api_op_GetContactAttributes.go +++ b/service/connect/api_op_GetContactAttributes.go @@ -78,7 +78,10 @@ func addOperationGetContactAttributesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_GetCurrentMetricData.go b/service/connect/api_op_GetCurrentMetricData.go index 12dcca0e834..f79edcbf6f8 100644 --- a/service/connect/api_op_GetCurrentMetricData.go +++ b/service/connect/api_op_GetCurrentMetricData.go @@ -153,7 +153,10 @@ func addOperationGetCurrentMetricDataMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_GetFederationToken.go b/service/connect/api_op_GetFederationToken.go index f39f425609d..2650ac6acd5 100644 --- a/service/connect/api_op_GetFederationToken.go +++ b/service/connect/api_op_GetFederationToken.go @@ -74,7 +74,10 @@ func addOperationGetFederationTokenMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_GetMetricData.go b/service/connect/api_op_GetMetricData.go index ec145604c4d..b63d4ff1811 100644 --- a/service/connect/api_op_GetMetricData.go +++ b/service/connect/api_op_GetMetricData.go @@ -154,7 +154,10 @@ func addOperationGetMetricDataMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListApprovedOrigins.go b/service/connect/api_op_ListApprovedOrigins.go index d3dcdaa4136..121492809ee 100644 --- a/service/connect/api_op_ListApprovedOrigins.go +++ b/service/connect/api_op_ListApprovedOrigins.go @@ -85,7 +85,10 @@ func addOperationListApprovedOriginsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListContactFlows.go b/service/connect/api_op_ListContactFlows.go index e9eb2c23d85..04c2422eaf4 100644 --- a/service/connect/api_op_ListContactFlows.go +++ b/service/connect/api_op_ListContactFlows.go @@ -94,7 +94,10 @@ func addOperationListContactFlowsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListHoursOfOperations.go b/service/connect/api_op_ListHoursOfOperations.go index 396bc302b5a..06a623b296e 100644 --- a/service/connect/api_op_ListHoursOfOperations.go +++ b/service/connect/api_op_ListHoursOfOperations.go @@ -89,7 +89,10 @@ func addOperationListHoursOfOperationsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListInstanceAttributes.go b/service/connect/api_op_ListInstanceAttributes.go index 8ee452fcc26..c6fc93b107f 100644 --- a/service/connect/api_op_ListInstanceAttributes.go +++ b/service/connect/api_op_ListInstanceAttributes.go @@ -86,7 +86,10 @@ func addOperationListInstanceAttributesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListInstanceStorageConfigs.go b/service/connect/api_op_ListInstanceStorageConfigs.go index 697b32560f5..a64a55422f8 100644 --- a/service/connect/api_op_ListInstanceStorageConfigs.go +++ b/service/connect/api_op_ListInstanceStorageConfigs.go @@ -92,7 +92,10 @@ func addOperationListInstanceStorageConfigsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListInstances.go b/service/connect/api_op_ListInstances.go index e984588ebff..b284e190653 100644 --- a/service/connect/api_op_ListInstances.go +++ b/service/connect/api_op_ListInstances.go @@ -84,7 +84,10 @@ func addOperationListInstancesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListIntegrationAssociations.go b/service/connect/api_op_ListIntegrationAssociations.go index ac0a0dfe76d..1f10ba336bc 100644 --- a/service/connect/api_op_ListIntegrationAssociations.go +++ b/service/connect/api_op_ListIntegrationAssociations.go @@ -87,7 +87,10 @@ func addOperationListIntegrationAssociationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListLambdaFunctions.go b/service/connect/api_op_ListLambdaFunctions.go index ba8f333858f..99d4c571e57 100644 --- a/service/connect/api_op_ListLambdaFunctions.go +++ b/service/connect/api_op_ListLambdaFunctions.go @@ -86,7 +86,10 @@ func addOperationListLambdaFunctionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListLexBots.go b/service/connect/api_op_ListLexBots.go index 4c665743e6f..6ca7c83579c 100644 --- a/service/connect/api_op_ListLexBots.go +++ b/service/connect/api_op_ListLexBots.go @@ -88,7 +88,10 @@ func addOperationListLexBotsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListPhoneNumbers.go b/service/connect/api_op_ListPhoneNumbers.go index 1d2ae6833f3..404bdbab88b 100644 --- a/service/connect/api_op_ListPhoneNumbers.go +++ b/service/connect/api_op_ListPhoneNumbers.go @@ -95,7 +95,10 @@ func addOperationListPhoneNumbersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListPrompts.go b/service/connect/api_op_ListPrompts.go index 3274ce5f4bf..6c4054f7d9a 100644 --- a/service/connect/api_op_ListPrompts.go +++ b/service/connect/api_op_ListPrompts.go @@ -86,7 +86,10 @@ func addOperationListPromptsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListQueues.go b/service/connect/api_op_ListQueues.go index f2e63cf3017..99e3647eefb 100644 --- a/service/connect/api_op_ListQueues.go +++ b/service/connect/api_op_ListQueues.go @@ -91,7 +91,10 @@ func addOperationListQueuesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListQuickConnects.go b/service/connect/api_op_ListQuickConnects.go index d6332eb023d..566f285f4fd 100644 --- a/service/connect/api_op_ListQuickConnects.go +++ b/service/connect/api_op_ListQuickConnects.go @@ -92,7 +92,10 @@ func addOperationListQuickConnectsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListRoutingProfileQueues.go b/service/connect/api_op_ListRoutingProfileQueues.go index 823088af499..6cdca537f89 100644 --- a/service/connect/api_op_ListRoutingProfileQueues.go +++ b/service/connect/api_op_ListRoutingProfileQueues.go @@ -90,7 +90,10 @@ func addOperationListRoutingProfileQueuesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListRoutingProfiles.go b/service/connect/api_op_ListRoutingProfiles.go index 284a82c251a..4886a7649f9 100644 --- a/service/connect/api_op_ListRoutingProfiles.go +++ b/service/connect/api_op_ListRoutingProfiles.go @@ -91,7 +91,10 @@ func addOperationListRoutingProfilesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListSecurityKeys.go b/service/connect/api_op_ListSecurityKeys.go index f6948a839eb..b329000e7a3 100644 --- a/service/connect/api_op_ListSecurityKeys.go +++ b/service/connect/api_op_ListSecurityKeys.go @@ -86,7 +86,10 @@ func addOperationListSecurityKeysMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListSecurityProfiles.go b/service/connect/api_op_ListSecurityProfiles.go index a0c88b0b18a..9faf6adee5c 100644 --- a/service/connect/api_op_ListSecurityProfiles.go +++ b/service/connect/api_op_ListSecurityProfiles.go @@ -89,7 +89,10 @@ func addOperationListSecurityProfilesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListTagsForResource.go b/service/connect/api_op_ListTagsForResource.go index 02cddc7a7d8..30834e5f21c 100644 --- a/service/connect/api_op_ListTagsForResource.go +++ b/service/connect/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListUseCases.go b/service/connect/api_op_ListUseCases.go index 58122d7ae5c..54b9740feb1 100644 --- a/service/connect/api_op_ListUseCases.go +++ b/service/connect/api_op_ListUseCases.go @@ -93,7 +93,10 @@ func addOperationListUseCasesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListUserHierarchyGroups.go b/service/connect/api_op_ListUserHierarchyGroups.go index 2cbfbc4cada..5b1e1aa33f1 100644 --- a/service/connect/api_op_ListUserHierarchyGroups.go +++ b/service/connect/api_op_ListUserHierarchyGroups.go @@ -89,7 +89,10 @@ func addOperationListUserHierarchyGroupsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ListUsers.go b/service/connect/api_op_ListUsers.go index a50ed297db8..06f96ffbb9f 100644 --- a/service/connect/api_op_ListUsers.go +++ b/service/connect/api_op_ListUsers.go @@ -86,7 +86,10 @@ func addOperationListUsersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_ResumeContactRecording.go b/service/connect/api_op_ResumeContactRecording.go index d0cb9aae3bb..2da71b54267 100644 --- a/service/connect/api_op_ResumeContactRecording.go +++ b/service/connect/api_op_ResumeContactRecording.go @@ -82,7 +82,10 @@ func addOperationResumeContactRecordingMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_StartChatContact.go b/service/connect/api_op_StartChatContact.go index 2e69b8d561b..9009ebca238 100644 --- a/service/connect/api_op_StartChatContact.go +++ b/service/connect/api_op_StartChatContact.go @@ -136,7 +136,10 @@ func addOperationStartChatContactMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_StartContactRecording.go b/service/connect/api_op_StartContactRecording.go index 6d6b9a83d58..610103b02d3 100644 --- a/service/connect/api_op_StartContactRecording.go +++ b/service/connect/api_op_StartContactRecording.go @@ -95,7 +95,10 @@ func addOperationStartContactRecordingMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_StartOutboundVoiceContact.go b/service/connect/api_op_StartOutboundVoiceContact.go index a507b326e9a..bfa1737873c 100644 --- a/service/connect/api_op_StartOutboundVoiceContact.go +++ b/service/connect/api_op_StartOutboundVoiceContact.go @@ -123,7 +123,10 @@ func addOperationStartOutboundVoiceContactMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_StartTaskContact.go b/service/connect/api_op_StartTaskContact.go index 7da5776faee..e9ffc8b1074 100644 --- a/service/connect/api_op_StartTaskContact.go +++ b/service/connect/api_op_StartTaskContact.go @@ -111,7 +111,10 @@ func addOperationStartTaskContactMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_StopContact.go b/service/connect/api_op_StopContact.go index 33dfaec8bf0..7147484e434 100644 --- a/service/connect/api_op_StopContact.go +++ b/service/connect/api_op_StopContact.go @@ -74,7 +74,10 @@ func addOperationStopContactMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_StopContactRecording.go b/service/connect/api_op_StopContactRecording.go index 0c3d95f8382..86de05b0bb2 100644 --- a/service/connect/api_op_StopContactRecording.go +++ b/service/connect/api_op_StopContactRecording.go @@ -86,7 +86,10 @@ func addOperationStopContactRecordingMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_SuspendContactRecording.go b/service/connect/api_op_SuspendContactRecording.go index 667afa40b57..989a01ee44a 100644 --- a/service/connect/api_op_SuspendContactRecording.go +++ b/service/connect/api_op_SuspendContactRecording.go @@ -85,7 +85,10 @@ func addOperationSuspendContactRecordingMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_TagResource.go b/service/connect/api_op_TagResource.go index 1bb51935a75..b3558875d7a 100644 --- a/service/connect/api_op_TagResource.go +++ b/service/connect/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UntagResource.go b/service/connect/api_op_UntagResource.go index 6c10498d54d..53a300ef353 100644 --- a/service/connect/api_op_UntagResource.go +++ b/service/connect/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateContactAttributes.go b/service/connect/api_op_UpdateContactAttributes.go index 6fe9f371a5c..f4a05cbfd96 100644 --- a/service/connect/api_op_UpdateContactAttributes.go +++ b/service/connect/api_op_UpdateContactAttributes.go @@ -98,7 +98,10 @@ func addOperationUpdateContactAttributesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateContactFlowContent.go b/service/connect/api_op_UpdateContactFlowContent.go index 751d8126421..a8f731843c6 100644 --- a/service/connect/api_op_UpdateContactFlowContent.go +++ b/service/connect/api_op_UpdateContactFlowContent.go @@ -84,7 +84,10 @@ func addOperationUpdateContactFlowContentMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateContactFlowName.go b/service/connect/api_op_UpdateContactFlowName.go index 4584a71d8eb..4d72b19bb4d 100644 --- a/service/connect/api_op_UpdateContactFlowName.go +++ b/service/connect/api_op_UpdateContactFlowName.go @@ -82,7 +82,10 @@ func addOperationUpdateContactFlowNameMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateInstanceAttribute.go b/service/connect/api_op_UpdateInstanceAttribute.go index 6a8c1c1ec94..959e2f1b12d 100644 --- a/service/connect/api_op_UpdateInstanceAttribute.go +++ b/service/connect/api_op_UpdateInstanceAttribute.go @@ -81,7 +81,10 @@ func addOperationUpdateInstanceAttributeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateInstanceStorageConfig.go b/service/connect/api_op_UpdateInstanceStorageConfig.go index b601037a9f3..5bfaf3cecdd 100644 --- a/service/connect/api_op_UpdateInstanceStorageConfig.go +++ b/service/connect/api_op_UpdateInstanceStorageConfig.go @@ -87,7 +87,10 @@ func addOperationUpdateInstanceStorageConfigMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateQuickConnectConfig.go b/service/connect/api_op_UpdateQuickConnectConfig.go index f69bfb465ab..43b33a38f45 100644 --- a/service/connect/api_op_UpdateQuickConnectConfig.go +++ b/service/connect/api_op_UpdateQuickConnectConfig.go @@ -81,7 +81,10 @@ func addOperationUpdateQuickConnectConfigMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateQuickConnectName.go b/service/connect/api_op_UpdateQuickConnectName.go index b647393e372..bf3f609193d 100644 --- a/service/connect/api_op_UpdateQuickConnectName.go +++ b/service/connect/api_op_UpdateQuickConnectName.go @@ -82,7 +82,10 @@ func addOperationUpdateQuickConnectNameMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateRoutingProfileConcurrency.go b/service/connect/api_op_UpdateRoutingProfileConcurrency.go index b514c57d5e0..20e467e0fd6 100644 --- a/service/connect/api_op_UpdateRoutingProfileConcurrency.go +++ b/service/connect/api_op_UpdateRoutingProfileConcurrency.go @@ -81,7 +81,10 @@ func addOperationUpdateRoutingProfileConcurrencyMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go b/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go index 0085a8fba9a..0e20e0d595b 100644 --- a/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go +++ b/service/connect/api_op_UpdateRoutingProfileDefaultOutboundQueue.go @@ -79,7 +79,10 @@ func addOperationUpdateRoutingProfileDefaultOutboundQueueMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateRoutingProfileName.go b/service/connect/api_op_UpdateRoutingProfileName.go index fd8c831c687..523e98d6115 100644 --- a/service/connect/api_op_UpdateRoutingProfileName.go +++ b/service/connect/api_op_UpdateRoutingProfileName.go @@ -81,7 +81,10 @@ func addOperationUpdateRoutingProfileNameMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateRoutingProfileQueues.go b/service/connect/api_op_UpdateRoutingProfileQueues.go index 1bdd1908090..84a519250da 100644 --- a/service/connect/api_op_UpdateRoutingProfileQueues.go +++ b/service/connect/api_op_UpdateRoutingProfileQueues.go @@ -82,7 +82,10 @@ func addOperationUpdateRoutingProfileQueuesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateUserHierarchy.go b/service/connect/api_op_UpdateUserHierarchy.go index 67b51dc25da..18542e6cb6b 100644 --- a/service/connect/api_op_UpdateUserHierarchy.go +++ b/service/connect/api_op_UpdateUserHierarchy.go @@ -77,7 +77,10 @@ func addOperationUpdateUserHierarchyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateUserHierarchyGroupName.go b/service/connect/api_op_UpdateUserHierarchyGroupName.go index ca501a94f4a..c50b861da42 100644 --- a/service/connect/api_op_UpdateUserHierarchyGroupName.go +++ b/service/connect/api_op_UpdateUserHierarchyGroupName.go @@ -79,7 +79,10 @@ func addOperationUpdateUserHierarchyGroupNameMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateUserHierarchyStructure.go b/service/connect/api_op_UpdateUserHierarchyStructure.go index 40f4c6a3d95..5728543fae7 100644 --- a/service/connect/api_op_UpdateUserHierarchyStructure.go +++ b/service/connect/api_op_UpdateUserHierarchyStructure.go @@ -76,7 +76,10 @@ func addOperationUpdateUserHierarchyStructureMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateUserIdentityInfo.go b/service/connect/api_op_UpdateUserIdentityInfo.go index 36f6f8bef8d..f360dccedf8 100644 --- a/service/connect/api_op_UpdateUserIdentityInfo.go +++ b/service/connect/api_op_UpdateUserIdentityInfo.go @@ -88,7 +88,10 @@ func addOperationUpdateUserIdentityInfoMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateUserPhoneConfig.go b/service/connect/api_op_UpdateUserPhoneConfig.go index 9f9049aaf67..67578ab2573 100644 --- a/service/connect/api_op_UpdateUserPhoneConfig.go +++ b/service/connect/api_op_UpdateUserPhoneConfig.go @@ -80,7 +80,10 @@ func addOperationUpdateUserPhoneConfigMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateUserRoutingProfile.go b/service/connect/api_op_UpdateUserRoutingProfile.go index 2c53245064b..afd6aa8fb0b 100644 --- a/service/connect/api_op_UpdateUserRoutingProfile.go +++ b/service/connect/api_op_UpdateUserRoutingProfile.go @@ -79,7 +79,10 @@ func addOperationUpdateUserRoutingProfileMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connect/api_op_UpdateUserSecurityProfiles.go b/service/connect/api_op_UpdateUserSecurityProfiles.go index da3ad8b3aab..54d5c63ec37 100644 --- a/service/connect/api_op_UpdateUserSecurityProfiles.go +++ b/service/connect/api_op_UpdateUserSecurityProfiles.go @@ -79,7 +79,10 @@ func addOperationUpdateUserSecurityProfilesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go b/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go index 3ac457f5dc1..894789ca723 100644 --- a/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go +++ b/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go @@ -104,7 +104,10 @@ func addOperationListRealtimeContactAnalysisSegmentsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connectparticipant/api_op_CompleteAttachmentUpload.go b/service/connectparticipant/api_op_CompleteAttachmentUpload.go index 38c741eb7bd..db7014cf460 100644 --- a/service/connectparticipant/api_op_CompleteAttachmentUpload.go +++ b/service/connectparticipant/api_op_CompleteAttachmentUpload.go @@ -82,7 +82,10 @@ func addOperationCompleteAttachmentUploadMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connectparticipant/api_op_CreateParticipantConnection.go b/service/connectparticipant/api_op_CreateParticipantConnection.go index 620a0831f54..30f439b7b1b 100644 --- a/service/connectparticipant/api_op_CreateParticipantConnection.go +++ b/service/connectparticipant/api_op_CreateParticipantConnection.go @@ -97,7 +97,10 @@ func addOperationCreateParticipantConnectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connectparticipant/api_op_DisconnectParticipant.go b/service/connectparticipant/api_op_DisconnectParticipant.go index 0e03fa1ce3e..3a783a9cd5e 100644 --- a/service/connectparticipant/api_op_DisconnectParticipant.go +++ b/service/connectparticipant/api_op_DisconnectParticipant.go @@ -77,7 +77,10 @@ func addOperationDisconnectParticipantMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connectparticipant/api_op_GetAttachment.go b/service/connectparticipant/api_op_GetAttachment.go index 40ea420e50e..23a64c722d3 100644 --- a/service/connectparticipant/api_op_GetAttachment.go +++ b/service/connectparticipant/api_op_GetAttachment.go @@ -84,7 +84,10 @@ func addOperationGetAttachmentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connectparticipant/api_op_GetTranscript.go b/service/connectparticipant/api_op_GetTranscript.go index 35c431097e2..5702dd138b2 100644 --- a/service/connectparticipant/api_op_GetTranscript.go +++ b/service/connectparticipant/api_op_GetTranscript.go @@ -106,7 +106,10 @@ func addOperationGetTranscriptMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connectparticipant/api_op_SendEvent.go b/service/connectparticipant/api_op_SendEvent.go index fe943104b21..05f237202fa 100644 --- a/service/connectparticipant/api_op_SendEvent.go +++ b/service/connectparticipant/api_op_SendEvent.go @@ -100,7 +100,10 @@ func addOperationSendEventMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connectparticipant/api_op_SendMessage.go b/service/connectparticipant/api_op_SendMessage.go index 8c25d54eaec..ebb1988b144 100644 --- a/service/connectparticipant/api_op_SendMessage.go +++ b/service/connectparticipant/api_op_SendMessage.go @@ -95,7 +95,10 @@ func addOperationSendMessageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/connectparticipant/api_op_StartAttachmentUpload.go b/service/connectparticipant/api_op_StartAttachmentUpload.go index 1645c32dfcf..0b4a66200bd 100644 --- a/service/connectparticipant/api_op_StartAttachmentUpload.go +++ b/service/connectparticipant/api_op_StartAttachmentUpload.go @@ -102,7 +102,10 @@ func addOperationStartAttachmentUploadMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costandusagereportservice/api_op_DeleteReportDefinition.go b/service/costandusagereportservice/api_op_DeleteReportDefinition.go index c3a6886aac8..9d92e1784e5 100644 --- a/service/costandusagereportservice/api_op_DeleteReportDefinition.go +++ b/service/costandusagereportservice/api_op_DeleteReportDefinition.go @@ -74,7 +74,10 @@ func addOperationDeleteReportDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costandusagereportservice/api_op_DescribeReportDefinitions.go b/service/costandusagereportservice/api_op_DescribeReportDefinitions.go index 4170735ea0b..f39ba6d5638 100644 --- a/service/costandusagereportservice/api_op_DescribeReportDefinitions.go +++ b/service/costandusagereportservice/api_op_DescribeReportDefinitions.go @@ -81,7 +81,10 @@ func addOperationDescribeReportDefinitionsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costandusagereportservice/api_op_ModifyReportDefinition.go b/service/costandusagereportservice/api_op_ModifyReportDefinition.go index 4cde29ac99a..d8341b0a0f7 100644 --- a/service/costandusagereportservice/api_op_ModifyReportDefinition.go +++ b/service/costandusagereportservice/api_op_ModifyReportDefinition.go @@ -78,7 +78,10 @@ func addOperationModifyReportDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costandusagereportservice/api_op_PutReportDefinition.go b/service/costandusagereportservice/api_op_PutReportDefinition.go index e5b72b54620..02d4cf722a7 100644 --- a/service/costandusagereportservice/api_op_PutReportDefinition.go +++ b/service/costandusagereportservice/api_op_PutReportDefinition.go @@ -74,7 +74,10 @@ func addOperationPutReportDefinitionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_CreateAnomalyMonitor.go b/service/costexplorer/api_op_CreateAnomalyMonitor.go index 7ad6438790e..588adacca87 100644 --- a/service/costexplorer/api_op_CreateAnomalyMonitor.go +++ b/service/costexplorer/api_op_CreateAnomalyMonitor.go @@ -77,7 +77,10 @@ func addOperationCreateAnomalyMonitorMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_CreateAnomalySubscription.go b/service/costexplorer/api_op_CreateAnomalySubscription.go index f76c73261df..8390e3d3a43 100644 --- a/service/costexplorer/api_op_CreateAnomalySubscription.go +++ b/service/costexplorer/api_op_CreateAnomalySubscription.go @@ -79,7 +79,10 @@ func addOperationCreateAnomalySubscriptionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_CreateCostCategoryDefinition.go b/service/costexplorer/api_op_CreateCostCategoryDefinition.go index c7750121314..08466c319b5 100644 --- a/service/costexplorer/api_op_CreateCostCategoryDefinition.go +++ b/service/costexplorer/api_op_CreateCostCategoryDefinition.go @@ -89,7 +89,10 @@ func addOperationCreateCostCategoryDefinitionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_DeleteAnomalyMonitor.go b/service/costexplorer/api_op_DeleteAnomalyMonitor.go index c860da1ed3a..377076ebb67 100644 --- a/service/costexplorer/api_op_DeleteAnomalyMonitor.go +++ b/service/costexplorer/api_op_DeleteAnomalyMonitor.go @@ -69,7 +69,10 @@ func addOperationDeleteAnomalyMonitorMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_DeleteAnomalySubscription.go b/service/costexplorer/api_op_DeleteAnomalySubscription.go index 0bcfe01e24b..59b13ca2b67 100644 --- a/service/costexplorer/api_op_DeleteAnomalySubscription.go +++ b/service/costexplorer/api_op_DeleteAnomalySubscription.go @@ -69,7 +69,10 @@ func addOperationDeleteAnomalySubscriptionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_DeleteCostCategoryDefinition.go b/service/costexplorer/api_op_DeleteCostCategoryDefinition.go index 8beebd77c69..db618f13b2a 100644 --- a/service/costexplorer/api_op_DeleteCostCategoryDefinition.go +++ b/service/costexplorer/api_op_DeleteCostCategoryDefinition.go @@ -78,7 +78,10 @@ func addOperationDeleteCostCategoryDefinitionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_DescribeCostCategoryDefinition.go b/service/costexplorer/api_op_DescribeCostCategoryDefinition.go index 77b65be575c..82dab3a94ea 100644 --- a/service/costexplorer/api_op_DescribeCostCategoryDefinition.go +++ b/service/costexplorer/api_op_DescribeCostCategoryDefinition.go @@ -82,7 +82,10 @@ func addOperationDescribeCostCategoryDefinitionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetAnomalies.go b/service/costexplorer/api_op_GetAnomalies.go index f9c3fec5759..4d2e9c53aae 100644 --- a/service/costexplorer/api_op_GetAnomalies.go +++ b/service/costexplorer/api_op_GetAnomalies.go @@ -101,7 +101,10 @@ func addOperationGetAnomaliesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetAnomalyMonitors.go b/service/costexplorer/api_op_GetAnomalyMonitors.go index 063b89f2994..3f5c639336e 100644 --- a/service/costexplorer/api_op_GetAnomalyMonitors.go +++ b/service/costexplorer/api_op_GetAnomalyMonitors.go @@ -87,7 +87,10 @@ func addOperationGetAnomalyMonitorsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetAnomalySubscriptions.go b/service/costexplorer/api_op_GetAnomalySubscriptions.go index dfbd1f8c1b4..0cc80ae8071 100644 --- a/service/costexplorer/api_op_GetAnomalySubscriptions.go +++ b/service/costexplorer/api_op_GetAnomalySubscriptions.go @@ -90,7 +90,10 @@ func addOperationGetAnomalySubscriptionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetCostAndUsage.go b/service/costexplorer/api_op_GetCostAndUsage.go index a3297798bde..88c440b65ad 100644 --- a/service/costexplorer/api_op_GetCostAndUsage.go +++ b/service/costexplorer/api_op_GetCostAndUsage.go @@ -134,7 +134,10 @@ func addOperationGetCostAndUsageMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetCostAndUsageWithResources.go b/service/costexplorer/api_op_GetCostAndUsageWithResources.go index e2741e07007..f4b013671f4 100644 --- a/service/costexplorer/api_op_GetCostAndUsageWithResources.go +++ b/service/costexplorer/api_op_GetCostAndUsageWithResources.go @@ -140,7 +140,10 @@ func addOperationGetCostAndUsageWithResourcesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetCostForecast.go b/service/costexplorer/api_op_GetCostForecast.go index 5c780441313..f9a2903e597 100644 --- a/service/costexplorer/api_op_GetCostForecast.go +++ b/service/costexplorer/api_op_GetCostForecast.go @@ -118,7 +118,10 @@ func addOperationGetCostForecastMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetDimensionValues.go b/service/costexplorer/api_op_GetDimensionValues.go index 09eeba33a7c..6ea5389d2de 100644 --- a/service/costexplorer/api_op_GetDimensionValues.go +++ b/service/costexplorer/api_op_GetDimensionValues.go @@ -330,7 +330,10 @@ func addOperationGetDimensionValuesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetReservationCoverage.go b/service/costexplorer/api_op_GetReservationCoverage.go index 4e826c138b2..5eb875966c5 100644 --- a/service/costexplorer/api_op_GetReservationCoverage.go +++ b/service/costexplorer/api_op_GetReservationCoverage.go @@ -202,7 +202,10 @@ func addOperationGetReservationCoverageMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go b/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go index e9305f8043a..146cf7daf10 100644 --- a/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go +++ b/service/costexplorer/api_op_GetReservationPurchaseRecommendation.go @@ -126,7 +126,10 @@ func addOperationGetReservationPurchaseRecommendationMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetReservationUtilization.go b/service/costexplorer/api_op_GetReservationUtilization.go index dad4dfa7caf..6a44f53bb4f 100644 --- a/service/costexplorer/api_op_GetReservationUtilization.go +++ b/service/costexplorer/api_op_GetReservationUtilization.go @@ -137,7 +137,10 @@ func addOperationGetReservationUtilizationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetRightsizingRecommendation.go b/service/costexplorer/api_op_GetRightsizingRecommendation.go index 53e1b55b0e0..b9fe83481d3 100644 --- a/service/costexplorer/api_op_GetRightsizingRecommendation.go +++ b/service/costexplorer/api_op_GetRightsizingRecommendation.go @@ -144,7 +144,10 @@ func addOperationGetRightsizingRecommendationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetSavingsPlansCoverage.go b/service/costexplorer/api_op_GetSavingsPlansCoverage.go index d3d67b96a3a..8eb85052195 100644 --- a/service/costexplorer/api_op_GetSavingsPlansCoverage.go +++ b/service/costexplorer/api_op_GetSavingsPlansCoverage.go @@ -141,7 +141,10 @@ func addOperationGetSavingsPlansCoverageMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go b/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go index d2a979d0716..c8af417b543 100644 --- a/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go +++ b/service/costexplorer/api_op_GetSavingsPlansPurchaseRecommendation.go @@ -124,7 +124,10 @@ func addOperationGetSavingsPlansPurchaseRecommendationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetSavingsPlansUtilization.go b/service/costexplorer/api_op_GetSavingsPlansUtilization.go index 02065347587..82610c4c056 100644 --- a/service/costexplorer/api_op_GetSavingsPlansUtilization.go +++ b/service/costexplorer/api_op_GetSavingsPlansUtilization.go @@ -115,7 +115,10 @@ func addOperationGetSavingsPlansUtilizationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go b/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go index 3b938abf57d..cdb23c35655 100644 --- a/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go +++ b/service/costexplorer/api_op_GetSavingsPlansUtilizationDetails.go @@ -128,7 +128,10 @@ func addOperationGetSavingsPlansUtilizationDetailsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetTags.go b/service/costexplorer/api_op_GetTags.go index e5f7049a8f5..6c9b2dd954c 100644 --- a/service/costexplorer/api_op_GetTags.go +++ b/service/costexplorer/api_op_GetTags.go @@ -104,7 +104,10 @@ func addOperationGetTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_GetUsageForecast.go b/service/costexplorer/api_op_GetUsageForecast.go index c196ea55e68..8c6b2d9a4cc 100644 --- a/service/costexplorer/api_op_GetUsageForecast.go +++ b/service/costexplorer/api_op_GetUsageForecast.go @@ -113,7 +113,10 @@ func addOperationGetUsageForecastMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_ListCostCategoryDefinitions.go b/service/costexplorer/api_op_ListCostCategoryDefinitions.go index 0e1d8d22808..7fcb1740454 100644 --- a/service/costexplorer/api_op_ListCostCategoryDefinitions.go +++ b/service/costexplorer/api_op_ListCostCategoryDefinitions.go @@ -93,7 +93,10 @@ func addOperationListCostCategoryDefinitionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_ProvideAnomalyFeedback.go b/service/costexplorer/api_op_ProvideAnomalyFeedback.go index 99ccc091574..ebf047db12d 100644 --- a/service/costexplorer/api_op_ProvideAnomalyFeedback.go +++ b/service/costexplorer/api_op_ProvideAnomalyFeedback.go @@ -82,7 +82,10 @@ func addOperationProvideAnomalyFeedbackMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_UpdateAnomalyMonitor.go b/service/costexplorer/api_op_UpdateAnomalyMonitor.go index 323e1fce6e0..70b0aad0442 100644 --- a/service/costexplorer/api_op_UpdateAnomalyMonitor.go +++ b/service/costexplorer/api_op_UpdateAnomalyMonitor.go @@ -79,7 +79,10 @@ func addOperationUpdateAnomalyMonitorMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_UpdateAnomalySubscription.go b/service/costexplorer/api_op_UpdateAnomalySubscription.go index ef3934898e0..e55260ec99f 100644 --- a/service/costexplorer/api_op_UpdateAnomalySubscription.go +++ b/service/costexplorer/api_op_UpdateAnomalySubscription.go @@ -92,7 +92,10 @@ func addOperationUpdateAnomalySubscriptionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/costexplorer/api_op_UpdateCostCategoryDefinition.go b/service/costexplorer/api_op_UpdateCostCategoryDefinition.go index a9e75e389c7..09165b77ca9 100644 --- a/service/costexplorer/api_op_UpdateCostCategoryDefinition.go +++ b/service/costexplorer/api_op_UpdateCostCategoryDefinition.go @@ -91,7 +91,10 @@ func addOperationUpdateCostCategoryDefinitionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_AddProfileKey.go b/service/customerprofiles/api_op_AddProfileKey.go index 65d978ad568..4fee46c5f61 100644 --- a/service/customerprofiles/api_op_AddProfileKey.go +++ b/service/customerprofiles/api_op_AddProfileKey.go @@ -94,7 +94,10 @@ func addOperationAddProfileKeyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_CreateDomain.go b/service/customerprofiles/api_op_CreateDomain.go index 7d18faf0615..8eeaf40f495 100644 --- a/service/customerprofiles/api_op_CreateDomain.go +++ b/service/customerprofiles/api_op_CreateDomain.go @@ -126,7 +126,10 @@ func addOperationCreateDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_CreateProfile.go b/service/customerprofiles/api_op_CreateProfile.go index d99c734a0e4..ae35c3c60dd 100644 --- a/service/customerprofiles/api_op_CreateProfile.go +++ b/service/customerprofiles/api_op_CreateProfile.go @@ -143,7 +143,10 @@ func addOperationCreateProfileMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_DeleteDomain.go b/service/customerprofiles/api_op_DeleteDomain.go index 7ebbd2ec873..6a0a97b920a 100644 --- a/service/customerprofiles/api_op_DeleteDomain.go +++ b/service/customerprofiles/api_op_DeleteDomain.go @@ -76,7 +76,10 @@ func addOperationDeleteDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_DeleteIntegration.go b/service/customerprofiles/api_op_DeleteIntegration.go index 1f9367c53eb..13737d30112 100644 --- a/service/customerprofiles/api_op_DeleteIntegration.go +++ b/service/customerprofiles/api_op_DeleteIntegration.go @@ -78,7 +78,10 @@ func addOperationDeleteIntegrationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_DeleteProfile.go b/service/customerprofiles/api_op_DeleteProfile.go index e4cbd98ac8e..a943f232e19 100644 --- a/service/customerprofiles/api_op_DeleteProfile.go +++ b/service/customerprofiles/api_op_DeleteProfile.go @@ -78,7 +78,10 @@ func addOperationDeleteProfileMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_DeleteProfileKey.go b/service/customerprofiles/api_op_DeleteProfileKey.go index 91da6dc8548..a810ad93dd0 100644 --- a/service/customerprofiles/api_op_DeleteProfileKey.go +++ b/service/customerprofiles/api_op_DeleteProfileKey.go @@ -88,7 +88,10 @@ func addOperationDeleteProfileKeyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_DeleteProfileObject.go b/service/customerprofiles/api_op_DeleteProfileObject.go index db7726e465e..e64897911a8 100644 --- a/service/customerprofiles/api_op_DeleteProfileObject.go +++ b/service/customerprofiles/api_op_DeleteProfileObject.go @@ -88,7 +88,10 @@ func addOperationDeleteProfileObjectMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_DeleteProfileObjectType.go b/service/customerprofiles/api_op_DeleteProfileObjectType.go index 80a37f8bbf2..b839bd6ec1f 100644 --- a/service/customerprofiles/api_op_DeleteProfileObjectType.go +++ b/service/customerprofiles/api_op_DeleteProfileObjectType.go @@ -83,7 +83,10 @@ func addOperationDeleteProfileObjectTypeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_GetDomain.go b/service/customerprofiles/api_op_GetDomain.go index 570c31ef2c8..0b310200702 100644 --- a/service/customerprofiles/api_op_GetDomain.go +++ b/service/customerprofiles/api_op_GetDomain.go @@ -105,7 +105,10 @@ func addOperationGetDomainMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_GetIntegration.go b/service/customerprofiles/api_op_GetIntegration.go index 447171a33e0..a9428ff3512 100644 --- a/service/customerprofiles/api_op_GetIntegration.go +++ b/service/customerprofiles/api_op_GetIntegration.go @@ -102,7 +102,10 @@ func addOperationGetIntegrationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_GetProfileObjectType.go b/service/customerprofiles/api_op_GetProfileObjectType.go index 68c254ade1a..8d82bde8493 100644 --- a/service/customerprofiles/api_op_GetProfileObjectType.go +++ b/service/customerprofiles/api_op_GetProfileObjectType.go @@ -119,7 +119,10 @@ func addOperationGetProfileObjectTypeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go b/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go index d6e21f78950..cba99ef547f 100644 --- a/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go +++ b/service/customerprofiles/api_op_GetProfileObjectTypeTemplate.go @@ -97,7 +97,10 @@ func addOperationGetProfileObjectTypeTemplateMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_ListAccountIntegrations.go b/service/customerprofiles/api_op_ListAccountIntegrations.go index cf62742ee57..6e12bdca82d 100644 --- a/service/customerprofiles/api_op_ListAccountIntegrations.go +++ b/service/customerprofiles/api_op_ListAccountIntegrations.go @@ -83,7 +83,10 @@ func addOperationListAccountIntegrationsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_ListDomains.go b/service/customerprofiles/api_op_ListDomains.go index a8461ca20bf..8d10505744a 100644 --- a/service/customerprofiles/api_op_ListDomains.go +++ b/service/customerprofiles/api_op_ListDomains.go @@ -78,7 +78,10 @@ func addOperationListDomainsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_ListIntegrations.go b/service/customerprofiles/api_op_ListIntegrations.go index 4b912effc36..01e9a2a07a4 100644 --- a/service/customerprofiles/api_op_ListIntegrations.go +++ b/service/customerprofiles/api_op_ListIntegrations.go @@ -83,7 +83,10 @@ func addOperationListIntegrationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go b/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go index ff674a92352..c63fff78975 100644 --- a/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go +++ b/service/customerprofiles/api_op_ListProfileObjectTypeTemplates.go @@ -78,7 +78,10 @@ func addOperationListProfileObjectTypeTemplatesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_ListProfileObjectTypes.go b/service/customerprofiles/api_op_ListProfileObjectTypes.go index b692b103783..b9648128166 100644 --- a/service/customerprofiles/api_op_ListProfileObjectTypes.go +++ b/service/customerprofiles/api_op_ListProfileObjectTypes.go @@ -83,7 +83,10 @@ func addOperationListProfileObjectTypesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_ListProfileObjects.go b/service/customerprofiles/api_op_ListProfileObjects.go index 29e99689ee6..47a34e57ef3 100644 --- a/service/customerprofiles/api_op_ListProfileObjects.go +++ b/service/customerprofiles/api_op_ListProfileObjects.go @@ -94,7 +94,10 @@ func addOperationListProfileObjectsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_ListTagsForResource.go b/service/customerprofiles/api_op_ListTagsForResource.go index ea726e99fdb..991cfee5b04 100644 --- a/service/customerprofiles/api_op_ListTagsForResource.go +++ b/service/customerprofiles/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_PutIntegration.go b/service/customerprofiles/api_op_PutIntegration.go index 667c7874882..186bb0d33c0 100644 --- a/service/customerprofiles/api_op_PutIntegration.go +++ b/service/customerprofiles/api_op_PutIntegration.go @@ -114,7 +114,10 @@ func addOperationPutIntegrationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_PutProfileObject.go b/service/customerprofiles/api_op_PutProfileObject.go index 4e6990b568c..4f00860c107 100644 --- a/service/customerprofiles/api_op_PutProfileObject.go +++ b/service/customerprofiles/api_op_PutProfileObject.go @@ -92,7 +92,10 @@ func addOperationPutProfileObjectMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_PutProfileObjectType.go b/service/customerprofiles/api_op_PutProfileObjectType.go index aad58f52571..9fcac514ff1 100644 --- a/service/customerprofiles/api_op_PutProfileObjectType.go +++ b/service/customerprofiles/api_op_PutProfileObjectType.go @@ -150,7 +150,10 @@ func addOperationPutProfileObjectTypeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_SearchProfiles.go b/service/customerprofiles/api_op_SearchProfiles.go index de7329ce9bd..99fa94832fa 100644 --- a/service/customerprofiles/api_op_SearchProfiles.go +++ b/service/customerprofiles/api_op_SearchProfiles.go @@ -97,7 +97,10 @@ func addOperationSearchProfilesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_TagResource.go b/service/customerprofiles/api_op_TagResource.go index ed1f66def69..c27d229ac3d 100644 --- a/service/customerprofiles/api_op_TagResource.go +++ b/service/customerprofiles/api_op_TagResource.go @@ -85,7 +85,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_UntagResource.go b/service/customerprofiles/api_op_UntagResource.go index 7e50d3b9483..96c76a53f2c 100644 --- a/service/customerprofiles/api_op_UntagResource.go +++ b/service/customerprofiles/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_UpdateDomain.go b/service/customerprofiles/api_op_UpdateDomain.go index 706a0c708f0..6cfa8f212f8 100644 --- a/service/customerprofiles/api_op_UpdateDomain.go +++ b/service/customerprofiles/api_op_UpdateDomain.go @@ -122,7 +122,10 @@ func addOperationUpdateDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/customerprofiles/api_op_UpdateProfile.go b/service/customerprofiles/api_op_UpdateProfile.go index 03b268dd767..369451f8995 100644 --- a/service/customerprofiles/api_op_UpdateProfile.go +++ b/service/customerprofiles/api_op_UpdateProfile.go @@ -150,7 +150,10 @@ func addOperationUpdateProfileMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_AddTagsToResource.go b/service/databasemigrationservice/api_op_AddTagsToResource.go index 96ca98533ff..d43f012a593 100644 --- a/service/databasemigrationservice/api_op_AddTagsToResource.go +++ b/service/databasemigrationservice/api_op_AddTagsToResource.go @@ -84,7 +84,10 @@ func addOperationAddTagsToResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go b/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go index bc6e21d3609..8e4c0cfcfda 100644 --- a/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go +++ b/service/databasemigrationservice/api_op_ApplyPendingMaintenanceAction.go @@ -98,7 +98,10 @@ func addOperationApplyPendingMaintenanceActionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go b/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go index cfbe935013d..0a4906b5c65 100644 --- a/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go +++ b/service/databasemigrationservice/api_op_CancelReplicationTaskAssessmentRun.go @@ -78,7 +78,10 @@ func addOperationCancelReplicationTaskAssessmentRunMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_CreateEndpoint.go b/service/databasemigrationservice/api_op_CreateEndpoint.go index 801046f99ce..6d86b50ded4 100644 --- a/service/databasemigrationservice/api_op_CreateEndpoint.go +++ b/service/databasemigrationservice/api_op_CreateEndpoint.go @@ -279,7 +279,10 @@ func addOperationCreateEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_CreateEventSubscription.go b/service/databasemigrationservice/api_op_CreateEventSubscription.go index 7bdd53df1b4..be707b1e090 100644 --- a/service/databasemigrationservice/api_op_CreateEventSubscription.go +++ b/service/databasemigrationservice/api_op_CreateEventSubscription.go @@ -123,7 +123,10 @@ func addOperationCreateEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_CreateReplicationInstance.go b/service/databasemigrationservice/api_op_CreateReplicationInstance.go index 8fb16ebf5ca..d58bd5c00d7 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationInstance.go +++ b/service/databasemigrationservice/api_op_CreateReplicationInstance.go @@ -174,7 +174,10 @@ func addOperationCreateReplicationInstanceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go b/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go index 4a748b549bd..9590fbb0017 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go +++ b/service/databasemigrationservice/api_op_CreateReplicationSubnetGroup.go @@ -92,7 +92,10 @@ func addOperationCreateReplicationSubnetGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_CreateReplicationTask.go b/service/databasemigrationservice/api_op_CreateReplicationTask.go index edc8177aa9b..d28fff33933 100644 --- a/service/databasemigrationservice/api_op_CreateReplicationTask.go +++ b/service/databasemigrationservice/api_op_CreateReplicationTask.go @@ -167,7 +167,10 @@ func addOperationCreateReplicationTaskMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DeleteCertificate.go b/service/databasemigrationservice/api_op_DeleteCertificate.go index c4a6101918e..406f6046fb8 100644 --- a/service/databasemigrationservice/api_op_DeleteCertificate.go +++ b/service/databasemigrationservice/api_op_DeleteCertificate.go @@ -74,7 +74,10 @@ func addOperationDeleteCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DeleteConnection.go b/service/databasemigrationservice/api_op_DeleteConnection.go index d6a70f0e305..73466583169 100644 --- a/service/databasemigrationservice/api_op_DeleteConnection.go +++ b/service/databasemigrationservice/api_op_DeleteConnection.go @@ -81,7 +81,10 @@ func addOperationDeleteConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DeleteEndpoint.go b/service/databasemigrationservice/api_op_DeleteEndpoint.go index 229eaf93411..f724b1e0f14 100644 --- a/service/databasemigrationservice/api_op_DeleteEndpoint.go +++ b/service/databasemigrationservice/api_op_DeleteEndpoint.go @@ -77,7 +77,10 @@ func addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DeleteEventSubscription.go b/service/databasemigrationservice/api_op_DeleteEventSubscription.go index d1dc75f4351..99d7e4a1167 100644 --- a/service/databasemigrationservice/api_op_DeleteEventSubscription.go +++ b/service/databasemigrationservice/api_op_DeleteEventSubscription.go @@ -76,7 +76,10 @@ func addOperationDeleteEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DeleteReplicationInstance.go b/service/databasemigrationservice/api_op_DeleteReplicationInstance.go index aec13c6c854..6f0bb48e2bb 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationInstance.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationInstance.go @@ -77,7 +77,10 @@ func addOperationDeleteReplicationInstanceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go b/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go index a2f3430c699..d5ccd5664c8 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationSubnetGroup.go @@ -71,7 +71,10 @@ func addOperationDeleteReplicationSubnetGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DeleteReplicationTask.go b/service/databasemigrationservice/api_op_DeleteReplicationTask.go index ec19414abcd..57437bf9be0 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationTask.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationTask.go @@ -76,7 +76,10 @@ func addOperationDeleteReplicationTaskMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go b/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go index 8fbf4ff67b6..2631b912ef8 100644 --- a/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go +++ b/service/databasemigrationservice/api_op_DeleteReplicationTaskAssessmentRun.go @@ -79,7 +79,10 @@ func addOperationDeleteReplicationTaskAssessmentRunMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeAccountAttributes.go b/service/databasemigrationservice/api_op_DescribeAccountAttributes.go index 714c2f19e05..0567881052a 100644 --- a/service/databasemigrationservice/api_op_DescribeAccountAttributes.go +++ b/service/databasemigrationservice/api_op_DescribeAccountAttributes.go @@ -88,7 +88,10 @@ func addOperationDescribeAccountAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go b/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go index 36e9d39315e..7baa8fd00a2 100644 --- a/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go +++ b/service/databasemigrationservice/api_op_DescribeApplicableIndividualAssessments.go @@ -130,7 +130,10 @@ func addOperationDescribeApplicableIndividualAssessmentsMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeCertificates.go b/service/databasemigrationservice/api_op_DescribeCertificates.go index e0fd43b9a0d..8608874a871 100644 --- a/service/databasemigrationservice/api_op_DescribeCertificates.go +++ b/service/databasemigrationservice/api_op_DescribeCertificates.go @@ -88,7 +88,10 @@ func addOperationDescribeCertificatesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeConnections.go b/service/databasemigrationservice/api_op_DescribeConnections.go index aec4f6f4f6d..6c1e0d633e9 100644 --- a/service/databasemigrationservice/api_op_DescribeConnections.go +++ b/service/databasemigrationservice/api_op_DescribeConnections.go @@ -98,7 +98,10 @@ func addOperationDescribeConnectionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeEndpointTypes.go b/service/databasemigrationservice/api_op_DescribeEndpointTypes.go index 25623e72db4..b3dcb128c4a 100644 --- a/service/databasemigrationservice/api_op_DescribeEndpointTypes.go +++ b/service/databasemigrationservice/api_op_DescribeEndpointTypes.go @@ -92,7 +92,10 @@ func addOperationDescribeEndpointTypesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeEndpoints.go b/service/databasemigrationservice/api_op_DescribeEndpoints.go index 708e758b73b..794d793d508 100644 --- a/service/databasemigrationservice/api_op_DescribeEndpoints.go +++ b/service/databasemigrationservice/api_op_DescribeEndpoints.go @@ -97,7 +97,10 @@ func addOperationDescribeEndpointsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeEventCategories.go b/service/databasemigrationservice/api_op_DescribeEventCategories.go index 83427128ec5..adc5e17b8ce 100644 --- a/service/databasemigrationservice/api_op_DescribeEventCategories.go +++ b/service/databasemigrationservice/api_op_DescribeEventCategories.go @@ -82,7 +82,10 @@ func addOperationDescribeEventCategoriesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go b/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go index f14eba2b943..f8454891ee4 100644 --- a/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go +++ b/service/databasemigrationservice/api_op_DescribeEventSubscriptions.go @@ -97,7 +97,10 @@ func addOperationDescribeEventSubscriptionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeEvents.go b/service/databasemigrationservice/api_op_DescribeEvents.go index abb98f02650..4d9ecb0c184 100644 --- a/service/databasemigrationservice/api_op_DescribeEvents.go +++ b/service/databasemigrationservice/api_op_DescribeEvents.go @@ -115,7 +115,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go b/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go index d1caa5e89bf..eb10544a2bc 100644 --- a/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go +++ b/service/databasemigrationservice/api_op_DescribeOrderableReplicationInstances.go @@ -89,7 +89,10 @@ func addOperationDescribeOrderableReplicationInstancesMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go b/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go index 1f672e47e16..3bb361771fa 100644 --- a/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go +++ b/service/databasemigrationservice/api_op_DescribePendingMaintenanceActions.go @@ -94,7 +94,10 @@ func addOperationDescribePendingMaintenanceActionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go b/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go index 164c80e8dd5..81517c0de23 100644 --- a/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go +++ b/service/databasemigrationservice/api_op_DescribeRefreshSchemasStatus.go @@ -76,7 +76,10 @@ func addOperationDescribeRefreshSchemasStatusMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go b/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go index 9e513d500a6..e9fd9c4d701 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationInstanceTaskLogs.go @@ -95,7 +95,10 @@ func addOperationDescribeReplicationInstanceTaskLogsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeReplicationInstances.go b/service/databasemigrationservice/api_op_DescribeReplicationInstances.go index 3aa3d2b225f..8fb891b2d51 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationInstances.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationInstances.go @@ -99,7 +99,10 @@ func addOperationDescribeReplicationInstancesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go b/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go index 1ca44dcf46d..1f4710690f9 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationSubnetGroups.go @@ -92,7 +92,10 @@ func addOperationDescribeReplicationSubnetGroupsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go index 104b8457d58..d9f993d371f 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentResults.go @@ -97,7 +97,10 @@ func addOperationDescribeReplicationTaskAssessmentResultsMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go index a19c3b1038e..c3a6f200274 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTaskAssessmentRuns.go @@ -98,7 +98,10 @@ func addOperationDescribeReplicationTaskAssessmentRunsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go b/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go index 6b150b683cf..09eab458353 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTaskIndividualAssessments.go @@ -95,7 +95,10 @@ func addOperationDescribeReplicationTaskIndividualAssessmentsMiddlewares(stack * if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeReplicationTasks.go b/service/databasemigrationservice/api_op_DescribeReplicationTasks.go index 95965367627..81063135b86 100644 --- a/service/databasemigrationservice/api_op_DescribeReplicationTasks.go +++ b/service/databasemigrationservice/api_op_DescribeReplicationTasks.go @@ -103,7 +103,10 @@ func addOperationDescribeReplicationTasksMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeSchemas.go b/service/databasemigrationservice/api_op_DescribeSchemas.go index d4d428f4aed..9c6616f9170 100644 --- a/service/databasemigrationservice/api_op_DescribeSchemas.go +++ b/service/databasemigrationservice/api_op_DescribeSchemas.go @@ -92,7 +92,10 @@ func addOperationDescribeSchemasMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_DescribeTableStatistics.go b/service/databasemigrationservice/api_op_DescribeTableStatistics.go index 2f3ccb8054c..787c0760412 100644 --- a/service/databasemigrationservice/api_op_DescribeTableStatistics.go +++ b/service/databasemigrationservice/api_op_DescribeTableStatistics.go @@ -105,7 +105,10 @@ func addOperationDescribeTableStatisticsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_ImportCertificate.go b/service/databasemigrationservice/api_op_ImportCertificate.go index a3f96905211..a3e2d3ecdf7 100644 --- a/service/databasemigrationservice/api_op_ImportCertificate.go +++ b/service/databasemigrationservice/api_op_ImportCertificate.go @@ -85,7 +85,10 @@ func addOperationImportCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_ListTagsForResource.go b/service/databasemigrationservice/api_op_ListTagsForResource.go index d7ce23f625f..dfdc5cffdec 100644 --- a/service/databasemigrationservice/api_op_ListTagsForResource.go +++ b/service/databasemigrationservice/api_op_ListTagsForResource.go @@ -80,7 +80,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_ModifyEndpoint.go b/service/databasemigrationservice/api_op_ModifyEndpoint.go index 8597dac3943..0c9c775fc2c 100644 --- a/service/databasemigrationservice/api_op_ModifyEndpoint.go +++ b/service/databasemigrationservice/api_op_ModifyEndpoint.go @@ -255,7 +255,10 @@ func addOperationModifyEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_ModifyEventSubscription.go b/service/databasemigrationservice/api_op_ModifyEventSubscription.go index 4e08cb77cf0..d9e047f01d3 100644 --- a/service/databasemigrationservice/api_op_ModifyEventSubscription.go +++ b/service/databasemigrationservice/api_op_ModifyEventSubscription.go @@ -92,7 +92,10 @@ func addOperationModifyEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go index 2a3dfa56588..aafb75c660e 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationInstance.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationInstance.go @@ -142,7 +142,10 @@ func addOperationModifyReplicationInstanceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go b/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go index fd1b757dd8c..8a429568dbe 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationSubnetGroup.go @@ -84,7 +84,10 @@ func addOperationModifyReplicationSubnetGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_ModifyReplicationTask.go b/service/databasemigrationservice/api_op_ModifyReplicationTask.go index 816c98397b4..b9dfaa34fe3 100644 --- a/service/databasemigrationservice/api_op_ModifyReplicationTask.go +++ b/service/databasemigrationservice/api_op_ModifyReplicationTask.go @@ -138,7 +138,10 @@ func addOperationModifyReplicationTaskMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_MoveReplicationTask.go b/service/databasemigrationservice/api_op_MoveReplicationTask.go index 5e3122a851d..0497d7344c9 100644 --- a/service/databasemigrationservice/api_op_MoveReplicationTask.go +++ b/service/databasemigrationservice/api_op_MoveReplicationTask.go @@ -84,7 +84,10 @@ func addOperationMoveReplicationTaskMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_RebootReplicationInstance.go b/service/databasemigrationservice/api_op_RebootReplicationInstance.go index 1461558e8b2..6f519fa7360 100644 --- a/service/databasemigrationservice/api_op_RebootReplicationInstance.go +++ b/service/databasemigrationservice/api_op_RebootReplicationInstance.go @@ -79,7 +79,10 @@ func addOperationRebootReplicationInstanceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_RefreshSchemas.go b/service/databasemigrationservice/api_op_RefreshSchemas.go index 2ee1036c467..884fa464995 100644 --- a/service/databasemigrationservice/api_op_RefreshSchemas.go +++ b/service/databasemigrationservice/api_op_RefreshSchemas.go @@ -83,7 +83,10 @@ func addOperationRefreshSchemasMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_ReloadTables.go b/service/databasemigrationservice/api_op_ReloadTables.go index 7cfde3329d2..f89948abcd1 100644 --- a/service/databasemigrationservice/api_op_ReloadTables.go +++ b/service/databasemigrationservice/api_op_ReloadTables.go @@ -85,7 +85,10 @@ func addOperationReloadTablesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_RemoveTagsFromResource.go b/service/databasemigrationservice/api_op_RemoveTagsFromResource.go index 513e961b9d0..f0317a4c63f 100644 --- a/service/databasemigrationservice/api_op_RemoveTagsFromResource.go +++ b/service/databasemigrationservice/api_op_RemoveTagsFromResource.go @@ -80,7 +80,10 @@ func addOperationRemoveTagsFromResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_StartReplicationTask.go b/service/databasemigrationservice/api_op_StartReplicationTask.go index ffeea3618e0..f7e5e4bb6b1 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTask.go +++ b/service/databasemigrationservice/api_op_StartReplicationTask.go @@ -112,7 +112,10 @@ func addOperationStartReplicationTaskMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go b/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go index b03f3b4c5d6..9dc47658022 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go +++ b/service/databasemigrationservice/api_op_StartReplicationTaskAssessment.go @@ -77,7 +77,10 @@ func addOperationStartReplicationTaskAssessmentMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go b/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go index f8d35ebf751..0217626954f 100644 --- a/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go +++ b/service/databasemigrationservice/api_op_StartReplicationTaskAssessmentRun.go @@ -140,7 +140,10 @@ func addOperationStartReplicationTaskAssessmentRunMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_StopReplicationTask.go b/service/databasemigrationservice/api_op_StopReplicationTask.go index 490e2dd7d95..9985c3b89c6 100644 --- a/service/databasemigrationservice/api_op_StopReplicationTask.go +++ b/service/databasemigrationservice/api_op_StopReplicationTask.go @@ -76,7 +76,10 @@ func addOperationStopReplicationTaskMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databasemigrationservice/api_op_TestConnection.go b/service/databasemigrationservice/api_op_TestConnection.go index f70ae38c26d..d9fff231bfc 100644 --- a/service/databasemigrationservice/api_op_TestConnection.go +++ b/service/databasemigrationservice/api_op_TestConnection.go @@ -81,7 +81,10 @@ func addOperationTestConnectionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_BatchDeleteRecipeVersion.go b/service/databrew/api_op_BatchDeleteRecipeVersion.go index b02350f9588..3a2a660fa86 100644 --- a/service/databrew/api_op_BatchDeleteRecipeVersion.go +++ b/service/databrew/api_op_BatchDeleteRecipeVersion.go @@ -84,7 +84,10 @@ func addOperationBatchDeleteRecipeVersionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_CreateDataset.go b/service/databrew/api_op_CreateDataset.go index 8904b32ef96..de9d79259f5 100644 --- a/service/databrew/api_op_CreateDataset.go +++ b/service/databrew/api_op_CreateDataset.go @@ -88,7 +88,10 @@ func addOperationCreateDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_CreateProfileJob.go b/service/databrew/api_op_CreateProfileJob.go index b5cb553446b..e7b6336d712 100644 --- a/service/databrew/api_op_CreateProfileJob.go +++ b/service/databrew/api_op_CreateProfileJob.go @@ -125,7 +125,10 @@ func addOperationCreateProfileJobMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_CreateProject.go b/service/databrew/api_op_CreateProject.go index 0db89d6e779..e330b7ee575 100644 --- a/service/databrew/api_op_CreateProject.go +++ b/service/databrew/api_op_CreateProject.go @@ -99,7 +99,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_CreateRecipe.go b/service/databrew/api_op_CreateRecipe.go index 253221c3870..b116d53ea93 100644 --- a/service/databrew/api_op_CreateRecipe.go +++ b/service/databrew/api_op_CreateRecipe.go @@ -89,7 +89,10 @@ func addOperationCreateRecipeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_CreateRecipeJob.go b/service/databrew/api_op_CreateRecipeJob.go index 21a63d50fd7..3a8392777f7 100644 --- a/service/databrew/api_op_CreateRecipeJob.go +++ b/service/databrew/api_op_CreateRecipeJob.go @@ -131,7 +131,10 @@ func addOperationCreateRecipeJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_CreateSchedule.go b/service/databrew/api_op_CreateSchedule.go index 3c6d8667241..cd15f5213aa 100644 --- a/service/databrew/api_op_CreateSchedule.go +++ b/service/databrew/api_op_CreateSchedule.go @@ -88,7 +88,10 @@ func addOperationCreateScheduleMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DeleteDataset.go b/service/databrew/api_op_DeleteDataset.go index 7ea6a63d02d..5b743162e88 100644 --- a/service/databrew/api_op_DeleteDataset.go +++ b/service/databrew/api_op_DeleteDataset.go @@ -75,7 +75,10 @@ func addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DeleteJob.go b/service/databrew/api_op_DeleteJob.go index 104187a4496..839f5dc4197 100644 --- a/service/databrew/api_op_DeleteJob.go +++ b/service/databrew/api_op_DeleteJob.go @@ -76,7 +76,10 @@ func addOperationDeleteJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DeleteProject.go b/service/databrew/api_op_DeleteProject.go index 71e91745f29..f117c5e67b4 100644 --- a/service/databrew/api_op_DeleteProject.go +++ b/service/databrew/api_op_DeleteProject.go @@ -75,7 +75,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DeleteRecipeVersion.go b/service/databrew/api_op_DeleteRecipeVersion.go index ec372b3181a..211b3827248 100644 --- a/service/databrew/api_op_DeleteRecipeVersion.go +++ b/service/databrew/api_op_DeleteRecipeVersion.go @@ -85,7 +85,10 @@ func addOperationDeleteRecipeVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DeleteSchedule.go b/service/databrew/api_op_DeleteSchedule.go index f59a2218504..8a24fc0895d 100644 --- a/service/databrew/api_op_DeleteSchedule.go +++ b/service/databrew/api_op_DeleteSchedule.go @@ -75,7 +75,10 @@ func addOperationDeleteScheduleMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DescribeDataset.go b/service/databrew/api_op_DescribeDataset.go index e34d2f97f0c..193e32bee21 100644 --- a/service/databrew/api_op_DescribeDataset.go +++ b/service/databrew/api_op_DescribeDataset.go @@ -109,7 +109,10 @@ func addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DescribeJob.go b/service/databrew/api_op_DescribeJob.go index 4575aebbf70..51fc1c04763 100644 --- a/service/databrew/api_op_DescribeJob.go +++ b/service/databrew/api_op_DescribeJob.go @@ -149,7 +149,10 @@ func addOperationDescribeJobMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DescribeProject.go b/service/databrew/api_op_DescribeProject.go index 70d4efd81b8..417efcd9d39 100644 --- a/service/databrew/api_op_DescribeProject.go +++ b/service/databrew/api_op_DescribeProject.go @@ -127,7 +127,10 @@ func addOperationDescribeProjectMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DescribeRecipe.go b/service/databrew/api_op_DescribeRecipe.go index 69e31a94426..1d5997df370 100644 --- a/service/databrew/api_op_DescribeRecipe.go +++ b/service/databrew/api_op_DescribeRecipe.go @@ -119,7 +119,10 @@ func addOperationDescribeRecipeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_DescribeSchedule.go b/service/databrew/api_op_DescribeSchedule.go index 91255c2ae80..5f24a7c5a12 100644 --- a/service/databrew/api_op_DescribeSchedule.go +++ b/service/databrew/api_op_DescribeSchedule.go @@ -102,7 +102,10 @@ func addOperationDescribeScheduleMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_ListDatasets.go b/service/databrew/api_op_ListDatasets.go index f730eaf4df4..f4584c9b476 100644 --- a/service/databrew/api_op_ListDatasets.go +++ b/service/databrew/api_op_ListDatasets.go @@ -85,7 +85,10 @@ func addOperationListDatasetsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_ListJobRuns.go b/service/databrew/api_op_ListJobRuns.go index d5997b844c3..bc7db0a9d0d 100644 --- a/service/databrew/api_op_ListJobRuns.go +++ b/service/databrew/api_op_ListJobRuns.go @@ -91,7 +91,10 @@ func addOperationListJobRunsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_ListJobs.go b/service/databrew/api_op_ListJobs.go index 5f704ff63ec..8e3c9ccd757 100644 --- a/service/databrew/api_op_ListJobs.go +++ b/service/databrew/api_op_ListJobs.go @@ -93,7 +93,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_ListProjects.go b/service/databrew/api_op_ListProjects.go index 700517d58ee..8c813356d2e 100644 --- a/service/databrew/api_op_ListProjects.go +++ b/service/databrew/api_op_ListProjects.go @@ -83,7 +83,10 @@ func addOperationListProjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_ListRecipeVersions.go b/service/databrew/api_op_ListRecipeVersions.go index bcfcd2b3563..6b1110a840e 100644 --- a/service/databrew/api_op_ListRecipeVersions.go +++ b/service/databrew/api_op_ListRecipeVersions.go @@ -89,7 +89,10 @@ func addOperationListRecipeVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_ListRecipes.go b/service/databrew/api_op_ListRecipes.go index 6f9064a9070..5b90a42b9be 100644 --- a/service/databrew/api_op_ListRecipes.go +++ b/service/databrew/api_op_ListRecipes.go @@ -87,7 +87,10 @@ func addOperationListRecipesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_ListSchedules.go b/service/databrew/api_op_ListSchedules.go index 9cdd2094189..feac07fc5bf 100644 --- a/service/databrew/api_op_ListSchedules.go +++ b/service/databrew/api_op_ListSchedules.go @@ -86,7 +86,10 @@ func addOperationListSchedulesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_ListTagsForResource.go b/service/databrew/api_op_ListTagsForResource.go index c5ea1dddded..70fca92b475 100644 --- a/service/databrew/api_op_ListTagsForResource.go +++ b/service/databrew/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_PublishRecipe.go b/service/databrew/api_op_PublishRecipe.go index 44efd23fe99..f33ce73fe41 100644 --- a/service/databrew/api_op_PublishRecipe.go +++ b/service/databrew/api_op_PublishRecipe.go @@ -79,7 +79,10 @@ func addOperationPublishRecipeMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_SendProjectSessionAction.go b/service/databrew/api_op_SendProjectSessionAction.go index d7866830bf1..d47ff93adcd 100644 --- a/service/databrew/api_op_SendProjectSessionAction.go +++ b/service/databrew/api_op_SendProjectSessionAction.go @@ -103,7 +103,10 @@ func addOperationSendProjectSessionActionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_StartJobRun.go b/service/databrew/api_op_StartJobRun.go index 80364fa30ce..b97b93a7c52 100644 --- a/service/databrew/api_op_StartJobRun.go +++ b/service/databrew/api_op_StartJobRun.go @@ -75,7 +75,10 @@ func addOperationStartJobRunMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_StartProjectSession.go b/service/databrew/api_op_StartProjectSession.go index c1cda30e974..eba89220f5b 100644 --- a/service/databrew/api_op_StartProjectSession.go +++ b/service/databrew/api_op_StartProjectSession.go @@ -83,7 +83,10 @@ func addOperationStartProjectSessionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_StopJobRun.go b/service/databrew/api_op_StopJobRun.go index a955c76f528..7a21793c2a1 100644 --- a/service/databrew/api_op_StopJobRun.go +++ b/service/databrew/api_op_StopJobRun.go @@ -80,7 +80,10 @@ func addOperationStopJobRunMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_TagResource.go b/service/databrew/api_op_TagResource.go index 2ead177c2a8..2c93b9f7418 100644 --- a/service/databrew/api_op_TagResource.go +++ b/service/databrew/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_UntagResource.go b/service/databrew/api_op_UntagResource.go index e1de93203f2..a24d26d4064 100644 --- a/service/databrew/api_op_UntagResource.go +++ b/service/databrew/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_UpdateDataset.go b/service/databrew/api_op_UpdateDataset.go index 07388e89393..ec0e99a8a9c 100644 --- a/service/databrew/api_op_UpdateDataset.go +++ b/service/databrew/api_op_UpdateDataset.go @@ -86,7 +86,10 @@ func addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_UpdateProfileJob.go b/service/databrew/api_op_UpdateProfileJob.go index bc28e2c7a1d..c6cca5a3d10 100644 --- a/service/databrew/api_op_UpdateProfileJob.go +++ b/service/databrew/api_op_UpdateProfileJob.go @@ -117,7 +117,10 @@ func addOperationUpdateProfileJobMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_UpdateProject.go b/service/databrew/api_op_UpdateProject.go index 78654743115..b7596292a7f 100644 --- a/service/databrew/api_op_UpdateProject.go +++ b/service/databrew/api_op_UpdateProject.go @@ -90,7 +90,10 @@ func addOperationUpdateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_UpdateRecipe.go b/service/databrew/api_op_UpdateRecipe.go index c3a9d9e0897..6c8545a8213 100644 --- a/service/databrew/api_op_UpdateRecipe.go +++ b/service/databrew/api_op_UpdateRecipe.go @@ -84,7 +84,10 @@ func addOperationUpdateRecipeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_UpdateRecipeJob.go b/service/databrew/api_op_UpdateRecipeJob.go index 82732fa765f..66887354dfc 100644 --- a/service/databrew/api_op_UpdateRecipeJob.go +++ b/service/databrew/api_op_UpdateRecipeJob.go @@ -117,7 +117,10 @@ func addOperationUpdateRecipeJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/databrew/api_op_UpdateSchedule.go b/service/databrew/api_op_UpdateSchedule.go index 27fa5351ddc..1a35060c745 100644 --- a/service/databrew/api_op_UpdateSchedule.go +++ b/service/databrew/api_op_UpdateSchedule.go @@ -85,7 +85,10 @@ func addOperationUpdateScheduleMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_CancelJob.go b/service/dataexchange/api_op_CancelJob.go index c91f27cb7cb..007a9a3f89d 100644 --- a/service/dataexchange/api_op_CancelJob.go +++ b/service/dataexchange/api_op_CancelJob.go @@ -70,7 +70,10 @@ func addOperationCancelJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_CreateDataSet.go b/service/dataexchange/api_op_CreateDataSet.go index eed14906d69..ed10d1e94cc 100644 --- a/service/dataexchange/api_op_CreateDataSet.go +++ b/service/dataexchange/api_op_CreateDataSet.go @@ -128,7 +128,10 @@ func addOperationCreateDataSetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_CreateJob.go b/service/dataexchange/api_op_CreateJob.go index 602a1d08421..86324df321f 100644 --- a/service/dataexchange/api_op_CreateJob.go +++ b/service/dataexchange/api_op_CreateJob.go @@ -102,7 +102,10 @@ func addOperationCreateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_CreateRevision.go b/service/dataexchange/api_op_CreateRevision.go index 5c4ee219802..458eb3172b1 100644 --- a/service/dataexchange/api_op_CreateRevision.go +++ b/service/dataexchange/api_op_CreateRevision.go @@ -116,7 +116,10 @@ func addOperationCreateRevisionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_DeleteAsset.go b/service/dataexchange/api_op_DeleteAsset.go index 2cee86fbf59..a11540d6ee2 100644 --- a/service/dataexchange/api_op_DeleteAsset.go +++ b/service/dataexchange/api_op_DeleteAsset.go @@ -79,7 +79,10 @@ func addOperationDeleteAssetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_DeleteDataSet.go b/service/dataexchange/api_op_DeleteDataSet.go index 0783a2eaa8f..e31b807cb12 100644 --- a/service/dataexchange/api_op_DeleteDataSet.go +++ b/service/dataexchange/api_op_DeleteDataSet.go @@ -69,7 +69,10 @@ func addOperationDeleteDataSetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_DeleteRevision.go b/service/dataexchange/api_op_DeleteRevision.go index 415d37a64df..019ebbeca83 100644 --- a/service/dataexchange/api_op_DeleteRevision.go +++ b/service/dataexchange/api_op_DeleteRevision.go @@ -74,7 +74,10 @@ func addOperationDeleteRevisionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_GetAsset.go b/service/dataexchange/api_op_GetAsset.go index 225532eaafc..6acd86db109 100644 --- a/service/dataexchange/api_op_GetAsset.go +++ b/service/dataexchange/api_op_GetAsset.go @@ -117,7 +117,10 @@ func addOperationGetAssetMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_GetDataSet.go b/service/dataexchange/api_op_GetDataSet.go index 36695194267..77ccd73fee4 100644 --- a/service/dataexchange/api_op_GetDataSet.go +++ b/service/dataexchange/api_op_GetDataSet.go @@ -110,7 +110,10 @@ func addOperationGetDataSetMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_GetJob.go b/service/dataexchange/api_op_GetJob.go index bfb362485f7..ed7cdad6b59 100644 --- a/service/dataexchange/api_op_GetJob.go +++ b/service/dataexchange/api_op_GetJob.go @@ -96,7 +96,10 @@ func addOperationGetJobMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_GetRevision.go b/service/dataexchange/api_op_GetRevision.go index 7427e78700f..573d7aa07cb 100644 --- a/service/dataexchange/api_op_GetRevision.go +++ b/service/dataexchange/api_op_GetRevision.go @@ -111,7 +111,10 @@ func addOperationGetRevisionMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_ListDataSetRevisions.go b/service/dataexchange/api_op_ListDataSetRevisions.go index 3feeb870391..f31b1abff96 100644 --- a/service/dataexchange/api_op_ListDataSetRevisions.go +++ b/service/dataexchange/api_op_ListDataSetRevisions.go @@ -87,7 +87,10 @@ func addOperationListDataSetRevisionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_ListDataSets.go b/service/dataexchange/api_op_ListDataSets.go index fdd785ecf3d..11060a70615 100644 --- a/service/dataexchange/api_op_ListDataSets.go +++ b/service/dataexchange/api_op_ListDataSets.go @@ -87,7 +87,10 @@ func addOperationListDataSetsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_ListJobs.go b/service/dataexchange/api_op_ListJobs.go index ce8b251307f..8a1624736fb 100644 --- a/service/dataexchange/api_op_ListJobs.go +++ b/service/dataexchange/api_op_ListJobs.go @@ -87,7 +87,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_ListRevisionAssets.go b/service/dataexchange/api_op_ListRevisionAssets.go index fe5548f71b5..cf056d0f85d 100644 --- a/service/dataexchange/api_op_ListRevisionAssets.go +++ b/service/dataexchange/api_op_ListRevisionAssets.go @@ -92,7 +92,10 @@ func addOperationListRevisionAssetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_ListTagsForResource.go b/service/dataexchange/api_op_ListTagsForResource.go index 722f6e3b55a..f64080581eb 100644 --- a/service/dataexchange/api_op_ListTagsForResource.go +++ b/service/dataexchange/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_StartJob.go b/service/dataexchange/api_op_StartJob.go index 52238a7d1c4..e77dfd0009c 100644 --- a/service/dataexchange/api_op_StartJob.go +++ b/service/dataexchange/api_op_StartJob.go @@ -69,7 +69,10 @@ func addOperationStartJobMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_TagResource.go b/service/dataexchange/api_op_TagResource.go index b680da0bc7b..80d6649bd4d 100644 --- a/service/dataexchange/api_op_TagResource.go +++ b/service/dataexchange/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_UntagResource.go b/service/dataexchange/api_op_UntagResource.go index 8cf4d3657b8..8cbbcb156e3 100644 --- a/service/dataexchange/api_op_UntagResource.go +++ b/service/dataexchange/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_UpdateAsset.go b/service/dataexchange/api_op_UpdateAsset.go index 7d1293a7bd5..1ad9391812a 100644 --- a/service/dataexchange/api_op_UpdateAsset.go +++ b/service/dataexchange/api_op_UpdateAsset.go @@ -125,7 +125,10 @@ func addOperationUpdateAssetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_UpdateDataSet.go b/service/dataexchange/api_op_UpdateDataSet.go index 030c18c01ad..ac686598d27 100644 --- a/service/dataexchange/api_op_UpdateDataSet.go +++ b/service/dataexchange/api_op_UpdateDataSet.go @@ -114,7 +114,10 @@ func addOperationUpdateDataSetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dataexchange/api_op_UpdateRevision.go b/service/dataexchange/api_op_UpdateRevision.go index f871f9b2d5d..2379d284f6b 100644 --- a/service/dataexchange/api_op_UpdateRevision.go +++ b/service/dataexchange/api_op_UpdateRevision.go @@ -117,7 +117,10 @@ func addOperationUpdateRevisionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_ActivatePipeline.go b/service/datapipeline/api_op_ActivatePipeline.go index 166adbad5da..c8508eae959 100644 --- a/service/datapipeline/api_op_ActivatePipeline.go +++ b/service/datapipeline/api_op_ActivatePipeline.go @@ -86,7 +86,10 @@ func addOperationActivatePipelineMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_AddTags.go b/service/datapipeline/api_op_AddTags.go index a689f13b39a..aedc558e15e 100644 --- a/service/datapipeline/api_op_AddTags.go +++ b/service/datapipeline/api_op_AddTags.go @@ -77,7 +77,10 @@ func addOperationAddTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_CreatePipeline.go b/service/datapipeline/api_op_CreatePipeline.go index b9fc256e044..148e89e3881 100644 --- a/service/datapipeline/api_op_CreatePipeline.go +++ b/service/datapipeline/api_op_CreatePipeline.go @@ -107,7 +107,10 @@ func addOperationCreatePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_DeactivatePipeline.go b/service/datapipeline/api_op_DeactivatePipeline.go index ace49d67065..7d8a7350b4a 100644 --- a/service/datapipeline/api_op_DeactivatePipeline.go +++ b/service/datapipeline/api_op_DeactivatePipeline.go @@ -80,7 +80,10 @@ func addOperationDeactivatePipelineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_DeletePipeline.go b/service/datapipeline/api_op_DeletePipeline.go index 32ea2a857bc..f31c65d879a 100644 --- a/service/datapipeline/api_op_DeletePipeline.go +++ b/service/datapipeline/api_op_DeletePipeline.go @@ -75,7 +75,10 @@ func addOperationDeletePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_DescribeObjects.go b/service/datapipeline/api_op_DescribeObjects.go index 90bfd73a0ae..fc7c599cd2a 100644 --- a/service/datapipeline/api_op_DescribeObjects.go +++ b/service/datapipeline/api_op_DescribeObjects.go @@ -105,7 +105,10 @@ func addOperationDescribeObjectsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_DescribePipelines.go b/service/datapipeline/api_op_DescribePipelines.go index 615164f8c0e..4502277377e 100644 --- a/service/datapipeline/api_op_DescribePipelines.go +++ b/service/datapipeline/api_op_DescribePipelines.go @@ -85,7 +85,10 @@ func addOperationDescribePipelinesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_EvaluateExpression.go b/service/datapipeline/api_op_EvaluateExpression.go index 74da1b03a7c..d875d6be53a 100644 --- a/service/datapipeline/api_op_EvaluateExpression.go +++ b/service/datapipeline/api_op_EvaluateExpression.go @@ -89,7 +89,10 @@ func addOperationEvaluateExpressionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_GetPipelineDefinition.go b/service/datapipeline/api_op_GetPipelineDefinition.go index 52da290e8d9..cd42f19ca15 100644 --- a/service/datapipeline/api_op_GetPipelineDefinition.go +++ b/service/datapipeline/api_op_GetPipelineDefinition.go @@ -89,7 +89,10 @@ func addOperationGetPipelineDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_ListPipelines.go b/service/datapipeline/api_op_ListPipelines.go index bc321c985d6..bbea48c64bf 100644 --- a/service/datapipeline/api_op_ListPipelines.go +++ b/service/datapipeline/api_op_ListPipelines.go @@ -92,7 +92,10 @@ func addOperationListPipelinesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_PollForTask.go b/service/datapipeline/api_op_PollForTask.go index d541caba135..13ffeb7516d 100644 --- a/service/datapipeline/api_op_PollForTask.go +++ b/service/datapipeline/api_op_PollForTask.go @@ -107,7 +107,10 @@ func addOperationPollForTaskMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_PutPipelineDefinition.go b/service/datapipeline/api_op_PutPipelineDefinition.go index 78d69e5d478..c4319abcabc 100644 --- a/service/datapipeline/api_op_PutPipelineDefinition.go +++ b/service/datapipeline/api_op_PutPipelineDefinition.go @@ -118,7 +118,10 @@ func addOperationPutPipelineDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_QueryObjects.go b/service/datapipeline/api_op_QueryObjects.go index 6d7a5b300fd..017f12dc48e 100644 --- a/service/datapipeline/api_op_QueryObjects.go +++ b/service/datapipeline/api_op_QueryObjects.go @@ -109,7 +109,10 @@ func addOperationQueryObjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_RemoveTags.go b/service/datapipeline/api_op_RemoveTags.go index a358490c01a..2fe3265cee7 100644 --- a/service/datapipeline/api_op_RemoveTags.go +++ b/service/datapipeline/api_op_RemoveTags.go @@ -76,7 +76,10 @@ func addOperationRemoveTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_ReportTaskProgress.go b/service/datapipeline/api_op_ReportTaskProgress.go index 538b8c60b98..9efee9dcba8 100644 --- a/service/datapipeline/api_op_ReportTaskProgress.go +++ b/service/datapipeline/api_op_ReportTaskProgress.go @@ -90,7 +90,10 @@ func addOperationReportTaskProgressMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go b/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go index e69a3902d2f..997c4d39557 100644 --- a/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go +++ b/service/datapipeline/api_op_ReportTaskRunnerHeartbeat.go @@ -93,7 +93,10 @@ func addOperationReportTaskRunnerHeartbeatMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_SetStatus.go b/service/datapipeline/api_op_SetStatus.go index e99deb32bdc..0fc6f5f9e79 100644 --- a/service/datapipeline/api_op_SetStatus.go +++ b/service/datapipeline/api_op_SetStatus.go @@ -86,7 +86,10 @@ func addOperationSetStatusMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_SetTaskStatus.go b/service/datapipeline/api_op_SetTaskStatus.go index 25984372163..45c1ed52caa 100644 --- a/service/datapipeline/api_op_SetTaskStatus.go +++ b/service/datapipeline/api_op_SetTaskStatus.go @@ -101,7 +101,10 @@ func addOperationSetTaskStatusMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datapipeline/api_op_ValidatePipelineDefinition.go b/service/datapipeline/api_op_ValidatePipelineDefinition.go index fd704bf73b9..aa1384c1f3b 100644 --- a/service/datapipeline/api_op_ValidatePipelineDefinition.go +++ b/service/datapipeline/api_op_ValidatePipelineDefinition.go @@ -96,7 +96,10 @@ func addOperationValidatePipelineDefinitionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_CancelTaskExecution.go b/service/datasync/api_op_CancelTaskExecution.go index 70ecb8645e7..6b76d27b06b 100644 --- a/service/datasync/api_op_CancelTaskExecution.go +++ b/service/datasync/api_op_CancelTaskExecution.go @@ -77,7 +77,10 @@ func addOperationCancelTaskExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_CreateAgent.go b/service/datasync/api_op_CreateAgent.go index eb82e9ee0d3..5e864468cb1 100644 --- a/service/datasync/api_op_CreateAgent.go +++ b/service/datasync/api_op_CreateAgent.go @@ -129,7 +129,10 @@ func addOperationCreateAgentMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_CreateLocationEfs.go b/service/datasync/api_op_CreateLocationEfs.go index b2faf8fe2d4..e3294113e8b 100644 --- a/service/datasync/api_op_CreateLocationEfs.go +++ b/service/datasync/api_op_CreateLocationEfs.go @@ -111,7 +111,10 @@ func addOperationCreateLocationEfsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_CreateLocationFsxWindows.go b/service/datasync/api_op_CreateLocationFsxWindows.go index 5c4a20d8ca0..6f065e95315 100644 --- a/service/datasync/api_op_CreateLocationFsxWindows.go +++ b/service/datasync/api_op_CreateLocationFsxWindows.go @@ -107,7 +107,10 @@ func addOperationCreateLocationFsxWindowsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_CreateLocationNfs.go b/service/datasync/api_op_CreateLocationNfs.go index 810e89786e0..aea65a4111b 100644 --- a/service/datasync/api_op_CreateLocationNfs.go +++ b/service/datasync/api_op_CreateLocationNfs.go @@ -124,7 +124,10 @@ func addOperationCreateLocationNfsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_CreateLocationObjectStorage.go b/service/datasync/api_op_CreateLocationObjectStorage.go index 64430e6579f..43706023992 100644 --- a/service/datasync/api_op_CreateLocationObjectStorage.go +++ b/service/datasync/api_op_CreateLocationObjectStorage.go @@ -124,7 +124,10 @@ func addOperationCreateLocationObjectStorageMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_CreateLocationS3.go b/service/datasync/api_op_CreateLocationS3.go index df35108f0e1..e1fc26653ad 100644 --- a/service/datasync/api_op_CreateLocationS3.go +++ b/service/datasync/api_op_CreateLocationS3.go @@ -111,7 +111,10 @@ func addOperationCreateLocationS3Middlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_CreateLocationSmb.go b/service/datasync/api_op_CreateLocationSmb.go index 83414c617ac..8c54c42d4dc 100644 --- a/service/datasync/api_op_CreateLocationSmb.go +++ b/service/datasync/api_op_CreateLocationSmb.go @@ -127,7 +127,10 @@ func addOperationCreateLocationSmbMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_CreateTask.go b/service/datasync/api_op_CreateTask.go index f722f6d76ce..cf724c27f3f 100644 --- a/service/datasync/api_op_CreateTask.go +++ b/service/datasync/api_op_CreateTask.go @@ -125,7 +125,10 @@ func addOperationCreateTaskMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DeleteAgent.go b/service/datasync/api_op_DeleteAgent.go index c64ca2831de..7cc088d60d7 100644 --- a/service/datasync/api_op_DeleteAgent.go +++ b/service/datasync/api_op_DeleteAgent.go @@ -74,7 +74,10 @@ func addOperationDeleteAgentMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DeleteLocation.go b/service/datasync/api_op_DeleteLocation.go index 6f44e8d423f..cacc7dab669 100644 --- a/service/datasync/api_op_DeleteLocation.go +++ b/service/datasync/api_op_DeleteLocation.go @@ -70,7 +70,10 @@ func addOperationDeleteLocationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DeleteTask.go b/service/datasync/api_op_DeleteTask.go index 2095814f103..704f1b4496a 100644 --- a/service/datasync/api_op_DeleteTask.go +++ b/service/datasync/api_op_DeleteTask.go @@ -70,7 +70,10 @@ func addOperationDeleteTaskMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DescribeAgent.go b/service/datasync/api_op_DescribeAgent.go index fbef167fce1..7d1b4ff17f2 100644 --- a/service/datasync/api_op_DescribeAgent.go +++ b/service/datasync/api_op_DescribeAgent.go @@ -102,7 +102,10 @@ func addOperationDescribeAgentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DescribeLocationEfs.go b/service/datasync/api_op_DescribeLocationEfs.go index 64d4ec11072..783a0704a27 100644 --- a/service/datasync/api_op_DescribeLocationEfs.go +++ b/service/datasync/api_op_DescribeLocationEfs.go @@ -89,7 +89,10 @@ func addOperationDescribeLocationEfsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DescribeLocationFsxWindows.go b/service/datasync/api_op_DescribeLocationFsxWindows.go index 4cf97643d38..2afe93892d1 100644 --- a/service/datasync/api_op_DescribeLocationFsxWindows.go +++ b/service/datasync/api_op_DescribeLocationFsxWindows.go @@ -93,7 +93,10 @@ func addOperationDescribeLocationFsxWindowsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DescribeLocationNfs.go b/service/datasync/api_op_DescribeLocationNfs.go index 1254680c8d3..4fe31a2c960 100644 --- a/service/datasync/api_op_DescribeLocationNfs.go +++ b/service/datasync/api_op_DescribeLocationNfs.go @@ -90,7 +90,10 @@ func addOperationDescribeLocationNfsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DescribeLocationObjectStorage.go b/service/datasync/api_op_DescribeLocationObjectStorage.go index fed5ee4f2dd..de6d7838354 100644 --- a/service/datasync/api_op_DescribeLocationObjectStorage.go +++ b/service/datasync/api_op_DescribeLocationObjectStorage.go @@ -107,7 +107,10 @@ func addOperationDescribeLocationObjectStorageMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DescribeLocationS3.go b/service/datasync/api_op_DescribeLocationS3.go index a31e8827010..ccc5785d582 100644 --- a/service/datasync/api_op_DescribeLocationS3.go +++ b/service/datasync/api_op_DescribeLocationS3.go @@ -102,7 +102,10 @@ func addOperationDescribeLocationS3Middlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DescribeLocationSmb.go b/service/datasync/api_op_DescribeLocationSmb.go index 49636960620..f2f479ad43b 100644 --- a/service/datasync/api_op_DescribeLocationSmb.go +++ b/service/datasync/api_op_DescribeLocationSmb.go @@ -98,7 +98,10 @@ func addOperationDescribeLocationSmbMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DescribeTask.go b/service/datasync/api_op_DescribeTask.go index 862e583fe1d..d88a55224bb 100644 --- a/service/datasync/api_op_DescribeTask.go +++ b/service/datasync/api_op_DescribeTask.go @@ -136,7 +136,10 @@ func addOperationDescribeTaskMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_DescribeTaskExecution.go b/service/datasync/api_op_DescribeTaskExecution.go index 3ceee00871a..dc478a29154 100644 --- a/service/datasync/api_op_DescribeTaskExecution.go +++ b/service/datasync/api_op_DescribeTaskExecution.go @@ -141,7 +141,10 @@ func addOperationDescribeTaskExecutionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_ListAgents.go b/service/datasync/api_op_ListAgents.go index e8fb1e5e655..f8891249162 100644 --- a/service/datasync/api_op_ListAgents.go +++ b/service/datasync/api_op_ListAgents.go @@ -90,7 +90,10 @@ func addOperationListAgentsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_ListLocations.go b/service/datasync/api_op_ListLocations.go index 679f4cce40b..8c1b846dbbf 100644 --- a/service/datasync/api_op_ListLocations.go +++ b/service/datasync/api_op_ListLocations.go @@ -91,7 +91,10 @@ func addOperationListLocationsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_ListTagsForResource.go b/service/datasync/api_op_ListTagsForResource.go index dc6a64e5e66..af3595df652 100644 --- a/service/datasync/api_op_ListTagsForResource.go +++ b/service/datasync/api_op_ListTagsForResource.go @@ -88,7 +88,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_ListTaskExecutions.go b/service/datasync/api_op_ListTaskExecutions.go index b394a7be2e4..e2c642e99cc 100644 --- a/service/datasync/api_op_ListTaskExecutions.go +++ b/service/datasync/api_op_ListTaskExecutions.go @@ -86,7 +86,10 @@ func addOperationListTaskExecutionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_ListTasks.go b/service/datasync/api_op_ListTasks.go index 9417bbe9933..8cdcafde007 100644 --- a/service/datasync/api_op_ListTasks.go +++ b/service/datasync/api_op_ListTasks.go @@ -89,7 +89,10 @@ func addOperationListTasksMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_StartTaskExecution.go b/service/datasync/api_op_StartTaskExecution.go index bc024dcbe74..89b91b69805 100644 --- a/service/datasync/api_op_StartTaskExecution.go +++ b/service/datasync/api_op_StartTaskExecution.go @@ -97,7 +97,10 @@ func addOperationStartTaskExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_TagResource.go b/service/datasync/api_op_TagResource.go index 3e96a0a7ec6..33eab85319b 100644 --- a/service/datasync/api_op_TagResource.go +++ b/service/datasync/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_UntagResource.go b/service/datasync/api_op_UntagResource.go index bb9b2b5cfe2..56ae707f902 100644 --- a/service/datasync/api_op_UntagResource.go +++ b/service/datasync/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_UpdateAgent.go b/service/datasync/api_op_UpdateAgent.go index c15be27a667..d138e9992af 100644 --- a/service/datasync/api_op_UpdateAgent.go +++ b/service/datasync/api_op_UpdateAgent.go @@ -73,7 +73,10 @@ func addOperationUpdateAgentMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_UpdateTask.go b/service/datasync/api_op_UpdateTask.go index 509bb995201..eb213e3a473 100644 --- a/service/datasync/api_op_UpdateTask.go +++ b/service/datasync/api_op_UpdateTask.go @@ -100,7 +100,10 @@ func addOperationUpdateTaskMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/datasync/api_op_UpdateTaskExecution.go b/service/datasync/api_op_UpdateTaskExecution.go index 8244171e43e..9c4705fe06e 100644 --- a/service/datasync/api_op_UpdateTaskExecution.go +++ b/service/datasync/api_op_UpdateTaskExecution.go @@ -88,7 +88,10 @@ func addOperationUpdateTaskExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_CreateCluster.go b/service/dax/api_op_CreateCluster.go index 322927653cb..ba23e5ee41e 100644 --- a/service/dax/api_op_CreateCluster.go +++ b/service/dax/api_op_CreateCluster.go @@ -164,7 +164,10 @@ func addOperationCreateClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_CreateParameterGroup.go b/service/dax/api_op_CreateParameterGroup.go index a6a0f1dd287..a707a3fdbd3 100644 --- a/service/dax/api_op_CreateParameterGroup.go +++ b/service/dax/api_op_CreateParameterGroup.go @@ -79,7 +79,10 @@ func addOperationCreateParameterGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_CreateSubnetGroup.go b/service/dax/api_op_CreateSubnetGroup.go index 4264b179126..c1ed1bc1d81 100644 --- a/service/dax/api_op_CreateSubnetGroup.go +++ b/service/dax/api_op_CreateSubnetGroup.go @@ -82,7 +82,10 @@ func addOperationCreateSubnetGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DecreaseReplicationFactor.go b/service/dax/api_op_DecreaseReplicationFactor.go index 339e31b8a91..fa311626e7d 100644 --- a/service/dax/api_op_DecreaseReplicationFactor.go +++ b/service/dax/api_op_DecreaseReplicationFactor.go @@ -88,7 +88,10 @@ func addOperationDecreaseReplicationFactorMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DeleteCluster.go b/service/dax/api_op_DeleteCluster.go index 3a5b7327625..11d6882c74c 100644 --- a/service/dax/api_op_DeleteCluster.go +++ b/service/dax/api_op_DeleteCluster.go @@ -77,7 +77,10 @@ func addOperationDeleteClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DeleteParameterGroup.go b/service/dax/api_op_DeleteParameterGroup.go index b658497b234..9f434463246 100644 --- a/service/dax/api_op_DeleteParameterGroup.go +++ b/service/dax/api_op_DeleteParameterGroup.go @@ -75,7 +75,10 @@ func addOperationDeleteParameterGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DeleteSubnetGroup.go b/service/dax/api_op_DeleteSubnetGroup.go index 99a49921bf8..dbcb74ba3ec 100644 --- a/service/dax/api_op_DeleteSubnetGroup.go +++ b/service/dax/api_op_DeleteSubnetGroup.go @@ -75,7 +75,10 @@ func addOperationDeleteSubnetGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DescribeClusters.go b/service/dax/api_op_DescribeClusters.go index acce7064b80..274470441ac 100644 --- a/service/dax/api_op_DescribeClusters.go +++ b/service/dax/api_op_DescribeClusters.go @@ -97,7 +97,10 @@ func addOperationDescribeClustersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DescribeDefaultParameters.go b/service/dax/api_op_DescribeDefaultParameters.go index d52055ed42a..10208e588a3 100644 --- a/service/dax/api_op_DescribeDefaultParameters.go +++ b/service/dax/api_op_DescribeDefaultParameters.go @@ -83,7 +83,10 @@ func addOperationDescribeDefaultParametersMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DescribeEvents.go b/service/dax/api_op_DescribeEvents.go index 38eda61b067..49fbc75d4c8 100644 --- a/service/dax/api_op_DescribeEvents.go +++ b/service/dax/api_op_DescribeEvents.go @@ -107,7 +107,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DescribeParameterGroups.go b/service/dax/api_op_DescribeParameterGroups.go index 2ec9e6c12de..5274da63a96 100644 --- a/service/dax/api_op_DescribeParameterGroups.go +++ b/service/dax/api_op_DescribeParameterGroups.go @@ -88,7 +88,10 @@ func addOperationDescribeParameterGroupsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DescribeParameters.go b/service/dax/api_op_DescribeParameters.go index 2800bbec060..bb30a153585 100644 --- a/service/dax/api_op_DescribeParameters.go +++ b/service/dax/api_op_DescribeParameters.go @@ -93,7 +93,10 @@ func addOperationDescribeParametersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_DescribeSubnetGroups.go b/service/dax/api_op_DescribeSubnetGroups.go index e5e367a8d2d..1a24c2dddd3 100644 --- a/service/dax/api_op_DescribeSubnetGroups.go +++ b/service/dax/api_op_DescribeSubnetGroups.go @@ -88,7 +88,10 @@ func addOperationDescribeSubnetGroupsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_IncreaseReplicationFactor.go b/service/dax/api_op_IncreaseReplicationFactor.go index 25c4e242836..f103568226f 100644 --- a/service/dax/api_op_IncreaseReplicationFactor.go +++ b/service/dax/api_op_IncreaseReplicationFactor.go @@ -84,7 +84,10 @@ func addOperationIncreaseReplicationFactorMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_ListTags.go b/service/dax/api_op_ListTags.go index 9022a181d4b..bb8a67c7434 100644 --- a/service/dax/api_op_ListTags.go +++ b/service/dax/api_op_ListTags.go @@ -84,7 +84,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_RebootNode.go b/service/dax/api_op_RebootNode.go index c836d1b646d..ca33eacdc42 100644 --- a/service/dax/api_op_RebootNode.go +++ b/service/dax/api_op_RebootNode.go @@ -81,7 +81,10 @@ func addOperationRebootNodeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_TagResource.go b/service/dax/api_op_TagResource.go index bf9bfa4892d..c914c073dea 100644 --- a/service/dax/api_op_TagResource.go +++ b/service/dax/api_op_TagResource.go @@ -80,7 +80,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_UntagResource.go b/service/dax/api_op_UntagResource.go index 7b6ed740dd9..61910a641b3 100644 --- a/service/dax/api_op_UntagResource.go +++ b/service/dax/api_op_UntagResource.go @@ -81,7 +81,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_UpdateCluster.go b/service/dax/api_op_UpdateCluster.go index d9d0678c97f..1c598a6c05c 100644 --- a/service/dax/api_op_UpdateCluster.go +++ b/service/dax/api_op_UpdateCluster.go @@ -98,7 +98,10 @@ func addOperationUpdateClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_UpdateParameterGroup.go b/service/dax/api_op_UpdateParameterGroup.go index 06047d66547..48c7b1fe7cb 100644 --- a/service/dax/api_op_UpdateParameterGroup.go +++ b/service/dax/api_op_UpdateParameterGroup.go @@ -81,7 +81,10 @@ func addOperationUpdateParameterGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dax/api_op_UpdateSubnetGroup.go b/service/dax/api_op_UpdateSubnetGroup.go index c6e67580001..e7dd8ca057c 100644 --- a/service/dax/api_op_UpdateSubnetGroup.go +++ b/service/dax/api_op_UpdateSubnetGroup.go @@ -80,7 +80,10 @@ func addOperationUpdateSubnetGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_AcceptInvitation.go b/service/detective/api_op_AcceptInvitation.go index 61d750557dd..020e626eeec 100644 --- a/service/detective/api_op_AcceptInvitation.go +++ b/service/detective/api_op_AcceptInvitation.go @@ -73,7 +73,10 @@ func addOperationAcceptInvitationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_CreateGraph.go b/service/detective/api_op_CreateGraph.go index 42a77bba0fe..9d39ef767a5 100644 --- a/service/detective/api_op_CreateGraph.go +++ b/service/detective/api_op_CreateGraph.go @@ -81,7 +81,10 @@ func addOperationCreateGraphMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_CreateMembers.go b/service/detective/api_op_CreateMembers.go index f6ec76cdc9e..d64f564d1e1 100644 --- a/service/detective/api_op_CreateMembers.go +++ b/service/detective/api_op_CreateMembers.go @@ -108,7 +108,10 @@ func addOperationCreateMembersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_DeleteGraph.go b/service/detective/api_op_DeleteGraph.go index 33954acca0d..6f6ca31389a 100644 --- a/service/detective/api_op_DeleteGraph.go +++ b/service/detective/api_op_DeleteGraph.go @@ -71,7 +71,10 @@ func addOperationDeleteGraphMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_DeleteMembers.go b/service/detective/api_op_DeleteMembers.go index c8b4221cfec..bdf92f927e5 100644 --- a/service/detective/api_op_DeleteMembers.go +++ b/service/detective/api_op_DeleteMembers.go @@ -89,7 +89,10 @@ func addOperationDeleteMembersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_DisassociateMembership.go b/service/detective/api_op_DisassociateMembership.go index 464001954a0..96b0bb0122c 100644 --- a/service/detective/api_op_DisassociateMembership.go +++ b/service/detective/api_op_DisassociateMembership.go @@ -71,7 +71,10 @@ func addOperationDisassociateMembershipMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_GetMembers.go b/service/detective/api_op_GetMembers.go index 7fc88f10f56..923a5ab887b 100644 --- a/service/detective/api_op_GetMembers.go +++ b/service/detective/api_op_GetMembers.go @@ -88,7 +88,10 @@ func addOperationGetMembersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_ListGraphs.go b/service/detective/api_op_ListGraphs.go index e3f002550cc..78038686362 100644 --- a/service/detective/api_op_ListGraphs.go +++ b/service/detective/api_op_ListGraphs.go @@ -86,7 +86,10 @@ func addOperationListGraphsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_ListInvitations.go b/service/detective/api_op_ListInvitations.go index 62ed472895c..1265fe0a237 100644 --- a/service/detective/api_op_ListInvitations.go +++ b/service/detective/api_op_ListInvitations.go @@ -90,7 +90,10 @@ func addOperationListInvitationsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_ListMembers.go b/service/detective/api_op_ListMembers.go index 982f3a9606e..c9e156b6500 100644 --- a/service/detective/api_op_ListMembers.go +++ b/service/detective/api_op_ListMembers.go @@ -93,7 +93,10 @@ func addOperationListMembersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_RejectInvitation.go b/service/detective/api_op_RejectInvitation.go index 10e181ded7f..78bdb794f0f 100644 --- a/service/detective/api_op_RejectInvitation.go +++ b/service/detective/api_op_RejectInvitation.go @@ -71,7 +71,10 @@ func addOperationRejectInvitationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/detective/api_op_StartMonitoringMember.go b/service/detective/api_op_StartMonitoringMember.go index 7f8c38d28d0..920c0ea6436 100644 --- a/service/detective/api_op_StartMonitoringMember.go +++ b/service/detective/api_op_StartMonitoringMember.go @@ -83,7 +83,10 @@ func addOperationStartMonitoringMemberMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_CreateDevicePool.go b/service/devicefarm/api_op_CreateDevicePool.go index e17ef423e5d..bd4933b6a18 100644 --- a/service/devicefarm/api_op_CreateDevicePool.go +++ b/service/devicefarm/api_op_CreateDevicePool.go @@ -97,7 +97,10 @@ func addOperationCreateDevicePoolMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_CreateInstanceProfile.go b/service/devicefarm/api_op_CreateInstanceProfile.go index 375637e9547..6a1c6154f45 100644 --- a/service/devicefarm/api_op_CreateInstanceProfile.go +++ b/service/devicefarm/api_op_CreateInstanceProfile.go @@ -91,7 +91,10 @@ func addOperationCreateInstanceProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_CreateNetworkProfile.go b/service/devicefarm/api_op_CreateNetworkProfile.go index 8cf9f3cdd2f..5bc0c4c7c1d 100644 --- a/service/devicefarm/api_op_CreateNetworkProfile.go +++ b/service/devicefarm/api_op_CreateNetworkProfile.go @@ -114,7 +114,10 @@ func addOperationCreateNetworkProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_CreateProject.go b/service/devicefarm/api_op_CreateProject.go index 689c186297e..9f80c8143b4 100644 --- a/service/devicefarm/api_op_CreateProject.go +++ b/service/devicefarm/api_op_CreateProject.go @@ -81,7 +81,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_CreateRemoteAccessSession.go b/service/devicefarm/api_op_CreateRemoteAccessSession.go index eebcb6f5fc4..6456c0ef804 100644 --- a/service/devicefarm/api_op_CreateRemoteAccessSession.go +++ b/service/devicefarm/api_op_CreateRemoteAccessSession.go @@ -140,7 +140,10 @@ func addOperationCreateRemoteAccessSessionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_CreateTestGridProject.go b/service/devicefarm/api_op_CreateTestGridProject.go index 7c52d9a492e..542a155963e 100644 --- a/service/devicefarm/api_op_CreateTestGridProject.go +++ b/service/devicefarm/api_op_CreateTestGridProject.go @@ -78,7 +78,10 @@ func addOperationCreateTestGridProjectMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_CreateTestGridUrl.go b/service/devicefarm/api_op_CreateTestGridUrl.go index f9646b933a1..ad2c31e3efa 100644 --- a/service/devicefarm/api_op_CreateTestGridUrl.go +++ b/service/devicefarm/api_op_CreateTestGridUrl.go @@ -85,7 +85,10 @@ func addOperationCreateTestGridUrlMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_CreateUpload.go b/service/devicefarm/api_op_CreateUpload.go index bd565f02156..9a4bfa911a2 100644 --- a/service/devicefarm/api_op_CreateUpload.go +++ b/service/devicefarm/api_op_CreateUpload.go @@ -173,7 +173,10 @@ func addOperationCreateUploadMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_CreateVPCEConfiguration.go b/service/devicefarm/api_op_CreateVPCEConfiguration.go index ab930013ad9..3bd95864a06 100644 --- a/service/devicefarm/api_op_CreateVPCEConfiguration.go +++ b/service/devicefarm/api_op_CreateVPCEConfiguration.go @@ -92,7 +92,10 @@ func addOperationCreateVPCEConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_DeleteDevicePool.go b/service/devicefarm/api_op_DeleteDevicePool.go index 32d03a078f2..1f242ce78a4 100644 --- a/service/devicefarm/api_op_DeleteDevicePool.go +++ b/service/devicefarm/api_op_DeleteDevicePool.go @@ -73,7 +73,10 @@ func addOperationDeleteDevicePoolMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_DeleteInstanceProfile.go b/service/devicefarm/api_op_DeleteInstanceProfile.go index 3d06e95d87d..23af36cb6e1 100644 --- a/service/devicefarm/api_op_DeleteInstanceProfile.go +++ b/service/devicefarm/api_op_DeleteInstanceProfile.go @@ -70,7 +70,10 @@ func addOperationDeleteInstanceProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_DeleteNetworkProfile.go b/service/devicefarm/api_op_DeleteNetworkProfile.go index 7753401f76e..22d03594f3b 100644 --- a/service/devicefarm/api_op_DeleteNetworkProfile.go +++ b/service/devicefarm/api_op_DeleteNetworkProfile.go @@ -69,7 +69,10 @@ func addOperationDeleteNetworkProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_DeleteProject.go b/service/devicefarm/api_op_DeleteProject.go index 998d34d5be6..f6b98b89101 100644 --- a/service/devicefarm/api_op_DeleteProject.go +++ b/service/devicefarm/api_op_DeleteProject.go @@ -72,7 +72,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_DeleteRemoteAccessSession.go b/service/devicefarm/api_op_DeleteRemoteAccessSession.go index 212951f02e4..510e6471628 100644 --- a/service/devicefarm/api_op_DeleteRemoteAccessSession.go +++ b/service/devicefarm/api_op_DeleteRemoteAccessSession.go @@ -73,7 +73,10 @@ func addOperationDeleteRemoteAccessSessionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_DeleteRun.go b/service/devicefarm/api_op_DeleteRun.go index 86e4307ab0f..1a66286999b 100644 --- a/service/devicefarm/api_op_DeleteRun.go +++ b/service/devicefarm/api_op_DeleteRun.go @@ -72,7 +72,10 @@ func addOperationDeleteRunMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_DeleteTestGridProject.go b/service/devicefarm/api_op_DeleteTestGridProject.go index b8ab608b011..68d6b573d39 100644 --- a/service/devicefarm/api_op_DeleteTestGridProject.go +++ b/service/devicefarm/api_op_DeleteTestGridProject.go @@ -72,7 +72,10 @@ func addOperationDeleteTestGridProjectMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_DeleteUpload.go b/service/devicefarm/api_op_DeleteUpload.go index c2bea872da3..fe378de3589 100644 --- a/service/devicefarm/api_op_DeleteUpload.go +++ b/service/devicefarm/api_op_DeleteUpload.go @@ -71,7 +71,10 @@ func addOperationDeleteUploadMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_DeleteVPCEConfiguration.go b/service/devicefarm/api_op_DeleteVPCEConfiguration.go index a54c9b4696a..3146cf96afd 100644 --- a/service/devicefarm/api_op_DeleteVPCEConfiguration.go +++ b/service/devicefarm/api_op_DeleteVPCEConfiguration.go @@ -70,7 +70,10 @@ func addOperationDeleteVPCEConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetAccountSettings.go b/service/devicefarm/api_op_GetAccountSettings.go index 2a64eafe0f3..867d8b42755 100644 --- a/service/devicefarm/api_op_GetAccountSettings.go +++ b/service/devicefarm/api_op_GetAccountSettings.go @@ -73,7 +73,10 @@ func addOperationGetAccountSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetDevice.go b/service/devicefarm/api_op_GetDevice.go index 76a7d8ba12e..a327043b0b3 100644 --- a/service/devicefarm/api_op_GetDevice.go +++ b/service/devicefarm/api_op_GetDevice.go @@ -76,7 +76,10 @@ func addOperationGetDeviceMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetDeviceInstance.go b/service/devicefarm/api_op_GetDeviceInstance.go index 0f3d43bbac9..8b7c6e98afb 100644 --- a/service/devicefarm/api_op_GetDeviceInstance.go +++ b/service/devicefarm/api_op_GetDeviceInstance.go @@ -76,7 +76,10 @@ func addOperationGetDeviceInstanceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetDevicePool.go b/service/devicefarm/api_op_GetDevicePool.go index cdbc0f9ecea..ee720e56258 100644 --- a/service/devicefarm/api_op_GetDevicePool.go +++ b/service/devicefarm/api_op_GetDevicePool.go @@ -76,7 +76,10 @@ func addOperationGetDevicePoolMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetDevicePoolCompatibility.go b/service/devicefarm/api_op_GetDevicePoolCompatibility.go index c1287441024..2cbbffa1fc1 100644 --- a/service/devicefarm/api_op_GetDevicePoolCompatibility.go +++ b/service/devicefarm/api_op_GetDevicePoolCompatibility.go @@ -134,7 +134,10 @@ func addOperationGetDevicePoolCompatibilityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetInstanceProfile.go b/service/devicefarm/api_op_GetInstanceProfile.go index 42e73800985..6790f70ba65 100644 --- a/service/devicefarm/api_op_GetInstanceProfile.go +++ b/service/devicefarm/api_op_GetInstanceProfile.go @@ -74,7 +74,10 @@ func addOperationGetInstanceProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetJob.go b/service/devicefarm/api_op_GetJob.go index 1bc49bf69b2..67bf3d567fe 100644 --- a/service/devicefarm/api_op_GetJob.go +++ b/service/devicefarm/api_op_GetJob.go @@ -76,7 +76,10 @@ func addOperationGetJobMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetNetworkProfile.go b/service/devicefarm/api_op_GetNetworkProfile.go index fc78a936670..df62cf83523 100644 --- a/service/devicefarm/api_op_GetNetworkProfile.go +++ b/service/devicefarm/api_op_GetNetworkProfile.go @@ -74,7 +74,10 @@ func addOperationGetNetworkProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetOfferingStatus.go b/service/devicefarm/api_op_GetOfferingStatus.go index c49428afc3c..1510ccf68c4 100644 --- a/service/devicefarm/api_op_GetOfferingStatus.go +++ b/service/devicefarm/api_op_GetOfferingStatus.go @@ -89,7 +89,10 @@ func addOperationGetOfferingStatusMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetProject.go b/service/devicefarm/api_op_GetProject.go index a28b3363998..85ad30aee6c 100644 --- a/service/devicefarm/api_op_GetProject.go +++ b/service/devicefarm/api_op_GetProject.go @@ -76,7 +76,10 @@ func addOperationGetProjectMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetRemoteAccessSession.go b/service/devicefarm/api_op_GetRemoteAccessSession.go index 3802c1b7fe0..926c47a1991 100644 --- a/service/devicefarm/api_op_GetRemoteAccessSession.go +++ b/service/devicefarm/api_op_GetRemoteAccessSession.go @@ -79,7 +79,10 @@ func addOperationGetRemoteAccessSessionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetRun.go b/service/devicefarm/api_op_GetRun.go index 918e6c67ab0..98c6e69729d 100644 --- a/service/devicefarm/api_op_GetRun.go +++ b/service/devicefarm/api_op_GetRun.go @@ -76,7 +76,10 @@ func addOperationGetRunMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetSuite.go b/service/devicefarm/api_op_GetSuite.go index 87c44b95064..82a33c33413 100644 --- a/service/devicefarm/api_op_GetSuite.go +++ b/service/devicefarm/api_op_GetSuite.go @@ -76,7 +76,10 @@ func addOperationGetSuiteMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetTest.go b/service/devicefarm/api_op_GetTest.go index 94fe3e9d1ab..a5ee1a7f072 100644 --- a/service/devicefarm/api_op_GetTest.go +++ b/service/devicefarm/api_op_GetTest.go @@ -76,7 +76,10 @@ func addOperationGetTestMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetTestGridProject.go b/service/devicefarm/api_op_GetTestGridProject.go index a4304fc70cf..e4214072909 100644 --- a/service/devicefarm/api_op_GetTestGridProject.go +++ b/service/devicefarm/api_op_GetTestGridProject.go @@ -75,7 +75,10 @@ func addOperationGetTestGridProjectMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetTestGridSession.go b/service/devicefarm/api_op_GetTestGridSession.go index fd9068b808c..06d1b0b64cf 100644 --- a/service/devicefarm/api_op_GetTestGridSession.go +++ b/service/devicefarm/api_op_GetTestGridSession.go @@ -87,7 +87,10 @@ func addOperationGetTestGridSessionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetUpload.go b/service/devicefarm/api_op_GetUpload.go index 5148bad5482..aff5e439115 100644 --- a/service/devicefarm/api_op_GetUpload.go +++ b/service/devicefarm/api_op_GetUpload.go @@ -76,7 +76,10 @@ func addOperationGetUploadMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_GetVPCEConfiguration.go b/service/devicefarm/api_op_GetVPCEConfiguration.go index 86479dbbcb9..4335085da5f 100644 --- a/service/devicefarm/api_op_GetVPCEConfiguration.go +++ b/service/devicefarm/api_op_GetVPCEConfiguration.go @@ -76,7 +76,10 @@ func addOperationGetVPCEConfigurationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_InstallToRemoteAccessSession.go b/service/devicefarm/api_op_InstallToRemoteAccessSession.go index a2910692480..e36dff83cfa 100644 --- a/service/devicefarm/api_op_InstallToRemoteAccessSession.go +++ b/service/devicefarm/api_op_InstallToRemoteAccessSession.go @@ -86,7 +86,10 @@ func addOperationInstallToRemoteAccessSessionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListArtifacts.go b/service/devicefarm/api_op_ListArtifacts.go index ea82b1d389f..8da304253cc 100644 --- a/service/devicefarm/api_op_ListArtifacts.go +++ b/service/devicefarm/api_op_ListArtifacts.go @@ -97,7 +97,10 @@ func addOperationListArtifactsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListDeviceInstances.go b/service/devicefarm/api_op_ListDeviceInstances.go index 90d89ca6134..f8c3dda63e0 100644 --- a/service/devicefarm/api_op_ListDeviceInstances.go +++ b/service/devicefarm/api_op_ListDeviceInstances.go @@ -82,7 +82,10 @@ func addOperationListDeviceInstancesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListDevicePools.go b/service/devicefarm/api_op_ListDevicePools.go index a86a28f19bf..7c55ce57297 100644 --- a/service/devicefarm/api_op_ListDevicePools.go +++ b/service/devicefarm/api_op_ListDevicePools.go @@ -95,7 +95,10 @@ func addOperationListDevicePoolsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListDevices.go b/service/devicefarm/api_op_ListDevices.go index 5649da1b4a3..432c4ecd2ce 100644 --- a/service/devicefarm/api_op_ListDevices.go +++ b/service/devicefarm/api_op_ListDevices.go @@ -159,7 +159,10 @@ func addOperationListDevicesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListInstanceProfiles.go b/service/devicefarm/api_op_ListInstanceProfiles.go index 1de842f0803..0e127a8005d 100644 --- a/service/devicefarm/api_op_ListInstanceProfiles.go +++ b/service/devicefarm/api_op_ListInstanceProfiles.go @@ -81,7 +81,10 @@ func addOperationListInstanceProfilesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListJobs.go b/service/devicefarm/api_op_ListJobs.go index 218645a096f..6abb2297cb0 100644 --- a/service/devicefarm/api_op_ListJobs.go +++ b/service/devicefarm/api_op_ListJobs.go @@ -86,7 +86,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListNetworkProfiles.go b/service/devicefarm/api_op_ListNetworkProfiles.go index 677d4079137..75aaf3fa67c 100644 --- a/service/devicefarm/api_op_ListNetworkProfiles.go +++ b/service/devicefarm/api_op_ListNetworkProfiles.go @@ -87,7 +87,10 @@ func addOperationListNetworkProfilesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListOfferingPromotions.go b/service/devicefarm/api_op_ListOfferingPromotions.go index c9f938616a4..c06338d8f5c 100644 --- a/service/devicefarm/api_op_ListOfferingPromotions.go +++ b/service/devicefarm/api_op_ListOfferingPromotions.go @@ -81,7 +81,10 @@ func addOperationListOfferingPromotionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListOfferingTransactions.go b/service/devicefarm/api_op_ListOfferingTransactions.go index e7f9cabc304..7892ce40af2 100644 --- a/service/devicefarm/api_op_ListOfferingTransactions.go +++ b/service/devicefarm/api_op_ListOfferingTransactions.go @@ -86,7 +86,10 @@ func addOperationListOfferingTransactionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListOfferings.go b/service/devicefarm/api_op_ListOfferings.go index 2b670f92839..7d2dd53f6b5 100644 --- a/service/devicefarm/api_op_ListOfferings.go +++ b/service/devicefarm/api_op_ListOfferings.go @@ -85,7 +85,10 @@ func addOperationListOfferingsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListProjects.go b/service/devicefarm/api_op_ListProjects.go index 25fb5bcc40c..55a5efb8674 100644 --- a/service/devicefarm/api_op_ListProjects.go +++ b/service/devicefarm/api_op_ListProjects.go @@ -86,7 +86,10 @@ func addOperationListProjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListRemoteAccessSessions.go b/service/devicefarm/api_op_ListRemoteAccessSessions.go index 243dc930509..0bfc8b577de 100644 --- a/service/devicefarm/api_op_ListRemoteAccessSessions.go +++ b/service/devicefarm/api_op_ListRemoteAccessSessions.go @@ -87,7 +87,10 @@ func addOperationListRemoteAccessSessionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListRuns.go b/service/devicefarm/api_op_ListRuns.go index 8d26c06bac5..a2b770e8357 100644 --- a/service/devicefarm/api_op_ListRuns.go +++ b/service/devicefarm/api_op_ListRuns.go @@ -86,7 +86,10 @@ func addOperationListRunsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListSamples.go b/service/devicefarm/api_op_ListSamples.go index fd02701a5f4..8bf83035785 100644 --- a/service/devicefarm/api_op_ListSamples.go +++ b/service/devicefarm/api_op_ListSamples.go @@ -86,7 +86,10 @@ func addOperationListSamplesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListSuites.go b/service/devicefarm/api_op_ListSuites.go index 94eda241537..871e706d821 100644 --- a/service/devicefarm/api_op_ListSuites.go +++ b/service/devicefarm/api_op_ListSuites.go @@ -86,7 +86,10 @@ func addOperationListSuitesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListTagsForResource.go b/service/devicefarm/api_op_ListTagsForResource.go index b730e689dd0..0b19b49d273 100644 --- a/service/devicefarm/api_op_ListTagsForResource.go +++ b/service/devicefarm/api_op_ListTagsForResource.go @@ -79,7 +79,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListTestGridProjects.go b/service/devicefarm/api_op_ListTestGridProjects.go index 86351eec707..d557ad95923 100644 --- a/service/devicefarm/api_op_ListTestGridProjects.go +++ b/service/devicefarm/api_op_ListTestGridProjects.go @@ -80,7 +80,10 @@ func addOperationListTestGridProjectsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListTestGridSessionActions.go b/service/devicefarm/api_op_ListTestGridSessionActions.go index 7315d58f5bc..441d12e1502 100644 --- a/service/devicefarm/api_op_ListTestGridSessionActions.go +++ b/service/devicefarm/api_op_ListTestGridSessionActions.go @@ -84,7 +84,10 @@ func addOperationListTestGridSessionActionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListTestGridSessionArtifacts.go b/service/devicefarm/api_op_ListTestGridSessionArtifacts.go index 5fa93b8d829..5e9dd347950 100644 --- a/service/devicefarm/api_op_ListTestGridSessionArtifacts.go +++ b/service/devicefarm/api_op_ListTestGridSessionArtifacts.go @@ -87,7 +87,10 @@ func addOperationListTestGridSessionArtifactsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListTestGridSessions.go b/service/devicefarm/api_op_ListTestGridSessions.go index c364b2dede3..ea9ef154382 100644 --- a/service/devicefarm/api_op_ListTestGridSessions.go +++ b/service/devicefarm/api_op_ListTestGridSessions.go @@ -100,7 +100,10 @@ func addOperationListTestGridSessionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListTests.go b/service/devicefarm/api_op_ListTests.go index 039d60fa15c..2f48c6e05fb 100644 --- a/service/devicefarm/api_op_ListTests.go +++ b/service/devicefarm/api_op_ListTests.go @@ -86,7 +86,10 @@ func addOperationListTestsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListUniqueProblems.go b/service/devicefarm/api_op_ListUniqueProblems.go index eb7f44ffdaf..00acf446157 100644 --- a/service/devicefarm/api_op_ListUniqueProblems.go +++ b/service/devicefarm/api_op_ListUniqueProblems.go @@ -105,7 +105,10 @@ func addOperationListUniqueProblemsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListUploads.go b/service/devicefarm/api_op_ListUploads.go index 6c35ec79db8..4deab76fdcd 100644 --- a/service/devicefarm/api_op_ListUploads.go +++ b/service/devicefarm/api_op_ListUploads.go @@ -167,7 +167,10 @@ func addOperationListUploadsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ListVPCEConfigurations.go b/service/devicefarm/api_op_ListVPCEConfigurations.go index 912877406de..24e263916cb 100644 --- a/service/devicefarm/api_op_ListVPCEConfigurations.go +++ b/service/devicefarm/api_op_ListVPCEConfigurations.go @@ -83,7 +83,10 @@ func addOperationListVPCEConfigurationsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_PurchaseOffering.go b/service/devicefarm/api_op_PurchaseOffering.go index 4b5512f359d..9460317ffbc 100644 --- a/service/devicefarm/api_op_PurchaseOffering.go +++ b/service/devicefarm/api_op_PurchaseOffering.go @@ -84,7 +84,10 @@ func addOperationPurchaseOfferingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_RenewOffering.go b/service/devicefarm/api_op_RenewOffering.go index 9fffd2f5a8d..e9950bcfdb6 100644 --- a/service/devicefarm/api_op_RenewOffering.go +++ b/service/devicefarm/api_op_RenewOffering.go @@ -81,7 +81,10 @@ func addOperationRenewOfferingMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_ScheduleRun.go b/service/devicefarm/api_op_ScheduleRun.go index a4cbab5cafb..d1105e13725 100644 --- a/service/devicefarm/api_op_ScheduleRun.go +++ b/service/devicefarm/api_op_ScheduleRun.go @@ -103,7 +103,10 @@ func addOperationScheduleRunMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_StopJob.go b/service/devicefarm/api_op_StopJob.go index 2aa41834c2a..d1f8de092c9 100644 --- a/service/devicefarm/api_op_StopJob.go +++ b/service/devicefarm/api_op_StopJob.go @@ -78,7 +78,10 @@ func addOperationStopJobMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_StopRemoteAccessSession.go b/service/devicefarm/api_op_StopRemoteAccessSession.go index 719592a34f7..58f07b0b83a 100644 --- a/service/devicefarm/api_op_StopRemoteAccessSession.go +++ b/service/devicefarm/api_op_StopRemoteAccessSession.go @@ -78,7 +78,10 @@ func addOperationStopRemoteAccessSessionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_StopRun.go b/service/devicefarm/api_op_StopRun.go index 04dbb9448e2..60b7a39c9ff 100644 --- a/service/devicefarm/api_op_StopRun.go +++ b/service/devicefarm/api_op_StopRun.go @@ -80,7 +80,10 @@ func addOperationStopRunMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_TagResource.go b/service/devicefarm/api_op_TagResource.go index f3fca89cee1..ca5fa34d460 100644 --- a/service/devicefarm/api_op_TagResource.go +++ b/service/devicefarm/api_op_TagResource.go @@ -83,7 +83,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_UntagResource.go b/service/devicefarm/api_op_UntagResource.go index 0cfd4273fcb..68d116015c0 100644 --- a/service/devicefarm/api_op_UntagResource.go +++ b/service/devicefarm/api_op_UntagResource.go @@ -77,7 +77,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_UpdateDeviceInstance.go b/service/devicefarm/api_op_UpdateDeviceInstance.go index d447f850b88..b2b20450fd5 100644 --- a/service/devicefarm/api_op_UpdateDeviceInstance.go +++ b/service/devicefarm/api_op_UpdateDeviceInstance.go @@ -80,7 +80,10 @@ func addOperationUpdateDeviceInstanceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_UpdateDevicePool.go b/service/devicefarm/api_op_UpdateDevicePool.go index 59c481498f4..f7d9a410b69 100644 --- a/service/devicefarm/api_op_UpdateDevicePool.go +++ b/service/devicefarm/api_op_UpdateDevicePool.go @@ -105,7 +105,10 @@ func addOperationUpdateDevicePoolMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_UpdateInstanceProfile.go b/service/devicefarm/api_op_UpdateInstanceProfile.go index 46d3e604a25..3e78c09c8c3 100644 --- a/service/devicefarm/api_op_UpdateInstanceProfile.go +++ b/service/devicefarm/api_op_UpdateInstanceProfile.go @@ -93,7 +93,10 @@ func addOperationUpdateInstanceProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_UpdateNetworkProfile.go b/service/devicefarm/api_op_UpdateNetworkProfile.go index 73afdbfd6ff..ab963c38325 100644 --- a/service/devicefarm/api_op_UpdateNetworkProfile.go +++ b/service/devicefarm/api_op_UpdateNetworkProfile.go @@ -114,7 +114,10 @@ func addOperationUpdateNetworkProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_UpdateProject.go b/service/devicefarm/api_op_UpdateProject.go index d91eb522e72..e49829681ce 100644 --- a/service/devicefarm/api_op_UpdateProject.go +++ b/service/devicefarm/api_op_UpdateProject.go @@ -82,7 +82,10 @@ func addOperationUpdateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_UpdateTestGridProject.go b/service/devicefarm/api_op_UpdateTestGridProject.go index 9e40658119c..984b6985018 100644 --- a/service/devicefarm/api_op_UpdateTestGridProject.go +++ b/service/devicefarm/api_op_UpdateTestGridProject.go @@ -80,7 +80,10 @@ func addOperationUpdateTestGridProjectMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_UpdateUpload.go b/service/devicefarm/api_op_UpdateUpload.go index a476b8d5c39..f58913b05e7 100644 --- a/service/devicefarm/api_op_UpdateUpload.go +++ b/service/devicefarm/api_op_UpdateUpload.go @@ -85,7 +85,10 @@ func addOperationUpdateUploadMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devicefarm/api_op_UpdateVPCEConfiguration.go b/service/devicefarm/api_op_UpdateVPCEConfiguration.go index a24632a7c49..d001cd8e842 100644 --- a/service/devicefarm/api_op_UpdateVPCEConfiguration.go +++ b/service/devicefarm/api_op_UpdateVPCEConfiguration.go @@ -92,7 +92,10 @@ func addOperationUpdateVPCEConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_AddNotificationChannel.go b/service/devopsguru/api_op_AddNotificationChannel.go index 5f13531bee2..5f215c25abc 100644 --- a/service/devopsguru/api_op_AddNotificationChannel.go +++ b/service/devopsguru/api_op_AddNotificationChannel.go @@ -89,7 +89,10 @@ func addOperationAddNotificationChannelMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_DescribeAccountHealth.go b/service/devopsguru/api_op_DescribeAccountHealth.go index 08bae245edf..9269f363bf2 100644 --- a/service/devopsguru/api_op_DescribeAccountHealth.go +++ b/service/devopsguru/api_op_DescribeAccountHealth.go @@ -85,7 +85,10 @@ func addOperationDescribeAccountHealthMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_DescribeAccountOverview.go b/service/devopsguru/api_op_DescribeAccountOverview.go index 69306e89c6d..21cfaecb33b 100644 --- a/service/devopsguru/api_op_DescribeAccountOverview.go +++ b/service/devopsguru/api_op_DescribeAccountOverview.go @@ -98,7 +98,10 @@ func addOperationDescribeAccountOverviewMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_DescribeAnomaly.go b/service/devopsguru/api_op_DescribeAnomaly.go index f1e8713b139..6b313962b0e 100644 --- a/service/devopsguru/api_op_DescribeAnomaly.go +++ b/service/devopsguru/api_op_DescribeAnomaly.go @@ -77,7 +77,10 @@ func addOperationDescribeAnomalyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_DescribeInsight.go b/service/devopsguru/api_op_DescribeInsight.go index c73202a46f1..1bf4cb25b21 100644 --- a/service/devopsguru/api_op_DescribeInsight.go +++ b/service/devopsguru/api_op_DescribeInsight.go @@ -77,7 +77,10 @@ func addOperationDescribeInsightMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_DescribeResourceCollectionHealth.go b/service/devopsguru/api_op_DescribeResourceCollectionHealth.go index 9e3c7b5fa00..3615f400e41 100644 --- a/service/devopsguru/api_op_DescribeResourceCollectionHealth.go +++ b/service/devopsguru/api_op_DescribeResourceCollectionHealth.go @@ -93,7 +93,10 @@ func addOperationDescribeResourceCollectionHealthMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_DescribeServiceIntegration.go b/service/devopsguru/api_op_DescribeServiceIntegration.go index e65f48cd0f2..0f62b98c1eb 100644 --- a/service/devopsguru/api_op_DescribeServiceIntegration.go +++ b/service/devopsguru/api_op_DescribeServiceIntegration.go @@ -72,7 +72,10 @@ func addOperationDescribeServiceIntegrationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_GetResourceCollection.go b/service/devopsguru/api_op_GetResourceCollection.go index b00a4680503..0b37c7b9f5d 100644 --- a/service/devopsguru/api_op_GetResourceCollection.go +++ b/service/devopsguru/api_op_GetResourceCollection.go @@ -89,7 +89,10 @@ func addOperationGetResourceCollectionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_ListAnomaliesForInsight.go b/service/devopsguru/api_op_ListAnomaliesForInsight.go index de62eff0ce6..a9c76893831 100644 --- a/service/devopsguru/api_op_ListAnomaliesForInsight.go +++ b/service/devopsguru/api_op_ListAnomaliesForInsight.go @@ -97,7 +97,10 @@ func addOperationListAnomaliesForInsightMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_ListEvents.go b/service/devopsguru/api_op_ListEvents.go index 1f2c273c96d..0716866255a 100644 --- a/service/devopsguru/api_op_ListEvents.go +++ b/service/devopsguru/api_op_ListEvents.go @@ -90,7 +90,10 @@ func addOperationListEventsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_ListInsights.go b/service/devopsguru/api_op_ListInsights.go index 3f95b785bec..3f70da83e5a 100644 --- a/service/devopsguru/api_op_ListInsights.go +++ b/service/devopsguru/api_op_ListInsights.go @@ -92,7 +92,10 @@ func addOperationListInsightsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_ListNotificationChannels.go b/service/devopsguru/api_op_ListNotificationChannels.go index 26271a29df2..267f5e2fac1 100644 --- a/service/devopsguru/api_op_ListNotificationChannels.go +++ b/service/devopsguru/api_op_ListNotificationChannels.go @@ -82,7 +82,10 @@ func addOperationListNotificationChannelsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_ListRecommendations.go b/service/devopsguru/api_op_ListRecommendations.go index bfeffa75318..68ad208caae 100644 --- a/service/devopsguru/api_op_ListRecommendations.go +++ b/service/devopsguru/api_op_ListRecommendations.go @@ -84,7 +84,10 @@ func addOperationListRecommendationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_PutFeedback.go b/service/devopsguru/api_op_PutFeedback.go index 8b124c9a26c..24bd72e2e44 100644 --- a/service/devopsguru/api_op_PutFeedback.go +++ b/service/devopsguru/api_op_PutFeedback.go @@ -68,7 +68,10 @@ func addOperationPutFeedbackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_RemoveNotificationChannel.go b/service/devopsguru/api_op_RemoveNotificationChannel.go index f4fbdd70213..2e45c795036 100644 --- a/service/devopsguru/api_op_RemoveNotificationChannel.go +++ b/service/devopsguru/api_op_RemoveNotificationChannel.go @@ -71,7 +71,10 @@ func addOperationRemoveNotificationChannelMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_SearchInsights.go b/service/devopsguru/api_op_SearchInsights.go index 418c87c8fe4..4ae6188d853 100644 --- a/service/devopsguru/api_op_SearchInsights.go +++ b/service/devopsguru/api_op_SearchInsights.go @@ -105,7 +105,10 @@ func addOperationSearchInsightsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_UpdateResourceCollection.go b/service/devopsguru/api_op_UpdateResourceCollection.go index a634596ff27..db192262a75 100644 --- a/service/devopsguru/api_op_UpdateResourceCollection.go +++ b/service/devopsguru/api_op_UpdateResourceCollection.go @@ -79,7 +79,10 @@ func addOperationUpdateResourceCollectionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/devopsguru/api_op_UpdateServiceIntegration.go b/service/devopsguru/api_op_UpdateServiceIntegration.go index 7af2b5ce196..84e834623a1 100644 --- a/service/devopsguru/api_op_UpdateServiceIntegration.go +++ b/service/devopsguru/api_op_UpdateServiceIntegration.go @@ -74,7 +74,10 @@ func addOperationUpdateServiceIntegrationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go b/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go index 3289a77591d..380c5d36450 100644 --- a/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go +++ b/service/directconnect/api_op_AcceptDirectConnectGatewayAssociationProposal.go @@ -93,7 +93,10 @@ func addOperationAcceptDirectConnectGatewayAssociationProposalMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_AllocateConnectionOnInterconnect.go b/service/directconnect/api_op_AllocateConnectionOnInterconnect.go index 29062be907e..c5c1c5285d3 100644 --- a/service/directconnect/api_op_AllocateConnectionOnInterconnect.go +++ b/service/directconnect/api_op_AllocateConnectionOnInterconnect.go @@ -186,7 +186,10 @@ func addOperationAllocateConnectionOnInterconnectMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_AllocateHostedConnection.go b/service/directconnect/api_op_AllocateHostedConnection.go index e1afb29767c..8f26790169e 100644 --- a/service/directconnect/api_op_AllocateHostedConnection.go +++ b/service/directconnect/api_op_AllocateHostedConnection.go @@ -189,7 +189,10 @@ func addOperationAllocateHostedConnectionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_AllocatePrivateVirtualInterface.go b/service/directconnect/api_op_AllocatePrivateVirtualInterface.go index 1e42fea51b7..0d08652effb 100644 --- a/service/directconnect/api_op_AllocatePrivateVirtualInterface.go +++ b/service/directconnect/api_op_AllocatePrivateVirtualInterface.go @@ -198,7 +198,10 @@ func addOperationAllocatePrivateVirtualInterfaceMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_AllocatePublicVirtualInterface.go b/service/directconnect/api_op_AllocatePublicVirtualInterface.go index f34c751b300..a000837b36a 100644 --- a/service/directconnect/api_op_AllocatePublicVirtualInterface.go +++ b/service/directconnect/api_op_AllocatePublicVirtualInterface.go @@ -203,7 +203,10 @@ func addOperationAllocatePublicVirtualInterfaceMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_AllocateTransitVirtualInterface.go b/service/directconnect/api_op_AllocateTransitVirtualInterface.go index 4f157ee040f..18010ccc771 100644 --- a/service/directconnect/api_op_AllocateTransitVirtualInterface.go +++ b/service/directconnect/api_op_AllocateTransitVirtualInterface.go @@ -91,7 +91,10 @@ func addOperationAllocateTransitVirtualInterfaceMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_AssociateConnectionWithLag.go b/service/directconnect/api_op_AssociateConnectionWithLag.go index feda007b85d..1dbfb3d8b1b 100644 --- a/service/directconnect/api_op_AssociateConnectionWithLag.go +++ b/service/directconnect/api_op_AssociateConnectionWithLag.go @@ -175,7 +175,10 @@ func addOperationAssociateConnectionWithLagMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_AssociateHostedConnection.go b/service/directconnect/api_op_AssociateHostedConnection.go index 386c7f34302..7e9898c68f1 100644 --- a/service/directconnect/api_op_AssociateHostedConnection.go +++ b/service/directconnect/api_op_AssociateHostedConnection.go @@ -167,7 +167,10 @@ func addOperationAssociateHostedConnectionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_AssociateVirtualInterface.go b/service/directconnect/api_op_AssociateVirtualInterface.go index 7c87e307aa5..630915ed79c 100644 --- a/service/directconnect/api_op_AssociateVirtualInterface.go +++ b/service/directconnect/api_op_AssociateVirtualInterface.go @@ -200,7 +200,10 @@ func addOperationAssociateVirtualInterfaceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_ConfirmConnection.go b/service/directconnect/api_op_ConfirmConnection.go index aa019e13fcc..826af5ce74b 100644 --- a/service/directconnect/api_op_ConfirmConnection.go +++ b/service/directconnect/api_op_ConfirmConnection.go @@ -106,7 +106,10 @@ func addOperationConfirmConnectionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go b/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go index 001b222a3a4..08966ee85ec 100644 --- a/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go +++ b/service/directconnect/api_op_ConfirmPrivateVirtualInterface.go @@ -117,7 +117,10 @@ func addOperationConfirmPrivateVirtualInterfaceMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_ConfirmPublicVirtualInterface.go b/service/directconnect/api_op_ConfirmPublicVirtualInterface.go index d39394307b6..080fcae5db3 100644 --- a/service/directconnect/api_op_ConfirmPublicVirtualInterface.go +++ b/service/directconnect/api_op_ConfirmPublicVirtualInterface.go @@ -110,7 +110,10 @@ func addOperationConfirmPublicVirtualInterfaceMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_ConfirmTransitVirtualInterface.go b/service/directconnect/api_op_ConfirmTransitVirtualInterface.go index 7a3a6405864..d3754dfd8c1 100644 --- a/service/directconnect/api_op_ConfirmTransitVirtualInterface.go +++ b/service/directconnect/api_op_ConfirmTransitVirtualInterface.go @@ -115,7 +115,10 @@ func addOperationConfirmTransitVirtualInterfaceMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreateBGPPeer.go b/service/directconnect/api_op_CreateBGPPeer.go index e3329e89663..c2438f7c9be 100644 --- a/service/directconnect/api_op_CreateBGPPeer.go +++ b/service/directconnect/api_op_CreateBGPPeer.go @@ -84,7 +84,10 @@ func addOperationCreateBGPPeerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreateConnection.go b/service/directconnect/api_op_CreateConnection.go index ace6616d107..5b35257b0ab 100644 --- a/service/directconnect/api_op_CreateConnection.go +++ b/service/directconnect/api_op_CreateConnection.go @@ -184,7 +184,10 @@ func addOperationCreateConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreateDirectConnectGateway.go b/service/directconnect/api_op_CreateDirectConnectGateway.go index 1aab2e51665..c37b379c239 100644 --- a/service/directconnect/api_op_CreateDirectConnectGateway.go +++ b/service/directconnect/api_op_CreateDirectConnectGateway.go @@ -86,7 +86,10 @@ func addOperationCreateDirectConnectGatewayMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go b/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go index e68adb5ae81..559810d4751 100644 --- a/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go +++ b/service/directconnect/api_op_CreateDirectConnectGatewayAssociation.go @@ -89,7 +89,10 @@ func addOperationCreateDirectConnectGatewayAssociationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go b/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go index 59c2f5f46ab..3915195dc7b 100644 --- a/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go +++ b/service/directconnect/api_op_CreateDirectConnectGatewayAssociationProposal.go @@ -93,7 +93,10 @@ func addOperationCreateDirectConnectGatewayAssociationProposalMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreateInterconnect.go b/service/directconnect/api_op_CreateInterconnect.go index 086a8179f1b..26d680d6785 100644 --- a/service/directconnect/api_op_CreateInterconnect.go +++ b/service/directconnect/api_op_CreateInterconnect.go @@ -174,7 +174,10 @@ func addOperationCreateInterconnectMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreateLag.go b/service/directconnect/api_op_CreateLag.go index fc6340ed81f..2e2b46d40c8 100644 --- a/service/directconnect/api_op_CreateLag.go +++ b/service/directconnect/api_op_CreateLag.go @@ -196,7 +196,10 @@ func addOperationCreateLagMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreatePrivateVirtualInterface.go b/service/directconnect/api_op_CreatePrivateVirtualInterface.go index f1fc6eb6696..519dc853309 100644 --- a/service/directconnect/api_op_CreatePrivateVirtualInterface.go +++ b/service/directconnect/api_op_CreatePrivateVirtualInterface.go @@ -202,7 +202,10 @@ func addOperationCreatePrivateVirtualInterfaceMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreatePublicVirtualInterface.go b/service/directconnect/api_op_CreatePublicVirtualInterface.go index b08ef7fe2d5..a5d7489b5a0 100644 --- a/service/directconnect/api_op_CreatePublicVirtualInterface.go +++ b/service/directconnect/api_op_CreatePublicVirtualInterface.go @@ -195,7 +195,10 @@ func addOperationCreatePublicVirtualInterfaceMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_CreateTransitVirtualInterface.go b/service/directconnect/api_op_CreateTransitVirtualInterface.go index 06418fa77cc..a2e17a6a956 100644 --- a/service/directconnect/api_op_CreateTransitVirtualInterface.go +++ b/service/directconnect/api_op_CreateTransitVirtualInterface.go @@ -93,7 +93,10 @@ func addOperationCreateTransitVirtualInterfaceMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DeleteBGPPeer.go b/service/directconnect/api_op_DeleteBGPPeer.go index db41dec7a25..e14170ea683 100644 --- a/service/directconnect/api_op_DeleteBGPPeer.go +++ b/service/directconnect/api_op_DeleteBGPPeer.go @@ -84,7 +84,10 @@ func addOperationDeleteBGPPeerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DeleteConnection.go b/service/directconnect/api_op_DeleteConnection.go index 918d83b3172..ef03f40bc0a 100644 --- a/service/directconnect/api_op_DeleteConnection.go +++ b/service/directconnect/api_op_DeleteConnection.go @@ -160,7 +160,10 @@ func addOperationDeleteConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DeleteDirectConnectGateway.go b/service/directconnect/api_op_DeleteDirectConnectGateway.go index 13e1d82a232..799dd12e93c 100644 --- a/service/directconnect/api_op_DeleteDirectConnectGateway.go +++ b/service/directconnect/api_op_DeleteDirectConnectGateway.go @@ -76,7 +76,10 @@ func addOperationDeleteDirectConnectGatewayMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go index 397b4adb7b7..1c662ee06d7 100644 --- a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go +++ b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociation.go @@ -82,7 +82,10 @@ func addOperationDeleteDirectConnectGatewayAssociationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go index c1d630a8bb4..40f7aa2fa9e 100644 --- a/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go +++ b/service/directconnect/api_op_DeleteDirectConnectGatewayAssociationProposal.go @@ -75,7 +75,10 @@ func addOperationDeleteDirectConnectGatewayAssociationProposalMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DeleteInterconnect.go b/service/directconnect/api_op_DeleteInterconnect.go index 2e1d937f288..901d1b525fd 100644 --- a/service/directconnect/api_op_DeleteInterconnect.go +++ b/service/directconnect/api_op_DeleteInterconnect.go @@ -96,7 +96,10 @@ func addOperationDeleteInterconnectMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DeleteLag.go b/service/directconnect/api_op_DeleteLag.go index 61574aa2463..a8eed1b39ac 100644 --- a/service/directconnect/api_op_DeleteLag.go +++ b/service/directconnect/api_op_DeleteLag.go @@ -150,7 +150,10 @@ func addOperationDeleteLagMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DeleteVirtualInterface.go b/service/directconnect/api_op_DeleteVirtualInterface.go index 19092e44df0..c9798db2784 100644 --- a/service/directconnect/api_op_DeleteVirtualInterface.go +++ b/service/directconnect/api_op_DeleteVirtualInterface.go @@ -108,7 +108,10 @@ func addOperationDeleteVirtualInterfaceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeConnectionLoa.go b/service/directconnect/api_op_DescribeConnectionLoa.go index 07158f5b726..182df697195 100644 --- a/service/directconnect/api_op_DescribeConnectionLoa.go +++ b/service/directconnect/api_op_DescribeConnectionLoa.go @@ -91,7 +91,10 @@ func addOperationDescribeConnectionLoaMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeConnections.go b/service/directconnect/api_op_DescribeConnections.go index c9859083b5a..2cbc604a406 100644 --- a/service/directconnect/api_op_DescribeConnections.go +++ b/service/directconnect/api_op_DescribeConnections.go @@ -72,7 +72,10 @@ func addOperationDescribeConnectionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go b/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go index ae68ba1154a..fd015973f25 100644 --- a/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go +++ b/service/directconnect/api_op_DescribeConnectionsOnInterconnect.go @@ -78,7 +78,10 @@ func addOperationDescribeConnectionsOnInterconnectMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go index a794f836cf3..19b47392786 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go +++ b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociationProposals.go @@ -91,7 +91,10 @@ func addOperationDescribeDirectConnectGatewayAssociationProposalsMiddlewares(sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go index 02216abe193..34ef5644111 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go +++ b/service/directconnect/api_op_DescribeDirectConnectGatewayAssociations.go @@ -99,7 +99,10 @@ func addOperationDescribeDirectConnectGatewayAssociationsMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go b/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go index 162fd8199e2..0f829f0ae6e 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go +++ b/service/directconnect/api_op_DescribeDirectConnectGatewayAttachments.go @@ -92,7 +92,10 @@ func addOperationDescribeDirectConnectGatewayAttachmentsMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeDirectConnectGateways.go b/service/directconnect/api_op_DescribeDirectConnectGateways.go index dc97034032c..98020c232c6 100644 --- a/service/directconnect/api_op_DescribeDirectConnectGateways.go +++ b/service/directconnect/api_op_DescribeDirectConnectGateways.go @@ -84,7 +84,10 @@ func addOperationDescribeDirectConnectGatewaysMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeHostedConnections.go b/service/directconnect/api_op_DescribeHostedConnections.go index b4695f8a8d9..2d5565fc6e7 100644 --- a/service/directconnect/api_op_DescribeHostedConnections.go +++ b/service/directconnect/api_op_DescribeHostedConnections.go @@ -76,7 +76,10 @@ func addOperationDescribeHostedConnectionsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeInterconnectLoa.go b/service/directconnect/api_op_DescribeInterconnectLoa.go index 9830b03d02e..c5efa7b2473 100644 --- a/service/directconnect/api_op_DescribeInterconnectLoa.go +++ b/service/directconnect/api_op_DescribeInterconnectLoa.go @@ -91,7 +91,10 @@ func addOperationDescribeInterconnectLoaMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeInterconnects.go b/service/directconnect/api_op_DescribeInterconnects.go index 95afdc00d35..bbc24159572 100644 --- a/service/directconnect/api_op_DescribeInterconnects.go +++ b/service/directconnect/api_op_DescribeInterconnects.go @@ -73,7 +73,10 @@ func addOperationDescribeInterconnectsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeLags.go b/service/directconnect/api_op_DescribeLags.go index 3d94427da68..92483a79d7b 100644 --- a/service/directconnect/api_op_DescribeLags.go +++ b/service/directconnect/api_op_DescribeLags.go @@ -72,7 +72,10 @@ func addOperationDescribeLagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeLoa.go b/service/directconnect/api_op_DescribeLoa.go index dc01c877bcf..c2757410c31 100644 --- a/service/directconnect/api_op_DescribeLoa.go +++ b/service/directconnect/api_op_DescribeLoa.go @@ -95,7 +95,10 @@ func addOperationDescribeLoaMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeLocations.go b/service/directconnect/api_op_DescribeLocations.go index d3c57f5ecb0..441c3c99779 100644 --- a/service/directconnect/api_op_DescribeLocations.go +++ b/service/directconnect/api_op_DescribeLocations.go @@ -71,7 +71,10 @@ func addOperationDescribeLocationsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeTags.go b/service/directconnect/api_op_DescribeTags.go index ee87d1ff04e..0b70d30aa06 100644 --- a/service/directconnect/api_op_DescribeTags.go +++ b/service/directconnect/api_op_DescribeTags.go @@ -74,7 +74,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeVirtualGateways.go b/service/directconnect/api_op_DescribeVirtualGateways.go index e1e9c04e3d7..039b21c2ac2 100644 --- a/service/directconnect/api_op_DescribeVirtualGateways.go +++ b/service/directconnect/api_op_DescribeVirtualGateways.go @@ -71,7 +71,10 @@ func addOperationDescribeVirtualGatewaysMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DescribeVirtualInterfaces.go b/service/directconnect/api_op_DescribeVirtualInterfaces.go index a1ac5ddf695..31159bc2901 100644 --- a/service/directconnect/api_op_DescribeVirtualInterfaces.go +++ b/service/directconnect/api_op_DescribeVirtualInterfaces.go @@ -80,7 +80,10 @@ func addOperationDescribeVirtualInterfacesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_DisassociateConnectionFromLag.go b/service/directconnect/api_op_DisassociateConnectionFromLag.go index ddcf2a8d4a3..554a165d438 100644 --- a/service/directconnect/api_op_DisassociateConnectionFromLag.go +++ b/service/directconnect/api_op_DisassociateConnectionFromLag.go @@ -171,7 +171,10 @@ func addOperationDisassociateConnectionFromLagMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go b/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go index 63d9f269e3a..abb8883cc94 100644 --- a/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go +++ b/service/directconnect/api_op_ListVirtualInterfaceTestHistory.go @@ -94,7 +94,10 @@ func addOperationListVirtualInterfaceTestHistoryMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_StartBgpFailoverTest.go b/service/directconnect/api_op_StartBgpFailoverTest.go index e90fc01dbc2..e6f199a6ac1 100644 --- a/service/directconnect/api_op_StartBgpFailoverTest.go +++ b/service/directconnect/api_op_StartBgpFailoverTest.go @@ -89,7 +89,10 @@ func addOperationStartBgpFailoverTestMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_StopBgpFailoverTest.go b/service/directconnect/api_op_StopBgpFailoverTest.go index 3b2db860267..29cdbc95734 100644 --- a/service/directconnect/api_op_StopBgpFailoverTest.go +++ b/service/directconnect/api_op_StopBgpFailoverTest.go @@ -74,7 +74,10 @@ func addOperationStopBgpFailoverTestMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_TagResource.go b/service/directconnect/api_op_TagResource.go index bd50b8e6d6d..5e331d7b7d6 100644 --- a/service/directconnect/api_op_TagResource.go +++ b/service/directconnect/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_UntagResource.go b/service/directconnect/api_op_UntagResource.go index 0b5ced083c8..37a89a4ce66 100644 --- a/service/directconnect/api_op_UntagResource.go +++ b/service/directconnect/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go b/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go index 34a936db869..a27d201ede2 100644 --- a/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go +++ b/service/directconnect/api_op_UpdateDirectConnectGatewayAssociation.go @@ -80,7 +80,10 @@ func addOperationUpdateDirectConnectGatewayAssociationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_UpdateLag.go b/service/directconnect/api_op_UpdateLag.go index 1955697223a..f8cba7be7e0 100644 --- a/service/directconnect/api_op_UpdateLag.go +++ b/service/directconnect/api_op_UpdateLag.go @@ -170,7 +170,10 @@ func addOperationUpdateLagMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go b/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go index 69371f0f17e..2a91a933659 100644 --- a/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go +++ b/service/directconnect/api_op_UpdateVirtualInterfaceAttributes.go @@ -196,7 +196,10 @@ func addOperationUpdateVirtualInterfaceAttributesMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_AcceptSharedDirectory.go b/service/directoryservice/api_op_AcceptSharedDirectory.go index ce701d68b92..2e1a7fcf4cf 100644 --- a/service/directoryservice/api_op_AcceptSharedDirectory.go +++ b/service/directoryservice/api_op_AcceptSharedDirectory.go @@ -76,7 +76,10 @@ func addOperationAcceptSharedDirectoryMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_AddIpRoutes.go b/service/directoryservice/api_op_AddIpRoutes.go index a379a43f79a..7a2c6716ade 100644 --- a/service/directoryservice/api_op_AddIpRoutes.go +++ b/service/directoryservice/api_op_AddIpRoutes.go @@ -148,7 +148,10 @@ func addOperationAddIpRoutesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_AddRegion.go b/service/directoryservice/api_op_AddRegion.go index 4ce52c147d5..ec4e96a3286 100644 --- a/service/directoryservice/api_op_AddRegion.go +++ b/service/directoryservice/api_op_AddRegion.go @@ -81,7 +81,10 @@ func addOperationAddRegionMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_AddTagsToResource.go b/service/directoryservice/api_op_AddTagsToResource.go index a06254ec78d..896d1120263 100644 --- a/service/directoryservice/api_op_AddTagsToResource.go +++ b/service/directoryservice/api_op_AddTagsToResource.go @@ -77,7 +77,10 @@ func addOperationAddTagsToResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_CancelSchemaExtension.go b/service/directoryservice/api_op_CancelSchemaExtension.go index 0d8450cb61e..9d4b6f792f4 100644 --- a/service/directoryservice/api_op_CancelSchemaExtension.go +++ b/service/directoryservice/api_op_CancelSchemaExtension.go @@ -77,7 +77,10 @@ func addOperationCancelSchemaExtensionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_ConnectDirectory.go b/service/directoryservice/api_op_ConnectDirectory.go index 86b5aae4b58..5a680e74f56 100644 --- a/service/directoryservice/api_op_ConnectDirectory.go +++ b/service/directoryservice/api_op_ConnectDirectory.go @@ -106,7 +106,10 @@ func addOperationConnectDirectoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_CreateAlias.go b/service/directoryservice/api_op_CreateAlias.go index 13932ad4c6f..83a0c881ae1 100644 --- a/service/directoryservice/api_op_CreateAlias.go +++ b/service/directoryservice/api_op_CreateAlias.go @@ -88,7 +88,10 @@ func addOperationCreateAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_CreateComputer.go b/service/directoryservice/api_op_CreateComputer.go index c9aed5d635e..c2bda26fcbb 100644 --- a/service/directoryservice/api_op_CreateComputer.go +++ b/service/directoryservice/api_op_CreateComputer.go @@ -95,7 +95,10 @@ func addOperationCreateComputerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_CreateConditionalForwarder.go b/service/directoryservice/api_op_CreateConditionalForwarder.go index 39d8f6d3a99..e56067d3d54 100644 --- a/service/directoryservice/api_op_CreateConditionalForwarder.go +++ b/service/directoryservice/api_op_CreateConditionalForwarder.go @@ -87,7 +87,10 @@ func addOperationCreateConditionalForwarderMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_CreateDirectory.go b/service/directoryservice/api_op_CreateDirectory.go index 461f4d332de..7bdb8e8ba6b 100644 --- a/service/directoryservice/api_op_CreateDirectory.go +++ b/service/directoryservice/api_op_CreateDirectory.go @@ -134,7 +134,10 @@ func addOperationCreateDirectoryMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_CreateLogSubscription.go b/service/directoryservice/api_op_CreateLogSubscription.go index a007371292e..ea074c4feb7 100644 --- a/service/directoryservice/api_op_CreateLogSubscription.go +++ b/service/directoryservice/api_op_CreateLogSubscription.go @@ -77,7 +77,10 @@ func addOperationCreateLogSubscriptionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_CreateMicrosoftAD.go b/service/directoryservice/api_op_CreateMicrosoftAD.go index 6a6af74d421..83326b82a54 100644 --- a/service/directoryservice/api_op_CreateMicrosoftAD.go +++ b/service/directoryservice/api_op_CreateMicrosoftAD.go @@ -114,7 +114,10 @@ func addOperationCreateMicrosoftADMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_CreateSnapshot.go b/service/directoryservice/api_op_CreateSnapshot.go index 2ce53ba735f..968bfbf96ae 100644 --- a/service/directoryservice/api_op_CreateSnapshot.go +++ b/service/directoryservice/api_op_CreateSnapshot.go @@ -79,7 +79,10 @@ func addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_CreateTrust.go b/service/directoryservice/api_op_CreateTrust.go index 9cc05f34a85..ba52bb189d5 100644 --- a/service/directoryservice/api_op_CreateTrust.go +++ b/service/directoryservice/api_op_CreateTrust.go @@ -116,7 +116,10 @@ func addOperationCreateTrustMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DeleteConditionalForwarder.go b/service/directoryservice/api_op_DeleteConditionalForwarder.go index 385efcb4391..10384e4d1e9 100644 --- a/service/directoryservice/api_op_DeleteConditionalForwarder.go +++ b/service/directoryservice/api_op_DeleteConditionalForwarder.go @@ -77,7 +77,10 @@ func addOperationDeleteConditionalForwarderMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DeleteDirectory.go b/service/directoryservice/api_op_DeleteDirectory.go index 409b90f8d08..0102d836198 100644 --- a/service/directoryservice/api_op_DeleteDirectory.go +++ b/service/directoryservice/api_op_DeleteDirectory.go @@ -80,7 +80,10 @@ func addOperationDeleteDirectoryMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DeleteLogSubscription.go b/service/directoryservice/api_op_DeleteLogSubscription.go index 2685652445c..07463121af3 100644 --- a/service/directoryservice/api_op_DeleteLogSubscription.go +++ b/service/directoryservice/api_op_DeleteLogSubscription.go @@ -69,7 +69,10 @@ func addOperationDeleteLogSubscriptionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DeleteSnapshot.go b/service/directoryservice/api_op_DeleteSnapshot.go index 5ad6fddf4e9..56957e3b0fe 100644 --- a/service/directoryservice/api_op_DeleteSnapshot.go +++ b/service/directoryservice/api_op_DeleteSnapshot.go @@ -75,7 +75,10 @@ func addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DeleteTrust.go b/service/directoryservice/api_op_DeleteTrust.go index dd08c45cce3..23d06198276 100644 --- a/service/directoryservice/api_op_DeleteTrust.go +++ b/service/directoryservice/api_op_DeleteTrust.go @@ -80,7 +80,10 @@ func addOperationDeleteTrustMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DeregisterCertificate.go b/service/directoryservice/api_op_DeregisterCertificate.go index e41e3fa1f13..b76637a1678 100644 --- a/service/directoryservice/api_op_DeregisterCertificate.go +++ b/service/directoryservice/api_op_DeregisterCertificate.go @@ -75,7 +75,10 @@ func addOperationDeregisterCertificateMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DeregisterEventTopic.go b/service/directoryservice/api_op_DeregisterEventTopic.go index b690e7fc4b1..87d0272af89 100644 --- a/service/directoryservice/api_op_DeregisterEventTopic.go +++ b/service/directoryservice/api_op_DeregisterEventTopic.go @@ -77,7 +77,10 @@ func addOperationDeregisterEventTopicMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeCertificate.go b/service/directoryservice/api_op_DescribeCertificate.go index 801158a8911..73cd5786285 100644 --- a/service/directoryservice/api_op_DescribeCertificate.go +++ b/service/directoryservice/api_op_DescribeCertificate.go @@ -82,7 +82,10 @@ func addOperationDescribeCertificateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeConditionalForwarders.go b/service/directoryservice/api_op_DescribeConditionalForwarders.go index 8f7d92cb8ab..1c5601f69e5 100644 --- a/service/directoryservice/api_op_DescribeConditionalForwarders.go +++ b/service/directoryservice/api_op_DescribeConditionalForwarders.go @@ -83,7 +83,10 @@ func addOperationDescribeConditionalForwardersMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeDirectories.go b/service/directoryservice/api_op_DescribeDirectories.go index 95c343375e7..7f8839a787b 100644 --- a/service/directoryservice/api_op_DescribeDirectories.go +++ b/service/directoryservice/api_op_DescribeDirectories.go @@ -101,7 +101,10 @@ func addOperationDescribeDirectoriesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeDomainControllers.go b/service/directoryservice/api_op_DescribeDomainControllers.go index 80a5f15a944..8cc91d6e2a9 100644 --- a/service/directoryservice/api_op_DescribeDomainControllers.go +++ b/service/directoryservice/api_op_DescribeDomainControllers.go @@ -92,7 +92,10 @@ func addOperationDescribeDomainControllersMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeEventTopics.go b/service/directoryservice/api_op_DescribeEventTopics.go index c8989d4b449..deb42f36b0d 100644 --- a/service/directoryservice/api_op_DescribeEventTopics.go +++ b/service/directoryservice/api_op_DescribeEventTopics.go @@ -83,7 +83,10 @@ func addOperationDescribeEventTopicsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeLDAPSSettings.go b/service/directoryservice/api_op_DescribeLDAPSSettings.go index 96261bfb09f..154277d229b 100644 --- a/service/directoryservice/api_op_DescribeLDAPSSettings.go +++ b/service/directoryservice/api_op_DescribeLDAPSSettings.go @@ -89,7 +89,10 @@ func addOperationDescribeLDAPSSettingsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeRegions.go b/service/directoryservice/api_op_DescribeRegions.go index 15f0c2535ca..3a4a6db032d 100644 --- a/service/directoryservice/api_op_DescribeRegions.go +++ b/service/directoryservice/api_op_DescribeRegions.go @@ -87,7 +87,10 @@ func addOperationDescribeRegionsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeSharedDirectories.go b/service/directoryservice/api_op_DescribeSharedDirectories.go index efdb062afdb..17debea0da9 100644 --- a/service/directoryservice/api_op_DescribeSharedDirectories.go +++ b/service/directoryservice/api_op_DescribeSharedDirectories.go @@ -89,7 +89,10 @@ func addOperationDescribeSharedDirectoriesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeSnapshots.go b/service/directoryservice/api_op_DescribeSnapshots.go index 70a8f76a8f4..bc32ceb7cbf 100644 --- a/service/directoryservice/api_op_DescribeSnapshots.go +++ b/service/directoryservice/api_op_DescribeSnapshots.go @@ -98,7 +98,10 @@ func addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DescribeTrusts.go b/service/directoryservice/api_op_DescribeTrusts.go index fb02811a778..e5f91fcc7be 100644 --- a/service/directoryservice/api_op_DescribeTrusts.go +++ b/service/directoryservice/api_op_DescribeTrusts.go @@ -100,7 +100,10 @@ func addOperationDescribeTrustsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DisableClientAuthentication.go b/service/directoryservice/api_op_DisableClientAuthentication.go index 3b53aaf54ba..4fba20b2565 100644 --- a/service/directoryservice/api_op_DisableClientAuthentication.go +++ b/service/directoryservice/api_op_DisableClientAuthentication.go @@ -76,7 +76,10 @@ func addOperationDisableClientAuthenticationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DisableLDAPS.go b/service/directoryservice/api_op_DisableLDAPS.go index db7e8f1c0de..2b730e59f1f 100644 --- a/service/directoryservice/api_op_DisableLDAPS.go +++ b/service/directoryservice/api_op_DisableLDAPS.go @@ -76,7 +76,10 @@ func addOperationDisableLDAPSMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DisableRadius.go b/service/directoryservice/api_op_DisableRadius.go index 58a38deb69c..d064aac2b90 100644 --- a/service/directoryservice/api_op_DisableRadius.go +++ b/service/directoryservice/api_op_DisableRadius.go @@ -72,7 +72,10 @@ func addOperationDisableRadiusMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_DisableSso.go b/service/directoryservice/api_op_DisableSso.go index 957f6e8f503..48231de8359 100644 --- a/service/directoryservice/api_op_DisableSso.go +++ b/service/directoryservice/api_op_DisableSso.go @@ -85,7 +85,10 @@ func addOperationDisableSsoMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_EnableClientAuthentication.go b/service/directoryservice/api_op_EnableClientAuthentication.go index 5ade577fbe9..9717098762c 100644 --- a/service/directoryservice/api_op_EnableClientAuthentication.go +++ b/service/directoryservice/api_op_EnableClientAuthentication.go @@ -78,7 +78,10 @@ func addOperationEnableClientAuthenticationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_EnableLDAPS.go b/service/directoryservice/api_op_EnableLDAPS.go index 68a4626c7ea..ff2a0d05258 100644 --- a/service/directoryservice/api_op_EnableLDAPS.go +++ b/service/directoryservice/api_op_EnableLDAPS.go @@ -76,7 +76,10 @@ func addOperationEnableLDAPSMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_EnableRadius.go b/service/directoryservice/api_op_EnableRadius.go index 3c069f4bb23..2a7e5505da6 100644 --- a/service/directoryservice/api_op_EnableRadius.go +++ b/service/directoryservice/api_op_EnableRadius.go @@ -78,7 +78,10 @@ func addOperationEnableRadiusMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_EnableSso.go b/service/directoryservice/api_op_EnableSso.go index 0c5f29dcaec..d1fd89d40ea 100644 --- a/service/directoryservice/api_op_EnableSso.go +++ b/service/directoryservice/api_op_EnableSso.go @@ -87,7 +87,10 @@ func addOperationEnableSsoMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_GetDirectoryLimits.go b/service/directoryservice/api_op_GetDirectoryLimits.go index 3d6d23684a5..9054f8ffd32 100644 --- a/service/directoryservice/api_op_GetDirectoryLimits.go +++ b/service/directoryservice/api_op_GetDirectoryLimits.go @@ -72,7 +72,10 @@ func addOperationGetDirectoryLimitsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_GetSnapshotLimits.go b/service/directoryservice/api_op_GetSnapshotLimits.go index d659e009042..7c871067c30 100644 --- a/service/directoryservice/api_op_GetSnapshotLimits.go +++ b/service/directoryservice/api_op_GetSnapshotLimits.go @@ -77,7 +77,10 @@ func addOperationGetSnapshotLimitsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_ListCertificates.go b/service/directoryservice/api_op_ListCertificates.go index 5562c8e2900..4977a886703 100644 --- a/service/directoryservice/api_op_ListCertificates.go +++ b/service/directoryservice/api_op_ListCertificates.go @@ -89,7 +89,10 @@ func addOperationListCertificatesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_ListIpRoutes.go b/service/directoryservice/api_op_ListIpRoutes.go index 6535e087d13..3d63c944e91 100644 --- a/service/directoryservice/api_op_ListIpRoutes.go +++ b/service/directoryservice/api_op_ListIpRoutes.go @@ -88,7 +88,10 @@ func addOperationListIpRoutesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_ListLogSubscriptions.go b/service/directoryservice/api_op_ListLogSubscriptions.go index b42c51d1c7e..695f2e2a09a 100644 --- a/service/directoryservice/api_op_ListLogSubscriptions.go +++ b/service/directoryservice/api_op_ListLogSubscriptions.go @@ -84,7 +84,10 @@ func addOperationListLogSubscriptionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_ListSchemaExtensions.go b/service/directoryservice/api_op_ListSchemaExtensions.go index a3ddb7964c3..587db1a3717 100644 --- a/service/directoryservice/api_op_ListSchemaExtensions.go +++ b/service/directoryservice/api_op_ListSchemaExtensions.go @@ -87,7 +87,10 @@ func addOperationListSchemaExtensionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_ListTagsForResource.go b/service/directoryservice/api_op_ListTagsForResource.go index 9710e355be6..afcb9ea9da3 100644 --- a/service/directoryservice/api_op_ListTagsForResource.go +++ b/service/directoryservice/api_op_ListTagsForResource.go @@ -83,7 +83,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_RegisterCertificate.go b/service/directoryservice/api_op_RegisterCertificate.go index b0cdbed1e54..f4d6748a357 100644 --- a/service/directoryservice/api_op_RegisterCertificate.go +++ b/service/directoryservice/api_op_RegisterCertificate.go @@ -87,7 +87,10 @@ func addOperationRegisterCertificateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_RegisterEventTopic.go b/service/directoryservice/api_op_RegisterEventTopic.go index cb7e8163a10..d90377e3e7a 100644 --- a/service/directoryservice/api_op_RegisterEventTopic.go +++ b/service/directoryservice/api_op_RegisterEventTopic.go @@ -81,7 +81,10 @@ func addOperationRegisterEventTopicMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_RejectSharedDirectory.go b/service/directoryservice/api_op_RejectSharedDirectory.go index f23b0079fe1..a100a5b96e4 100644 --- a/service/directoryservice/api_op_RejectSharedDirectory.go +++ b/service/directoryservice/api_op_RejectSharedDirectory.go @@ -75,7 +75,10 @@ func addOperationRejectSharedDirectoryMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_RemoveIpRoutes.go b/service/directoryservice/api_op_RemoveIpRoutes.go index 0dd70f613fd..a92bed5c0e4 100644 --- a/service/directoryservice/api_op_RemoveIpRoutes.go +++ b/service/directoryservice/api_op_RemoveIpRoutes.go @@ -74,7 +74,10 @@ func addOperationRemoveIpRoutesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_RemoveRegion.go b/service/directoryservice/api_op_RemoveRegion.go index 1713da0b94c..91f9cb62444 100644 --- a/service/directoryservice/api_op_RemoveRegion.go +++ b/service/directoryservice/api_op_RemoveRegion.go @@ -71,7 +71,10 @@ func addOperationRemoveRegionMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_RemoveTagsFromResource.go b/service/directoryservice/api_op_RemoveTagsFromResource.go index bbec1809cb7..45f696905cb 100644 --- a/service/directoryservice/api_op_RemoveTagsFromResource.go +++ b/service/directoryservice/api_op_RemoveTagsFromResource.go @@ -74,7 +74,10 @@ func addOperationRemoveTagsFromResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_ResetUserPassword.go b/service/directoryservice/api_op_ResetUserPassword.go index e781ac439c6..f2d9ed0dba5 100644 --- a/service/directoryservice/api_op_ResetUserPassword.go +++ b/service/directoryservice/api_op_ResetUserPassword.go @@ -94,7 +94,10 @@ func addOperationResetUserPasswordMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_RestoreFromSnapshot.go b/service/directoryservice/api_op_RestoreFromSnapshot.go index bd51e838d9a..b8bdfb13887 100644 --- a/service/directoryservice/api_op_RestoreFromSnapshot.go +++ b/service/directoryservice/api_op_RestoreFromSnapshot.go @@ -77,7 +77,10 @@ func addOperationRestoreFromSnapshotMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_ShareDirectory.go b/service/directoryservice/api_op_ShareDirectory.go index 351c87eecfc..3d5109907e5 100644 --- a/service/directoryservice/api_op_ShareDirectory.go +++ b/service/directoryservice/api_op_ShareDirectory.go @@ -106,7 +106,10 @@ func addOperationShareDirectoryMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_StartSchemaExtension.go b/service/directoryservice/api_op_StartSchemaExtension.go index a625692548b..085123acb07 100644 --- a/service/directoryservice/api_op_StartSchemaExtension.go +++ b/service/directoryservice/api_op_StartSchemaExtension.go @@ -92,7 +92,10 @@ func addOperationStartSchemaExtensionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_UnshareDirectory.go b/service/directoryservice/api_op_UnshareDirectory.go index 9e49726e464..a8fc84a049b 100644 --- a/service/directoryservice/api_op_UnshareDirectory.go +++ b/service/directoryservice/api_op_UnshareDirectory.go @@ -82,7 +82,10 @@ func addOperationUnshareDirectoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_UpdateConditionalForwarder.go b/service/directoryservice/api_op_UpdateConditionalForwarder.go index 40a4f180269..24ff8895fc9 100644 --- a/service/directoryservice/api_op_UpdateConditionalForwarder.go +++ b/service/directoryservice/api_op_UpdateConditionalForwarder.go @@ -84,7 +84,10 @@ func addOperationUpdateConditionalForwarderMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go b/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go index 8342a7e4439..61fda893d1e 100644 --- a/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go +++ b/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go @@ -80,7 +80,10 @@ func addOperationUpdateNumberOfDomainControllersMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_UpdateRadius.go b/service/directoryservice/api_op_UpdateRadius.go index 106803518a0..a6e65355a52 100644 --- a/service/directoryservice/api_op_UpdateRadius.go +++ b/service/directoryservice/api_op_UpdateRadius.go @@ -79,7 +79,10 @@ func addOperationUpdateRadiusMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_UpdateTrust.go b/service/directoryservice/api_op_UpdateTrust.go index 12bcd44a27e..f46350489ea 100644 --- a/service/directoryservice/api_op_UpdateTrust.go +++ b/service/directoryservice/api_op_UpdateTrust.go @@ -81,7 +81,10 @@ func addOperationUpdateTrustMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/directoryservice/api_op_VerifyTrust.go b/service/directoryservice/api_op_VerifyTrust.go index 67e350d5d50..54a853deb99 100644 --- a/service/directoryservice/api_op_VerifyTrust.go +++ b/service/directoryservice/api_op_VerifyTrust.go @@ -78,7 +78,10 @@ func addOperationVerifyTrustMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dlm/api_op_CreateLifecyclePolicy.go b/service/dlm/api_op_CreateLifecyclePolicy.go index eef12bd200e..fd51744ca20 100644 --- a/service/dlm/api_op_CreateLifecyclePolicy.go +++ b/service/dlm/api_op_CreateLifecyclePolicy.go @@ -95,7 +95,10 @@ func addOperationCreateLifecyclePolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dlm/api_op_DeleteLifecyclePolicy.go b/service/dlm/api_op_DeleteLifecyclePolicy.go index 45f7c450b8a..79192a34d14 100644 --- a/service/dlm/api_op_DeleteLifecyclePolicy.go +++ b/service/dlm/api_op_DeleteLifecyclePolicy.go @@ -70,7 +70,10 @@ func addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dlm/api_op_GetLifecyclePolicies.go b/service/dlm/api_op_GetLifecyclePolicies.go index 20beb4400be..accd9c2437b 100644 --- a/service/dlm/api_op_GetLifecyclePolicies.go +++ b/service/dlm/api_op_GetLifecyclePolicies.go @@ -87,7 +87,10 @@ func addOperationGetLifecyclePoliciesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dlm/api_op_GetLifecyclePolicy.go b/service/dlm/api_op_GetLifecyclePolicy.go index e22ae7510de..fc99e2808fd 100644 --- a/service/dlm/api_op_GetLifecyclePolicy.go +++ b/service/dlm/api_op_GetLifecyclePolicy.go @@ -74,7 +74,10 @@ func addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dlm/api_op_ListTagsForResource.go b/service/dlm/api_op_ListTagsForResource.go index ee2bf833031..7e7ec645960 100644 --- a/service/dlm/api_op_ListTagsForResource.go +++ b/service/dlm/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dlm/api_op_TagResource.go b/service/dlm/api_op_TagResource.go index 6985f1aaa98..47f9706e76b 100644 --- a/service/dlm/api_op_TagResource.go +++ b/service/dlm/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dlm/api_op_UntagResource.go b/service/dlm/api_op_UntagResource.go index 1f85e4f8c5d..7476119951e 100644 --- a/service/dlm/api_op_UntagResource.go +++ b/service/dlm/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dlm/api_op_UpdateLifecyclePolicy.go b/service/dlm/api_op_UpdateLifecyclePolicy.go index af5cd4376be..2c8701d5db5 100644 --- a/service/dlm/api_op_UpdateLifecyclePolicy.go +++ b/service/dlm/api_op_UpdateLifecyclePolicy.go @@ -84,7 +84,10 @@ func addOperationUpdateLifecyclePolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_AddTagsToResource.go b/service/docdb/api_op_AddTagsToResource.go index 03c00e028af..296ed193cc8 100644 --- a/service/docdb/api_op_AddTagsToResource.go +++ b/service/docdb/api_op_AddTagsToResource.go @@ -80,7 +80,10 @@ func addOperationAddTagsToResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_ApplyPendingMaintenanceAction.go b/service/docdb/api_op_ApplyPendingMaintenanceAction.go index 44f79e385e3..0880685c4cb 100644 --- a/service/docdb/api_op_ApplyPendingMaintenanceAction.go +++ b/service/docdb/api_op_ApplyPendingMaintenanceAction.go @@ -98,7 +98,10 @@ func addOperationApplyPendingMaintenanceActionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_CopyDBClusterParameterGroup.go b/service/docdb/api_op_CopyDBClusterParameterGroup.go index 167ad5df59a..566dd3f2424 100644 --- a/service/docdb/api_op_CopyDBClusterParameterGroup.go +++ b/service/docdb/api_op_CopyDBClusterParameterGroup.go @@ -113,7 +113,10 @@ func addOperationCopyDBClusterParameterGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_CopyDBClusterSnapshot.go b/service/docdb/api_op_CopyDBClusterSnapshot.go index fa9922b3f62..9825b2742be 100644 --- a/service/docdb/api_op_CopyDBClusterSnapshot.go +++ b/service/docdb/api_op_CopyDBClusterSnapshot.go @@ -162,7 +162,10 @@ func addOperationCopyDBClusterSnapshotMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_CreateDBCluster.go b/service/docdb/api_op_CreateDBCluster.go index 45e919d1f12..8a99fd179f7 100644 --- a/service/docdb/api_op_CreateDBCluster.go +++ b/service/docdb/api_op_CreateDBCluster.go @@ -200,7 +200,10 @@ func addOperationCreateDBClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_CreateDBClusterParameterGroup.go b/service/docdb/api_op_CreateDBClusterParameterGroup.go index 2f2048331d5..23df6a952c4 100644 --- a/service/docdb/api_op_CreateDBClusterParameterGroup.go +++ b/service/docdb/api_op_CreateDBClusterParameterGroup.go @@ -108,7 +108,10 @@ func addOperationCreateDBClusterParameterGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_CreateDBClusterSnapshot.go b/service/docdb/api_op_CreateDBClusterSnapshot.go index 0ffca563a91..68cc7323804 100644 --- a/service/docdb/api_op_CreateDBClusterSnapshot.go +++ b/service/docdb/api_op_CreateDBClusterSnapshot.go @@ -100,7 +100,10 @@ func addOperationCreateDBClusterSnapshotMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_CreateDBInstance.go b/service/docdb/api_op_CreateDBInstance.go index ac1d67257b2..5b370bf7473 100644 --- a/service/docdb/api_op_CreateDBInstance.go +++ b/service/docdb/api_op_CreateDBInstance.go @@ -126,7 +126,10 @@ func addOperationCreateDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_CreateDBSubnetGroup.go b/service/docdb/api_op_CreateDBSubnetGroup.go index 991b16b4215..1b4edc038e9 100644 --- a/service/docdb/api_op_CreateDBSubnetGroup.go +++ b/service/docdb/api_op_CreateDBSubnetGroup.go @@ -91,7 +91,10 @@ func addOperationCreateDBSubnetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DeleteDBCluster.go b/service/docdb/api_op_DeleteDBCluster.go index b9cfe256bda..239e82d96df 100644 --- a/service/docdb/api_op_DeleteDBCluster.go +++ b/service/docdb/api_op_DeleteDBCluster.go @@ -100,7 +100,10 @@ func addOperationDeleteDBClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DeleteDBClusterParameterGroup.go b/service/docdb/api_op_DeleteDBClusterParameterGroup.go index 24e327bb4f6..2e63637a7ba 100644 --- a/service/docdb/api_op_DeleteDBClusterParameterGroup.go +++ b/service/docdb/api_op_DeleteDBClusterParameterGroup.go @@ -79,7 +79,10 @@ func addOperationDeleteDBClusterParameterGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DeleteDBClusterSnapshot.go b/service/docdb/api_op_DeleteDBClusterSnapshot.go index a1ec8195bd2..924c05108f3 100644 --- a/service/docdb/api_op_DeleteDBClusterSnapshot.go +++ b/service/docdb/api_op_DeleteDBClusterSnapshot.go @@ -78,7 +78,10 @@ func addOperationDeleteDBClusterSnapshotMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DeleteDBInstance.go b/service/docdb/api_op_DeleteDBInstance.go index 9fc82d336f6..dab46eb6756 100644 --- a/service/docdb/api_op_DeleteDBInstance.go +++ b/service/docdb/api_op_DeleteDBInstance.go @@ -78,7 +78,10 @@ func addOperationDeleteDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DeleteDBSubnetGroup.go b/service/docdb/api_op_DeleteDBSubnetGroup.go index 8563006c14e..ebad273b362 100644 --- a/service/docdb/api_op_DeleteDBSubnetGroup.go +++ b/service/docdb/api_op_DeleteDBSubnetGroup.go @@ -73,7 +73,10 @@ func addOperationDeleteDBSubnetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeCertificates.go b/service/docdb/api_op_DescribeCertificates.go index d6442c750c7..96177d0487c 100644 --- a/service/docdb/api_op_DescribeCertificates.go +++ b/service/docdb/api_op_DescribeCertificates.go @@ -103,7 +103,10 @@ func addOperationDescribeCertificatesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeDBClusterParameterGroups.go b/service/docdb/api_op_DescribeDBClusterParameterGroups.go index 44a5b25bd19..905426c1ef3 100644 --- a/service/docdb/api_op_DescribeDBClusterParameterGroups.go +++ b/service/docdb/api_op_DescribeDBClusterParameterGroups.go @@ -100,7 +100,10 @@ func addOperationDescribeDBClusterParameterGroupsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeDBClusterParameters.go b/service/docdb/api_op_DescribeDBClusterParameters.go index 935fe4e47a8..06631d6fbb6 100644 --- a/service/docdb/api_op_DescribeDBClusterParameters.go +++ b/service/docdb/api_op_DescribeDBClusterParameters.go @@ -104,7 +104,10 @@ func addOperationDescribeDBClusterParametersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go b/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go index 97ba20fd482..a5cd7bbfe28 100644 --- a/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go +++ b/service/docdb/api_op_DescribeDBClusterSnapshotAttributes.go @@ -82,7 +82,10 @@ func addOperationDescribeDBClusterSnapshotAttributesMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeDBClusterSnapshots.go b/service/docdb/api_op_DescribeDBClusterSnapshots.go index 2d16e12035d..f96e0e34903 100644 --- a/service/docdb/api_op_DescribeDBClusterSnapshots.go +++ b/service/docdb/api_op_DescribeDBClusterSnapshots.go @@ -147,7 +147,10 @@ func addOperationDescribeDBClusterSnapshotsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeDBClusters.go b/service/docdb/api_op_DescribeDBClusters.go index 495d656ed80..fce00723d9b 100644 --- a/service/docdb/api_op_DescribeDBClusters.go +++ b/service/docdb/api_op_DescribeDBClusters.go @@ -109,7 +109,10 @@ func addOperationDescribeDBClustersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeDBEngineVersions.go b/service/docdb/api_op_DescribeDBEngineVersions.go index b46faf9d3de..798a37edcc9 100644 --- a/service/docdb/api_op_DescribeDBEngineVersions.go +++ b/service/docdb/api_op_DescribeDBEngineVersions.go @@ -117,7 +117,10 @@ func addOperationDescribeDBEngineVersionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeDBInstances.go b/service/docdb/api_op_DescribeDBInstances.go index f18f1bb1d6e..e52563dffa1 100644 --- a/service/docdb/api_op_DescribeDBInstances.go +++ b/service/docdb/api_op_DescribeDBInstances.go @@ -114,7 +114,10 @@ func addOperationDescribeDBInstancesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeDBSubnetGroups.go b/service/docdb/api_op_DescribeDBSubnetGroups.go index 859036030be..118315fb6df 100644 --- a/service/docdb/api_op_DescribeDBSubnetGroups.go +++ b/service/docdb/api_op_DescribeDBSubnetGroups.go @@ -96,7 +96,10 @@ func addOperationDescribeDBSubnetGroupsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go b/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go index dc4e2019ee8..45a9901a3bb 100644 --- a/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go +++ b/service/docdb/api_op_DescribeEngineDefaultClusterParameters.go @@ -92,7 +92,10 @@ func addOperationDescribeEngineDefaultClusterParametersMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeEventCategories.go b/service/docdb/api_op_DescribeEventCategories.go index ba546a3fa44..d29152f951a 100644 --- a/service/docdb/api_op_DescribeEventCategories.go +++ b/service/docdb/api_op_DescribeEventCategories.go @@ -79,7 +79,10 @@ func addOperationDescribeEventCategoriesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeEvents.go b/service/docdb/api_op_DescribeEvents.go index 1d146470d42..a13d2973829 100644 --- a/service/docdb/api_op_DescribeEvents.go +++ b/service/docdb/api_op_DescribeEvents.go @@ -137,7 +137,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go b/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go index 4c38679884c..04e5ef703ce 100644 --- a/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go +++ b/service/docdb/api_op_DescribeOrderableDBInstanceOptions.go @@ -112,7 +112,10 @@ func addOperationDescribeOrderableDBInstanceOptionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_DescribePendingMaintenanceActions.go b/service/docdb/api_op_DescribePendingMaintenanceActions.go index b379306d583..b2dbe2525bf 100644 --- a/service/docdb/api_op_DescribePendingMaintenanceActions.go +++ b/service/docdb/api_op_DescribePendingMaintenanceActions.go @@ -104,7 +104,10 @@ func addOperationDescribePendingMaintenanceActionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_FailoverDBCluster.go b/service/docdb/api_op_FailoverDBCluster.go index 3ea030e375e..df224100649 100644 --- a/service/docdb/api_op_FailoverDBCluster.go +++ b/service/docdb/api_op_FailoverDBCluster.go @@ -86,7 +86,10 @@ func addOperationFailoverDBClusterMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_ListTagsForResource.go b/service/docdb/api_op_ListTagsForResource.go index 5e69920bfd7..5050fc963b2 100644 --- a/service/docdb/api_op_ListTagsForResource.go +++ b/service/docdb/api_op_ListTagsForResource.go @@ -80,7 +80,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_ModifyDBCluster.go b/service/docdb/api_op_ModifyDBCluster.go index e2e64d47e45..60f36c22b4f 100644 --- a/service/docdb/api_op_ModifyDBCluster.go +++ b/service/docdb/api_op_ModifyDBCluster.go @@ -167,7 +167,10 @@ func addOperationModifyDBClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_ModifyDBClusterParameterGroup.go b/service/docdb/api_op_ModifyDBClusterParameterGroup.go index 9acae80d8c7..45f8bd34652 100644 --- a/service/docdb/api_op_ModifyDBClusterParameterGroup.go +++ b/service/docdb/api_op_ModifyDBClusterParameterGroup.go @@ -103,7 +103,10 @@ func addOperationModifyDBClusterParameterGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go b/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go index 6bd122958bf..132fd43fdea 100644 --- a/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go +++ b/service/docdb/api_op_ModifyDBClusterSnapshotAttribute.go @@ -110,7 +110,10 @@ func addOperationModifyDBClusterSnapshotAttributeMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_ModifyDBInstance.go b/service/docdb/api_op_ModifyDBInstance.go index db1a96f0287..172d1475c82 100644 --- a/service/docdb/api_op_ModifyDBInstance.go +++ b/service/docdb/api_op_ModifyDBInstance.go @@ -140,7 +140,10 @@ func addOperationModifyDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_ModifyDBSubnetGroup.go b/service/docdb/api_op_ModifyDBSubnetGroup.go index a0a1e3c8825..b3792f4e263 100644 --- a/service/docdb/api_op_ModifyDBSubnetGroup.go +++ b/service/docdb/api_op_ModifyDBSubnetGroup.go @@ -86,7 +86,10 @@ func addOperationModifyDBSubnetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_RebootDBInstance.go b/service/docdb/api_op_RebootDBInstance.go index d4d8a7bcae0..245034964cb 100644 --- a/service/docdb/api_op_RebootDBInstance.go +++ b/service/docdb/api_op_RebootDBInstance.go @@ -87,7 +87,10 @@ func addOperationRebootDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_RemoveTagsFromResource.go b/service/docdb/api_op_RemoveTagsFromResource.go index 2089263781c..313bc197456 100644 --- a/service/docdb/api_op_RemoveTagsFromResource.go +++ b/service/docdb/api_op_RemoveTagsFromResource.go @@ -76,7 +76,10 @@ func addOperationRemoveTagsFromResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_ResetDBClusterParameterGroup.go b/service/docdb/api_op_ResetDBClusterParameterGroup.go index c9daba4a309..e7aa6e172a2 100644 --- a/service/docdb/api_op_ResetDBClusterParameterGroup.go +++ b/service/docdb/api_op_ResetDBClusterParameterGroup.go @@ -103,7 +103,10 @@ func addOperationResetDBClusterParameterGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_RestoreDBClusterFromSnapshot.go b/service/docdb/api_op_RestoreDBClusterFromSnapshot.go index e959467f212..c4439892a14 100644 --- a/service/docdb/api_op_RestoreDBClusterFromSnapshot.go +++ b/service/docdb/api_op_RestoreDBClusterFromSnapshot.go @@ -156,7 +156,10 @@ func addOperationRestoreDBClusterFromSnapshotMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_RestoreDBClusterToPointInTime.go b/service/docdb/api_op_RestoreDBClusterToPointInTime.go index e4059a406b2..2b099395f16 100644 --- a/service/docdb/api_op_RestoreDBClusterToPointInTime.go +++ b/service/docdb/api_op_RestoreDBClusterToPointInTime.go @@ -164,7 +164,10 @@ func addOperationRestoreDBClusterToPointInTimeMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_StartDBCluster.go b/service/docdb/api_op_StartDBCluster.go index 3e2d737adb1..10bef11419b 100644 --- a/service/docdb/api_op_StartDBCluster.go +++ b/service/docdb/api_op_StartDBCluster.go @@ -76,7 +76,10 @@ func addOperationStartDBClusterMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/docdb/api_op_StopDBCluster.go b/service/docdb/api_op_StopDBCluster.go index 0c86ea6acc5..dd314b56812 100644 --- a/service/docdb/api_op_StopDBCluster.go +++ b/service/docdb/api_op_StopDBCluster.go @@ -77,7 +77,10 @@ func addOperationStopDBClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_BatchExecuteStatement.go b/service/dynamodb/api_op_BatchExecuteStatement.go index 4056bc25574..bfbd97feedd 100644 --- a/service/dynamodb/api_op_BatchExecuteStatement.go +++ b/service/dynamodb/api_op_BatchExecuteStatement.go @@ -75,7 +75,10 @@ func addOperationBatchExecuteStatementMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_BatchGetItem.go b/service/dynamodb/api_op_BatchGetItem.go index a1b04f99ca7..dc21da27163 100644 --- a/service/dynamodb/api_op_BatchGetItem.go +++ b/service/dynamodb/api_op_BatchGetItem.go @@ -234,7 +234,10 @@ func addOperationBatchGetItemMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_BatchWriteItem.go b/service/dynamodb/api_op_BatchWriteItem.go index 12a5d65755f..53cb71887b0 100644 --- a/service/dynamodb/api_op_BatchWriteItem.go +++ b/service/dynamodb/api_op_BatchWriteItem.go @@ -241,7 +241,10 @@ func addOperationBatchWriteItemMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_CreateBackup.go b/service/dynamodb/api_op_CreateBackup.go index 12a5e0c489a..809626e10c4 100644 --- a/service/dynamodb/api_op_CreateBackup.go +++ b/service/dynamodb/api_op_CreateBackup.go @@ -101,7 +101,10 @@ func addOperationCreateBackupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_CreateGlobalTable.go b/service/dynamodb/api_op_CreateGlobalTable.go index a3ab616ff2f..71c58f33eb7 100644 --- a/service/dynamodb/api_op_CreateGlobalTable.go +++ b/service/dynamodb/api_op_CreateGlobalTable.go @@ -123,7 +123,10 @@ func addOperationCreateGlobalTableMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_CreateTable.go b/service/dynamodb/api_op_CreateTable.go index a79f451ac8f..61e1de2cacd 100644 --- a/service/dynamodb/api_op_CreateTable.go +++ b/service/dynamodb/api_op_CreateTable.go @@ -258,7 +258,10 @@ func addOperationCreateTableMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DeleteBackup.go b/service/dynamodb/api_op_DeleteBackup.go index 9347148cf2c..b7ec911a173 100644 --- a/service/dynamodb/api_op_DeleteBackup.go +++ b/service/dynamodb/api_op_DeleteBackup.go @@ -75,7 +75,10 @@ func addOperationDeleteBackupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DeleteItem.go b/service/dynamodb/api_op_DeleteItem.go index d1cccd87748..e4dca21b313 100644 --- a/service/dynamodb/api_op_DeleteItem.go +++ b/service/dynamodb/api_op_DeleteItem.go @@ -247,7 +247,10 @@ func addOperationDeleteItemMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DeleteTable.go b/service/dynamodb/api_op_DeleteTable.go index 511667f3872..d81f8dc52df 100644 --- a/service/dynamodb/api_op_DeleteTable.go +++ b/service/dynamodb/api_op_DeleteTable.go @@ -88,7 +88,10 @@ func addOperationDeleteTableMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeBackup.go b/service/dynamodb/api_op_DescribeBackup.go index 02c0a3a855d..eddb64419aa 100644 --- a/service/dynamodb/api_op_DescribeBackup.go +++ b/service/dynamodb/api_op_DescribeBackup.go @@ -75,7 +75,10 @@ func addOperationDescribeBackupMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeContinuousBackups.go b/service/dynamodb/api_op_DescribeContinuousBackups.go index 7db75159f1b..512c6c9835c 100644 --- a/service/dynamodb/api_op_DescribeContinuousBackups.go +++ b/service/dynamodb/api_op_DescribeContinuousBackups.go @@ -84,7 +84,10 @@ func addOperationDescribeContinuousBackupsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeContributorInsights.go b/service/dynamodb/api_op_DescribeContributorInsights.go index 126033de29c..8b672aaf904 100644 --- a/service/dynamodb/api_op_DescribeContributorInsights.go +++ b/service/dynamodb/api_op_DescribeContributorInsights.go @@ -110,7 +110,10 @@ func addOperationDescribeContributorInsightsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeEndpoints.go b/service/dynamodb/api_op_DescribeEndpoints.go index fd59510d250..b5575ef893f 100644 --- a/service/dynamodb/api_op_DescribeEndpoints.go +++ b/service/dynamodb/api_op_DescribeEndpoints.go @@ -71,7 +71,10 @@ func addOperationDescribeEndpointsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeExport.go b/service/dynamodb/api_op_DescribeExport.go index 3a6d89ab786..f94ef45de95 100644 --- a/service/dynamodb/api_op_DescribeExport.go +++ b/service/dynamodb/api_op_DescribeExport.go @@ -74,7 +74,10 @@ func addOperationDescribeExportMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeGlobalTable.go b/service/dynamodb/api_op_DescribeGlobalTable.go index 325e3ca433c..01fd2db7ccf 100644 --- a/service/dynamodb/api_op_DescribeGlobalTable.go +++ b/service/dynamodb/api_op_DescribeGlobalTable.go @@ -81,7 +81,10 @@ func addOperationDescribeGlobalTableMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeGlobalTableSettings.go b/service/dynamodb/api_op_DescribeGlobalTableSettings.go index 006a35af2a0..76176c08435 100644 --- a/service/dynamodb/api_op_DescribeGlobalTableSettings.go +++ b/service/dynamodb/api_op_DescribeGlobalTableSettings.go @@ -80,7 +80,10 @@ func addOperationDescribeGlobalTableSettingsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go b/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go index 4485bf06c03..3caa55f614a 100644 --- a/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_DescribeKinesisStreamingDestination.go @@ -77,7 +77,10 @@ func addOperationDescribeKinesisStreamingDestinationMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeLimits.go b/service/dynamodb/api_op_DescribeLimits.go index b6f8532bb8f..c104fd2148a 100644 --- a/service/dynamodb/api_op_DescribeLimits.go +++ b/service/dynamodb/api_op_DescribeLimits.go @@ -138,7 +138,10 @@ func addOperationDescribeLimitsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeTable.go b/service/dynamodb/api_op_DescribeTable.go index e993d207690..00ab3b88346 100644 --- a/service/dynamodb/api_op_DescribeTable.go +++ b/service/dynamodb/api_op_DescribeTable.go @@ -88,7 +88,10 @@ func addOperationDescribeTableMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go b/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go index 95f43d146ca..cf1e360dd65 100644 --- a/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go +++ b/service/dynamodb/api_op_DescribeTableReplicaAutoScaling.go @@ -77,7 +77,10 @@ func addOperationDescribeTableReplicaAutoScalingMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DescribeTimeToLive.go b/service/dynamodb/api_op_DescribeTimeToLive.go index 71cc04a25dd..0064bab369f 100644 --- a/service/dynamodb/api_op_DescribeTimeToLive.go +++ b/service/dynamodb/api_op_DescribeTimeToLive.go @@ -74,7 +74,10 @@ func addOperationDescribeTimeToLiveMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_DisableKinesisStreamingDestination.go b/service/dynamodb/api_op_DisableKinesisStreamingDestination.go index b298d937728..4c07acd8f5d 100644 --- a/service/dynamodb/api_op_DisableKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_DisableKinesisStreamingDestination.go @@ -86,7 +86,10 @@ func addOperationDisableKinesisStreamingDestinationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_EnableKinesisStreamingDestination.go b/service/dynamodb/api_op_EnableKinesisStreamingDestination.go index 8d78dc42fd6..ac753423b86 100644 --- a/service/dynamodb/api_op_EnableKinesisStreamingDestination.go +++ b/service/dynamodb/api_op_EnableKinesisStreamingDestination.go @@ -88,7 +88,10 @@ func addOperationEnableKinesisStreamingDestinationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_ExecuteStatement.go b/service/dynamodb/api_op_ExecuteStatement.go index c085cc9e36f..2ce647f3336 100644 --- a/service/dynamodb/api_op_ExecuteStatement.go +++ b/service/dynamodb/api_op_ExecuteStatement.go @@ -93,7 +93,10 @@ func addOperationExecuteStatementMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_ExecuteTransaction.go b/service/dynamodb/api_op_ExecuteTransaction.go index 8e46dbe9d0c..a459ec27ca7 100644 --- a/service/dynamodb/api_op_ExecuteTransaction.go +++ b/service/dynamodb/api_op_ExecuteTransaction.go @@ -80,7 +80,10 @@ func addOperationExecuteTransactionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_ExportTableToPointInTime.go b/service/dynamodb/api_op_ExportTableToPointInTime.go index 4f1ca01fa54..540a01a9ac7 100644 --- a/service/dynamodb/api_op_ExportTableToPointInTime.go +++ b/service/dynamodb/api_op_ExportTableToPointInTime.go @@ -122,7 +122,10 @@ func addOperationExportTableToPointInTimeMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_GetItem.go b/service/dynamodb/api_op_GetItem.go index d4965b97f25..a86c2faf448 100644 --- a/service/dynamodb/api_op_GetItem.go +++ b/service/dynamodb/api_op_GetItem.go @@ -180,7 +180,10 @@ func addOperationGetItemMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_ListBackups.go b/service/dynamodb/api_op_ListBackups.go index e79d13f50e1..9a31a01b080 100644 --- a/service/dynamodb/api_op_ListBackups.go +++ b/service/dynamodb/api_op_ListBackups.go @@ -119,7 +119,10 @@ func addOperationListBackupsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_ListContributorInsights.go b/service/dynamodb/api_op_ListContributorInsights.go index 3be6e286e60..8b458218ca1 100644 --- a/service/dynamodb/api_op_ListContributorInsights.go +++ b/service/dynamodb/api_op_ListContributorInsights.go @@ -83,7 +83,10 @@ func addOperationListContributorInsightsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_ListExports.go b/service/dynamodb/api_op_ListExports.go index 1ddf3777dd0..1d68cd3862b 100644 --- a/service/dynamodb/api_op_ListExports.go +++ b/service/dynamodb/api_op_ListExports.go @@ -85,7 +85,10 @@ func addOperationListExportsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_ListGlobalTables.go b/service/dynamodb/api_op_ListGlobalTables.go index 8bc13d3567a..8b59fa89534 100644 --- a/service/dynamodb/api_op_ListGlobalTables.go +++ b/service/dynamodb/api_op_ListGlobalTables.go @@ -88,7 +88,10 @@ func addOperationListGlobalTablesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_ListTables.go b/service/dynamodb/api_op_ListTables.go index fbef9ed5d68..eb347fea196 100644 --- a/service/dynamodb/api_op_ListTables.go +++ b/service/dynamodb/api_op_ListTables.go @@ -93,7 +93,10 @@ func addOperationListTablesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_ListTagsOfResource.go b/service/dynamodb/api_op_ListTagsOfResource.go index b19443d9ae5..df509cf710c 100644 --- a/service/dynamodb/api_op_ListTagsOfResource.go +++ b/service/dynamodb/api_op_ListTagsOfResource.go @@ -88,7 +88,10 @@ func addOperationListTagsOfResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_PutItem.go b/service/dynamodb/api_op_PutItem.go index ed8ed044802..a9fd9bf35bf 100644 --- a/service/dynamodb/api_op_PutItem.go +++ b/service/dynamodb/api_op_PutItem.go @@ -308,7 +308,10 @@ func addOperationPutItemMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_Query.go b/service/dynamodb/api_op_Query.go index 4128973ecc1..b0d65372de5 100644 --- a/service/dynamodb/api_op_Query.go +++ b/service/dynamodb/api_op_Query.go @@ -423,7 +423,10 @@ func addOperationQueryMiddlewares(stack *middleware.Stack, options Options) (err if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_RestoreTableFromBackup.go b/service/dynamodb/api_op_RestoreTableFromBackup.go index a7704a11b32..a598b83d9c8 100644 --- a/service/dynamodb/api_op_RestoreTableFromBackup.go +++ b/service/dynamodb/api_op_RestoreTableFromBackup.go @@ -115,7 +115,10 @@ func addOperationRestoreTableFromBackupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_RestoreTableToPointInTime.go b/service/dynamodb/api_op_RestoreTableToPointInTime.go index 4fa0edfb5dc..dcee7dec947 100644 --- a/service/dynamodb/api_op_RestoreTableToPointInTime.go +++ b/service/dynamodb/api_op_RestoreTableToPointInTime.go @@ -145,7 +145,10 @@ func addOperationRestoreTableToPointInTimeMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_Scan.go b/service/dynamodb/api_op_Scan.go index 67a61b0b7c9..834ecf8e941 100644 --- a/service/dynamodb/api_op_Scan.go +++ b/service/dynamodb/api_op_Scan.go @@ -347,7 +347,10 @@ func addOperationScanMiddlewares(stack *middleware.Stack, options Options) (err if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_TagResource.go b/service/dynamodb/api_op_TagResource.go index 815683b7dd5..a9ab628f62b 100644 --- a/service/dynamodb/api_op_TagResource.go +++ b/service/dynamodb/api_op_TagResource.go @@ -82,7 +82,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_TransactGetItems.go b/service/dynamodb/api_op_TransactGetItems.go index 29bdfc8c1f3..75cc5a9b8cd 100644 --- a/service/dynamodb/api_op_TransactGetItems.go +++ b/service/dynamodb/api_op_TransactGetItems.go @@ -111,7 +111,10 @@ func addOperationTransactGetItemsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_TransactWriteItems.go b/service/dynamodb/api_op_TransactWriteItems.go index 1d68bb06d4a..b4b3f1517a9 100644 --- a/service/dynamodb/api_op_TransactWriteItems.go +++ b/service/dynamodb/api_op_TransactWriteItems.go @@ -181,7 +181,10 @@ func addOperationTransactWriteItemsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_UntagResource.go b/service/dynamodb/api_op_UntagResource.go index f77ab8de625..b7e84d8fc1d 100644 --- a/service/dynamodb/api_op_UntagResource.go +++ b/service/dynamodb/api_op_UntagResource.go @@ -80,7 +80,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_UpdateContinuousBackups.go b/service/dynamodb/api_op_UpdateContinuousBackups.go index 7d7292c958a..affbb74e2c5 100644 --- a/service/dynamodb/api_op_UpdateContinuousBackups.go +++ b/service/dynamodb/api_op_UpdateContinuousBackups.go @@ -88,7 +88,10 @@ func addOperationUpdateContinuousBackupsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_UpdateContributorInsights.go b/service/dynamodb/api_op_UpdateContributorInsights.go index 05c7c147257..5ad521f490a 100644 --- a/service/dynamodb/api_op_UpdateContributorInsights.go +++ b/service/dynamodb/api_op_UpdateContributorInsights.go @@ -88,7 +88,10 @@ func addOperationUpdateContributorInsightsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_UpdateGlobalTable.go b/service/dynamodb/api_op_UpdateGlobalTable.go index f6ba0421513..de2a374af83 100644 --- a/service/dynamodb/api_op_UpdateGlobalTable.go +++ b/service/dynamodb/api_op_UpdateGlobalTable.go @@ -95,7 +95,10 @@ func addOperationUpdateGlobalTableMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_UpdateGlobalTableSettings.go b/service/dynamodb/api_op_UpdateGlobalTableSettings.go index d349df9e127..a829644cd2f 100644 --- a/service/dynamodb/api_op_UpdateGlobalTableSettings.go +++ b/service/dynamodb/api_op_UpdateGlobalTableSettings.go @@ -106,7 +106,10 @@ func addOperationUpdateGlobalTableSettingsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_UpdateItem.go b/service/dynamodb/api_op_UpdateItem.go index 6b563871efe..d09d387cec7 100644 --- a/service/dynamodb/api_op_UpdateItem.go +++ b/service/dynamodb/api_op_UpdateItem.go @@ -333,7 +333,10 @@ func addOperationUpdateItemMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_UpdateTable.go b/service/dynamodb/api_op_UpdateTable.go index d1a7e78e81e..10f6532d915 100644 --- a/service/dynamodb/api_op_UpdateTable.go +++ b/service/dynamodb/api_op_UpdateTable.go @@ -154,7 +154,10 @@ func addOperationUpdateTableMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go b/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go index 41b337662a8..3c2acf859bf 100644 --- a/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go +++ b/service/dynamodb/api_op_UpdateTableReplicaAutoScaling.go @@ -89,7 +89,10 @@ func addOperationUpdateTableReplicaAutoScalingMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodb/api_op_UpdateTimeToLive.go b/service/dynamodb/api_op_UpdateTimeToLive.go index 83c0fd15827..c43964bd876 100644 --- a/service/dynamodb/api_op_UpdateTimeToLive.go +++ b/service/dynamodb/api_op_UpdateTimeToLive.go @@ -99,7 +99,10 @@ func addOperationUpdateTimeToLiveMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodbstreams/api_op_DescribeStream.go b/service/dynamodbstreams/api_op_DescribeStream.go index 09053f2b4bd..1a18f338183 100644 --- a/service/dynamodbstreams/api_op_DescribeStream.go +++ b/service/dynamodbstreams/api_op_DescribeStream.go @@ -92,7 +92,10 @@ func addOperationDescribeStreamMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodbstreams/api_op_GetRecords.go b/service/dynamodbstreams/api_op_GetRecords.go index 69d70b0f620..d535aa2a06b 100644 --- a/service/dynamodbstreams/api_op_GetRecords.go +++ b/service/dynamodbstreams/api_op_GetRecords.go @@ -93,7 +93,10 @@ func addOperationGetRecordsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodbstreams/api_op_GetShardIterator.go b/service/dynamodbstreams/api_op_GetShardIterator.go index 1a2e5e7971a..2ffd7a3c423 100644 --- a/service/dynamodbstreams/api_op_GetShardIterator.go +++ b/service/dynamodbstreams/api_op_GetShardIterator.go @@ -111,7 +111,10 @@ func addOperationGetShardIteratorMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/dynamodbstreams/api_op_ListStreams.go b/service/dynamodbstreams/api_op_ListStreams.go index ea789990fd7..2352162b63a 100644 --- a/service/dynamodbstreams/api_op_ListStreams.go +++ b/service/dynamodbstreams/api_op_ListStreams.go @@ -95,7 +95,10 @@ func addOperationListStreamsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ebs/api_op_CompleteSnapshot.go b/service/ebs/api_op_CompleteSnapshot.go index b82f34965a9..173dfec9bcf 100644 --- a/service/ebs/api_op_CompleteSnapshot.go +++ b/service/ebs/api_op_CompleteSnapshot.go @@ -96,7 +96,10 @@ func addOperationCompleteSnapshotMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ebs/api_op_GetSnapshotBlock.go b/service/ebs/api_op_GetSnapshotBlock.go index 23e08f301d1..a95d7e2a90a 100644 --- a/service/ebs/api_op_GetSnapshotBlock.go +++ b/service/ebs/api_op_GetSnapshotBlock.go @@ -96,7 +96,10 @@ func addOperationGetSnapshotBlockMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ebs/api_op_ListChangedBlocks.go b/service/ebs/api_op_ListChangedBlocks.go index 3124153b7a7..ead395d882c 100644 --- a/service/ebs/api_op_ListChangedBlocks.go +++ b/service/ebs/api_op_ListChangedBlocks.go @@ -107,7 +107,10 @@ func addOperationListChangedBlocksMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ebs/api_op_ListSnapshotBlocks.go b/service/ebs/api_op_ListSnapshotBlocks.go index b7d7b921388..65dd25942dc 100644 --- a/service/ebs/api_op_ListSnapshotBlocks.go +++ b/service/ebs/api_op_ListSnapshotBlocks.go @@ -99,7 +99,10 @@ func addOperationListSnapshotBlocksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ebs/api_op_PutSnapshotBlock.go b/service/ebs/api_op_PutSnapshotBlock.go index 52e9b84c514..978362355b4 100644 --- a/service/ebs/api_op_PutSnapshotBlock.go +++ b/service/ebs/api_op_PutSnapshotBlock.go @@ -127,7 +127,10 @@ func addOperationPutSnapshotBlockMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ebs/api_op_StartSnapshot.go b/service/ebs/api_op_StartSnapshot.go index 46f11e6617d..2c726cc7cda 100644 --- a/service/ebs/api_op_StartSnapshot.go +++ b/service/ebs/api_op_StartSnapshot.go @@ -170,7 +170,10 @@ func addOperationStartSnapshotMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go b/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go index db65ea34b90..776c60da82d 100644 --- a/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go +++ b/service/ec2/api_op_AcceptReservedInstancesExchangeQuote.go @@ -88,7 +88,10 @@ func addOperationAcceptReservedInstancesExchangeQuoteMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go index 77fbe35b6af..2a85e0d5009 100644 --- a/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_AcceptTransitGatewayMulticastDomainAssociations.go @@ -84,7 +84,10 @@ func addOperationAcceptTransitGatewayMulticastDomainAssociationsMiddlewares(stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go b/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go index e37fb578942..e54ad260f04 100644 --- a/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_AcceptTransitGatewayPeeringAttachment.go @@ -81,7 +81,10 @@ func addOperationAcceptTransitGatewayPeeringAttachmentMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go b/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go index 8aec4bf56aa..85698ae1000 100644 --- a/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_AcceptTransitGatewayVpcAttachment.go @@ -83,7 +83,10 @@ func addOperationAcceptTransitGatewayVpcAttachmentMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AcceptVpcEndpointConnections.go b/service/ec2/api_op_AcceptVpcEndpointConnections.go index 25453fe5a54..77042f8ac5d 100644 --- a/service/ec2/api_op_AcceptVpcEndpointConnections.go +++ b/service/ec2/api_op_AcceptVpcEndpointConnections.go @@ -86,7 +86,10 @@ func addOperationAcceptVpcEndpointConnectionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AcceptVpcPeeringConnection.go b/service/ec2/api_op_AcceptVpcPeeringConnection.go index 4b51afeeebd..c393fdf20ea 100644 --- a/service/ec2/api_op_AcceptVpcPeeringConnection.go +++ b/service/ec2/api_op_AcceptVpcPeeringConnection.go @@ -83,7 +83,10 @@ func addOperationAcceptVpcPeeringConnectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AdvertiseByoipCidr.go b/service/ec2/api_op_AdvertiseByoipCidr.go index be195c490d4..179eb8cbdf8 100644 --- a/service/ec2/api_op_AdvertiseByoipCidr.go +++ b/service/ec2/api_op_AdvertiseByoipCidr.go @@ -90,7 +90,10 @@ func addOperationAdvertiseByoipCidrMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AllocateAddress.go b/service/ec2/api_op_AllocateAddress.go index 2fb084470e9..6832e33fdc0 100644 --- a/service/ec2/api_op_AllocateAddress.go +++ b/service/ec2/api_op_AllocateAddress.go @@ -155,7 +155,10 @@ func addOperationAllocateAddressMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AllocateHosts.go b/service/ec2/api_op_AllocateHosts.go index c643828b0da..a1aeee26170 100644 --- a/service/ec2/api_op_AllocateHosts.go +++ b/service/ec2/api_op_AllocateHosts.go @@ -120,7 +120,10 @@ func addOperationAllocateHostsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go b/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go index 756d0f8baa7..f46bed461f9 100644 --- a/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go +++ b/service/ec2/api_op_ApplySecurityGroupsToClientVpnTargetNetwork.go @@ -92,7 +92,10 @@ func addOperationApplySecurityGroupsToClientVpnTargetNetworkMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssignIpv6Addresses.go b/service/ec2/api_op_AssignIpv6Addresses.go index 205a3905b4d..294bd70a302 100644 --- a/service/ec2/api_op_AssignIpv6Addresses.go +++ b/service/ec2/api_op_AssignIpv6Addresses.go @@ -93,7 +93,10 @@ func addOperationAssignIpv6AddressesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssignPrivateIpAddresses.go b/service/ec2/api_op_AssignPrivateIpAddresses.go index bb0e19b1605..8ab803bcba8 100644 --- a/service/ec2/api_op_AssignPrivateIpAddresses.go +++ b/service/ec2/api_op_AssignPrivateIpAddresses.go @@ -109,7 +109,10 @@ func addOperationAssignPrivateIpAddressesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateAddress.go b/service/ec2/api_op_AssociateAddress.go index fdc0f859b58..018253296a2 100644 --- a/service/ec2/api_op_AssociateAddress.go +++ b/service/ec2/api_op_AssociateAddress.go @@ -130,7 +130,10 @@ func addOperationAssociateAddressMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateClientVpnTargetNetwork.go b/service/ec2/api_op_AssociateClientVpnTargetNetwork.go index 59479f54acd..968d344eef0 100644 --- a/service/ec2/api_op_AssociateClientVpnTargetNetwork.go +++ b/service/ec2/api_op_AssociateClientVpnTargetNetwork.go @@ -102,7 +102,10 @@ func addOperationAssociateClientVpnTargetNetworkMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateDhcpOptions.go b/service/ec2/api_op_AssociateDhcpOptions.go index bdc166c4d38..aa6861eecd9 100644 --- a/service/ec2/api_op_AssociateDhcpOptions.go +++ b/service/ec2/api_op_AssociateDhcpOptions.go @@ -90,7 +90,10 @@ func addOperationAssociateDhcpOptionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go b/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go index bd9b9ed24d2..b9e655f8c49 100644 --- a/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go +++ b/service/ec2/api_op_AssociateEnclaveCertificateIamRole.go @@ -105,7 +105,10 @@ func addOperationAssociateEnclaveCertificateIamRoleMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateIamInstanceProfile.go b/service/ec2/api_op_AssociateIamInstanceProfile.go index c4af5017f41..88e6778cad2 100644 --- a/service/ec2/api_op_AssociateIamInstanceProfile.go +++ b/service/ec2/api_op_AssociateIamInstanceProfile.go @@ -80,7 +80,10 @@ func addOperationAssociateIamInstanceProfileMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateRouteTable.go b/service/ec2/api_op_AssociateRouteTable.go index f67ccff8464..0dd54d411ac 100644 --- a/service/ec2/api_op_AssociateRouteTable.go +++ b/service/ec2/api_op_AssociateRouteTable.go @@ -97,7 +97,10 @@ func addOperationAssociateRouteTableMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateSubnetCidrBlock.go b/service/ec2/api_op_AssociateSubnetCidrBlock.go index 5795904fcf7..72dabbd431e 100644 --- a/service/ec2/api_op_AssociateSubnetCidrBlock.go +++ b/service/ec2/api_op_AssociateSubnetCidrBlock.go @@ -84,7 +84,10 @@ func addOperationAssociateSubnetCidrBlockMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go b/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go index 821527bdbaf..768c8b2f844 100644 --- a/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_AssociateTransitGatewayMulticastDomain.go @@ -90,7 +90,10 @@ func addOperationAssociateTransitGatewayMulticastDomainMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateTransitGatewayRouteTable.go b/service/ec2/api_op_AssociateTransitGatewayRouteTable.go index 635b060a784..c4d832e5703 100644 --- a/service/ec2/api_op_AssociateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_AssociateTransitGatewayRouteTable.go @@ -86,7 +86,10 @@ func addOperationAssociateTransitGatewayRouteTableMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AssociateVpcCidrBlock.go b/service/ec2/api_op_AssociateVpcCidrBlock.go index c668284b200..9026f4f81df 100644 --- a/service/ec2/api_op_AssociateVpcCidrBlock.go +++ b/service/ec2/api_op_AssociateVpcCidrBlock.go @@ -111,7 +111,10 @@ func addOperationAssociateVpcCidrBlockMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AttachClassicLinkVpc.go b/service/ec2/api_op_AttachClassicLinkVpc.go index a26e52f3538..1f064675ecc 100644 --- a/service/ec2/api_op_AttachClassicLinkVpc.go +++ b/service/ec2/api_op_AttachClassicLinkVpc.go @@ -98,7 +98,10 @@ func addOperationAttachClassicLinkVpcMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AttachInternetGateway.go b/service/ec2/api_op_AttachInternetGateway.go index ef65b2bcaff..35836b86730 100644 --- a/service/ec2/api_op_AttachInternetGateway.go +++ b/service/ec2/api_op_AttachInternetGateway.go @@ -83,7 +83,10 @@ func addOperationAttachInternetGatewayMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AttachNetworkInterface.go b/service/ec2/api_op_AttachNetworkInterface.go index a306b929447..8cbcf46c66b 100644 --- a/service/ec2/api_op_AttachNetworkInterface.go +++ b/service/ec2/api_op_AttachNetworkInterface.go @@ -99,7 +99,10 @@ func addOperationAttachNetworkInterfaceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AttachVolume.go b/service/ec2/api_op_AttachVolume.go index bb6e34d2e7e..7db1ceb96fd 100644 --- a/service/ec2/api_op_AttachVolume.go +++ b/service/ec2/api_op_AttachVolume.go @@ -134,7 +134,10 @@ func addOperationAttachVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AttachVpnGateway.go b/service/ec2/api_op_AttachVpnGateway.go index 34c5474f4dd..383df700267 100644 --- a/service/ec2/api_op_AttachVpnGateway.go +++ b/service/ec2/api_op_AttachVpnGateway.go @@ -90,7 +90,10 @@ func addOperationAttachVpnGatewayMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AuthorizeClientVpnIngress.go b/service/ec2/api_op_AuthorizeClientVpnIngress.go index 23e27b6abfa..5ec94629b28 100644 --- a/service/ec2/api_op_AuthorizeClientVpnIngress.go +++ b/service/ec2/api_op_AuthorizeClientVpnIngress.go @@ -108,7 +108,10 @@ func addOperationAuthorizeClientVpnIngressMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AuthorizeSecurityGroupEgress.go b/service/ec2/api_op_AuthorizeSecurityGroupEgress.go index 1cc50fadd37..448e8c33f66 100644 --- a/service/ec2/api_op_AuthorizeSecurityGroupEgress.go +++ b/service/ec2/api_op_AuthorizeSecurityGroupEgress.go @@ -111,7 +111,10 @@ func addOperationAuthorizeSecurityGroupEgressMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_AuthorizeSecurityGroupIngress.go b/service/ec2/api_op_AuthorizeSecurityGroupIngress.go index f2666175f09..c895d01bbba 100644 --- a/service/ec2/api_op_AuthorizeSecurityGroupIngress.go +++ b/service/ec2/api_op_AuthorizeSecurityGroupIngress.go @@ -135,7 +135,10 @@ func addOperationAuthorizeSecurityGroupIngressMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_BundleInstance.go b/service/ec2/api_op_BundleInstance.go index 30fa7cbf1a1..4c3606a9963 100644 --- a/service/ec2/api_op_BundleInstance.go +++ b/service/ec2/api_op_BundleInstance.go @@ -92,7 +92,10 @@ func addOperationBundleInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CancelBundleTask.go b/service/ec2/api_op_CancelBundleTask.go index a320c6bc0a4..e29f5b424c3 100644 --- a/service/ec2/api_op_CancelBundleTask.go +++ b/service/ec2/api_op_CancelBundleTask.go @@ -82,7 +82,10 @@ func addOperationCancelBundleTaskMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CancelCapacityReservation.go b/service/ec2/api_op_CancelCapacityReservation.go index ea07d749379..21bfe5fa018 100644 --- a/service/ec2/api_op_CancelCapacityReservation.go +++ b/service/ec2/api_op_CancelCapacityReservation.go @@ -85,7 +85,10 @@ func addOperationCancelCapacityReservationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CancelConversionTask.go b/service/ec2/api_op_CancelConversionTask.go index de598f2c2ab..269815ff46e 100644 --- a/service/ec2/api_op_CancelConversionTask.go +++ b/service/ec2/api_op_CancelConversionTask.go @@ -84,7 +84,10 @@ func addOperationCancelConversionTaskMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CancelExportTask.go b/service/ec2/api_op_CancelExportTask.go index 63be762b4db..fab9b3001ba 100644 --- a/service/ec2/api_op_CancelExportTask.go +++ b/service/ec2/api_op_CancelExportTask.go @@ -72,7 +72,10 @@ func addOperationCancelExportTaskMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CancelImportTask.go b/service/ec2/api_op_CancelImportTask.go index a7b049a6420..93c72228973 100644 --- a/service/ec2/api_op_CancelImportTask.go +++ b/service/ec2/api_op_CancelImportTask.go @@ -86,7 +86,10 @@ func addOperationCancelImportTaskMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CancelReservedInstancesListing.go b/service/ec2/api_op_CancelReservedInstancesListing.go index 4bef8fce3b2..7e1eb72f2cd 100644 --- a/service/ec2/api_op_CancelReservedInstancesListing.go +++ b/service/ec2/api_op_CancelReservedInstancesListing.go @@ -79,7 +79,10 @@ func addOperationCancelReservedInstancesListingMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CancelSpotFleetRequests.go b/service/ec2/api_op_CancelSpotFleetRequests.go index ade4c0b893d..58cbef62b26 100644 --- a/service/ec2/api_op_CancelSpotFleetRequests.go +++ b/service/ec2/api_op_CancelSpotFleetRequests.go @@ -97,7 +97,10 @@ func addOperationCancelSpotFleetRequestsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CancelSpotInstanceRequests.go b/service/ec2/api_op_CancelSpotInstanceRequests.go index dccfa768149..4462835cf5b 100644 --- a/service/ec2/api_op_CancelSpotInstanceRequests.go +++ b/service/ec2/api_op_CancelSpotInstanceRequests.go @@ -83,7 +83,10 @@ func addOperationCancelSpotInstanceRequestsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ConfirmProductInstance.go b/service/ec2/api_op_ConfirmProductInstance.go index 91ff73a2afa..5c695aa0614 100644 --- a/service/ec2/api_op_ConfirmProductInstance.go +++ b/service/ec2/api_op_ConfirmProductInstance.go @@ -91,7 +91,10 @@ func addOperationConfirmProductInstanceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CopyFpgaImage.go b/service/ec2/api_op_CopyFpgaImage.go index 67a25c38dec..521e6c5e1b1 100644 --- a/service/ec2/api_op_CopyFpgaImage.go +++ b/service/ec2/api_op_CopyFpgaImage.go @@ -95,7 +95,10 @@ func addOperationCopyFpgaImageMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CopyImage.go b/service/ec2/api_op_CopyImage.go index ef280899cd5..09cca8bff38 100644 --- a/service/ec2/api_op_CopyImage.go +++ b/service/ec2/api_op_CopyImage.go @@ -143,7 +143,10 @@ func addOperationCopyImageMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CopySnapshot.go b/service/ec2/api_op_CopySnapshot.go index 83eb72193be..ad27f13e7f7 100644 --- a/service/ec2/api_op_CopySnapshot.go +++ b/service/ec2/api_op_CopySnapshot.go @@ -161,7 +161,10 @@ func addOperationCopySnapshotMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateCapacityReservation.go b/service/ec2/api_op_CreateCapacityReservation.go index b7fbd8e4611..eba59dd727e 100644 --- a/service/ec2/api_op_CreateCapacityReservation.go +++ b/service/ec2/api_op_CreateCapacityReservation.go @@ -190,7 +190,10 @@ func addOperationCreateCapacityReservationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateCarrierGateway.go b/service/ec2/api_op_CreateCarrierGateway.go index 8925f677a6a..36311f321fc 100644 --- a/service/ec2/api_op_CreateCarrierGateway.go +++ b/service/ec2/api_op_CreateCarrierGateway.go @@ -92,7 +92,10 @@ func addOperationCreateCarrierGatewayMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateClientVpnEndpoint.go b/service/ec2/api_op_CreateClientVpnEndpoint.go index 7492de1f5d1..43f19b3c4d5 100644 --- a/service/ec2/api_op_CreateClientVpnEndpoint.go +++ b/service/ec2/api_op_CreateClientVpnEndpoint.go @@ -168,7 +168,10 @@ func addOperationCreateClientVpnEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateClientVpnRoute.go b/service/ec2/api_op_CreateClientVpnRoute.go index 2d7285b82a0..f71516513a4 100644 --- a/service/ec2/api_op_CreateClientVpnRoute.go +++ b/service/ec2/api_op_CreateClientVpnRoute.go @@ -116,7 +116,10 @@ func addOperationCreateClientVpnRouteMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateCustomerGateway.go b/service/ec2/api_op_CreateCustomerGateway.go index e8b8909a38b..4ab9c61205d 100644 --- a/service/ec2/api_op_CreateCustomerGateway.go +++ b/service/ec2/api_op_CreateCustomerGateway.go @@ -128,7 +128,10 @@ func addOperationCreateCustomerGatewayMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateDefaultSubnet.go b/service/ec2/api_op_CreateDefaultSubnet.go index d16d83be468..660ba34ba6a 100644 --- a/service/ec2/api_op_CreateDefaultSubnet.go +++ b/service/ec2/api_op_CreateDefaultSubnet.go @@ -84,7 +84,10 @@ func addOperationCreateDefaultSubnetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateDefaultVpc.go b/service/ec2/api_op_CreateDefaultVpc.go index e82786c8bb0..a1694947e3f 100644 --- a/service/ec2/api_op_CreateDefaultVpc.go +++ b/service/ec2/api_op_CreateDefaultVpc.go @@ -86,7 +86,10 @@ func addOperationCreateDefaultVpcMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateDhcpOptions.go b/service/ec2/api_op_CreateDhcpOptions.go index 14e13478f2b..c331fff754a 100644 --- a/service/ec2/api_op_CreateDhcpOptions.go +++ b/service/ec2/api_op_CreateDhcpOptions.go @@ -126,7 +126,10 @@ func addOperationCreateDhcpOptionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateEgressOnlyInternetGateway.go b/service/ec2/api_op_CreateEgressOnlyInternetGateway.go index 746a6c943be..d1787247471 100644 --- a/service/ec2/api_op_CreateEgressOnlyInternetGateway.go +++ b/service/ec2/api_op_CreateEgressOnlyInternetGateway.go @@ -95,7 +95,10 @@ func addOperationCreateEgressOnlyInternetGatewayMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateFleet.go b/service/ec2/api_op_CreateFleet.go index bba24f4e0f8..32f30527adc 100644 --- a/service/ec2/api_op_CreateFleet.go +++ b/service/ec2/api_op_CreateFleet.go @@ -160,7 +160,10 @@ func addOperationCreateFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateFlowLogs.go b/service/ec2/api_op_CreateFlowLogs.go index 6c807c68382..6d2e8214adb 100644 --- a/service/ec2/api_op_CreateFlowLogs.go +++ b/service/ec2/api_op_CreateFlowLogs.go @@ -172,7 +172,10 @@ func addOperationCreateFlowLogsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateFpgaImage.go b/service/ec2/api_op_CreateFpgaImage.go index 39941b0aea5..39f7e3be1b8 100644 --- a/service/ec2/api_op_CreateFpgaImage.go +++ b/service/ec2/api_op_CreateFpgaImage.go @@ -106,7 +106,10 @@ func addOperationCreateFpgaImageMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateImage.go b/service/ec2/api_op_CreateImage.go index 903eec362a4..3b9338cb1a5 100644 --- a/service/ec2/api_op_CreateImage.go +++ b/service/ec2/api_op_CreateImage.go @@ -127,7 +127,10 @@ func addOperationCreateImageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateInstanceExportTask.go b/service/ec2/api_op_CreateInstanceExportTask.go index 33aba4c3aa3..f5e36a544be 100644 --- a/service/ec2/api_op_CreateInstanceExportTask.go +++ b/service/ec2/api_op_CreateInstanceExportTask.go @@ -96,7 +96,10 @@ func addOperationCreateInstanceExportTaskMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateInternetGateway.go b/service/ec2/api_op_CreateInternetGateway.go index 250c4795182..cf48e8eed75 100644 --- a/service/ec2/api_op_CreateInternetGateway.go +++ b/service/ec2/api_op_CreateInternetGateway.go @@ -81,7 +81,10 @@ func addOperationCreateInternetGatewayMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateKeyPair.go b/service/ec2/api_op_CreateKeyPair.go index 3873f58a259..0501e4ee013 100644 --- a/service/ec2/api_op_CreateKeyPair.go +++ b/service/ec2/api_op_CreateKeyPair.go @@ -105,7 +105,10 @@ func addOperationCreateKeyPairMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateLaunchTemplate.go b/service/ec2/api_op_CreateLaunchTemplate.go index 0846199fc85..c7fdaf36c63 100644 --- a/service/ec2/api_op_CreateLaunchTemplate.go +++ b/service/ec2/api_op_CreateLaunchTemplate.go @@ -107,7 +107,10 @@ func addOperationCreateLaunchTemplateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateLaunchTemplateVersion.go b/service/ec2/api_op_CreateLaunchTemplateVersion.go index 1dd3b6dd918..b1f9eb6b402 100644 --- a/service/ec2/api_op_CreateLaunchTemplateVersion.go +++ b/service/ec2/api_op_CreateLaunchTemplateVersion.go @@ -115,7 +115,10 @@ func addOperationCreateLaunchTemplateVersionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateLocalGatewayRoute.go b/service/ec2/api_op_CreateLocalGatewayRoute.go index 38ad4107440..88db3adc133 100644 --- a/service/ec2/api_op_CreateLocalGatewayRoute.go +++ b/service/ec2/api_op_CreateLocalGatewayRoute.go @@ -91,7 +91,10 @@ func addOperationCreateLocalGatewayRouteMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go b/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go index 8a983ece980..97608d22804 100644 --- a/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go +++ b/service/ec2/api_op_CreateLocalGatewayRouteTableVpcAssociation.go @@ -88,7 +88,10 @@ func addOperationCreateLocalGatewayRouteTableVpcAssociationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateManagedPrefixList.go b/service/ec2/api_op_CreateManagedPrefixList.go index 21028113f7b..55b0b7a977a 100644 --- a/service/ec2/api_op_CreateManagedPrefixList.go +++ b/service/ec2/api_op_CreateManagedPrefixList.go @@ -107,7 +107,10 @@ func addOperationCreateManagedPrefixListMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateNatGateway.go b/service/ec2/api_op_CreateNatGateway.go index 6cfa5f8406f..efc6740aad6 100644 --- a/service/ec2/api_op_CreateNatGateway.go +++ b/service/ec2/api_op_CreateNatGateway.go @@ -107,7 +107,10 @@ func addOperationCreateNatGatewayMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateNetworkAcl.go b/service/ec2/api_op_CreateNetworkAcl.go index 38d58c986ae..4e71b84649a 100644 --- a/service/ec2/api_op_CreateNetworkAcl.go +++ b/service/ec2/api_op_CreateNetworkAcl.go @@ -87,7 +87,10 @@ func addOperationCreateNetworkAclMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateNetworkAclEntry.go b/service/ec2/api_op_CreateNetworkAclEntry.go index 3db310169de..998a67b7c18 100644 --- a/service/ec2/api_op_CreateNetworkAclEntry.go +++ b/service/ec2/api_op_CreateNetworkAclEntry.go @@ -135,7 +135,10 @@ func addOperationCreateNetworkAclEntryMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateNetworkInsightsPath.go b/service/ec2/api_op_CreateNetworkInsightsPath.go index a5f3ba9c87c..20392a75b32 100644 --- a/service/ec2/api_op_CreateNetworkInsightsPath.go +++ b/service/ec2/api_op_CreateNetworkInsightsPath.go @@ -113,7 +113,10 @@ func addOperationCreateNetworkInsightsPathMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateNetworkInterface.go b/service/ec2/api_op_CreateNetworkInterface.go index 8f1be850f8d..cae398e796a 100644 --- a/service/ec2/api_op_CreateNetworkInterface.go +++ b/service/ec2/api_op_CreateNetworkInterface.go @@ -132,7 +132,10 @@ func addOperationCreateNetworkInterfaceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateNetworkInterfacePermission.go b/service/ec2/api_op_CreateNetworkInterfacePermission.go index 9aad2a455d4..442f17a1145 100644 --- a/service/ec2/api_op_CreateNetworkInterfacePermission.go +++ b/service/ec2/api_op_CreateNetworkInterfacePermission.go @@ -95,7 +95,10 @@ func addOperationCreateNetworkInterfacePermissionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreatePlacementGroup.go b/service/ec2/api_op_CreatePlacementGroup.go index ff85c29a6a8..6de5d614b9a 100644 --- a/service/ec2/api_op_CreatePlacementGroup.go +++ b/service/ec2/api_op_CreatePlacementGroup.go @@ -97,7 +97,10 @@ func addOperationCreatePlacementGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateReservedInstancesListing.go b/service/ec2/api_op_CreateReservedInstancesListing.go index 5857e052ee0..6a00d144e31 100644 --- a/service/ec2/api_op_CreateReservedInstancesListing.go +++ b/service/ec2/api_op_CreateReservedInstancesListing.go @@ -116,7 +116,10 @@ func addOperationCreateReservedInstancesListingMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateRoute.go b/service/ec2/api_op_CreateRoute.go index 162c452c910..c1e3864f4fb 100644 --- a/service/ec2/api_op_CreateRoute.go +++ b/service/ec2/api_op_CreateRoute.go @@ -142,7 +142,10 @@ func addOperationCreateRouteMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateRouteTable.go b/service/ec2/api_op_CreateRouteTable.go index 4e307211a1d..f0d554bce4c 100644 --- a/service/ec2/api_op_CreateRouteTable.go +++ b/service/ec2/api_op_CreateRouteTable.go @@ -87,7 +87,10 @@ func addOperationCreateRouteTableMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateSecurityGroup.go b/service/ec2/api_op_CreateSecurityGroup.go index dd416b7c49c..e590d23bdb8 100644 --- a/service/ec2/api_op_CreateSecurityGroup.go +++ b/service/ec2/api_op_CreateSecurityGroup.go @@ -118,7 +118,10 @@ func addOperationCreateSecurityGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateSnapshot.go b/service/ec2/api_op_CreateSnapshot.go index d9733fdb62d..14504e56ebd 100644 --- a/service/ec2/api_op_CreateSnapshot.go +++ b/service/ec2/api_op_CreateSnapshot.go @@ -167,7 +167,10 @@ func addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateSnapshots.go b/service/ec2/api_op_CreateSnapshots.go index e4e37b8b22e..c21c8dc107c 100644 --- a/service/ec2/api_op_CreateSnapshots.go +++ b/service/ec2/api_op_CreateSnapshots.go @@ -92,7 +92,10 @@ func addOperationCreateSnapshotsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateSpotDatafeedSubscription.go b/service/ec2/api_op_CreateSpotDatafeedSubscription.go index 0c3d152070a..d21d9d97ac9 100644 --- a/service/ec2/api_op_CreateSpotDatafeedSubscription.go +++ b/service/ec2/api_op_CreateSpotDatafeedSubscription.go @@ -92,7 +92,10 @@ func addOperationCreateSpotDatafeedSubscriptionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateSubnet.go b/service/ec2/api_op_CreateSubnet.go index f07f90efa5b..770496b5853 100644 --- a/service/ec2/api_op_CreateSubnet.go +++ b/service/ec2/api_op_CreateSubnet.go @@ -126,7 +126,10 @@ func addOperationCreateSubnetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTags.go b/service/ec2/api_op_CreateTags.go index 7412f94a37f..c07b5208953 100644 --- a/service/ec2/api_op_CreateTags.go +++ b/service/ec2/api_op_CreateTags.go @@ -94,7 +94,10 @@ func addOperationCreateTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTrafficMirrorFilter.go b/service/ec2/api_op_CreateTrafficMirrorFilter.go index 2485bc1fcda..c5aa2a78679 100644 --- a/service/ec2/api_op_CreateTrafficMirrorFilter.go +++ b/service/ec2/api_op_CreateTrafficMirrorFilter.go @@ -99,7 +99,10 @@ func addOperationCreateTrafficMirrorFilterMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTrafficMirrorFilterRule.go b/service/ec2/api_op_CreateTrafficMirrorFilterRule.go index 760da744bbc..d14bffe3ddd 100644 --- a/service/ec2/api_op_CreateTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_CreateTrafficMirrorFilterRule.go @@ -135,7 +135,10 @@ func addOperationCreateTrafficMirrorFilterRuleMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTrafficMirrorSession.go b/service/ec2/api_op_CreateTrafficMirrorSession.go index a16dd9b2afe..6ae79b6a96b 100644 --- a/service/ec2/api_op_CreateTrafficMirrorSession.go +++ b/service/ec2/api_op_CreateTrafficMirrorSession.go @@ -136,7 +136,10 @@ func addOperationCreateTrafficMirrorSessionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTrafficMirrorTarget.go b/service/ec2/api_op_CreateTrafficMirrorTarget.go index 155da2d7078..724b8f40ff0 100644 --- a/service/ec2/api_op_CreateTrafficMirrorTarget.go +++ b/service/ec2/api_op_CreateTrafficMirrorTarget.go @@ -105,7 +105,10 @@ func addOperationCreateTrafficMirrorTargetMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTransitGateway.go b/service/ec2/api_op_CreateTransitGateway.go index 05250f0c0d1..77177556fc6 100644 --- a/service/ec2/api_op_CreateTransitGateway.go +++ b/service/ec2/api_op_CreateTransitGateway.go @@ -99,7 +99,10 @@ func addOperationCreateTransitGatewayMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTransitGatewayConnect.go b/service/ec2/api_op_CreateTransitGatewayConnect.go index 354745e4f52..25907320c6c 100644 --- a/service/ec2/api_op_CreateTransitGatewayConnect.go +++ b/service/ec2/api_op_CreateTransitGatewayConnect.go @@ -93,7 +93,10 @@ func addOperationCreateTransitGatewayConnectMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTransitGatewayConnectPeer.go b/service/ec2/api_op_CreateTransitGatewayConnectPeer.go index 275f30ab4e8..2ec92aa1c33 100644 --- a/service/ec2/api_op_CreateTransitGatewayConnectPeer.go +++ b/service/ec2/api_op_CreateTransitGatewayConnectPeer.go @@ -111,7 +111,10 @@ func addOperationCreateTransitGatewayConnectPeerMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go b/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go index ea5d7a6a60b..91ede349b53 100644 --- a/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_CreateTransitGatewayMulticastDomain.go @@ -90,7 +90,10 @@ func addOperationCreateTransitGatewayMulticastDomainMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go b/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go index 1a462072e11..c035bf2158d 100644 --- a/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_CreateTransitGatewayPeeringAttachment.go @@ -102,7 +102,10 @@ func addOperationCreateTransitGatewayPeeringAttachmentMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go b/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go index ebd637e6fd9..e5757279401 100644 --- a/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_CreateTransitGatewayPrefixListReference.go @@ -92,7 +92,10 @@ func addOperationCreateTransitGatewayPrefixListReferenceMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTransitGatewayRoute.go b/service/ec2/api_op_CreateTransitGatewayRoute.go index 8ae64f9bfb8..7d36b43b3b5 100644 --- a/service/ec2/api_op_CreateTransitGatewayRoute.go +++ b/service/ec2/api_op_CreateTransitGatewayRoute.go @@ -92,7 +92,10 @@ func addOperationCreateTransitGatewayRouteMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTransitGatewayRouteTable.go b/service/ec2/api_op_CreateTransitGatewayRouteTable.go index aafe2247b4c..dbacb317f5f 100644 --- a/service/ec2/api_op_CreateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_CreateTransitGatewayRouteTable.go @@ -83,7 +83,10 @@ func addOperationCreateTransitGatewayRouteTableMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go b/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go index 5b99045f3a4..94b5501a789 100644 --- a/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_CreateTransitGatewayVpcAttachment.go @@ -103,7 +103,10 @@ func addOperationCreateTransitGatewayVpcAttachmentMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateVolume.go b/service/ec2/api_op_CreateVolume.go index ebfc35a9c6f..af40a083785 100644 --- a/service/ec2/api_op_CreateVolume.go +++ b/service/ec2/api_op_CreateVolume.go @@ -261,7 +261,10 @@ func addOperationCreateVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateVpc.go b/service/ec2/api_op_CreateVpc.go index dff9a15b8c4..de5ec97cd70 100644 --- a/service/ec2/api_op_CreateVpc.go +++ b/service/ec2/api_op_CreateVpc.go @@ -130,7 +130,10 @@ func addOperationCreateVpcMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateVpcEndpoint.go b/service/ec2/api_op_CreateVpcEndpoint.go index d98e01289bf..a593e1f0a74 100644 --- a/service/ec2/api_op_CreateVpcEndpoint.go +++ b/service/ec2/api_op_CreateVpcEndpoint.go @@ -149,7 +149,10 @@ func addOperationCreateVpcEndpointMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go b/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go index dc38d3dadc4..db25817a285 100644 --- a/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go +++ b/service/ec2/api_op_CreateVpcEndpointConnectionNotification.go @@ -106,7 +106,10 @@ func addOperationCreateVpcEndpointConnectionNotificationMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go b/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go index 3d588efae2a..9ca3ef26f40 100644 --- a/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go +++ b/service/ec2/api_op_CreateVpcEndpointServiceConfiguration.go @@ -123,7 +123,10 @@ func addOperationCreateVpcEndpointServiceConfigurationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateVpcPeeringConnection.go b/service/ec2/api_op_CreateVpcPeeringConnection.go index c76c53fac9e..c7daf9d7765 100644 --- a/service/ec2/api_op_CreateVpcPeeringConnection.go +++ b/service/ec2/api_op_CreateVpcPeeringConnection.go @@ -105,7 +105,10 @@ func addOperationCreateVpcPeeringConnectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateVpnConnection.go b/service/ec2/api_op_CreateVpnConnection.go index e436e416b0a..207abd053a9 100644 --- a/service/ec2/api_op_CreateVpnConnection.go +++ b/service/ec2/api_op_CreateVpnConnection.go @@ -113,7 +113,10 @@ func addOperationCreateVpnConnectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateVpnConnectionRoute.go b/service/ec2/api_op_CreateVpnConnectionRoute.go index 8a2b81138ab..85af2972c05 100644 --- a/service/ec2/api_op_CreateVpnConnectionRoute.go +++ b/service/ec2/api_op_CreateVpnConnectionRoute.go @@ -80,7 +80,10 @@ func addOperationCreateVpnConnectionRouteMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_CreateVpnGateway.go b/service/ec2/api_op_CreateVpnGateway.go index 6728f4fc909..a8ecc39653d 100644 --- a/service/ec2/api_op_CreateVpnGateway.go +++ b/service/ec2/api_op_CreateVpnGateway.go @@ -98,7 +98,10 @@ func addOperationCreateVpnGatewayMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteCarrierGateway.go b/service/ec2/api_op_DeleteCarrierGateway.go index 73b3632135c..e6cf5116710 100644 --- a/service/ec2/api_op_DeleteCarrierGateway.go +++ b/service/ec2/api_op_DeleteCarrierGateway.go @@ -83,7 +83,10 @@ func addOperationDeleteCarrierGatewayMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteClientVpnEndpoint.go b/service/ec2/api_op_DeleteClientVpnEndpoint.go index 965d8143bbe..a1e9b2186a6 100644 --- a/service/ec2/api_op_DeleteClientVpnEndpoint.go +++ b/service/ec2/api_op_DeleteClientVpnEndpoint.go @@ -81,7 +81,10 @@ func addOperationDeleteClientVpnEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteClientVpnRoute.go b/service/ec2/api_op_DeleteClientVpnRoute.go index 29cb12655f5..66671540849 100644 --- a/service/ec2/api_op_DeleteClientVpnRoute.go +++ b/service/ec2/api_op_DeleteClientVpnRoute.go @@ -92,7 +92,10 @@ func addOperationDeleteClientVpnRouteMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteCustomerGateway.go b/service/ec2/api_op_DeleteCustomerGateway.go index 81bb5f1d684..33734a5b80d 100644 --- a/service/ec2/api_op_DeleteCustomerGateway.go +++ b/service/ec2/api_op_DeleteCustomerGateway.go @@ -77,7 +77,10 @@ func addOperationDeleteCustomerGatewayMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteDhcpOptions.go b/service/ec2/api_op_DeleteDhcpOptions.go index 1109f197e84..c59abd57fc2 100644 --- a/service/ec2/api_op_DeleteDhcpOptions.go +++ b/service/ec2/api_op_DeleteDhcpOptions.go @@ -78,7 +78,10 @@ func addOperationDeleteDhcpOptionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go b/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go index 6c9eba83a33..1f8e859be3a 100644 --- a/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go +++ b/service/ec2/api_op_DeleteEgressOnlyInternetGateway.go @@ -79,7 +79,10 @@ func addOperationDeleteEgressOnlyInternetGatewayMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteFleets.go b/service/ec2/api_op_DeleteFleets.go index 74f2468e250..67dab2877ca 100644 --- a/service/ec2/api_op_DeleteFleets.go +++ b/service/ec2/api_op_DeleteFleets.go @@ -113,7 +113,10 @@ func addOperationDeleteFleetsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteFlowLogs.go b/service/ec2/api_op_DeleteFlowLogs.go index 82b3227256a..b1849b7ddd4 100644 --- a/service/ec2/api_op_DeleteFlowLogs.go +++ b/service/ec2/api_op_DeleteFlowLogs.go @@ -80,7 +80,10 @@ func addOperationDeleteFlowLogsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteFpgaImage.go b/service/ec2/api_op_DeleteFpgaImage.go index dddb04182ff..8f0fa919654 100644 --- a/service/ec2/api_op_DeleteFpgaImage.go +++ b/service/ec2/api_op_DeleteFpgaImage.go @@ -79,7 +79,10 @@ func addOperationDeleteFpgaImageMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteInternetGateway.go b/service/ec2/api_op_DeleteInternetGateway.go index 1e11187915d..9e83d8ad54a 100644 --- a/service/ec2/api_op_DeleteInternetGateway.go +++ b/service/ec2/api_op_DeleteInternetGateway.go @@ -76,7 +76,10 @@ func addOperationDeleteInternetGatewayMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteKeyPair.go b/service/ec2/api_op_DeleteKeyPair.go index f14a2b529ff..19264239171 100644 --- a/service/ec2/api_op_DeleteKeyPair.go +++ b/service/ec2/api_op_DeleteKeyPair.go @@ -76,7 +76,10 @@ func addOperationDeleteKeyPairMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteLaunchTemplate.go b/service/ec2/api_op_DeleteLaunchTemplate.go index 6dd37a86c18..112c24c8071 100644 --- a/service/ec2/api_op_DeleteLaunchTemplate.go +++ b/service/ec2/api_op_DeleteLaunchTemplate.go @@ -84,7 +84,10 @@ func addOperationDeleteLaunchTemplateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteLaunchTemplateVersions.go b/service/ec2/api_op_DeleteLaunchTemplateVersions.go index 2822ef09add..1dc4c1337e2 100644 --- a/service/ec2/api_op_DeleteLaunchTemplateVersions.go +++ b/service/ec2/api_op_DeleteLaunchTemplateVersions.go @@ -94,7 +94,10 @@ func addOperationDeleteLaunchTemplateVersionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteLocalGatewayRoute.go b/service/ec2/api_op_DeleteLocalGatewayRoute.go index b86c177f82a..2eb48442560 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRoute.go +++ b/service/ec2/api_op_DeleteLocalGatewayRoute.go @@ -85,7 +85,10 @@ func addOperationDeleteLocalGatewayRouteMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go b/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go index a4d9a6e21ca..2961e90fd22 100644 --- a/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go +++ b/service/ec2/api_op_DeleteLocalGatewayRouteTableVpcAssociation.go @@ -80,7 +80,10 @@ func addOperationDeleteLocalGatewayRouteTableVpcAssociationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteManagedPrefixList.go b/service/ec2/api_op_DeleteManagedPrefixList.go index ac760c404d8..38f4f43d91f 100644 --- a/service/ec2/api_op_DeleteManagedPrefixList.go +++ b/service/ec2/api_op_DeleteManagedPrefixList.go @@ -81,7 +81,10 @@ func addOperationDeleteManagedPrefixListMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteNatGateway.go b/service/ec2/api_op_DeleteNatGateway.go index 623ec8c0027..b00161a8979 100644 --- a/service/ec2/api_op_DeleteNatGateway.go +++ b/service/ec2/api_op_DeleteNatGateway.go @@ -81,7 +81,10 @@ func addOperationDeleteNatGatewayMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteNetworkAcl.go b/service/ec2/api_op_DeleteNetworkAcl.go index e9983d7ccd0..4aa7e4433e0 100644 --- a/service/ec2/api_op_DeleteNetworkAcl.go +++ b/service/ec2/api_op_DeleteNetworkAcl.go @@ -76,7 +76,10 @@ func addOperationDeleteNetworkAclMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteNetworkAclEntry.go b/service/ec2/api_op_DeleteNetworkAclEntry.go index 5dd7157c8c9..b176b9c43d3 100644 --- a/service/ec2/api_op_DeleteNetworkAclEntry.go +++ b/service/ec2/api_op_DeleteNetworkAclEntry.go @@ -86,7 +86,10 @@ func addOperationDeleteNetworkAclEntryMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go b/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go index 2ecb1efceab..867bc0a1e36 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go +++ b/service/ec2/api_op_DeleteNetworkInsightsAnalysis.go @@ -79,7 +79,10 @@ func addOperationDeleteNetworkInsightsAnalysisMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteNetworkInsightsPath.go b/service/ec2/api_op_DeleteNetworkInsightsPath.go index 538548c36ac..dacdbfc8436 100644 --- a/service/ec2/api_op_DeleteNetworkInsightsPath.go +++ b/service/ec2/api_op_DeleteNetworkInsightsPath.go @@ -79,7 +79,10 @@ func addOperationDeleteNetworkInsightsPathMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteNetworkInterface.go b/service/ec2/api_op_DeleteNetworkInterface.go index b4a195942f1..aafb66bc2b7 100644 --- a/service/ec2/api_op_DeleteNetworkInterface.go +++ b/service/ec2/api_op_DeleteNetworkInterface.go @@ -77,7 +77,10 @@ func addOperationDeleteNetworkInterfaceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteNetworkInterfacePermission.go b/service/ec2/api_op_DeleteNetworkInterfacePermission.go index d93c9810eac..3f24c77929c 100644 --- a/service/ec2/api_op_DeleteNetworkInterfacePermission.go +++ b/service/ec2/api_op_DeleteNetworkInterfacePermission.go @@ -88,7 +88,10 @@ func addOperationDeleteNetworkInterfacePermissionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeletePlacementGroup.go b/service/ec2/api_op_DeletePlacementGroup.go index 18da06c0e8b..ecc8fb79bc6 100644 --- a/service/ec2/api_op_DeletePlacementGroup.go +++ b/service/ec2/api_op_DeletePlacementGroup.go @@ -79,7 +79,10 @@ func addOperationDeletePlacementGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteQueuedReservedInstances.go b/service/ec2/api_op_DeleteQueuedReservedInstances.go index ba0915a8115..2e3b87d9083 100644 --- a/service/ec2/api_op_DeleteQueuedReservedInstances.go +++ b/service/ec2/api_op_DeleteQueuedReservedInstances.go @@ -83,7 +83,10 @@ func addOperationDeleteQueuedReservedInstancesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteRoute.go b/service/ec2/api_op_DeleteRoute.go index 9726c918202..c4018b15419 100644 --- a/service/ec2/api_op_DeleteRoute.go +++ b/service/ec2/api_op_DeleteRoute.go @@ -86,7 +86,10 @@ func addOperationDeleteRouteMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteRouteTable.go b/service/ec2/api_op_DeleteRouteTable.go index 66048ab7ab6..4e576629da6 100644 --- a/service/ec2/api_op_DeleteRouteTable.go +++ b/service/ec2/api_op_DeleteRouteTable.go @@ -76,7 +76,10 @@ func addOperationDeleteRouteTableMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteSecurityGroup.go b/service/ec2/api_op_DeleteSecurityGroup.go index 3a40e1db699..992115ec194 100644 --- a/service/ec2/api_op_DeleteSecurityGroup.go +++ b/service/ec2/api_op_DeleteSecurityGroup.go @@ -80,7 +80,10 @@ func addOperationDeleteSecurityGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteSnapshot.go b/service/ec2/api_op_DeleteSnapshot.go index 8bfbde11325..dc31407884f 100644 --- a/service/ec2/api_op_DeleteSnapshot.go +++ b/service/ec2/api_op_DeleteSnapshot.go @@ -85,7 +85,10 @@ func addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteSpotDatafeedSubscription.go b/service/ec2/api_op_DeleteSpotDatafeedSubscription.go index f23f11b6f84..25e204a34ed 100644 --- a/service/ec2/api_op_DeleteSpotDatafeedSubscription.go +++ b/service/ec2/api_op_DeleteSpotDatafeedSubscription.go @@ -71,7 +71,10 @@ func addOperationDeleteSpotDatafeedSubscriptionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteSubnet.go b/service/ec2/api_op_DeleteSubnet.go index c6ae8f18669..b5523b2aea0 100644 --- a/service/ec2/api_op_DeleteSubnet.go +++ b/service/ec2/api_op_DeleteSubnet.go @@ -76,7 +76,10 @@ func addOperationDeleteSubnetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTags.go b/service/ec2/api_op_DeleteTags.go index f28597da674..d2ab70e46e0 100644 --- a/service/ec2/api_op_DeleteTags.go +++ b/service/ec2/api_op_DeleteTags.go @@ -89,7 +89,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTrafficMirrorFilter.go b/service/ec2/api_op_DeleteTrafficMirrorFilter.go index ad69a7ca7ab..87b2b94bf1e 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorFilter.go +++ b/service/ec2/api_op_DeleteTrafficMirrorFilter.go @@ -80,7 +80,10 @@ func addOperationDeleteTrafficMirrorFilterMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go b/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go index b049fce1b51..cbba09c2042 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_DeleteTrafficMirrorFilterRule.go @@ -79,7 +79,10 @@ func addOperationDeleteTrafficMirrorFilterRuleMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTrafficMirrorSession.go b/service/ec2/api_op_DeleteTrafficMirrorSession.go index c1eb0bc5211..9e4d62831a9 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorSession.go +++ b/service/ec2/api_op_DeleteTrafficMirrorSession.go @@ -79,7 +79,10 @@ func addOperationDeleteTrafficMirrorSessionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTrafficMirrorTarget.go b/service/ec2/api_op_DeleteTrafficMirrorTarget.go index db84bd3bf5b..9a282de7153 100644 --- a/service/ec2/api_op_DeleteTrafficMirrorTarget.go +++ b/service/ec2/api_op_DeleteTrafficMirrorTarget.go @@ -80,7 +80,10 @@ func addOperationDeleteTrafficMirrorTargetMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTransitGateway.go b/service/ec2/api_op_DeleteTransitGateway.go index cae23e4b039..c5ac368ea66 100644 --- a/service/ec2/api_op_DeleteTransitGateway.go +++ b/service/ec2/api_op_DeleteTransitGateway.go @@ -80,7 +80,10 @@ func addOperationDeleteTransitGatewayMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTransitGatewayConnect.go b/service/ec2/api_op_DeleteTransitGatewayConnect.go index c78055a3320..f92294d738d 100644 --- a/service/ec2/api_op_DeleteTransitGatewayConnect.go +++ b/service/ec2/api_op_DeleteTransitGatewayConnect.go @@ -81,7 +81,10 @@ func addOperationDeleteTransitGatewayConnectMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go b/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go index 96bb18b11c3..2b3e1cb2175 100644 --- a/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go +++ b/service/ec2/api_op_DeleteTransitGatewayConnectPeer.go @@ -80,7 +80,10 @@ func addOperationDeleteTransitGatewayConnectPeerMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go b/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go index f2d85bc9f75..8dcf5bcd884 100644 --- a/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_DeleteTransitGatewayMulticastDomain.go @@ -80,7 +80,10 @@ func addOperationDeleteTransitGatewayMulticastDomainMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go b/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go index 1e9f55ef06e..d249cea4ae0 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_DeleteTransitGatewayPeeringAttachment.go @@ -80,7 +80,10 @@ func addOperationDeleteTransitGatewayPeeringAttachmentMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go b/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go index f723011d7b4..0a01affca1d 100644 --- a/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_DeleteTransitGatewayPrefixListReference.go @@ -86,7 +86,10 @@ func addOperationDeleteTransitGatewayPrefixListReferenceMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTransitGatewayRoute.go b/service/ec2/api_op_DeleteTransitGatewayRoute.go index 79a28c9507a..bf41f3c4b9a 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRoute.go +++ b/service/ec2/api_op_DeleteTransitGatewayRoute.go @@ -85,7 +85,10 @@ func addOperationDeleteTransitGatewayRouteMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTransitGatewayRouteTable.go b/service/ec2/api_op_DeleteTransitGatewayRouteTable.go index 98a26b0899b..fb7ddd0095d 100644 --- a/service/ec2/api_op_DeleteTransitGatewayRouteTable.go +++ b/service/ec2/api_op_DeleteTransitGatewayRouteTable.go @@ -81,7 +81,10 @@ func addOperationDeleteTransitGatewayRouteTableMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go b/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go index 2b5872f3d0f..8b1ef6811fc 100644 --- a/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_DeleteTransitGatewayVpcAttachment.go @@ -80,7 +80,10 @@ func addOperationDeleteTransitGatewayVpcAttachmentMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteVolume.go b/service/ec2/api_op_DeleteVolume.go index 9abf3fc10a9..42d9e9bde27 100644 --- a/service/ec2/api_op_DeleteVolume.go +++ b/service/ec2/api_op_DeleteVolume.go @@ -79,7 +79,10 @@ func addOperationDeleteVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteVpc.go b/service/ec2/api_op_DeleteVpc.go index 4ec2b5771b7..5e59e8c4b86 100644 --- a/service/ec2/api_op_DeleteVpc.go +++ b/service/ec2/api_op_DeleteVpc.go @@ -79,7 +79,10 @@ func addOperationDeleteVpcMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go b/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go index 35b9fbe76b4..409322fe9f0 100644 --- a/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go +++ b/service/ec2/api_op_DeleteVpcEndpointConnectionNotifications.go @@ -80,7 +80,10 @@ func addOperationDeleteVpcEndpointConnectionNotificationsMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go b/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go index 08b3d3d76c9..a06492a228f 100644 --- a/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go +++ b/service/ec2/api_op_DeleteVpcEndpointServiceConfigurations.go @@ -84,7 +84,10 @@ func addOperationDeleteVpcEndpointServiceConfigurationsMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteVpcEndpoints.go b/service/ec2/api_op_DeleteVpcEndpoints.go index 5df2a9706c7..df3729a1335 100644 --- a/service/ec2/api_op_DeleteVpcEndpoints.go +++ b/service/ec2/api_op_DeleteVpcEndpoints.go @@ -86,7 +86,10 @@ func addOperationDeleteVpcEndpointsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteVpcPeeringConnection.go b/service/ec2/api_op_DeleteVpcPeeringConnection.go index 9e7ac88f975..e074494c729 100644 --- a/service/ec2/api_op_DeleteVpcPeeringConnection.go +++ b/service/ec2/api_op_DeleteVpcPeeringConnection.go @@ -83,7 +83,10 @@ func addOperationDeleteVpcPeeringConnectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteVpnConnection.go b/service/ec2/api_op_DeleteVpnConnection.go index f8576962f62..3d518c8a8b7 100644 --- a/service/ec2/api_op_DeleteVpnConnection.go +++ b/service/ec2/api_op_DeleteVpnConnection.go @@ -86,7 +86,10 @@ func addOperationDeleteVpnConnectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteVpnConnectionRoute.go b/service/ec2/api_op_DeleteVpnConnectionRoute.go index 2f8862a08ee..764e9b4869a 100644 --- a/service/ec2/api_op_DeleteVpnConnectionRoute.go +++ b/service/ec2/api_op_DeleteVpnConnectionRoute.go @@ -78,7 +78,10 @@ func addOperationDeleteVpnConnectionRouteMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeleteVpnGateway.go b/service/ec2/api_op_DeleteVpnGateway.go index 156696345d5..5aba37c2a3d 100644 --- a/service/ec2/api_op_DeleteVpnGateway.go +++ b/service/ec2/api_op_DeleteVpnGateway.go @@ -79,7 +79,10 @@ func addOperationDeleteVpnGatewayMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeprovisionByoipCidr.go b/service/ec2/api_op_DeprovisionByoipCidr.go index c948b90e85c..c6336fb663a 100644 --- a/service/ec2/api_op_DeprovisionByoipCidr.go +++ b/service/ec2/api_op_DeprovisionByoipCidr.go @@ -85,7 +85,10 @@ func addOperationDeprovisionByoipCidrMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeregisterImage.go b/service/ec2/api_op_DeregisterImage.go index 8457bca9277..ebf86a17a35 100644 --- a/service/ec2/api_op_DeregisterImage.go +++ b/service/ec2/api_op_DeregisterImage.go @@ -83,7 +83,10 @@ func addOperationDeregisterImageMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go b/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go index 457891ba635..879de9bc475 100644 --- a/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_DeregisterInstanceEventNotificationAttributes.go @@ -79,7 +79,10 @@ func addOperationDeregisterInstanceEventNotificationAttributesMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go index 37e18bd84b8..b66f8a629ed 100644 --- a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go +++ b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupMembers.go @@ -85,7 +85,10 @@ func addOperationDeregisterTransitGatewayMulticastGroupMembersMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go index da09554d7df..378d526d835 100644 --- a/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go +++ b/service/ec2/api_op_DeregisterTransitGatewayMulticastGroupSources.go @@ -85,7 +85,10 @@ func addOperationDeregisterTransitGatewayMulticastGroupSourcesMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeAccountAttributes.go b/service/ec2/api_op_DescribeAccountAttributes.go index 32b0306d9a6..164f81fed6e 100644 --- a/service/ec2/api_op_DescribeAccountAttributes.go +++ b/service/ec2/api_op_DescribeAccountAttributes.go @@ -103,7 +103,10 @@ func addOperationDescribeAccountAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeAddresses.go b/service/ec2/api_op_DescribeAddresses.go index 180e5229fba..fb312f49232 100644 --- a/service/ec2/api_op_DescribeAddresses.go +++ b/service/ec2/api_op_DescribeAddresses.go @@ -127,7 +127,10 @@ func addOperationDescribeAddressesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeAddressesAttribute.go b/service/ec2/api_op_DescribeAddressesAttribute.go index b8efe787184..0872f0428e6 100644 --- a/service/ec2/api_op_DescribeAddressesAttribute.go +++ b/service/ec2/api_op_DescribeAddressesAttribute.go @@ -77,7 +77,10 @@ func addOperationDescribeAddressesAttributeMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeAggregateIdFormat.go b/service/ec2/api_op_DescribeAggregateIdFormat.go index 0f25fb5e6e9..ed04dc3da14 100644 --- a/service/ec2/api_op_DescribeAggregateIdFormat.go +++ b/service/ec2/api_op_DescribeAggregateIdFormat.go @@ -91,7 +91,10 @@ func addOperationDescribeAggregateIdFormatMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeAvailabilityZones.go b/service/ec2/api_op_DescribeAvailabilityZones.go index 45f99dfcf70..ae51584a149 100644 --- a/service/ec2/api_op_DescribeAvailabilityZones.go +++ b/service/ec2/api_op_DescribeAvailabilityZones.go @@ -135,7 +135,10 @@ func addOperationDescribeAvailabilityZonesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeBundleTasks.go b/service/ec2/api_op_DescribeBundleTasks.go index 91680a422d3..de1dcb1c307 100644 --- a/service/ec2/api_op_DescribeBundleTasks.go +++ b/service/ec2/api_op_DescribeBundleTasks.go @@ -118,7 +118,10 @@ func addOperationDescribeBundleTasksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeByoipCidrs.go b/service/ec2/api_op_DescribeByoipCidrs.go index e3d8206f4ac..28c7a6ec238 100644 --- a/service/ec2/api_op_DescribeByoipCidrs.go +++ b/service/ec2/api_op_DescribeByoipCidrs.go @@ -92,7 +92,10 @@ func addOperationDescribeByoipCidrsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeCapacityReservations.go b/service/ec2/api_op_DescribeCapacityReservations.go index 19ecf4db51e..fbfecfea235 100644 --- a/service/ec2/api_op_DescribeCapacityReservations.go +++ b/service/ec2/api_op_DescribeCapacityReservations.go @@ -175,7 +175,10 @@ func addOperationDescribeCapacityReservationsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeCarrierGateways.go b/service/ec2/api_op_DescribeCarrierGateways.go index 1a22d4769cc..0568c7d476a 100644 --- a/service/ec2/api_op_DescribeCarrierGateways.go +++ b/service/ec2/api_op_DescribeCarrierGateways.go @@ -114,7 +114,10 @@ func addOperationDescribeCarrierGatewaysMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeClassicLinkInstances.go b/service/ec2/api_op_DescribeClassicLinkInstances.go index 8bc7ac5d67f..1688a74f201 100644 --- a/service/ec2/api_op_DescribeClassicLinkInstances.go +++ b/service/ec2/api_op_DescribeClassicLinkInstances.go @@ -116,7 +116,10 @@ func addOperationDescribeClassicLinkInstancesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go b/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go index c6b3d180631..abfbff9151d 100644 --- a/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go +++ b/service/ec2/api_op_DescribeClientVpnAuthorizationRules.go @@ -105,7 +105,10 @@ func addOperationDescribeClientVpnAuthorizationRulesMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnConnections.go b/service/ec2/api_op_DescribeClientVpnConnections.go index 21252e3ee5f..a732f06f34a 100644 --- a/service/ec2/api_op_DescribeClientVpnConnections.go +++ b/service/ec2/api_op_DescribeClientVpnConnections.go @@ -104,7 +104,10 @@ func addOperationDescribeClientVpnConnectionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnEndpoints.go b/service/ec2/api_op_DescribeClientVpnEndpoints.go index 6931636fae2..f68b7f15db9 100644 --- a/service/ec2/api_op_DescribeClientVpnEndpoints.go +++ b/service/ec2/api_op_DescribeClientVpnEndpoints.go @@ -100,7 +100,10 @@ func addOperationDescribeClientVpnEndpointsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnRoutes.go b/service/ec2/api_op_DescribeClientVpnRoutes.go index 2b139848ed3..31dd307d084 100644 --- a/service/ec2/api_op_DescribeClientVpnRoutes.go +++ b/service/ec2/api_op_DescribeClientVpnRoutes.go @@ -105,7 +105,10 @@ func addOperationDescribeClientVpnRoutesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeClientVpnTargetNetworks.go b/service/ec2/api_op_DescribeClientVpnTargetNetworks.go index 4fa8d34bec7..12146512024 100644 --- a/service/ec2/api_op_DescribeClientVpnTargetNetworks.go +++ b/service/ec2/api_op_DescribeClientVpnTargetNetworks.go @@ -108,7 +108,10 @@ func addOperationDescribeClientVpnTargetNetworksMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeCoipPools.go b/service/ec2/api_op_DescribeCoipPools.go index c067bc25169..6aa674e57fe 100644 --- a/service/ec2/api_op_DescribeCoipPools.go +++ b/service/ec2/api_op_DescribeCoipPools.go @@ -99,7 +99,10 @@ func addOperationDescribeCoipPoolsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeConversionTasks.go b/service/ec2/api_op_DescribeConversionTasks.go index 4ff1a53e0fc..b25a89c543e 100644 --- a/service/ec2/api_op_DescribeConversionTasks.go +++ b/service/ec2/api_op_DescribeConversionTasks.go @@ -87,7 +87,10 @@ func addOperationDescribeConversionTasksMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeCustomerGateways.go b/service/ec2/api_op_DescribeCustomerGateways.go index aea2f5d44aa..c8f5062a806 100644 --- a/service/ec2/api_op_DescribeCustomerGateways.go +++ b/service/ec2/api_op_DescribeCustomerGateways.go @@ -116,7 +116,10 @@ func addOperationDescribeCustomerGatewaysMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeDhcpOptions.go b/service/ec2/api_op_DescribeDhcpOptions.go index be790b3442b..a01ce823ff1 100644 --- a/service/ec2/api_op_DescribeDhcpOptions.go +++ b/service/ec2/api_op_DescribeDhcpOptions.go @@ -118,7 +118,10 @@ func addOperationDescribeDhcpOptionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go b/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go index c9726b30289..f1de15cb398 100644 --- a/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go +++ b/service/ec2/api_op_DescribeEgressOnlyInternetGateways.go @@ -103,7 +103,10 @@ func addOperationDescribeEgressOnlyInternetGatewaysMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeElasticGpus.go b/service/ec2/api_op_DescribeElasticGpus.go index 2a4b6e059d4..f9b6ae30014 100644 --- a/service/ec2/api_op_DescribeElasticGpus.go +++ b/service/ec2/api_op_DescribeElasticGpus.go @@ -115,7 +115,10 @@ func addOperationDescribeElasticGpusMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeExportImageTasks.go b/service/ec2/api_op_DescribeExportImageTasks.go index 52ffacb05d3..03e424abf68 100644 --- a/service/ec2/api_op_DescribeExportImageTasks.go +++ b/service/ec2/api_op_DescribeExportImageTasks.go @@ -93,7 +93,10 @@ func addOperationDescribeExportImageTasksMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeExportTasks.go b/service/ec2/api_op_DescribeExportTasks.go index b75d5abf0e0..2d51430e039 100644 --- a/service/ec2/api_op_DescribeExportTasks.go +++ b/service/ec2/api_op_DescribeExportTasks.go @@ -81,7 +81,10 @@ func addOperationDescribeExportTasksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeFastSnapshotRestores.go b/service/ec2/api_op_DescribeFastSnapshotRestores.go index 86bee657afb..b72eab41be8 100644 --- a/service/ec2/api_op_DescribeFastSnapshotRestores.go +++ b/service/ec2/api_op_DescribeFastSnapshotRestores.go @@ -102,7 +102,10 @@ func addOperationDescribeFastSnapshotRestoresMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeFleetHistory.go b/service/ec2/api_op_DescribeFleetHistory.go index 95bab3d066f..2085be5de7c 100644 --- a/service/ec2/api_op_DescribeFleetHistory.go +++ b/service/ec2/api_op_DescribeFleetHistory.go @@ -116,7 +116,10 @@ func addOperationDescribeFleetHistoryMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeFleetInstances.go b/service/ec2/api_op_DescribeFleetInstances.go index 5fadfb16706..b8902c1a3d3 100644 --- a/service/ec2/api_op_DescribeFleetInstances.go +++ b/service/ec2/api_op_DescribeFleetInstances.go @@ -100,7 +100,10 @@ func addOperationDescribeFleetInstancesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeFleets.go b/service/ec2/api_op_DescribeFleets.go index 8722d65ec29..9ba791dd1de 100644 --- a/service/ec2/api_op_DescribeFleets.go +++ b/service/ec2/api_op_DescribeFleets.go @@ -111,7 +111,10 @@ func addOperationDescribeFleetsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeFlowLogs.go b/service/ec2/api_op_DescribeFlowLogs.go index 4af10cf972b..d1794c20395 100644 --- a/service/ec2/api_op_DescribeFlowLogs.go +++ b/service/ec2/api_op_DescribeFlowLogs.go @@ -122,7 +122,10 @@ func addOperationDescribeFlowLogsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeFpgaImageAttribute.go b/service/ec2/api_op_DescribeFpgaImageAttribute.go index 52c43f9bb7e..d0d5408a405 100644 --- a/service/ec2/api_op_DescribeFpgaImageAttribute.go +++ b/service/ec2/api_op_DescribeFpgaImageAttribute.go @@ -85,7 +85,10 @@ func addOperationDescribeFpgaImageAttributeMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeFpgaImages.go b/service/ec2/api_op_DescribeFpgaImages.go index a6c253fe51f..2a7de415556 100644 --- a/service/ec2/api_op_DescribeFpgaImages.go +++ b/service/ec2/api_op_DescribeFpgaImages.go @@ -133,7 +133,10 @@ func addOperationDescribeFpgaImagesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeHostReservationOfferings.go b/service/ec2/api_op_DescribeHostReservationOfferings.go index fbc00bc4835..f99c70c9fb1 100644 --- a/service/ec2/api_op_DescribeHostReservationOfferings.go +++ b/service/ec2/api_op_DescribeHostReservationOfferings.go @@ -117,7 +117,10 @@ func addOperationDescribeHostReservationOfferingsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeHostReservations.go b/service/ec2/api_op_DescribeHostReservations.go index 78a69cc08b7..95ab2a741dd 100644 --- a/service/ec2/api_op_DescribeHostReservations.go +++ b/service/ec2/api_op_DescribeHostReservations.go @@ -108,7 +108,10 @@ func addOperationDescribeHostReservationsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeHosts.go b/service/ec2/api_op_DescribeHosts.go index 49740da0e12..089ad8a5ffd 100644 --- a/service/ec2/api_op_DescribeHosts.go +++ b/service/ec2/api_op_DescribeHosts.go @@ -116,7 +116,10 @@ func addOperationDescribeHostsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go b/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go index ea9c47fa1f9..e4137ce3d65 100644 --- a/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go +++ b/service/ec2/api_op_DescribeIamInstanceProfileAssociations.go @@ -92,7 +92,10 @@ func addOperationDescribeIamInstanceProfileAssociationsMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeIdFormat.go b/service/ec2/api_op_DescribeIdFormat.go index 18f05c3aaa2..266ab79607f 100644 --- a/service/ec2/api_op_DescribeIdFormat.go +++ b/service/ec2/api_op_DescribeIdFormat.go @@ -96,7 +96,10 @@ func addOperationDescribeIdFormatMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeIdentityIdFormat.go b/service/ec2/api_op_DescribeIdentityIdFormat.go index 8f78e2750a9..bacaa779e20 100644 --- a/service/ec2/api_op_DescribeIdentityIdFormat.go +++ b/service/ec2/api_op_DescribeIdentityIdFormat.go @@ -99,7 +99,10 @@ func addOperationDescribeIdentityIdFormatMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeImageAttribute.go b/service/ec2/api_op_DescribeImageAttribute.go index a6204c7cafb..b5e2af5e34a 100644 --- a/service/ec2/api_op_DescribeImageAttribute.go +++ b/service/ec2/api_op_DescribeImageAttribute.go @@ -116,7 +116,10 @@ func addOperationDescribeImageAttributeMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeImages.go b/service/ec2/api_op_DescribeImages.go index 6c3ae82bd2c..f6451263fa5 100644 --- a/service/ec2/api_op_DescribeImages.go +++ b/service/ec2/api_op_DescribeImages.go @@ -201,7 +201,10 @@ func addOperationDescribeImagesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeImportImageTasks.go b/service/ec2/api_op_DescribeImportImageTasks.go index 097c65576c7..fa38c880871 100644 --- a/service/ec2/api_op_DescribeImportImageTasks.go +++ b/service/ec2/api_op_DescribeImportImageTasks.go @@ -95,7 +95,10 @@ func addOperationDescribeImportImageTasksMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeImportSnapshotTasks.go b/service/ec2/api_op_DescribeImportSnapshotTasks.go index c1e73953d5b..d7721ac08be 100644 --- a/service/ec2/api_op_DescribeImportSnapshotTasks.go +++ b/service/ec2/api_op_DescribeImportSnapshotTasks.go @@ -94,7 +94,10 @@ func addOperationDescribeImportSnapshotTasksMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeInstanceAttribute.go b/service/ec2/api_op_DescribeInstanceAttribute.go index 4bbd74cdaa9..e4763c7109f 100644 --- a/service/ec2/api_op_DescribeInstanceAttribute.go +++ b/service/ec2/api_op_DescribeInstanceAttribute.go @@ -142,7 +142,10 @@ func addOperationDescribeInstanceAttributeMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeInstanceCreditSpecifications.go b/service/ec2/api_op_DescribeInstanceCreditSpecifications.go index d0e99bec8a2..1cf65d2ffc3 100644 --- a/service/ec2/api_op_DescribeInstanceCreditSpecifications.go +++ b/service/ec2/api_op_DescribeInstanceCreditSpecifications.go @@ -115,7 +115,10 @@ func addOperationDescribeInstanceCreditSpecificationsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go b/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go index 98f9539d668..4b3e3dfb18b 100644 --- a/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_DescribeInstanceEventNotificationAttributes.go @@ -76,7 +76,10 @@ func addOperationDescribeInstanceEventNotificationAttributesMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeInstanceStatus.go b/service/ec2/api_op_DescribeInstanceStatus.go index 7ee8c5d5b12..6055e2b3698 100644 --- a/service/ec2/api_op_DescribeInstanceStatus.go +++ b/service/ec2/api_op_DescribeInstanceStatus.go @@ -176,7 +176,10 @@ func addOperationDescribeInstanceStatusMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeInstanceTypeOfferings.go b/service/ec2/api_op_DescribeInstanceTypeOfferings.go index e95c4c8e33f..46844dddf72 100644 --- a/service/ec2/api_op_DescribeInstanceTypeOfferings.go +++ b/service/ec2/api_op_DescribeInstanceTypeOfferings.go @@ -103,7 +103,10 @@ func addOperationDescribeInstanceTypeOfferingsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeInstanceTypes.go b/service/ec2/api_op_DescribeInstanceTypes.go index 3896aa22780..2a918353131 100644 --- a/service/ec2/api_op_DescribeInstanceTypes.go +++ b/service/ec2/api_op_DescribeInstanceTypes.go @@ -242,7 +242,10 @@ func addOperationDescribeInstanceTypesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeInstances.go b/service/ec2/api_op_DescribeInstances.go index 0db6616f2c2..feee6c55e99 100644 --- a/service/ec2/api_op_DescribeInstances.go +++ b/service/ec2/api_op_DescribeInstances.go @@ -414,7 +414,10 @@ func addOperationDescribeInstancesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeInternetGateways.go b/service/ec2/api_op_DescribeInternetGateways.go index 9ea0f816b72..2d67f57f628 100644 --- a/service/ec2/api_op_DescribeInternetGateways.go +++ b/service/ec2/api_op_DescribeInternetGateways.go @@ -115,7 +115,10 @@ func addOperationDescribeInternetGatewaysMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeIpv6Pools.go b/service/ec2/api_op_DescribeIpv6Pools.go index 56ce16fbc01..c5991bb642d 100644 --- a/service/ec2/api_op_DescribeIpv6Pools.go +++ b/service/ec2/api_op_DescribeIpv6Pools.go @@ -103,7 +103,10 @@ func addOperationDescribeIpv6PoolsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeKeyPairs.go b/service/ec2/api_op_DescribeKeyPairs.go index 5fc2ed23400..969000acf98 100644 --- a/service/ec2/api_op_DescribeKeyPairs.go +++ b/service/ec2/api_op_DescribeKeyPairs.go @@ -104,7 +104,10 @@ func addOperationDescribeKeyPairsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeLaunchTemplateVersions.go b/service/ec2/api_op_DescribeLaunchTemplateVersions.go index c8eac3e9954..61df03af92d 100644 --- a/service/ec2/api_op_DescribeLaunchTemplateVersions.go +++ b/service/ec2/api_op_DescribeLaunchTemplateVersions.go @@ -144,7 +144,10 @@ func addOperationDescribeLaunchTemplateVersionsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeLaunchTemplates.go b/service/ec2/api_op_DescribeLaunchTemplates.go index 56a50ee10d3..ee46d7a75b9 100644 --- a/service/ec2/api_op_DescribeLaunchTemplates.go +++ b/service/ec2/api_op_DescribeLaunchTemplates.go @@ -112,7 +112,10 @@ func addOperationDescribeLaunchTemplatesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go b/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go index b5556184500..7827f7ba521 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations.go @@ -108,7 +108,10 @@ func addOperationDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go b/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go index f407a4bfa39..359f2fd3463 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTableVpcAssociations.go @@ -107,7 +107,10 @@ func addOperationDescribeLocalGatewayRouteTableVpcAssociationsMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayRouteTables.go b/service/ec2/api_op_DescribeLocalGatewayRouteTables.go index b42dad009dc..6b067fc9d34 100644 --- a/service/ec2/api_op_DescribeLocalGatewayRouteTables.go +++ b/service/ec2/api_op_DescribeLocalGatewayRouteTables.go @@ -105,7 +105,10 @@ func addOperationDescribeLocalGatewayRouteTablesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go index 5eb66375435..31a30e2b328 100644 --- a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go +++ b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaceGroups.go @@ -102,7 +102,10 @@ func addOperationDescribeLocalGatewayVirtualInterfaceGroupsMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go index fa0a99b83d9..23743f3f251 100644 --- a/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go +++ b/service/ec2/api_op_DescribeLocalGatewayVirtualInterfaces.go @@ -93,7 +93,10 @@ func addOperationDescribeLocalGatewayVirtualInterfacesMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeLocalGateways.go b/service/ec2/api_op_DescribeLocalGateways.go index cb036717e4b..37e5ea8a939 100644 --- a/service/ec2/api_op_DescribeLocalGateways.go +++ b/service/ec2/api_op_DescribeLocalGateways.go @@ -111,7 +111,10 @@ func addOperationDescribeLocalGatewaysMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeManagedPrefixLists.go b/service/ec2/api_op_DescribeManagedPrefixLists.go index a5f92200833..eedd234a791 100644 --- a/service/ec2/api_op_DescribeManagedPrefixLists.go +++ b/service/ec2/api_op_DescribeManagedPrefixLists.go @@ -102,7 +102,10 @@ func addOperationDescribeManagedPrefixListsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeMovingAddresses.go b/service/ec2/api_op_DescribeMovingAddresses.go index 237f72cc0ce..89df12b1d99 100644 --- a/service/ec2/api_op_DescribeMovingAddresses.go +++ b/service/ec2/api_op_DescribeMovingAddresses.go @@ -102,7 +102,10 @@ func addOperationDescribeMovingAddressesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeNatGateways.go b/service/ec2/api_op_DescribeNatGateways.go index dd0782da3da..b0dcd43492e 100644 --- a/service/ec2/api_op_DescribeNatGateways.go +++ b/service/ec2/api_op_DescribeNatGateways.go @@ -114,7 +114,10 @@ func addOperationDescribeNatGatewaysMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeNetworkAcls.go b/service/ec2/api_op_DescribeNetworkAcls.go index 78fc2e29346..e47e91d886b 100644 --- a/service/ec2/api_op_DescribeNetworkAcls.go +++ b/service/ec2/api_op_DescribeNetworkAcls.go @@ -152,7 +152,10 @@ func addOperationDescribeNetworkAclsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go index 7c010c3657d..e4e0c37eb29 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go +++ b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go @@ -110,7 +110,10 @@ func addOperationDescribeNetworkInsightsAnalysesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeNetworkInsightsPaths.go b/service/ec2/api_op_DescribeNetworkInsightsPaths.go index 8f42dbe3653..80845ce78e7 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsPaths.go +++ b/service/ec2/api_op_DescribeNetworkInsightsPaths.go @@ -105,7 +105,10 @@ func addOperationDescribeNetworkInsightsPathsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go b/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go index 07713c325a0..27658a9b735 100644 --- a/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_DescribeNetworkInterfaceAttribute.go @@ -98,7 +98,10 @@ func addOperationDescribeNetworkInterfaceAttributeMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeNetworkInterfacePermissions.go b/service/ec2/api_op_DescribeNetworkInterfacePermissions.go index 9b28e22e0ad..47f2f47427a 100644 --- a/service/ec2/api_op_DescribeNetworkInterfacePermissions.go +++ b/service/ec2/api_op_DescribeNetworkInterfacePermissions.go @@ -105,7 +105,10 @@ func addOperationDescribeNetworkInterfacePermissionsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeNetworkInterfaces.go b/service/ec2/api_op_DescribeNetworkInterfaces.go index 65d9cd95438..2c387a32f23 100644 --- a/service/ec2/api_op_DescribeNetworkInterfaces.go +++ b/service/ec2/api_op_DescribeNetworkInterfaces.go @@ -215,7 +215,10 @@ func addOperationDescribeNetworkInterfacesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribePlacementGroups.go b/service/ec2/api_op_DescribePlacementGroups.go index afc01f4f531..a203b871d73 100644 --- a/service/ec2/api_op_DescribePlacementGroups.go +++ b/service/ec2/api_op_DescribePlacementGroups.go @@ -107,7 +107,10 @@ func addOperationDescribePlacementGroupsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribePrefixLists.go b/service/ec2/api_op_DescribePrefixLists.go index 84d8fdcc2a2..e31c546c4c7 100644 --- a/service/ec2/api_op_DescribePrefixLists.go +++ b/service/ec2/api_op_DescribePrefixLists.go @@ -100,7 +100,10 @@ func addOperationDescribePrefixListsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribePrincipalIdFormat.go b/service/ec2/api_op_DescribePrincipalIdFormat.go index 88e0ceb8133..600c66dc907 100644 --- a/service/ec2/api_op_DescribePrincipalIdFormat.go +++ b/service/ec2/api_op_DescribePrincipalIdFormat.go @@ -109,7 +109,10 @@ func addOperationDescribePrincipalIdFormatMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribePublicIpv4Pools.go b/service/ec2/api_op_DescribePublicIpv4Pools.go index 53e62ba91c3..7d3524503fd 100644 --- a/service/ec2/api_op_DescribePublicIpv4Pools.go +++ b/service/ec2/api_op_DescribePublicIpv4Pools.go @@ -97,7 +97,10 @@ func addOperationDescribePublicIpv4PoolsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeRegions.go b/service/ec2/api_op_DescribeRegions.go index 8ac3d468b89..55f7300737c 100644 --- a/service/ec2/api_op_DescribeRegions.go +++ b/service/ec2/api_op_DescribeRegions.go @@ -100,7 +100,10 @@ func addOperationDescribeRegionsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeReservedInstances.go b/service/ec2/api_op_DescribeReservedInstances.go index 210f111b1b1..315cc96ead0 100644 --- a/service/ec2/api_op_DescribeReservedInstances.go +++ b/service/ec2/api_op_DescribeReservedInstances.go @@ -147,7 +147,10 @@ func addOperationDescribeReservedInstancesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeReservedInstancesListings.go b/service/ec2/api_op_DescribeReservedInstancesListings.go index daf88c84b2f..8d61c98a723 100644 --- a/service/ec2/api_op_DescribeReservedInstancesListings.go +++ b/service/ec2/api_op_DescribeReservedInstancesListings.go @@ -106,7 +106,10 @@ func addOperationDescribeReservedInstancesListingsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeReservedInstancesModifications.go b/service/ec2/api_op_DescribeReservedInstancesModifications.go index 11fdaf003be..bf9abec4bb2 100644 --- a/service/ec2/api_op_DescribeReservedInstancesModifications.go +++ b/service/ec2/api_op_DescribeReservedInstancesModifications.go @@ -134,7 +134,10 @@ func addOperationDescribeReservedInstancesModificationsMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeReservedInstancesOfferings.go b/service/ec2/api_op_DescribeReservedInstancesOfferings.go index 15def0cbe98..6487b7a033c 100644 --- a/service/ec2/api_op_DescribeReservedInstancesOfferings.go +++ b/service/ec2/api_op_DescribeReservedInstancesOfferings.go @@ -185,7 +185,10 @@ func addOperationDescribeReservedInstancesOfferingsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeRouteTables.go b/service/ec2/api_op_DescribeRouteTables.go index ad1f3a62514..7989f02c53d 100644 --- a/service/ec2/api_op_DescribeRouteTables.go +++ b/service/ec2/api_op_DescribeRouteTables.go @@ -172,7 +172,10 @@ func addOperationDescribeRouteTablesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeScheduledInstanceAvailability.go b/service/ec2/api_op_DescribeScheduledInstanceAvailability.go index 391eb67bd9c..7a7bf890c5d 100644 --- a/service/ec2/api_op_DescribeScheduledInstanceAvailability.go +++ b/service/ec2/api_op_DescribeScheduledInstanceAvailability.go @@ -129,7 +129,10 @@ func addOperationDescribeScheduledInstanceAvailabilityMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeScheduledInstances.go b/service/ec2/api_op_DescribeScheduledInstances.go index bc4b9fed76b..4ca4f26eee2 100644 --- a/service/ec2/api_op_DescribeScheduledInstances.go +++ b/service/ec2/api_op_DescribeScheduledInstances.go @@ -110,7 +110,10 @@ func addOperationDescribeScheduledInstancesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSecurityGroupReferences.go b/service/ec2/api_op_DescribeSecurityGroupReferences.go index 4f8c4baa883..9fa9a536e48 100644 --- a/service/ec2/api_op_DescribeSecurityGroupReferences.go +++ b/service/ec2/api_op_DescribeSecurityGroupReferences.go @@ -81,7 +81,10 @@ func addOperationDescribeSecurityGroupReferencesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSecurityGroups.go b/service/ec2/api_op_DescribeSecurityGroups.go index 0247d3d7d2d..54faed57a6b 100644 --- a/service/ec2/api_op_DescribeSecurityGroups.go +++ b/service/ec2/api_op_DescribeSecurityGroups.go @@ -197,7 +197,10 @@ func addOperationDescribeSecurityGroupsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSnapshotAttribute.go b/service/ec2/api_op_DescribeSnapshotAttribute.go index 3f6fe7a5fe3..7e059b37f9d 100644 --- a/service/ec2/api_op_DescribeSnapshotAttribute.go +++ b/service/ec2/api_op_DescribeSnapshotAttribute.go @@ -96,7 +96,10 @@ func addOperationDescribeSnapshotAttributeMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSnapshots.go b/service/ec2/api_op_DescribeSnapshots.go index 8672e07b77b..05160b7f398 100644 --- a/service/ec2/api_op_DescribeSnapshots.go +++ b/service/ec2/api_op_DescribeSnapshots.go @@ -198,7 +198,10 @@ func addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSpotDatafeedSubscription.go b/service/ec2/api_op_DescribeSpotDatafeedSubscription.go index f6d766ed95c..82bd85c8d5d 100644 --- a/service/ec2/api_op_DescribeSpotDatafeedSubscription.go +++ b/service/ec2/api_op_DescribeSpotDatafeedSubscription.go @@ -80,7 +80,10 @@ func addOperationDescribeSpotDatafeedSubscriptionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSpotFleetInstances.go b/service/ec2/api_op_DescribeSpotFleetInstances.go index 43816fab806..019ab5f6342 100644 --- a/service/ec2/api_op_DescribeSpotFleetInstances.go +++ b/service/ec2/api_op_DescribeSpotFleetInstances.go @@ -98,7 +98,10 @@ func addOperationDescribeSpotFleetInstancesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSpotFleetRequestHistory.go b/service/ec2/api_op_DescribeSpotFleetRequestHistory.go index d87e6154254..c01ac64ef4f 100644 --- a/service/ec2/api_op_DescribeSpotFleetRequestHistory.go +++ b/service/ec2/api_op_DescribeSpotFleetRequestHistory.go @@ -119,7 +119,10 @@ func addOperationDescribeSpotFleetRequestHistoryMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSpotFleetRequests.go b/service/ec2/api_op_DescribeSpotFleetRequests.go index a6e1e1e0d24..d4b32b5b9a6 100644 --- a/service/ec2/api_op_DescribeSpotFleetRequests.go +++ b/service/ec2/api_op_DescribeSpotFleetRequests.go @@ -94,7 +94,10 @@ func addOperationDescribeSpotFleetRequestsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSpotInstanceRequests.go b/service/ec2/api_op_DescribeSpotInstanceRequests.go index 4eefcddb168..135b700b045 100644 --- a/service/ec2/api_op_DescribeSpotInstanceRequests.go +++ b/service/ec2/api_op_DescribeSpotInstanceRequests.go @@ -238,7 +238,10 @@ func addOperationDescribeSpotInstanceRequestsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSpotPriceHistory.go b/service/ec2/api_op_DescribeSpotPriceHistory.go index 8e1dd10e63c..87aa72d6c37 100644 --- a/service/ec2/api_op_DescribeSpotPriceHistory.go +++ b/service/ec2/api_op_DescribeSpotPriceHistory.go @@ -137,7 +137,10 @@ func addOperationDescribeSpotPriceHistoryMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeStaleSecurityGroups.go b/service/ec2/api_op_DescribeStaleSecurityGroups.go index b44b5d8aa26..5dcf5895c8f 100644 --- a/service/ec2/api_op_DescribeStaleSecurityGroups.go +++ b/service/ec2/api_op_DescribeStaleSecurityGroups.go @@ -96,7 +96,10 @@ func addOperationDescribeStaleSecurityGroupsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeSubnets.go b/service/ec2/api_op_DescribeSubnets.go index d7a2258d31d..4c18e259f90 100644 --- a/service/ec2/api_op_DescribeSubnets.go +++ b/service/ec2/api_op_DescribeSubnets.go @@ -152,7 +152,10 @@ func addOperationDescribeSubnetsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTags.go b/service/ec2/api_op_DescribeTags.go index 26074ebc2c7..368ce1feb5e 100644 --- a/service/ec2/api_op_DescribeTags.go +++ b/service/ec2/api_op_DescribeTags.go @@ -113,7 +113,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTrafficMirrorFilters.go b/service/ec2/api_op_DescribeTrafficMirrorFilters.go index 16a902c72fe..de2685fa788 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorFilters.go +++ b/service/ec2/api_op_DescribeTrafficMirrorFilters.go @@ -99,7 +99,10 @@ func addOperationDescribeTrafficMirrorFiltersMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTrafficMirrorSessions.go b/service/ec2/api_op_DescribeTrafficMirrorSessions.go index 8729f884363..b6902c310fe 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorSessions.go +++ b/service/ec2/api_op_DescribeTrafficMirrorSessions.go @@ -121,7 +121,10 @@ func addOperationDescribeTrafficMirrorSessionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTrafficMirrorTargets.go b/service/ec2/api_op_DescribeTrafficMirrorTargets.go index a564dfc29f2..14dcbf6ff47 100644 --- a/service/ec2/api_op_DescribeTrafficMirrorTargets.go +++ b/service/ec2/api_op_DescribeTrafficMirrorTargets.go @@ -108,7 +108,10 @@ func addOperationDescribeTrafficMirrorTargetsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayAttachments.go b/service/ec2/api_op_DescribeTransitGatewayAttachments.go index af4779ac32c..f7d5c2204f6 100644 --- a/service/ec2/api_op_DescribeTransitGatewayAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayAttachments.go @@ -124,7 +124,10 @@ func addOperationDescribeTransitGatewayAttachmentsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go b/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go index e992b955706..0e7b3220ce3 100644 --- a/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go +++ b/service/ec2/api_op_DescribeTransitGatewayConnectPeers.go @@ -102,7 +102,10 @@ func addOperationDescribeTransitGatewayConnectPeersMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayConnects.go b/service/ec2/api_op_DescribeTransitGatewayConnects.go index bf9131f1283..42979134a73 100644 --- a/service/ec2/api_op_DescribeTransitGatewayConnects.go +++ b/service/ec2/api_op_DescribeTransitGatewayConnects.go @@ -110,7 +110,10 @@ func addOperationDescribeTransitGatewayConnectsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go b/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go index 102e01ec606..e6df59300f4 100644 --- a/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go +++ b/service/ec2/api_op_DescribeTransitGatewayMulticastDomains.go @@ -103,7 +103,10 @@ func addOperationDescribeTransitGatewayMulticastDomainsMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go b/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go index ecec41a493a..ed1cd23a624 100644 --- a/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayPeeringAttachments.go @@ -119,7 +119,10 @@ func addOperationDescribeTransitGatewayPeeringAttachmentsMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayRouteTables.go b/service/ec2/api_op_DescribeTransitGatewayRouteTables.go index 816e1b745b1..0e601a9a19a 100644 --- a/service/ec2/api_op_DescribeTransitGatewayRouteTables.go +++ b/service/ec2/api_op_DescribeTransitGatewayRouteTables.go @@ -110,7 +110,10 @@ func addOperationDescribeTransitGatewayRouteTablesMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go b/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go index 5101f4e1f3b..a8015b425e5 100644 --- a/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go +++ b/service/ec2/api_op_DescribeTransitGatewayVpcAttachments.go @@ -107,7 +107,10 @@ func addOperationDescribeTransitGatewayVpcAttachmentsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeTransitGateways.go b/service/ec2/api_op_DescribeTransitGateways.go index 494f2a90170..39d5b5d136f 100644 --- a/service/ec2/api_op_DescribeTransitGateways.go +++ b/service/ec2/api_op_DescribeTransitGateways.go @@ -132,7 +132,10 @@ func addOperationDescribeTransitGatewaysMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVolumeAttribute.go b/service/ec2/api_op_DescribeVolumeAttribute.go index 8b98cae6d02..2e4cde0a8ba 100644 --- a/service/ec2/api_op_DescribeVolumeAttribute.go +++ b/service/ec2/api_op_DescribeVolumeAttribute.go @@ -94,7 +94,10 @@ func addOperationDescribeVolumeAttributeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVolumeStatus.go b/service/ec2/api_op_DescribeVolumeStatus.go index 984ef9af739..312861e316c 100644 --- a/service/ec2/api_op_DescribeVolumeStatus.go +++ b/service/ec2/api_op_DescribeVolumeStatus.go @@ -168,7 +168,10 @@ func addOperationDescribeVolumeStatusMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVolumes.go b/service/ec2/api_op_DescribeVolumes.go index aec0f66d14e..fec88b8fb1d 100644 --- a/service/ec2/api_op_DescribeVolumes.go +++ b/service/ec2/api_op_DescribeVolumes.go @@ -171,7 +171,10 @@ func addOperationDescribeVolumesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVolumesModifications.go b/service/ec2/api_op_DescribeVolumesModifications.go index b482d107bb8..9dc833e0591 100644 --- a/service/ec2/api_op_DescribeVolumesModifications.go +++ b/service/ec2/api_op_DescribeVolumesModifications.go @@ -133,7 +133,10 @@ func addOperationDescribeVolumesModificationsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcAttribute.go b/service/ec2/api_op_DescribeVpcAttribute.go index 6fa1ec98361..8c3722b3dea 100644 --- a/service/ec2/api_op_DescribeVpcAttribute.go +++ b/service/ec2/api_op_DescribeVpcAttribute.go @@ -96,7 +96,10 @@ func addOperationDescribeVpcAttributeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcClassicLink.go b/service/ec2/api_op_DescribeVpcClassicLink.go index fed0ce85806..9e66c4c55b6 100644 --- a/service/ec2/api_op_DescribeVpcClassicLink.go +++ b/service/ec2/api_op_DescribeVpcClassicLink.go @@ -94,7 +94,10 @@ func addOperationDescribeVpcClassicLinkMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go b/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go index 385ed555d08..b091ddea8f9 100644 --- a/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_DescribeVpcClassicLinkDnsSupport.go @@ -91,7 +91,10 @@ func addOperationDescribeVpcClassicLinkDnsSupportMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go b/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go index d530e2fca6e..b5e29045268 100644 --- a/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go +++ b/service/ec2/api_op_DescribeVpcEndpointConnectionNotifications.go @@ -111,7 +111,10 @@ func addOperationDescribeVpcEndpointConnectionNotificationsMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointConnections.go b/service/ec2/api_op_DescribeVpcEndpointConnections.go index f67d4bdd40a..94d23009c9a 100644 --- a/service/ec2/api_op_DescribeVpcEndpointConnections.go +++ b/service/ec2/api_op_DescribeVpcEndpointConnections.go @@ -105,7 +105,10 @@ func addOperationDescribeVpcEndpointConnectionsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go b/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go index 5c1a6c4bede..0a15d2c6abb 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go +++ b/service/ec2/api_op_DescribeVpcEndpointServiceConfigurations.go @@ -114,7 +114,10 @@ func addOperationDescribeVpcEndpointServiceConfigurationsMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go b/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go index 46389dba0b0..84cbb448edb 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go +++ b/service/ec2/api_op_DescribeVpcEndpointServicePermissions.go @@ -103,7 +103,10 @@ func addOperationDescribeVpcEndpointServicePermissionsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpointServices.go b/service/ec2/api_op_DescribeVpcEndpointServices.go index e34eaad4140..9a1bc5a4997 100644 --- a/service/ec2/api_op_DescribeVpcEndpointServices.go +++ b/service/ec2/api_op_DescribeVpcEndpointServices.go @@ -117,7 +117,10 @@ func addOperationDescribeVpcEndpointServicesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcEndpoints.go b/service/ec2/api_op_DescribeVpcEndpoints.go index 8d25d817f46..ab0bb942a7e 100644 --- a/service/ec2/api_op_DescribeVpcEndpoints.go +++ b/service/ec2/api_op_DescribeVpcEndpoints.go @@ -122,7 +122,10 @@ func addOperationDescribeVpcEndpointsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcPeeringConnections.go b/service/ec2/api_op_DescribeVpcPeeringConnections.go index fac07fc9abd..6057ff65335 100644 --- a/service/ec2/api_op_DescribeVpcPeeringConnections.go +++ b/service/ec2/api_op_DescribeVpcPeeringConnections.go @@ -135,7 +135,10 @@ func addOperationDescribeVpcPeeringConnectionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpcs.go b/service/ec2/api_op_DescribeVpcs.go index 3cccbe5e211..9cb2c0a6940 100644 --- a/service/ec2/api_op_DescribeVpcs.go +++ b/service/ec2/api_op_DescribeVpcs.go @@ -149,7 +149,10 @@ func addOperationDescribeVpcsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpnConnections.go b/service/ec2/api_op_DescribeVpnConnections.go index 136911caa32..6cb5d560a92 100644 --- a/service/ec2/api_op_DescribeVpnConnections.go +++ b/service/ec2/api_op_DescribeVpnConnections.go @@ -132,7 +132,10 @@ func addOperationDescribeVpnConnectionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DescribeVpnGateways.go b/service/ec2/api_op_DescribeVpnGateways.go index 003167aa453..dc73a601c71 100644 --- a/service/ec2/api_op_DescribeVpnGateways.go +++ b/service/ec2/api_op_DescribeVpnGateways.go @@ -119,7 +119,10 @@ func addOperationDescribeVpnGatewaysMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DetachClassicLinkVpc.go b/service/ec2/api_op_DetachClassicLinkVpc.go index a9319d811dd..ddaf884d213 100644 --- a/service/ec2/api_op_DetachClassicLinkVpc.go +++ b/service/ec2/api_op_DetachClassicLinkVpc.go @@ -86,7 +86,10 @@ func addOperationDetachClassicLinkVpcMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DetachInternetGateway.go b/service/ec2/api_op_DetachInternetGateway.go index 7faab1d83f9..e721f6e4e64 100644 --- a/service/ec2/api_op_DetachInternetGateway.go +++ b/service/ec2/api_op_DetachInternetGateway.go @@ -82,7 +82,10 @@ func addOperationDetachInternetGatewayMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DetachNetworkInterface.go b/service/ec2/api_op_DetachNetworkInterface.go index a4a4d7cf47f..f3fabe1f8ea 100644 --- a/service/ec2/api_op_DetachNetworkInterface.go +++ b/service/ec2/api_op_DetachNetworkInterface.go @@ -94,7 +94,10 @@ func addOperationDetachNetworkInterfaceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DetachVolume.go b/service/ec2/api_op_DetachVolume.go index 74f5de247af..3a086e07aaf 100644 --- a/service/ec2/api_op_DetachVolume.go +++ b/service/ec2/api_op_DetachVolume.go @@ -124,7 +124,10 @@ func addOperationDetachVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DetachVpnGateway.go b/service/ec2/api_op_DetachVpnGateway.go index a05ab77aee9..8725139f86f 100644 --- a/service/ec2/api_op_DetachVpnGateway.go +++ b/service/ec2/api_op_DetachVpnGateway.go @@ -87,7 +87,10 @@ func addOperationDetachVpnGatewayMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisableEbsEncryptionByDefault.go b/service/ec2/api_op_DisableEbsEncryptionByDefault.go index e7b7192d5dd..5b3678fcd89 100644 --- a/service/ec2/api_op_DisableEbsEncryptionByDefault.go +++ b/service/ec2/api_op_DisableEbsEncryptionByDefault.go @@ -80,7 +80,10 @@ func addOperationDisableEbsEncryptionByDefaultMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisableFastSnapshotRestores.go b/service/ec2/api_op_DisableFastSnapshotRestores.go index ad2149de6a5..841aa81dac2 100644 --- a/service/ec2/api_op_DisableFastSnapshotRestores.go +++ b/service/ec2/api_op_DisableFastSnapshotRestores.go @@ -91,7 +91,10 @@ func addOperationDisableFastSnapshotRestoresMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go b/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go index d9c9258c5e5..07e7743f31e 100644 --- a/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go +++ b/service/ec2/api_op_DisableTransitGatewayRouteTablePropagation.go @@ -86,7 +86,10 @@ func addOperationDisableTransitGatewayRouteTablePropagationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisableVgwRoutePropagation.go b/service/ec2/api_op_DisableVgwRoutePropagation.go index 67d08281534..acbf1ed6960 100644 --- a/service/ec2/api_op_DisableVgwRoutePropagation.go +++ b/service/ec2/api_op_DisableVgwRoutePropagation.go @@ -82,7 +82,10 @@ func addOperationDisableVgwRoutePropagationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisableVpcClassicLink.go b/service/ec2/api_op_DisableVpcClassicLink.go index 5c758d6a9cb..88655293acc 100644 --- a/service/ec2/api_op_DisableVpcClassicLink.go +++ b/service/ec2/api_op_DisableVpcClassicLink.go @@ -80,7 +80,10 @@ func addOperationDisableVpcClassicLinkMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go b/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go index c7ba905dd53..973a1bb62e7 100644 --- a/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_DisableVpcClassicLinkDnsSupport.go @@ -76,7 +76,10 @@ func addOperationDisableVpcClassicLinkDnsSupportMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisassociateAddress.go b/service/ec2/api_op_DisassociateAddress.go index ac8fba06ba3..6a0dfc0ee99 100644 --- a/service/ec2/api_op_DisassociateAddress.go +++ b/service/ec2/api_op_DisassociateAddress.go @@ -81,7 +81,10 @@ func addOperationDisassociateAddressMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go b/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go index 75682206dc1..c746c618c95 100644 --- a/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go +++ b/service/ec2/api_op_DisassociateClientVpnTargetNetwork.go @@ -100,7 +100,10 @@ func addOperationDisassociateClientVpnTargetNetworkMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go b/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go index 3625516fd44..12da32db93f 100644 --- a/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go +++ b/service/ec2/api_op_DisassociateEnclaveCertificateIamRole.go @@ -86,7 +86,10 @@ func addOperationDisassociateEnclaveCertificateIamRoleMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisassociateIamInstanceProfile.go b/service/ec2/api_op_DisassociateIamInstanceProfile.go index 349960d8211..9352689fd99 100644 --- a/service/ec2/api_op_DisassociateIamInstanceProfile.go +++ b/service/ec2/api_op_DisassociateIamInstanceProfile.go @@ -75,7 +75,10 @@ func addOperationDisassociateIamInstanceProfileMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisassociateRouteTable.go b/service/ec2/api_op_DisassociateRouteTable.go index d238df69e0f..f182c20ad55 100644 --- a/service/ec2/api_op_DisassociateRouteTable.go +++ b/service/ec2/api_op_DisassociateRouteTable.go @@ -81,7 +81,10 @@ func addOperationDisassociateRouteTableMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisassociateSubnetCidrBlock.go b/service/ec2/api_op_DisassociateSubnetCidrBlock.go index c61eb60bdf7..9c2f182f2be 100644 --- a/service/ec2/api_op_DisassociateSubnetCidrBlock.go +++ b/service/ec2/api_op_DisassociateSubnetCidrBlock.go @@ -79,7 +79,10 @@ func addOperationDisassociateSubnetCidrBlockMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go b/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go index 29ee009b4bd..11891189132 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go +++ b/service/ec2/api_op_DisassociateTransitGatewayMulticastDomain.go @@ -84,7 +84,10 @@ func addOperationDisassociateTransitGatewayMulticastDomainMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go b/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go index a2691009c62..398c6cf4d0b 100644 --- a/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go +++ b/service/ec2/api_op_DisassociateTransitGatewayRouteTable.go @@ -85,7 +85,10 @@ func addOperationDisassociateTransitGatewayRouteTableMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_DisassociateVpcCidrBlock.go b/service/ec2/api_op_DisassociateVpcCidrBlock.go index 98539b21a07..18ca36c3e7d 100644 --- a/service/ec2/api_op_DisassociateVpcCidrBlock.go +++ b/service/ec2/api_op_DisassociateVpcCidrBlock.go @@ -85,7 +85,10 @@ func addOperationDisassociateVpcCidrBlockMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_EnableEbsEncryptionByDefault.go b/service/ec2/api_op_EnableEbsEncryptionByDefault.go index f8d7bbe6bc6..4ae652e4fad 100644 --- a/service/ec2/api_op_EnableEbsEncryptionByDefault.go +++ b/service/ec2/api_op_EnableEbsEncryptionByDefault.go @@ -85,7 +85,10 @@ func addOperationEnableEbsEncryptionByDefaultMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_EnableFastSnapshotRestores.go b/service/ec2/api_op_EnableFastSnapshotRestores.go index 145ae716df3..09d9bf3a468 100644 --- a/service/ec2/api_op_EnableFastSnapshotRestores.go +++ b/service/ec2/api_op_EnableFastSnapshotRestores.go @@ -98,7 +98,10 @@ func addOperationEnableFastSnapshotRestoresMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go b/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go index 4d85d972395..5e34afbf558 100644 --- a/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go +++ b/service/ec2/api_op_EnableTransitGatewayRouteTablePropagation.go @@ -86,7 +86,10 @@ func addOperationEnableTransitGatewayRouteTablePropagationMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_EnableVgwRoutePropagation.go b/service/ec2/api_op_EnableVgwRoutePropagation.go index 2062afb573d..ae37f937517 100644 --- a/service/ec2/api_op_EnableVgwRoutePropagation.go +++ b/service/ec2/api_op_EnableVgwRoutePropagation.go @@ -85,7 +85,10 @@ func addOperationEnableVgwRoutePropagationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_EnableVolumeIO.go b/service/ec2/api_op_EnableVolumeIO.go index c9fa4385d2c..ea20be99cf3 100644 --- a/service/ec2/api_op_EnableVolumeIO.go +++ b/service/ec2/api_op_EnableVolumeIO.go @@ -76,7 +76,10 @@ func addOperationEnableVolumeIOMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_EnableVpcClassicLink.go b/service/ec2/api_op_EnableVpcClassicLink.go index 00da57351b0..13d8965e2ff 100644 --- a/service/ec2/api_op_EnableVpcClassicLink.go +++ b/service/ec2/api_op_EnableVpcClassicLink.go @@ -86,7 +86,10 @@ func addOperationEnableVpcClassicLinkMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go b/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go index cf62f9c07ff..d3ffd0732c3 100644 --- a/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go +++ b/service/ec2/api_op_EnableVpcClassicLinkDnsSupport.go @@ -79,7 +79,10 @@ func addOperationEnableVpcClassicLinkDnsSupportMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go b/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go index 7f2aace891f..e1691455038 100644 --- a/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go +++ b/service/ec2/api_op_ExportClientVpnClientCertificateRevocationList.go @@ -84,7 +84,10 @@ func addOperationExportClientVpnClientCertificateRevocationListMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ExportClientVpnClientConfiguration.go b/service/ec2/api_op_ExportClientVpnClientConfiguration.go index 449b8875d82..7a9af5f5692 100644 --- a/service/ec2/api_op_ExportClientVpnClientConfiguration.go +++ b/service/ec2/api_op_ExportClientVpnClientConfiguration.go @@ -82,7 +82,10 @@ func addOperationExportClientVpnClientConfigurationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ExportImage.go b/service/ec2/api_op_ExportImage.go index 6f06cabcdff..7831d771ead 100644 --- a/service/ec2/api_op_ExportImage.go +++ b/service/ec2/api_op_ExportImage.go @@ -139,7 +139,10 @@ func addOperationExportImageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ExportTransitGatewayRoutes.go b/service/ec2/api_op_ExportTransitGatewayRoutes.go index 104bc645d14..706c2216a22 100644 --- a/service/ec2/api_op_ExportTransitGatewayRoutes.go +++ b/service/ec2/api_op_ExportTransitGatewayRoutes.go @@ -123,7 +123,10 @@ func addOperationExportTransitGatewayRoutesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go b/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go index 1755df0d636..d432213a235 100644 --- a/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go +++ b/service/ec2/api_op_GetAssociatedEnclaveCertificateIamRoles.go @@ -83,7 +83,10 @@ func addOperationGetAssociatedEnclaveCertificateIamRolesMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go b/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go index c2485dea01e..90b54ace6b8 100644 --- a/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go +++ b/service/ec2/api_op_GetAssociatedIpv6PoolCidrs.go @@ -93,7 +93,10 @@ func addOperationGetAssociatedIpv6PoolCidrsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetCapacityReservationUsage.go b/service/ec2/api_op_GetCapacityReservationUsage.go index fbf6938c25a..55140d07dbe 100644 --- a/service/ec2/api_op_GetCapacityReservationUsage.go +++ b/service/ec2/api_op_GetCapacityReservationUsage.go @@ -133,7 +133,10 @@ func addOperationGetCapacityReservationUsageMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetCoipPoolUsage.go b/service/ec2/api_op_GetCoipPoolUsage.go index 40cd44999e2..b26cd0b99a7 100644 --- a/service/ec2/api_op_GetCoipPoolUsage.go +++ b/service/ec2/api_op_GetCoipPoolUsage.go @@ -106,7 +106,10 @@ func addOperationGetCoipPoolUsageMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetConsoleOutput.go b/service/ec2/api_op_GetConsoleOutput.go index ea5f2c20c62..acd05582145 100644 --- a/service/ec2/api_op_GetConsoleOutput.go +++ b/service/ec2/api_op_GetConsoleOutput.go @@ -103,7 +103,10 @@ func addOperationGetConsoleOutputMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetConsoleScreenshot.go b/service/ec2/api_op_GetConsoleScreenshot.go index 7cc191408f6..14a4cf4e7f6 100644 --- a/service/ec2/api_op_GetConsoleScreenshot.go +++ b/service/ec2/api_op_GetConsoleScreenshot.go @@ -87,7 +87,10 @@ func addOperationGetConsoleScreenshotMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetDefaultCreditSpecification.go b/service/ec2/api_op_GetDefaultCreditSpecification.go index e97475cf5af..2b9c52f7de2 100644 --- a/service/ec2/api_op_GetDefaultCreditSpecification.go +++ b/service/ec2/api_op_GetDefaultCreditSpecification.go @@ -83,7 +83,10 @@ func addOperationGetDefaultCreditSpecificationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetEbsDefaultKmsKeyId.go b/service/ec2/api_op_GetEbsDefaultKmsKeyId.go index fe12e90e5c5..aff326ba168 100644 --- a/service/ec2/api_op_GetEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_GetEbsDefaultKmsKeyId.go @@ -79,7 +79,10 @@ func addOperationGetEbsDefaultKmsKeyIdMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetEbsEncryptionByDefault.go b/service/ec2/api_op_GetEbsEncryptionByDefault.go index d488451a405..77dc15180c4 100644 --- a/service/ec2/api_op_GetEbsEncryptionByDefault.go +++ b/service/ec2/api_op_GetEbsEncryptionByDefault.go @@ -77,7 +77,10 @@ func addOperationGetEbsEncryptionByDefaultMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetGroupsForCapacityReservation.go b/service/ec2/api_op_GetGroupsForCapacityReservation.go index a24cbe68b5a..10435d15d5f 100644 --- a/service/ec2/api_op_GetGroupsForCapacityReservation.go +++ b/service/ec2/api_op_GetGroupsForCapacityReservation.go @@ -95,7 +95,10 @@ func addOperationGetGroupsForCapacityReservationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetHostReservationPurchasePreview.go b/service/ec2/api_op_GetHostReservationPurchasePreview.go index 6175def396d..451c7921c2f 100644 --- a/service/ec2/api_op_GetHostReservationPurchasePreview.go +++ b/service/ec2/api_op_GetHostReservationPurchasePreview.go @@ -93,7 +93,10 @@ func addOperationGetHostReservationPurchasePreviewMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetLaunchTemplateData.go b/service/ec2/api_op_GetLaunchTemplateData.go index 182ca32ed19..d8aad3655bd 100644 --- a/service/ec2/api_op_GetLaunchTemplateData.go +++ b/service/ec2/api_op_GetLaunchTemplateData.go @@ -86,7 +86,10 @@ func addOperationGetLaunchTemplateDataMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetManagedPrefixListAssociations.go b/service/ec2/api_op_GetManagedPrefixListAssociations.go index cec6ae884f8..dd833b8e8e9 100644 --- a/service/ec2/api_op_GetManagedPrefixListAssociations.go +++ b/service/ec2/api_op_GetManagedPrefixListAssociations.go @@ -93,7 +93,10 @@ func addOperationGetManagedPrefixListAssociationsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetManagedPrefixListEntries.go b/service/ec2/api_op_GetManagedPrefixListEntries.go index 4a4fc8ec6c3..7e45c4fd5ad 100644 --- a/service/ec2/api_op_GetManagedPrefixListEntries.go +++ b/service/ec2/api_op_GetManagedPrefixListEntries.go @@ -96,7 +96,10 @@ func addOperationGetManagedPrefixListEntriesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetPasswordData.go b/service/ec2/api_op_GetPasswordData.go index ebcead5e4a8..e9013b1ee99 100644 --- a/service/ec2/api_op_GetPasswordData.go +++ b/service/ec2/api_op_GetPasswordData.go @@ -106,7 +106,10 @@ func addOperationGetPasswordDataMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetReservedInstancesExchangeQuote.go b/service/ec2/api_op_GetReservedInstancesExchangeQuote.go index e85cee2a757..050adaa1236 100644 --- a/service/ec2/api_op_GetReservedInstancesExchangeQuote.go +++ b/service/ec2/api_op_GetReservedInstancesExchangeQuote.go @@ -114,7 +114,10 @@ func addOperationGetReservedInstancesExchangeQuoteMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go b/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go index 70558ef2b80..4199cc69e85 100644 --- a/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go +++ b/service/ec2/api_op_GetTransitGatewayAttachmentPropagations.go @@ -99,7 +99,10 @@ func addOperationGetTransitGatewayAttachmentPropagationsMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go index a553d6cc52a..dc3cea732e2 100644 --- a/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayMulticastDomainAssociations.go @@ -109,7 +109,10 @@ func addOperationGetTransitGatewayMulticastDomainAssociationsMiddlewares(stack * if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go b/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go index c49b23efcc1..749fe16cb9e 100644 --- a/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go +++ b/service/ec2/api_op_GetTransitGatewayPrefixListReferences.go @@ -117,7 +117,10 @@ func addOperationGetTransitGatewayPrefixListReferencesMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go b/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go index 54cac2bd09b..8731ebf2d6e 100644 --- a/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go +++ b/service/ec2/api_op_GetTransitGatewayRouteTableAssociations.go @@ -105,7 +105,10 @@ func addOperationGetTransitGatewayRouteTableAssociationsMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go b/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go index bae08a7b5b5..75810918dd9 100644 --- a/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go +++ b/service/ec2/api_op_GetTransitGatewayRouteTablePropagations.go @@ -105,7 +105,10 @@ func addOperationGetTransitGatewayRouteTablePropagationsMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go b/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go index 3ad88d1923e..80091f273dc 100644 --- a/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go +++ b/service/ec2/api_op_ImportClientVpnClientCertificateRevocationList.go @@ -91,7 +91,10 @@ func addOperationImportClientVpnClientCertificateRevocationListMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ImportImage.go b/service/ec2/api_op_ImportImage.go index da9685da1b9..4c8ab7d0e67 100644 --- a/service/ec2/api_op_ImportImage.go +++ b/service/ec2/api_op_ImportImage.go @@ -204,7 +204,10 @@ func addOperationImportImageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ImportInstance.go b/service/ec2/api_op_ImportInstance.go index 43620bbadc8..3944027dbb0 100644 --- a/service/ec2/api_op_ImportInstance.go +++ b/service/ec2/api_op_ImportInstance.go @@ -96,7 +96,10 @@ func addOperationImportInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ImportKeyPair.go b/service/ec2/api_op_ImportKeyPair.go index f6669dec51a..be8a4a2523d 100644 --- a/service/ec2/api_op_ImportKeyPair.go +++ b/service/ec2/api_op_ImportKeyPair.go @@ -105,7 +105,10 @@ func addOperationImportKeyPairMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ImportSnapshot.go b/service/ec2/api_op_ImportSnapshot.go index a830ab2e5c2..611fe08d555 100644 --- a/service/ec2/api_op_ImportSnapshot.go +++ b/service/ec2/api_op_ImportSnapshot.go @@ -143,7 +143,10 @@ func addOperationImportSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ImportVolume.go b/service/ec2/api_op_ImportVolume.go index 94746797dcc..a80ec66734a 100644 --- a/service/ec2/api_op_ImportVolume.go +++ b/service/ec2/api_op_ImportVolume.go @@ -98,7 +98,10 @@ func addOperationImportVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyAddressAttribute.go b/service/ec2/api_op_ModifyAddressAttribute.go index 555fcdf5161..f938fc2cffc 100644 --- a/service/ec2/api_op_ModifyAddressAttribute.go +++ b/service/ec2/api_op_ModifyAddressAttribute.go @@ -73,7 +73,10 @@ func addOperationModifyAddressAttributeMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyAvailabilityZoneGroup.go b/service/ec2/api_op_ModifyAvailabilityZoneGroup.go index 80ee3994f6f..3c3a3b98312 100644 --- a/service/ec2/api_op_ModifyAvailabilityZoneGroup.go +++ b/service/ec2/api_op_ModifyAvailabilityZoneGroup.go @@ -92,7 +92,10 @@ func addOperationModifyAvailabilityZoneGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyCapacityReservation.go b/service/ec2/api_op_ModifyCapacityReservation.go index b10703f61a9..6c4bd48ed0f 100644 --- a/service/ec2/api_op_ModifyCapacityReservation.go +++ b/service/ec2/api_op_ModifyCapacityReservation.go @@ -111,7 +111,10 @@ func addOperationModifyCapacityReservationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyClientVpnEndpoint.go b/service/ec2/api_op_ModifyClientVpnEndpoint.go index d7aa2f1a5a7..ce855d09dce 100644 --- a/service/ec2/api_op_ModifyClientVpnEndpoint.go +++ b/service/ec2/api_op_ModifyClientVpnEndpoint.go @@ -130,7 +130,10 @@ func addOperationModifyClientVpnEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyDefaultCreditSpecification.go b/service/ec2/api_op_ModifyDefaultCreditSpecification.go index 4a30188aae5..401ee386fa7 100644 --- a/service/ec2/api_op_ModifyDefaultCreditSpecification.go +++ b/service/ec2/api_op_ModifyDefaultCreditSpecification.go @@ -98,7 +98,10 @@ func addOperationModifyDefaultCreditSpecificationMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go b/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go index ba854ce2728..4c3c84c5b22 100644 --- a/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_ModifyEbsDefaultKmsKeyId.go @@ -109,7 +109,10 @@ func addOperationModifyEbsDefaultKmsKeyIdMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyFleet.go b/service/ec2/api_op_ModifyFleet.go index 6bd2e712917..22996703401 100644 --- a/service/ec2/api_op_ModifyFleet.go +++ b/service/ec2/api_op_ModifyFleet.go @@ -112,7 +112,10 @@ func addOperationModifyFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyFpgaImageAttribute.go b/service/ec2/api_op_ModifyFpgaImageAttribute.go index 8ffb9e104fa..7733b4830c0 100644 --- a/service/ec2/api_op_ModifyFpgaImageAttribute.go +++ b/service/ec2/api_op_ModifyFpgaImageAttribute.go @@ -107,7 +107,10 @@ func addOperationModifyFpgaImageAttributeMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyHosts.go b/service/ec2/api_op_ModifyHosts.go index b18b9478a52..1c749bc51b7 100644 --- a/service/ec2/api_op_ModifyHosts.go +++ b/service/ec2/api_op_ModifyHosts.go @@ -110,7 +110,10 @@ func addOperationModifyHostsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyIdFormat.go b/service/ec2/api_op_ModifyIdFormat.go index df79826cca8..f0c4b0c3a78 100644 --- a/service/ec2/api_op_ModifyIdFormat.go +++ b/service/ec2/api_op_ModifyIdFormat.go @@ -102,7 +102,10 @@ func addOperationModifyIdFormatMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyIdentityIdFormat.go b/service/ec2/api_op_ModifyIdentityIdFormat.go index 7bc41e5c673..da2cfbe32a0 100644 --- a/service/ec2/api_op_ModifyIdentityIdFormat.go +++ b/service/ec2/api_op_ModifyIdentityIdFormat.go @@ -107,7 +107,10 @@ func addOperationModifyIdentityIdFormatMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyImageAttribute.go b/service/ec2/api_op_ModifyImageAttribute.go index 2321178244e..52f9a1428a2 100644 --- a/service/ec2/api_op_ModifyImageAttribute.go +++ b/service/ec2/api_op_ModifyImageAttribute.go @@ -113,7 +113,10 @@ func addOperationModifyImageAttributeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyInstanceAttribute.go b/service/ec2/api_op_ModifyInstanceAttribute.go index cf46ad3036f..c7a5cee65f1 100644 --- a/service/ec2/api_op_ModifyInstanceAttribute.go +++ b/service/ec2/api_op_ModifyInstanceAttribute.go @@ -162,7 +162,10 @@ func addOperationModifyInstanceAttributeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go b/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go index 73ab8f66bf6..fdcea51b7db 100644 --- a/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go +++ b/service/ec2/api_op_ModifyInstanceCapacityReservationAttributes.go @@ -88,7 +88,10 @@ func addOperationModifyInstanceCapacityReservationAttributesMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyInstanceCreditSpecification.go b/service/ec2/api_op_ModifyInstanceCreditSpecification.go index 5ae51246cf4..20b1229ad8e 100644 --- a/service/ec2/api_op_ModifyInstanceCreditSpecification.go +++ b/service/ec2/api_op_ModifyInstanceCreditSpecification.go @@ -94,7 +94,10 @@ func addOperationModifyInstanceCreditSpecificationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyInstanceEventStartTime.go b/service/ec2/api_op_ModifyInstanceEventStartTime.go index b2188706183..7caeecd5b7b 100644 --- a/service/ec2/api_op_ModifyInstanceEventStartTime.go +++ b/service/ec2/api_op_ModifyInstanceEventStartTime.go @@ -91,7 +91,10 @@ func addOperationModifyInstanceEventStartTimeMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyInstanceMetadataOptions.go b/service/ec2/api_op_ModifyInstanceMetadataOptions.go index 52618bfbf6f..b8f465950e1 100644 --- a/service/ec2/api_op_ModifyInstanceMetadataOptions.go +++ b/service/ec2/api_op_ModifyInstanceMetadataOptions.go @@ -114,7 +114,10 @@ func addOperationModifyInstanceMetadataOptionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyInstancePlacement.go b/service/ec2/api_op_ModifyInstancePlacement.go index f3897944a64..6c0e9992bd3 100644 --- a/service/ec2/api_op_ModifyInstancePlacement.go +++ b/service/ec2/api_op_ModifyInstancePlacement.go @@ -120,7 +120,10 @@ func addOperationModifyInstancePlacementMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyLaunchTemplate.go b/service/ec2/api_op_ModifyLaunchTemplate.go index 2623f4a8715..6569524a650 100644 --- a/service/ec2/api_op_ModifyLaunchTemplate.go +++ b/service/ec2/api_op_ModifyLaunchTemplate.go @@ -94,7 +94,10 @@ func addOperationModifyLaunchTemplateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyManagedPrefixList.go b/service/ec2/api_op_ModifyManagedPrefixList.go index bea4c574d9e..8f71a4e21dc 100644 --- a/service/ec2/api_op_ModifyManagedPrefixList.go +++ b/service/ec2/api_op_ModifyManagedPrefixList.go @@ -95,7 +95,10 @@ func addOperationModifyManagedPrefixListMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go b/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go index 8ded0358da1..a3e121e610c 100644 --- a/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_ModifyNetworkInterfaceAttribute.go @@ -99,7 +99,10 @@ func addOperationModifyNetworkInterfaceAttributeMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyReservedInstances.go b/service/ec2/api_op_ModifyReservedInstances.go index e1944ec7fd2..7389190b249 100644 --- a/service/ec2/api_op_ModifyReservedInstances.go +++ b/service/ec2/api_op_ModifyReservedInstances.go @@ -92,7 +92,10 @@ func addOperationModifyReservedInstancesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifySnapshotAttribute.go b/service/ec2/api_op_ModifySnapshotAttribute.go index 105db6f1b09..d25165d2982 100644 --- a/service/ec2/api_op_ModifySnapshotAttribute.go +++ b/service/ec2/api_op_ModifySnapshotAttribute.go @@ -102,7 +102,10 @@ func addOperationModifySnapshotAttributeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifySpotFleetRequest.go b/service/ec2/api_op_ModifySpotFleetRequest.go index 563dd9bc702..c6c78df0372 100644 --- a/service/ec2/api_op_ModifySpotFleetRequest.go +++ b/service/ec2/api_op_ModifySpotFleetRequest.go @@ -115,7 +115,10 @@ func addOperationModifySpotFleetRequestMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifySubnetAttribute.go b/service/ec2/api_op_ModifySubnetAttribute.go index 8ae0f917a6d..e62b2fe9b3f 100644 --- a/service/ec2/api_op_ModifySubnetAttribute.go +++ b/service/ec2/api_op_ModifySubnetAttribute.go @@ -92,7 +92,10 @@ func addOperationModifySubnetAttributeMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go b/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go index ea01b9d9654..2f14b939c1b 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go +++ b/service/ec2/api_op_ModifyTrafficMirrorFilterNetworkServices.go @@ -94,7 +94,10 @@ func addOperationModifyTrafficMirrorFilterNetworkServicesMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go b/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go index f40d7de17c6..54fe90f6380 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go +++ b/service/ec2/api_op_ModifyTrafficMirrorFilterRule.go @@ -115,7 +115,10 @@ func addOperationModifyTrafficMirrorFilterRuleMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyTrafficMirrorSession.go b/service/ec2/api_op_ModifyTrafficMirrorSession.go index aa12a15172e..666f63bf3b3 100644 --- a/service/ec2/api_op_ModifyTrafficMirrorSession.go +++ b/service/ec2/api_op_ModifyTrafficMirrorSession.go @@ -110,7 +110,10 @@ func addOperationModifyTrafficMirrorSessionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyTransitGateway.go b/service/ec2/api_op_ModifyTransitGateway.go index ddd2a59393e..b62ba4c3ec3 100644 --- a/service/ec2/api_op_ModifyTransitGateway.go +++ b/service/ec2/api_op_ModifyTransitGateway.go @@ -88,7 +88,10 @@ func addOperationModifyTransitGatewayMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go b/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go index 67b3c1b35ad..13d1f6647c0 100644 --- a/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go +++ b/service/ec2/api_op_ModifyTransitGatewayPrefixListReference.go @@ -92,7 +92,10 @@ func addOperationModifyTransitGatewayPrefixListReferenceMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go b/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go index a595f315062..b2955c53233 100644 --- a/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_ModifyTransitGatewayVpcAttachment.go @@ -90,7 +90,10 @@ func addOperationModifyTransitGatewayVpcAttachmentMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVolume.go b/service/ec2/api_op_ModifyVolume.go index d0d93c1fb20..bdd32405cf9 100644 --- a/service/ec2/api_op_ModifyVolume.go +++ b/service/ec2/api_op_ModifyVolume.go @@ -166,7 +166,10 @@ func addOperationModifyVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVolumeAttribute.go b/service/ec2/api_op_ModifyVolumeAttribute.go index 5ac1f7c009b..b98d2b51ea2 100644 --- a/service/ec2/api_op_ModifyVolumeAttribute.go +++ b/service/ec2/api_op_ModifyVolumeAttribute.go @@ -85,7 +85,10 @@ func addOperationModifyVolumeAttributeMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpcAttribute.go b/service/ec2/api_op_ModifyVpcAttribute.go index 5d554dd84cd..deed2e6380b 100644 --- a/service/ec2/api_op_ModifyVpcAttribute.go +++ b/service/ec2/api_op_ModifyVpcAttribute.go @@ -86,7 +86,10 @@ func addOperationModifyVpcAttributeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpcEndpoint.go b/service/ec2/api_op_ModifyVpcEndpoint.go index 122d5479efa..ee131f9f5a2 100644 --- a/service/ec2/api_op_ModifyVpcEndpoint.go +++ b/service/ec2/api_op_ModifyVpcEndpoint.go @@ -119,7 +119,10 @@ func addOperationModifyVpcEndpointMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go b/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go index 677a6c36969..e9b9830265f 100644 --- a/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go +++ b/service/ec2/api_op_ModifyVpcEndpointConnectionNotification.go @@ -88,7 +88,10 @@ func addOperationModifyVpcEndpointConnectionNotificationMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go b/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go index c69baf89eeb..f390ce424ce 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go +++ b/service/ec2/api_op_ModifyVpcEndpointServiceConfiguration.go @@ -114,7 +114,10 @@ func addOperationModifyVpcEndpointServiceConfigurationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go b/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go index 1a8cfd6cb09..68f26918f64 100644 --- a/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go +++ b/service/ec2/api_op_ModifyVpcEndpointServicePermissions.go @@ -94,7 +94,10 @@ func addOperationModifyVpcEndpointServicePermissionsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go b/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go index 80ffd14b9b9..48062a14089 100644 --- a/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go +++ b/service/ec2/api_op_ModifyVpcPeeringConnectionOptions.go @@ -114,7 +114,10 @@ func addOperationModifyVpcPeeringConnectionOptionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpcTenancy.go b/service/ec2/api_op_ModifyVpcTenancy.go index e9064e21071..7e48ecff313 100644 --- a/service/ec2/api_op_ModifyVpcTenancy.go +++ b/service/ec2/api_op_ModifyVpcTenancy.go @@ -93,7 +93,10 @@ func addOperationModifyVpcTenancyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpnConnection.go b/service/ec2/api_op_ModifyVpnConnection.go index c2bcc167f50..eea487ec6f2 100644 --- a/service/ec2/api_op_ModifyVpnConnection.go +++ b/service/ec2/api_op_ModifyVpnConnection.go @@ -123,7 +123,10 @@ func addOperationModifyVpnConnectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpnConnectionOptions.go b/service/ec2/api_op_ModifyVpnConnectionOptions.go index 3183133ddf9..3be36592fb2 100644 --- a/service/ec2/api_op_ModifyVpnConnectionOptions.go +++ b/service/ec2/api_op_ModifyVpnConnectionOptions.go @@ -97,7 +97,10 @@ func addOperationModifyVpnConnectionOptionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpnTunnelCertificate.go b/service/ec2/api_op_ModifyVpnTunnelCertificate.go index f38248e784f..49e8c6bf94b 100644 --- a/service/ec2/api_op_ModifyVpnTunnelCertificate.go +++ b/service/ec2/api_op_ModifyVpnTunnelCertificate.go @@ -85,7 +85,10 @@ func addOperationModifyVpnTunnelCertificateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ModifyVpnTunnelOptions.go b/service/ec2/api_op_ModifyVpnTunnelOptions.go index 0991a267a17..ca070b4ffdb 100644 --- a/service/ec2/api_op_ModifyVpnTunnelOptions.go +++ b/service/ec2/api_op_ModifyVpnTunnelOptions.go @@ -95,7 +95,10 @@ func addOperationModifyVpnTunnelOptionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_MonitorInstances.go b/service/ec2/api_op_MonitorInstances.go index 5bb26a53572..fcce35d2c7a 100644 --- a/service/ec2/api_op_MonitorInstances.go +++ b/service/ec2/api_op_MonitorInstances.go @@ -84,7 +84,10 @@ func addOperationMonitorInstancesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_MoveAddressToVpc.go b/service/ec2/api_op_MoveAddressToVpc.go index c7a8e8679d6..4b72b35550d 100644 --- a/service/ec2/api_op_MoveAddressToVpc.go +++ b/service/ec2/api_op_MoveAddressToVpc.go @@ -89,7 +89,10 @@ func addOperationMoveAddressToVpcMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ProvisionByoipCidr.go b/service/ec2/api_op_ProvisionByoipCidr.go index dd817f05936..f8500a86ff2 100644 --- a/service/ec2/api_op_ProvisionByoipCidr.go +++ b/service/ec2/api_op_ProvisionByoipCidr.go @@ -112,7 +112,10 @@ func addOperationProvisionByoipCidrMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_PurchaseHostReservation.go b/service/ec2/api_op_PurchaseHostReservation.go index 519cf11af2d..13e74b333dc 100644 --- a/service/ec2/api_op_PurchaseHostReservation.go +++ b/service/ec2/api_op_PurchaseHostReservation.go @@ -117,7 +117,10 @@ func addOperationPurchaseHostReservationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_PurchaseReservedInstancesOffering.go b/service/ec2/api_op_PurchaseReservedInstancesOffering.go index 502ecf29084..59b00ca366a 100644 --- a/service/ec2/api_op_PurchaseReservedInstancesOffering.go +++ b/service/ec2/api_op_PurchaseReservedInstancesOffering.go @@ -107,7 +107,10 @@ func addOperationPurchaseReservedInstancesOfferingMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_PurchaseScheduledInstances.go b/service/ec2/api_op_PurchaseScheduledInstances.go index bb4c4ae2e20..ec00de6b1b3 100644 --- a/service/ec2/api_op_PurchaseScheduledInstances.go +++ b/service/ec2/api_op_PurchaseScheduledInstances.go @@ -94,7 +94,10 @@ func addOperationPurchaseScheduledInstancesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RebootInstances.go b/service/ec2/api_op_RebootInstances.go index f1f83b8322e..15e01cd3f82 100644 --- a/service/ec2/api_op_RebootInstances.go +++ b/service/ec2/api_op_RebootInstances.go @@ -82,7 +82,10 @@ func addOperationRebootInstancesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RegisterImage.go b/service/ec2/api_op_RegisterImage.go index 7404c6636f5..cba43254921 100644 --- a/service/ec2/api_op_RegisterImage.go +++ b/service/ec2/api_op_RegisterImage.go @@ -174,7 +174,10 @@ func addOperationRegisterImageMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go b/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go index 3390faab339..9846b32511c 100644 --- a/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go +++ b/service/ec2/api_op_RegisterInstanceEventNotificationAttributes.go @@ -79,7 +79,10 @@ func addOperationRegisterInstanceEventNotificationAttributesMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go index 8ae61071199..cec3c27c41b 100644 --- a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go +++ b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupMembers.go @@ -93,7 +93,10 @@ func addOperationRegisterTransitGatewayMulticastGroupMembersMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go index aeaa0b8952a..632d4350351 100644 --- a/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go +++ b/service/ec2/api_op_RegisterTransitGatewayMulticastGroupSources.go @@ -93,7 +93,10 @@ func addOperationRegisterTransitGatewayMulticastGroupSourcesMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go b/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go index cb48751f276..ba5433e3df2 100644 --- a/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go +++ b/service/ec2/api_op_RejectTransitGatewayMulticastDomainAssociations.go @@ -85,7 +85,10 @@ func addOperationRejectTransitGatewayMulticastDomainAssociationsMiddlewares(stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go b/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go index 2c9901153c6..93dbe10460a 100644 --- a/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go +++ b/service/ec2/api_op_RejectTransitGatewayPeeringAttachment.go @@ -80,7 +80,10 @@ func addOperationRejectTransitGatewayPeeringAttachmentMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go b/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go index 910c973c12f..8c773afe710 100644 --- a/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go +++ b/service/ec2/api_op_RejectTransitGatewayVpcAttachment.go @@ -83,7 +83,10 @@ func addOperationRejectTransitGatewayVpcAttachmentMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RejectVpcEndpointConnections.go b/service/ec2/api_op_RejectVpcEndpointConnections.go index a992ba821ac..25e0475d3c7 100644 --- a/service/ec2/api_op_RejectVpcEndpointConnections.go +++ b/service/ec2/api_op_RejectVpcEndpointConnections.go @@ -86,7 +86,10 @@ func addOperationRejectVpcEndpointConnectionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RejectVpcPeeringConnection.go b/service/ec2/api_op_RejectVpcPeeringConnection.go index 15ce8d2339a..16cecff541f 100644 --- a/service/ec2/api_op_RejectVpcPeeringConnection.go +++ b/service/ec2/api_op_RejectVpcPeeringConnection.go @@ -83,7 +83,10 @@ func addOperationRejectVpcPeeringConnectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ReleaseAddress.go b/service/ec2/api_op_ReleaseAddress.go index 6843e43b07e..52c65d79600 100644 --- a/service/ec2/api_op_ReleaseAddress.go +++ b/service/ec2/api_op_ReleaseAddress.go @@ -98,7 +98,10 @@ func addOperationReleaseAddressMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ReleaseHosts.go b/service/ec2/api_op_ReleaseHosts.go index 17cbe165a68..bd9c64a5a69 100644 --- a/service/ec2/api_op_ReleaseHosts.go +++ b/service/ec2/api_op_ReleaseHosts.go @@ -86,7 +86,10 @@ func addOperationReleaseHostsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go b/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go index 18b07577638..110f5bd3fd7 100644 --- a/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go +++ b/service/ec2/api_op_ReplaceIamInstanceProfileAssociation.go @@ -82,7 +82,10 @@ func addOperationReplaceIamInstanceProfileAssociationMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ReplaceNetworkAclAssociation.go b/service/ec2/api_op_ReplaceNetworkAclAssociation.go index 28d60905d50..db45337a678 100644 --- a/service/ec2/api_op_ReplaceNetworkAclAssociation.go +++ b/service/ec2/api_op_ReplaceNetworkAclAssociation.go @@ -89,7 +89,10 @@ func addOperationReplaceNetworkAclAssociationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ReplaceNetworkAclEntry.go b/service/ec2/api_op_ReplaceNetworkAclEntry.go index a03784a64fc..37ccd83ff0d 100644 --- a/service/ec2/api_op_ReplaceNetworkAclEntry.go +++ b/service/ec2/api_op_ReplaceNetworkAclEntry.go @@ -121,7 +121,10 @@ func addOperationReplaceNetworkAclEntryMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ReplaceRoute.go b/service/ec2/api_op_ReplaceRoute.go index aeb9877b64a..af6b5c13e55 100644 --- a/service/ec2/api_op_ReplaceRoute.go +++ b/service/ec2/api_op_ReplaceRoute.go @@ -124,7 +124,10 @@ func addOperationReplaceRouteMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ReplaceRouteTableAssociation.go b/service/ec2/api_op_ReplaceRouteTableAssociation.go index 5a1ab28a6f8..e78530ac625 100644 --- a/service/ec2/api_op_ReplaceRouteTableAssociation.go +++ b/service/ec2/api_op_ReplaceRouteTableAssociation.go @@ -95,7 +95,10 @@ func addOperationReplaceRouteTableAssociationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ReplaceTransitGatewayRoute.go b/service/ec2/api_op_ReplaceTransitGatewayRoute.go index a1ee9b0a216..c2372000be2 100644 --- a/service/ec2/api_op_ReplaceTransitGatewayRoute.go +++ b/service/ec2/api_op_ReplaceTransitGatewayRoute.go @@ -92,7 +92,10 @@ func addOperationReplaceTransitGatewayRouteMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ReportInstanceStatus.go b/service/ec2/api_op_ReportInstanceStatus.go index 4039fa0b5ba..87f9031d6df 100644 --- a/service/ec2/api_op_ReportInstanceStatus.go +++ b/service/ec2/api_op_ReportInstanceStatus.go @@ -129,7 +129,10 @@ func addOperationReportInstanceStatusMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RequestSpotFleet.go b/service/ec2/api_op_RequestSpotFleet.go index c784a61b38c..32345bc83da 100644 --- a/service/ec2/api_op_RequestSpotFleet.go +++ b/service/ec2/api_op_RequestSpotFleet.go @@ -99,7 +99,10 @@ func addOperationRequestSpotFleetMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RequestSpotInstances.go b/service/ec2/api_op_RequestSpotInstances.go index 956493081c9..1ac4fe700b4 100644 --- a/service/ec2/api_op_RequestSpotInstances.go +++ b/service/ec2/api_op_RequestSpotInstances.go @@ -165,7 +165,10 @@ func addOperationRequestSpotInstancesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ResetAddressAttribute.go b/service/ec2/api_op_ResetAddressAttribute.go index eb77577ec44..0dacc1eb56c 100644 --- a/service/ec2/api_op_ResetAddressAttribute.go +++ b/service/ec2/api_op_ResetAddressAttribute.go @@ -74,7 +74,10 @@ func addOperationResetAddressAttributeMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go b/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go index 84a4a8cc37f..3d009cdc640 100644 --- a/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go +++ b/service/ec2/api_op_ResetEbsDefaultKmsKeyId.go @@ -80,7 +80,10 @@ func addOperationResetEbsDefaultKmsKeyIdMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ResetFpgaImageAttribute.go b/service/ec2/api_op_ResetFpgaImageAttribute.go index aea3c1edc8d..1c44d85942d 100644 --- a/service/ec2/api_op_ResetFpgaImageAttribute.go +++ b/service/ec2/api_op_ResetFpgaImageAttribute.go @@ -84,7 +84,10 @@ func addOperationResetFpgaImageAttributeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ResetImageAttribute.go b/service/ec2/api_op_ResetImageAttribute.go index 8ae03f429ba..f2fc8349164 100644 --- a/service/ec2/api_op_ResetImageAttribute.go +++ b/service/ec2/api_op_ResetImageAttribute.go @@ -84,7 +84,10 @@ func addOperationResetImageAttributeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ResetInstanceAttribute.go b/service/ec2/api_op_ResetInstanceAttribute.go index beb5daf9005..4a17d52644b 100644 --- a/service/ec2/api_op_ResetInstanceAttribute.go +++ b/service/ec2/api_op_ResetInstanceAttribute.go @@ -90,7 +90,10 @@ func addOperationResetInstanceAttributeMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ResetNetworkInterfaceAttribute.go b/service/ec2/api_op_ResetNetworkInterfaceAttribute.go index 918094dacdd..d19c711c22b 100644 --- a/service/ec2/api_op_ResetNetworkInterfaceAttribute.go +++ b/service/ec2/api_op_ResetNetworkInterfaceAttribute.go @@ -80,7 +80,10 @@ func addOperationResetNetworkInterfaceAttributeMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_ResetSnapshotAttribute.go b/service/ec2/api_op_ResetSnapshotAttribute.go index fbdf9706279..484d0862419 100644 --- a/service/ec2/api_op_ResetSnapshotAttribute.go +++ b/service/ec2/api_op_ResetSnapshotAttribute.go @@ -85,7 +85,10 @@ func addOperationResetSnapshotAttributeMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RestoreAddressToClassic.go b/service/ec2/api_op_RestoreAddressToClassic.go index a58c19c7aec..9f1737a25b5 100644 --- a/service/ec2/api_op_RestoreAddressToClassic.go +++ b/service/ec2/api_op_RestoreAddressToClassic.go @@ -86,7 +86,10 @@ func addOperationRestoreAddressToClassicMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RestoreManagedPrefixListVersion.go b/service/ec2/api_op_RestoreManagedPrefixListVersion.go index e56dbd30c2f..3851edb14f2 100644 --- a/service/ec2/api_op_RestoreManagedPrefixListVersion.go +++ b/service/ec2/api_op_RestoreManagedPrefixListVersion.go @@ -91,7 +91,10 @@ func addOperationRestoreManagedPrefixListVersionMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RevokeClientVpnIngress.go b/service/ec2/api_op_RevokeClientVpnIngress.go index bb25277fc35..7fecb7f8e50 100644 --- a/service/ec2/api_op_RevokeClientVpnIngress.go +++ b/service/ec2/api_op_RevokeClientVpnIngress.go @@ -93,7 +93,10 @@ func addOperationRevokeClientVpnIngressMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RevokeSecurityGroupEgress.go b/service/ec2/api_op_RevokeSecurityGroupEgress.go index ac09ebca053..e03aa6f93c5 100644 --- a/service/ec2/api_op_RevokeSecurityGroupEgress.go +++ b/service/ec2/api_op_RevokeSecurityGroupEgress.go @@ -123,7 +123,10 @@ func addOperationRevokeSecurityGroupEgressMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RevokeSecurityGroupIngress.go b/service/ec2/api_op_RevokeSecurityGroupIngress.go index f4588c57158..3f381a86cea 100644 --- a/service/ec2/api_op_RevokeSecurityGroupIngress.go +++ b/service/ec2/api_op_RevokeSecurityGroupIngress.go @@ -137,7 +137,10 @@ func addOperationRevokeSecurityGroupIngressMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RunInstances.go b/service/ec2/api_op_RunInstances.go index a13d03f1f77..39fd654156c 100644 --- a/service/ec2/api_op_RunInstances.go +++ b/service/ec2/api_op_RunInstances.go @@ -381,7 +381,10 @@ func addOperationRunInstancesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_RunScheduledInstances.go b/service/ec2/api_op_RunScheduledInstances.go index e1a6181b1bb..6ebaa6ce30b 100644 --- a/service/ec2/api_op_RunScheduledInstances.go +++ b/service/ec2/api_op_RunScheduledInstances.go @@ -105,7 +105,10 @@ func addOperationRunScheduledInstancesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_SearchLocalGatewayRoutes.go b/service/ec2/api_op_SearchLocalGatewayRoutes.go index 970b730ac61..634de9c1a66 100644 --- a/service/ec2/api_op_SearchLocalGatewayRoutes.go +++ b/service/ec2/api_op_SearchLocalGatewayRoutes.go @@ -97,7 +97,10 @@ func addOperationSearchLocalGatewayRoutesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go b/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go index 15a85ad47e9..32112292e35 100644 --- a/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go +++ b/service/ec2/api_op_SearchTransitGatewayMulticastGroups.go @@ -124,7 +124,10 @@ func addOperationSearchTransitGatewayMulticastGroupsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_SearchTransitGatewayRoutes.go b/service/ec2/api_op_SearchTransitGatewayRoutes.go index d4e06efa850..50d17c4ab05 100644 --- a/service/ec2/api_op_SearchTransitGatewayRoutes.go +++ b/service/ec2/api_op_SearchTransitGatewayRoutes.go @@ -124,7 +124,10 @@ func addOperationSearchTransitGatewayRoutesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_SendDiagnosticInterrupt.go b/service/ec2/api_op_SendDiagnosticInterrupt.go index e57f550a57b..50e81ee8bf6 100644 --- a/service/ec2/api_op_SendDiagnosticInterrupt.go +++ b/service/ec2/api_op_SendDiagnosticInterrupt.go @@ -89,7 +89,10 @@ func addOperationSendDiagnosticInterruptMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_StartInstances.go b/service/ec2/api_op_StartInstances.go index a1db4961a24..48647d3138d 100644 --- a/service/ec2/api_op_StartInstances.go +++ b/service/ec2/api_op_StartInstances.go @@ -100,7 +100,10 @@ func addOperationStartInstancesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_StartNetworkInsightsAnalysis.go b/service/ec2/api_op_StartNetworkInsightsAnalysis.go index fc528fc041d..775c8e611a7 100644 --- a/service/ec2/api_op_StartNetworkInsightsAnalysis.go +++ b/service/ec2/api_op_StartNetworkInsightsAnalysis.go @@ -95,7 +95,10 @@ func addOperationStartNetworkInsightsAnalysisMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go b/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go index f284625380f..b81cb63fd4e 100644 --- a/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go +++ b/service/ec2/api_op_StartVpcEndpointServicePrivateDnsVerification.go @@ -86,7 +86,10 @@ func addOperationStartVpcEndpointServicePrivateDnsVerificationMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_StopInstances.go b/service/ec2/api_op_StopInstances.go index f6046119d48..10d22bd744b 100644 --- a/service/ec2/api_op_StopInstances.go +++ b/service/ec2/api_op_StopInstances.go @@ -133,7 +133,10 @@ func addOperationStopInstancesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_TerminateClientVpnConnections.go b/service/ec2/api_op_TerminateClientVpnConnections.go index 046ed837674..b0c64a4171f 100644 --- a/service/ec2/api_op_TerminateClientVpnConnections.go +++ b/service/ec2/api_op_TerminateClientVpnConnections.go @@ -96,7 +96,10 @@ func addOperationTerminateClientVpnConnectionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_TerminateInstances.go b/service/ec2/api_op_TerminateInstances.go index e839b0751df..2fbdbbf0607 100644 --- a/service/ec2/api_op_TerminateInstances.go +++ b/service/ec2/api_op_TerminateInstances.go @@ -99,7 +99,10 @@ func addOperationTerminateInstancesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_UnassignIpv6Addresses.go b/service/ec2/api_op_UnassignIpv6Addresses.go index 0bf458708d1..2f617b8e3b7 100644 --- a/service/ec2/api_op_UnassignIpv6Addresses.go +++ b/service/ec2/api_op_UnassignIpv6Addresses.go @@ -81,7 +81,10 @@ func addOperationUnassignIpv6AddressesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_UnassignPrivateIpAddresses.go b/service/ec2/api_op_UnassignPrivateIpAddresses.go index 3ac3ab89f26..ecdbd54d704 100644 --- a/service/ec2/api_op_UnassignPrivateIpAddresses.go +++ b/service/ec2/api_op_UnassignPrivateIpAddresses.go @@ -76,7 +76,10 @@ func addOperationUnassignPrivateIpAddressesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_UnmonitorInstances.go b/service/ec2/api_op_UnmonitorInstances.go index 2883eba4fa0..87faad427d2 100644 --- a/service/ec2/api_op_UnmonitorInstances.go +++ b/service/ec2/api_op_UnmonitorInstances.go @@ -83,7 +83,10 @@ func addOperationUnmonitorInstancesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go index 494f014283d..f1bafd9fb74 100644 --- a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go +++ b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsEgress.go @@ -93,7 +93,10 @@ func addOperationUpdateSecurityGroupRuleDescriptionsEgressMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go index 892812a09c9..fa4ab462279 100644 --- a/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go +++ b/service/ec2/api_op_UpdateSecurityGroupRuleDescriptionsIngress.go @@ -93,7 +93,10 @@ func addOperationUpdateSecurityGroupRuleDescriptionsIngressMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2/api_op_WithdrawByoipCidr.go b/service/ec2/api_op_WithdrawByoipCidr.go index 93dd9539581..8445558ab60 100644 --- a/service/ec2/api_op_WithdrawByoipCidr.go +++ b/service/ec2/api_op_WithdrawByoipCidr.go @@ -83,7 +83,10 @@ func addOperationWithdrawByoipCidrMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ec2instanceconnect/api_op_SendSSHPublicKey.go b/service/ec2instanceconnect/api_op_SendSSHPublicKey.go index c47da2e3aeb..f6e9f422a08 100644 --- a/service/ec2instanceconnect/api_op_SendSSHPublicKey.go +++ b/service/ec2instanceconnect/api_op_SendSSHPublicKey.go @@ -94,7 +94,10 @@ func addOperationSendSSHPublicKeyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_BatchCheckLayerAvailability.go b/service/ecr/api_op_BatchCheckLayerAvailability.go index 1baa6eedf79..45b200deb72 100644 --- a/service/ecr/api_op_BatchCheckLayerAvailability.go +++ b/service/ecr/api_op_BatchCheckLayerAvailability.go @@ -92,7 +92,10 @@ func addOperationBatchCheckLayerAvailabilityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_BatchDeleteImage.go b/service/ecr/api_op_BatchDeleteImage.go index 3661f696184..8f41030a124 100644 --- a/service/ecr/api_op_BatchDeleteImage.go +++ b/service/ecr/api_op_BatchDeleteImage.go @@ -93,7 +93,10 @@ func addOperationBatchDeleteImageMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_BatchGetImage.go b/service/ecr/api_op_BatchGetImage.go index e6148869e5d..bc7aab9b15a 100644 --- a/service/ecr/api_op_BatchGetImage.go +++ b/service/ecr/api_op_BatchGetImage.go @@ -95,7 +95,10 @@ func addOperationBatchGetImageMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_CompleteLayerUpload.go b/service/ecr/api_op_CompleteLayerUpload.go index 56f5b0af53a..7bce955d372 100644 --- a/service/ecr/api_op_CompleteLayerUpload.go +++ b/service/ecr/api_op_CompleteLayerUpload.go @@ -103,7 +103,10 @@ func addOperationCompleteLayerUploadMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_CreateRepository.go b/service/ecr/api_op_CreateRepository.go index 6de860adc96..200e73d8dd3 100644 --- a/service/ecr/api_op_CreateRepository.go +++ b/service/ecr/api_op_CreateRepository.go @@ -99,7 +99,10 @@ func addOperationCreateRepositoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_DeleteLifecyclePolicy.go b/service/ecr/api_op_DeleteLifecyclePolicy.go index 893c5e328f0..14ddc898b66 100644 --- a/service/ecr/api_op_DeleteLifecyclePolicy.go +++ b/service/ecr/api_op_DeleteLifecyclePolicy.go @@ -87,7 +87,10 @@ func addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_DeleteRegistryPolicy.go b/service/ecr/api_op_DeleteRegistryPolicy.go index 6e48ac86d1c..31e2cd8300e 100644 --- a/service/ecr/api_op_DeleteRegistryPolicy.go +++ b/service/ecr/api_op_DeleteRegistryPolicy.go @@ -71,7 +71,10 @@ func addOperationDeleteRegistryPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_DeleteRepository.go b/service/ecr/api_op_DeleteRepository.go index 78b3aa9a722..ea095e26423 100644 --- a/service/ecr/api_op_DeleteRepository.go +++ b/service/ecr/api_op_DeleteRepository.go @@ -82,7 +82,10 @@ func addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_DeleteRepositoryPolicy.go b/service/ecr/api_op_DeleteRepositoryPolicy.go index d76c1d74c6d..b9d17f1cc8e 100644 --- a/service/ecr/api_op_DeleteRepositoryPolicy.go +++ b/service/ecr/api_op_DeleteRepositoryPolicy.go @@ -85,7 +85,10 @@ func addOperationDeleteRepositoryPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_DescribeImageScanFindings.go b/service/ecr/api_op_DescribeImageScanFindings.go index 89ea0c5e70c..b0125ee5b2e 100644 --- a/service/ecr/api_op_DescribeImageScanFindings.go +++ b/service/ecr/api_op_DescribeImageScanFindings.go @@ -124,7 +124,10 @@ func addOperationDescribeImageScanFindingsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_DescribeImages.go b/service/ecr/api_op_DescribeImages.go index 02b00739e01..11d2fad58a7 100644 --- a/service/ecr/api_op_DescribeImages.go +++ b/service/ecr/api_op_DescribeImages.go @@ -113,7 +113,10 @@ func addOperationDescribeImagesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_DescribeRegistry.go b/service/ecr/api_op_DescribeRegistry.go index 7ec35c188c6..5e7822ce7a7 100644 --- a/service/ecr/api_op_DescribeRegistry.go +++ b/service/ecr/api_op_DescribeRegistry.go @@ -74,7 +74,10 @@ func addOperationDescribeRegistryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_DescribeRepositories.go b/service/ecr/api_op_DescribeRepositories.go index 5fea2ea40f8..b7672afdba2 100644 --- a/service/ecr/api_op_DescribeRepositories.go +++ b/service/ecr/api_op_DescribeRepositories.go @@ -105,7 +105,10 @@ func addOperationDescribeRepositoriesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_GetAuthorizationToken.go b/service/ecr/api_op_GetAuthorizationToken.go index f3cdf899bde..c1d739b67a8 100644 --- a/service/ecr/api_op_GetAuthorizationToken.go +++ b/service/ecr/api_op_GetAuthorizationToken.go @@ -88,7 +88,10 @@ func addOperationGetAuthorizationTokenMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_GetDownloadUrlForLayer.go b/service/ecr/api_op_GetDownloadUrlForLayer.go index f6a47f0dd02..4d8ccfe14ea 100644 --- a/service/ecr/api_op_GetDownloadUrlForLayer.go +++ b/service/ecr/api_op_GetDownloadUrlForLayer.go @@ -90,7 +90,10 @@ func addOperationGetDownloadUrlForLayerMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_GetLifecyclePolicy.go b/service/ecr/api_op_GetLifecyclePolicy.go index b20a6fd3649..55b31ca4f75 100644 --- a/service/ecr/api_op_GetLifecyclePolicy.go +++ b/service/ecr/api_op_GetLifecyclePolicy.go @@ -87,7 +87,10 @@ func addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_GetLifecyclePolicyPreview.go b/service/ecr/api_op_GetLifecyclePolicyPreview.go index d3e72ed9258..5b9f6143e59 100644 --- a/service/ecr/api_op_GetLifecyclePolicyPreview.go +++ b/service/ecr/api_op_GetLifecyclePolicyPreview.go @@ -132,7 +132,10 @@ func addOperationGetLifecyclePolicyPreviewMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_GetRegistryPolicy.go b/service/ecr/api_op_GetRegistryPolicy.go index 65a64b03950..e865203ae31 100644 --- a/service/ecr/api_op_GetRegistryPolicy.go +++ b/service/ecr/api_op_GetRegistryPolicy.go @@ -71,7 +71,10 @@ func addOperationGetRegistryPolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_GetRepositoryPolicy.go b/service/ecr/api_op_GetRepositoryPolicy.go index 05836b6f198..05f42038f49 100644 --- a/service/ecr/api_op_GetRepositoryPolicy.go +++ b/service/ecr/api_op_GetRepositoryPolicy.go @@ -83,7 +83,10 @@ func addOperationGetRepositoryPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_InitiateLayerUpload.go b/service/ecr/api_op_InitiateLayerUpload.go index b1459dca041..4690408b00f 100644 --- a/service/ecr/api_op_InitiateLayerUpload.go +++ b/service/ecr/api_op_InitiateLayerUpload.go @@ -87,7 +87,10 @@ func addOperationInitiateLayerUploadMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_ListImages.go b/service/ecr/api_op_ListImages.go index e621fbc20bf..2f8a89fa17d 100644 --- a/service/ecr/api_op_ListImages.go +++ b/service/ecr/api_op_ListImages.go @@ -111,7 +111,10 @@ func addOperationListImagesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_ListTagsForResource.go b/service/ecr/api_op_ListTagsForResource.go index ee636a5ddef..2129850c304 100644 --- a/service/ecr/api_op_ListTagsForResource.go +++ b/service/ecr/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_PutImage.go b/service/ecr/api_op_PutImage.go index d8f1ae27c37..3c6e23e4a66 100644 --- a/service/ecr/api_op_PutImage.go +++ b/service/ecr/api_op_PutImage.go @@ -102,7 +102,10 @@ func addOperationPutImageMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_PutImageScanningConfiguration.go b/service/ecr/api_op_PutImageScanningConfiguration.go index d0cc2a50152..56d57627776 100644 --- a/service/ecr/api_op_PutImageScanningConfiguration.go +++ b/service/ecr/api_op_PutImageScanningConfiguration.go @@ -93,7 +93,10 @@ func addOperationPutImageScanningConfigurationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_PutImageTagMutability.go b/service/ecr/api_op_PutImageTagMutability.go index c3f17579c00..314a2fd9d3d 100644 --- a/service/ecr/api_op_PutImageTagMutability.go +++ b/service/ecr/api_op_PutImageTagMutability.go @@ -95,7 +95,10 @@ func addOperationPutImageTagMutabilityMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_PutLifecyclePolicy.go b/service/ecr/api_op_PutLifecyclePolicy.go index 7435a10b7a7..9a9e2b8925f 100644 --- a/service/ecr/api_op_PutLifecyclePolicy.go +++ b/service/ecr/api_op_PutLifecyclePolicy.go @@ -90,7 +90,10 @@ func addOperationPutLifecyclePolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_PutRegistryPolicy.go b/service/ecr/api_op_PutRegistryPolicy.go index 9029cc0def0..5f165d2c863 100644 --- a/service/ecr/api_op_PutRegistryPolicy.go +++ b/service/ecr/api_op_PutRegistryPolicy.go @@ -84,7 +84,10 @@ func addOperationPutRegistryPolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_PutReplicationConfiguration.go b/service/ecr/api_op_PutReplicationConfiguration.go index 3ecd000ee95..9e76461f577 100644 --- a/service/ecr/api_op_PutReplicationConfiguration.go +++ b/service/ecr/api_op_PutReplicationConfiguration.go @@ -84,7 +84,10 @@ func addOperationPutReplicationConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_SetRepositoryPolicy.go b/service/ecr/api_op_SetRepositoryPolicy.go index 5bec2e2cadd..f3d4997fc57 100644 --- a/service/ecr/api_op_SetRepositoryPolicy.go +++ b/service/ecr/api_op_SetRepositoryPolicy.go @@ -100,7 +100,10 @@ func addOperationSetRepositoryPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_StartImageScan.go b/service/ecr/api_op_StartImageScan.go index fc95dad6215..0cdf1935655 100644 --- a/service/ecr/api_op_StartImageScan.go +++ b/service/ecr/api_op_StartImageScan.go @@ -97,7 +97,10 @@ func addOperationStartImageScanMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_StartLifecyclePolicyPreview.go b/service/ecr/api_op_StartLifecyclePolicyPreview.go index 49b147026a5..e7e3de22425 100644 --- a/service/ecr/api_op_StartLifecyclePolicyPreview.go +++ b/service/ecr/api_op_StartLifecyclePolicyPreview.go @@ -93,7 +93,10 @@ func addOperationStartLifecyclePolicyPreviewMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_TagResource.go b/service/ecr/api_op_TagResource.go index d7a54f09071..2ca8d769e42 100644 --- a/service/ecr/api_op_TagResource.go +++ b/service/ecr/api_op_TagResource.go @@ -79,7 +79,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_UntagResource.go b/service/ecr/api_op_UntagResource.go index f21901c9d61..7fea5a8aef4 100644 --- a/service/ecr/api_op_UntagResource.go +++ b/service/ecr/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecr/api_op_UploadLayerPart.go b/service/ecr/api_op_UploadLayerPart.go index 2b30438784c..263dc60a499 100644 --- a/service/ecr/api_op_UploadLayerPart.go +++ b/service/ecr/api_op_UploadLayerPart.go @@ -112,7 +112,10 @@ func addOperationUploadLayerPartMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_BatchCheckLayerAvailability.go b/service/ecrpublic/api_op_BatchCheckLayerAvailability.go index a7681966df3..7981edac9b8 100644 --- a/service/ecrpublic/api_op_BatchCheckLayerAvailability.go +++ b/service/ecrpublic/api_op_BatchCheckLayerAvailability.go @@ -93,7 +93,10 @@ func addOperationBatchCheckLayerAvailabilityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_BatchDeleteImage.go b/service/ecrpublic/api_op_BatchDeleteImage.go index f63f16f8168..57b43232e13 100644 --- a/service/ecrpublic/api_op_BatchDeleteImage.go +++ b/service/ecrpublic/api_op_BatchDeleteImage.go @@ -93,7 +93,10 @@ func addOperationBatchDeleteImageMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_CompleteLayerUpload.go b/service/ecrpublic/api_op_CompleteLayerUpload.go index 96fe72e10a9..df8e33547bc 100644 --- a/service/ecrpublic/api_op_CompleteLayerUpload.go +++ b/service/ecrpublic/api_op_CompleteLayerUpload.go @@ -104,7 +104,10 @@ func addOperationCompleteLayerUploadMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_CreateRepository.go b/service/ecrpublic/api_op_CreateRepository.go index f68f73aa248..797ec454bfc 100644 --- a/service/ecrpublic/api_op_CreateRepository.go +++ b/service/ecrpublic/api_op_CreateRepository.go @@ -88,7 +88,10 @@ func addOperationCreateRepositoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_DeleteRepository.go b/service/ecrpublic/api_op_DeleteRepository.go index 0ce943dd701..2b97079ddbe 100644 --- a/service/ecrpublic/api_op_DeleteRepository.go +++ b/service/ecrpublic/api_op_DeleteRepository.go @@ -84,7 +84,10 @@ func addOperationDeleteRepositoryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_DeleteRepositoryPolicy.go b/service/ecrpublic/api_op_DeleteRepositoryPolicy.go index 6bc959a3e25..db85cf1a44e 100644 --- a/service/ecrpublic/api_op_DeleteRepositoryPolicy.go +++ b/service/ecrpublic/api_op_DeleteRepositoryPolicy.go @@ -85,7 +85,10 @@ func addOperationDeleteRepositoryPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_DescribeImageTags.go b/service/ecrpublic/api_op_DescribeImageTags.go index 928e6071a43..d54f6195bec 100644 --- a/service/ecrpublic/api_op_DescribeImageTags.go +++ b/service/ecrpublic/api_op_DescribeImageTags.go @@ -103,7 +103,10 @@ func addOperationDescribeImageTagsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_DescribeImages.go b/service/ecrpublic/api_op_DescribeImages.go index a9f84555483..e60870b430d 100644 --- a/service/ecrpublic/api_op_DescribeImages.go +++ b/service/ecrpublic/api_op_DescribeImages.go @@ -110,7 +110,10 @@ func addOperationDescribeImagesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_DescribeRegistries.go b/service/ecrpublic/api_op_DescribeRegistries.go index 5c7c304985c..90994854655 100644 --- a/service/ecrpublic/api_op_DescribeRegistries.go +++ b/service/ecrpublic/api_op_DescribeRegistries.go @@ -96,7 +96,10 @@ func addOperationDescribeRegistriesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_DescribeRepositories.go b/service/ecrpublic/api_op_DescribeRepositories.go index 92e08795c14..236d95b72f1 100644 --- a/service/ecrpublic/api_op_DescribeRepositories.go +++ b/service/ecrpublic/api_op_DescribeRepositories.go @@ -105,7 +105,10 @@ func addOperationDescribeRepositoriesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_GetAuthorizationToken.go b/service/ecrpublic/api_op_GetAuthorizationToken.go index 4e95ffd281c..0aa112fa1d8 100644 --- a/service/ecrpublic/api_op_GetAuthorizationToken.go +++ b/service/ecrpublic/api_op_GetAuthorizationToken.go @@ -73,7 +73,10 @@ func addOperationGetAuthorizationTokenMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_GetRegistryCatalogData.go b/service/ecrpublic/api_op_GetRegistryCatalogData.go index da4aa96a3a8..9f7ed6b79cf 100644 --- a/service/ecrpublic/api_op_GetRegistryCatalogData.go +++ b/service/ecrpublic/api_op_GetRegistryCatalogData.go @@ -71,7 +71,10 @@ func addOperationGetRegistryCatalogDataMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_GetRepositoryCatalogData.go b/service/ecrpublic/api_op_GetRepositoryCatalogData.go index bd87db70819..b3da59ebd8d 100644 --- a/service/ecrpublic/api_op_GetRepositoryCatalogData.go +++ b/service/ecrpublic/api_op_GetRepositoryCatalogData.go @@ -80,7 +80,10 @@ func addOperationGetRepositoryCatalogDataMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_GetRepositoryPolicy.go b/service/ecrpublic/api_op_GetRepositoryPolicy.go index 7502e017e75..fdfe131eec1 100644 --- a/service/ecrpublic/api_op_GetRepositoryPolicy.go +++ b/service/ecrpublic/api_op_GetRepositoryPolicy.go @@ -85,7 +85,10 @@ func addOperationGetRepositoryPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_InitiateLayerUpload.go b/service/ecrpublic/api_op_InitiateLayerUpload.go index fcb60398da1..e8c71875b7a 100644 --- a/service/ecrpublic/api_op_InitiateLayerUpload.go +++ b/service/ecrpublic/api_op_InitiateLayerUpload.go @@ -88,7 +88,10 @@ func addOperationInitiateLayerUploadMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_PutImage.go b/service/ecrpublic/api_op_PutImage.go index 9b2ec54aece..8b31e75adfb 100644 --- a/service/ecrpublic/api_op_PutImage.go +++ b/service/ecrpublic/api_op_PutImage.go @@ -102,7 +102,10 @@ func addOperationPutImageMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_PutRegistryCatalogData.go b/service/ecrpublic/api_op_PutRegistryCatalogData.go index 79ba8afbb88..d74b8157a47 100644 --- a/service/ecrpublic/api_op_PutRegistryCatalogData.go +++ b/service/ecrpublic/api_op_PutRegistryCatalogData.go @@ -76,7 +76,10 @@ func addOperationPutRegistryCatalogDataMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_PutRepositoryCatalogData.go b/service/ecrpublic/api_op_PutRepositoryCatalogData.go index 55637449472..881e4d9365d 100644 --- a/service/ecrpublic/api_op_PutRepositoryCatalogData.go +++ b/service/ecrpublic/api_op_PutRepositoryCatalogData.go @@ -84,7 +84,10 @@ func addOperationPutRepositoryCatalogDataMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_SetRepositoryPolicy.go b/service/ecrpublic/api_op_SetRepositoryPolicy.go index 8d09a797f97..1bf6c70a74d 100644 --- a/service/ecrpublic/api_op_SetRepositoryPolicy.go +++ b/service/ecrpublic/api_op_SetRepositoryPolicy.go @@ -100,7 +100,10 @@ func addOperationSetRepositoryPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecrpublic/api_op_UploadLayerPart.go b/service/ecrpublic/api_op_UploadLayerPart.go index 9895e3be648..9d3ff70ebff 100644 --- a/service/ecrpublic/api_op_UploadLayerPart.go +++ b/service/ecrpublic/api_op_UploadLayerPart.go @@ -112,7 +112,10 @@ func addOperationUploadLayerPartMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_CreateCapacityProvider.go b/service/ecs/api_op_CreateCapacityProvider.go index 32311f9881a..a2efa313cf8 100644 --- a/service/ecs/api_op_CreateCapacityProvider.go +++ b/service/ecs/api_op_CreateCapacityProvider.go @@ -116,7 +116,10 @@ func addOperationCreateCapacityProviderMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_CreateCluster.go b/service/ecs/api_op_CreateCluster.go index 14bfe387fa9..9a70ae25404 100644 --- a/service/ecs/api_op_CreateCluster.go +++ b/service/ecs/api_op_CreateCluster.go @@ -148,7 +148,10 @@ func addOperationCreateClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_CreateService.go b/service/ecs/api_op_CreateService.go index fbafab4f552..7ddd414cf1f 100644 --- a/service/ecs/api_op_CreateService.go +++ b/service/ecs/api_op_CreateService.go @@ -410,7 +410,10 @@ func addOperationCreateServiceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_CreateTaskSet.go b/service/ecs/api_op_CreateTaskSet.go index 6517ec99d3a..db42dc3dedb 100644 --- a/service/ecs/api_op_CreateTaskSet.go +++ b/service/ecs/api_op_CreateTaskSet.go @@ -182,7 +182,10 @@ func addOperationCreateTaskSetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DeleteAccountSetting.go b/service/ecs/api_op_DeleteAccountSetting.go index f2866ab6c7f..fa39c81c9d8 100644 --- a/service/ecs/api_op_DeleteAccountSetting.go +++ b/service/ecs/api_op_DeleteAccountSetting.go @@ -88,7 +88,10 @@ func addOperationDeleteAccountSettingMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DeleteAttributes.go b/service/ecs/api_op_DeleteAttributes.go index b20597deea0..f682f535c9c 100644 --- a/service/ecs/api_op_DeleteAttributes.go +++ b/service/ecs/api_op_DeleteAttributes.go @@ -82,7 +82,10 @@ func addOperationDeleteAttributesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DeleteCapacityProvider.go b/service/ecs/api_op_DeleteCapacityProvider.go index 0657c1b6697..be319c03968 100644 --- a/service/ecs/api_op_DeleteCapacityProvider.go +++ b/service/ecs/api_op_DeleteCapacityProvider.go @@ -86,7 +86,10 @@ func addOperationDeleteCapacityProviderMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DeleteCluster.go b/service/ecs/api_op_DeleteCluster.go index cb9dccab094..2970665af95 100644 --- a/service/ecs/api_op_DeleteCluster.go +++ b/service/ecs/api_op_DeleteCluster.go @@ -80,7 +80,10 @@ func addOperationDeleteClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DeleteService.go b/service/ecs/api_op_DeleteService.go index bf283d18e38..120007ea098 100644 --- a/service/ecs/api_op_DeleteService.go +++ b/service/ecs/api_op_DeleteService.go @@ -98,7 +98,10 @@ func addOperationDeleteServiceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DeleteTaskSet.go b/service/ecs/api_op_DeleteTaskSet.go index 927aaf98f26..6ddc7204f67 100644 --- a/service/ecs/api_op_DeleteTaskSet.go +++ b/service/ecs/api_op_DeleteTaskSet.go @@ -97,7 +97,10 @@ func addOperationDeleteTaskSetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DeregisterContainerInstance.go b/service/ecs/api_op_DeregisterContainerInstance.go index 29ef9bf7a62..1a9c946ac29 100644 --- a/service/ecs/api_op_DeregisterContainerInstance.go +++ b/service/ecs/api_op_DeregisterContainerInstance.go @@ -105,7 +105,10 @@ func addOperationDeregisterContainerInstanceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DeregisterTaskDefinition.go b/service/ecs/api_op_DeregisterTaskDefinition.go index ec639a2fdb1..e32e1047a66 100644 --- a/service/ecs/api_op_DeregisterTaskDefinition.go +++ b/service/ecs/api_op_DeregisterTaskDefinition.go @@ -87,7 +87,10 @@ func addOperationDeregisterTaskDefinitionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DescribeCapacityProviders.go b/service/ecs/api_op_DescribeCapacityProviders.go index 4689668a012..3c2d7f64066 100644 --- a/service/ecs/api_op_DescribeCapacityProviders.go +++ b/service/ecs/api_op_DescribeCapacityProviders.go @@ -105,7 +105,10 @@ func addOperationDescribeCapacityProvidersMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DescribeClusters.go b/service/ecs/api_op_DescribeClusters.go index 82b7d0edf93..b575a5c7467 100644 --- a/service/ecs/api_op_DescribeClusters.go +++ b/service/ecs/api_op_DescribeClusters.go @@ -107,7 +107,10 @@ func addOperationDescribeClustersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DescribeContainerInstances.go b/service/ecs/api_op_DescribeContainerInstances.go index 10cf2d6a19b..dd92d09374e 100644 --- a/service/ecs/api_op_DescribeContainerInstances.go +++ b/service/ecs/api_op_DescribeContainerInstances.go @@ -91,7 +91,10 @@ func addOperationDescribeContainerInstancesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DescribeServices.go b/service/ecs/api_op_DescribeServices.go index 9d19b33f4d4..194680a96fc 100644 --- a/service/ecs/api_op_DescribeServices.go +++ b/service/ecs/api_op_DescribeServices.go @@ -94,7 +94,10 @@ func addOperationDescribeServicesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DescribeTaskDefinition.go b/service/ecs/api_op_DescribeTaskDefinition.go index 0f68161ee7e..9267d5e74f4 100644 --- a/service/ecs/api_op_DescribeTaskDefinition.go +++ b/service/ecs/api_op_DescribeTaskDefinition.go @@ -114,7 +114,10 @@ func addOperationDescribeTaskDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DescribeTaskSets.go b/service/ecs/api_op_DescribeTaskSets.go index 4f695792641..565d8016163 100644 --- a/service/ecs/api_op_DescribeTaskSets.go +++ b/service/ecs/api_op_DescribeTaskSets.go @@ -96,7 +96,10 @@ func addOperationDescribeTaskSetsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DescribeTasks.go b/service/ecs/api_op_DescribeTasks.go index 2ce6e59840a..98d2f9499ec 100644 --- a/service/ecs/api_op_DescribeTasks.go +++ b/service/ecs/api_op_DescribeTasks.go @@ -93,7 +93,10 @@ func addOperationDescribeTasksMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_DiscoverPollEndpoint.go b/service/ecs/api_op_DiscoverPollEndpoint.go index 887c9bb1f57..5ddbd1dbd4a 100644 --- a/service/ecs/api_op_DiscoverPollEndpoint.go +++ b/service/ecs/api_op_DiscoverPollEndpoint.go @@ -84,7 +84,10 @@ func addOperationDiscoverPollEndpointMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_ListAccountSettings.go b/service/ecs/api_op_ListAccountSettings.go index 68c1d87cf84..4731f6d18c5 100644 --- a/service/ecs/api_op_ListAccountSettings.go +++ b/service/ecs/api_op_ListAccountSettings.go @@ -111,7 +111,10 @@ func addOperationListAccountSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_ListAttributes.go b/service/ecs/api_op_ListAttributes.go index df4963d3eec..551e4657881 100644 --- a/service/ecs/api_op_ListAttributes.go +++ b/service/ecs/api_op_ListAttributes.go @@ -115,7 +115,10 @@ func addOperationListAttributesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_ListClusters.go b/service/ecs/api_op_ListClusters.go index c65add5657f..5404b1065d5 100644 --- a/service/ecs/api_op_ListClusters.go +++ b/service/ecs/api_op_ListClusters.go @@ -93,7 +93,10 @@ func addOperationListClustersMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_ListContainerInstances.go b/service/ecs/api_op_ListContainerInstances.go index 8305cbb5eea..0ca76b4318a 100644 --- a/service/ecs/api_op_ListContainerInstances.go +++ b/service/ecs/api_op_ListContainerInstances.go @@ -118,7 +118,10 @@ func addOperationListContainerInstancesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_ListServices.go b/service/ecs/api_op_ListServices.go index 7c668b15aae..f1a3d584268 100644 --- a/service/ecs/api_op_ListServices.go +++ b/service/ecs/api_op_ListServices.go @@ -105,7 +105,10 @@ func addOperationListServicesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_ListTagsForResource.go b/service/ecs/api_op_ListTagsForResource.go index cd96c916e73..c61b4111c95 100644 --- a/service/ecs/api_op_ListTagsForResource.go +++ b/service/ecs/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_ListTaskDefinitionFamilies.go b/service/ecs/api_op_ListTaskDefinitionFamilies.go index 36111fa90fc..e0c0abe8364 100644 --- a/service/ecs/api_op_ListTaskDefinitionFamilies.go +++ b/service/ecs/api_op_ListTaskDefinitionFamilies.go @@ -114,7 +114,10 @@ func addOperationListTaskDefinitionFamiliesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_ListTaskDefinitions.go b/service/ecs/api_op_ListTaskDefinitions.go index 1e3f696f42b..fc115679973 100644 --- a/service/ecs/api_op_ListTaskDefinitions.go +++ b/service/ecs/api_op_ListTaskDefinitions.go @@ -116,7 +116,10 @@ func addOperationListTaskDefinitionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_ListTasks.go b/service/ecs/api_op_ListTasks.go index b1d857c9375..3465ae189e7 100644 --- a/service/ecs/api_op_ListTasks.go +++ b/service/ecs/api_op_ListTasks.go @@ -131,7 +131,10 @@ func addOperationListTasksMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_PutAccountSetting.go b/service/ecs/api_op_PutAccountSetting.go index a9545501975..1a6ae312a70 100644 --- a/service/ecs/api_op_PutAccountSetting.go +++ b/service/ecs/api_op_PutAccountSetting.go @@ -121,7 +121,10 @@ func addOperationPutAccountSettingMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_PutAccountSettingDefault.go b/service/ecs/api_op_PutAccountSettingDefault.go index fcac9496cf6..4269c950d30 100644 --- a/service/ecs/api_op_PutAccountSettingDefault.go +++ b/service/ecs/api_op_PutAccountSettingDefault.go @@ -89,7 +89,10 @@ func addOperationPutAccountSettingDefaultMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_PutAttributes.go b/service/ecs/api_op_PutAttributes.go index 7d9718ca8ed..db0346d3c60 100644 --- a/service/ecs/api_op_PutAttributes.go +++ b/service/ecs/api_op_PutAttributes.go @@ -85,7 +85,10 @@ func addOperationPutAttributesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_PutClusterCapacityProviders.go b/service/ecs/api_op_PutClusterCapacityProviders.go index b90e4c3b593..8f7421fb167 100644 --- a/service/ecs/api_op_PutClusterCapacityProviders.go +++ b/service/ecs/api_op_PutClusterCapacityProviders.go @@ -120,7 +120,10 @@ func addOperationPutClusterCapacityProvidersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_RegisterContainerInstance.go b/service/ecs/api_op_RegisterContainerInstance.go index ea2f3a74dd2..d8cc0f4a727 100644 --- a/service/ecs/api_op_RegisterContainerInstance.go +++ b/service/ecs/api_op_RegisterContainerInstance.go @@ -133,7 +133,10 @@ func addOperationRegisterContainerInstanceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_RegisterTaskDefinition.go b/service/ecs/api_op_RegisterTaskDefinition.go index 5e576d98479..033d2522e55 100644 --- a/service/ecs/api_op_RegisterTaskDefinition.go +++ b/service/ecs/api_op_RegisterTaskDefinition.go @@ -312,7 +312,10 @@ func addOperationRegisterTaskDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_RunTask.go b/service/ecs/api_op_RunTask.go index 54b18bb5a8b..bd48e8a5ed8 100644 --- a/service/ecs/api_op_RunTask.go +++ b/service/ecs/api_op_RunTask.go @@ -233,7 +233,10 @@ func addOperationRunTaskMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_StartTask.go b/service/ecs/api_op_StartTask.go index 76a7278be27..ddae9b1b251 100644 --- a/service/ecs/api_op_StartTask.go +++ b/service/ecs/api_op_StartTask.go @@ -166,7 +166,10 @@ func addOperationStartTaskMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_StopTask.go b/service/ecs/api_op_StopTask.go index 65f60390ed7..ae4a5a42880 100644 --- a/service/ecs/api_op_StopTask.go +++ b/service/ecs/api_op_StopTask.go @@ -94,7 +94,10 @@ func addOperationStopTaskMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_SubmitAttachmentStateChanges.go b/service/ecs/api_op_SubmitAttachmentStateChanges.go index a2d64a49857..189ad51823b 100644 --- a/service/ecs/api_op_SubmitAttachmentStateChanges.go +++ b/service/ecs/api_op_SubmitAttachmentStateChanges.go @@ -79,7 +79,10 @@ func addOperationSubmitAttachmentStateChangesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_SubmitContainerStateChange.go b/service/ecs/api_op_SubmitContainerStateChange.go index 96dd266c58f..8c587c1de27 100644 --- a/service/ecs/api_op_SubmitContainerStateChange.go +++ b/service/ecs/api_op_SubmitContainerStateChange.go @@ -95,7 +95,10 @@ func addOperationSubmitContainerStateChangeMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_SubmitTaskStateChange.go b/service/ecs/api_op_SubmitTaskStateChange.go index e3501d8510b..c863e32e7c5 100644 --- a/service/ecs/api_op_SubmitTaskStateChange.go +++ b/service/ecs/api_op_SubmitTaskStateChange.go @@ -99,7 +99,10 @@ func addOperationSubmitTaskStateChangeMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_TagResource.go b/service/ecs/api_op_TagResource.go index 4e3519c33bb..73baec38939 100644 --- a/service/ecs/api_op_TagResource.go +++ b/service/ecs/api_op_TagResource.go @@ -106,7 +106,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_UntagResource.go b/service/ecs/api_op_UntagResource.go index 2600415daf2..0c22ac2cfc9 100644 --- a/service/ecs/api_op_UntagResource.go +++ b/service/ecs/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_UpdateCapacityProvider.go b/service/ecs/api_op_UpdateCapacityProvider.go index 3833e648efc..f752a73c875 100644 --- a/service/ecs/api_op_UpdateCapacityProvider.go +++ b/service/ecs/api_op_UpdateCapacityProvider.go @@ -80,7 +80,10 @@ func addOperationUpdateCapacityProviderMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_UpdateClusterSettings.go b/service/ecs/api_op_UpdateClusterSettings.go index 12263243dad..b40de774206 100644 --- a/service/ecs/api_op_UpdateClusterSettings.go +++ b/service/ecs/api_op_UpdateClusterSettings.go @@ -85,7 +85,10 @@ func addOperationUpdateClusterSettingsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_UpdateContainerAgent.go b/service/ecs/api_op_UpdateContainerAgent.go index c9b02b7a492..d1b8f78e7a5 100644 --- a/service/ecs/api_op_UpdateContainerAgent.go +++ b/service/ecs/api_op_UpdateContainerAgent.go @@ -89,7 +89,10 @@ func addOperationUpdateContainerAgentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_UpdateContainerInstancesState.go b/service/ecs/api_op_UpdateContainerInstancesState.go index cfd2a0ff592..61f467ff42f 100644 --- a/service/ecs/api_op_UpdateContainerInstancesState.go +++ b/service/ecs/api_op_UpdateContainerInstancesState.go @@ -133,7 +133,10 @@ func addOperationUpdateContainerInstancesStateMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_UpdateService.go b/service/ecs/api_op_UpdateService.go index 1fbf651ba2d..68155a79bcb 100644 --- a/service/ecs/api_op_UpdateService.go +++ b/service/ecs/api_op_UpdateService.go @@ -254,7 +254,10 @@ func addOperationUpdateServiceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_UpdateServicePrimaryTaskSet.go b/service/ecs/api_op_UpdateServicePrimaryTaskSet.go index 62f81f519fa..ce570a18a7a 100644 --- a/service/ecs/api_op_UpdateServicePrimaryTaskSet.go +++ b/service/ecs/api_op_UpdateServicePrimaryTaskSet.go @@ -95,7 +95,10 @@ func addOperationUpdateServicePrimaryTaskSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ecs/api_op_UpdateTaskSet.go b/service/ecs/api_op_UpdateTaskSet.go index 8d3bb7f7125..c2b8b1a3d6f 100644 --- a/service/ecs/api_op_UpdateTaskSet.go +++ b/service/ecs/api_op_UpdateTaskSet.go @@ -98,7 +98,10 @@ func addOperationUpdateTaskSetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_CreateAccessPoint.go b/service/efs/api_op_CreateAccessPoint.go index 2878ede1b6c..a97980c30ea 100644 --- a/service/efs/api_op_CreateAccessPoint.go +++ b/service/efs/api_op_CreateAccessPoint.go @@ -137,7 +137,10 @@ func addOperationCreateAccessPointMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_CreateFileSystem.go b/service/efs/api_op_CreateFileSystem.go index 357d72481d0..5d58f8c5692 100644 --- a/service/efs/api_op_CreateFileSystem.go +++ b/service/efs/api_op_CreateFileSystem.go @@ -268,7 +268,10 @@ func addOperationCreateFileSystemMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_CreateMountTarget.go b/service/efs/api_op_CreateMountTarget.go index 607bfb6287e..b893256cc0b 100644 --- a/service/efs/api_op_CreateMountTarget.go +++ b/service/efs/api_op_CreateMountTarget.go @@ -228,7 +228,10 @@ func addOperationCreateMountTargetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_CreateTags.go b/service/efs/api_op_CreateTags.go index 1397b8bdeae..6461d772396 100644 --- a/service/efs/api_op_CreateTags.go +++ b/service/efs/api_op_CreateTags.go @@ -84,7 +84,10 @@ func addOperationCreateTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DeleteAccessPoint.go b/service/efs/api_op_DeleteAccessPoint.go index a3d297eba0c..3c1e074d749 100644 --- a/service/efs/api_op_DeleteAccessPoint.go +++ b/service/efs/api_op_DeleteAccessPoint.go @@ -73,7 +73,10 @@ func addOperationDeleteAccessPointMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DeleteFileSystem.go b/service/efs/api_op_DeleteFileSystem.go index 3bf30e7a119..dd993189a31 100644 --- a/service/efs/api_op_DeleteFileSystem.go +++ b/service/efs/api_op_DeleteFileSystem.go @@ -80,7 +80,10 @@ func addOperationDeleteFileSystemMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DeleteFileSystemPolicy.go b/service/efs/api_op_DeleteFileSystemPolicy.go index 7418cb84946..7f55475a1d3 100644 --- a/service/efs/api_op_DeleteFileSystemPolicy.go +++ b/service/efs/api_op_DeleteFileSystemPolicy.go @@ -75,7 +75,10 @@ func addOperationDeleteFileSystemPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DeleteMountTarget.go b/service/efs/api_op_DeleteMountTarget.go index 6826264fe7e..fefbdc61034 100644 --- a/service/efs/api_op_DeleteMountTarget.go +++ b/service/efs/api_op_DeleteMountTarget.go @@ -90,7 +90,10 @@ func addOperationDeleteMountTargetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DeleteTags.go b/service/efs/api_op_DeleteTags.go index 8e0f821ed72..0ee29a54f56 100644 --- a/service/efs/api_op_DeleteTags.go +++ b/service/efs/api_op_DeleteTags.go @@ -83,7 +83,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DescribeAccessPoints.go b/service/efs/api_op_DescribeAccessPoints.go index b5ebe36cd59..45b69174b54 100644 --- a/service/efs/api_op_DescribeAccessPoints.go +++ b/service/efs/api_op_DescribeAccessPoints.go @@ -96,7 +96,10 @@ func addOperationDescribeAccessPointsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DescribeBackupPolicy.go b/service/efs/api_op_DescribeBackupPolicy.go index bea9f87acd7..bb1f3646159 100644 --- a/service/efs/api_op_DescribeBackupPolicy.go +++ b/service/efs/api_op_DescribeBackupPolicy.go @@ -75,7 +75,10 @@ func addOperationDescribeBackupPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DescribeFileSystemPolicy.go b/service/efs/api_op_DescribeFileSystemPolicy.go index 3b3b310a82b..35fa50f5255 100644 --- a/service/efs/api_op_DescribeFileSystemPolicy.go +++ b/service/efs/api_op_DescribeFileSystemPolicy.go @@ -77,7 +77,10 @@ func addOperationDescribeFileSystemPolicyMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DescribeFileSystems.go b/service/efs/api_op_DescribeFileSystems.go index e446b32c24f..3a0268d1a02 100644 --- a/service/efs/api_op_DescribeFileSystems.go +++ b/service/efs/api_op_DescribeFileSystems.go @@ -113,7 +113,10 @@ func addOperationDescribeFileSystemsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DescribeLifecycleConfiguration.go b/service/efs/api_op_DescribeLifecycleConfiguration.go index a1863e730de..9f7b2f55fcc 100644 --- a/service/efs/api_op_DescribeLifecycleConfiguration.go +++ b/service/efs/api_op_DescribeLifecycleConfiguration.go @@ -81,7 +81,10 @@ func addOperationDescribeLifecycleConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DescribeMountTargetSecurityGroups.go b/service/efs/api_op_DescribeMountTargetSecurityGroups.go index 77f20c501c5..1427c2d45ca 100644 --- a/service/efs/api_op_DescribeMountTargetSecurityGroups.go +++ b/service/efs/api_op_DescribeMountTargetSecurityGroups.go @@ -86,7 +86,10 @@ func addOperationDescribeMountTargetSecurityGroupsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DescribeMountTargets.go b/service/efs/api_op_DescribeMountTargets.go index 04c6d1073e3..e201381c12e 100644 --- a/service/efs/api_op_DescribeMountTargets.go +++ b/service/efs/api_op_DescribeMountTargets.go @@ -111,7 +111,10 @@ func addOperationDescribeMountTargetsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_DescribeTags.go b/service/efs/api_op_DescribeTags.go index 17d2f59f94d..4012ad3e49e 100644 --- a/service/efs/api_op_DescribeTags.go +++ b/service/efs/api_op_DescribeTags.go @@ -104,7 +104,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_ListTagsForResource.go b/service/efs/api_op_ListTagsForResource.go index 4b683de2ae2..d3d1ee94c69 100644 --- a/service/efs/api_op_ListTagsForResource.go +++ b/service/efs/api_op_ListTagsForResource.go @@ -90,7 +90,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_ModifyMountTargetSecurityGroups.go b/service/efs/api_op_ModifyMountTargetSecurityGroups.go index 622aaec58cc..f80fd0ffe71 100644 --- a/service/efs/api_op_ModifyMountTargetSecurityGroups.go +++ b/service/efs/api_op_ModifyMountTargetSecurityGroups.go @@ -86,7 +86,10 @@ func addOperationModifyMountTargetSecurityGroupsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_PutBackupPolicy.go b/service/efs/api_op_PutBackupPolicy.go index 91a38ba11aa..a46db3826a3 100644 --- a/service/efs/api_op_PutBackupPolicy.go +++ b/service/efs/api_op_PutBackupPolicy.go @@ -81,7 +81,10 @@ func addOperationPutBackupPolicyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_PutFileSystemPolicy.go b/service/efs/api_op_PutFileSystemPolicy.go index e70f8eda82c..35b89571de3 100644 --- a/service/efs/api_op_PutFileSystemPolicy.go +++ b/service/efs/api_op_PutFileSystemPolicy.go @@ -103,7 +103,10 @@ func addOperationPutFileSystemPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_PutLifecycleConfiguration.go b/service/efs/api_op_PutLifecycleConfiguration.go index 312b87a3d91..9625f240561 100644 --- a/service/efs/api_op_PutLifecycleConfiguration.go +++ b/service/efs/api_op_PutLifecycleConfiguration.go @@ -107,7 +107,10 @@ func addOperationPutLifecycleConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_TagResource.go b/service/efs/api_op_TagResource.go index 22062f292e5..44fee6c57a3 100644 --- a/service/efs/api_op_TagResource.go +++ b/service/efs/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_UntagResource.go b/service/efs/api_op_UntagResource.go index 5c360c3efe7..e31d644a894 100644 --- a/service/efs/api_op_UntagResource.go +++ b/service/efs/api_op_UntagResource.go @@ -77,7 +77,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/efs/api_op_UpdateFileSystem.go b/service/efs/api_op_UpdateFileSystem.go index 4547a446ff3..40675c40817 100644 --- a/service/efs/api_op_UpdateFileSystem.go +++ b/service/efs/api_op_UpdateFileSystem.go @@ -177,7 +177,10 @@ func addOperationUpdateFileSystemMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_CreateAddon.go b/service/eks/api_op_CreateAddon.go index 8cc1691b904..98dfa0c58ee 100644 --- a/service/eks/api_op_CreateAddon.go +++ b/service/eks/api_op_CreateAddon.go @@ -118,7 +118,10 @@ func addOperationCreateAddonMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_CreateCluster.go b/service/eks/api_op_CreateCluster.go index 28f74bc12c6..b556c969ba9 100644 --- a/service/eks/api_op_CreateCluster.go +++ b/service/eks/api_op_CreateCluster.go @@ -158,7 +158,10 @@ func addOperationCreateClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_CreateFargateProfile.go b/service/eks/api_op_CreateFargateProfile.go index 06e5dd2e9df..5706b905ae7 100644 --- a/service/eks/api_op_CreateFargateProfile.go +++ b/service/eks/api_op_CreateFargateProfile.go @@ -138,7 +138,10 @@ func addOperationCreateFargateProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_CreateNodegroup.go b/service/eks/api_op_CreateNodegroup.go index fbbc5d5a198..5ae3a71510c 100644 --- a/service/eks/api_op_CreateNodegroup.go +++ b/service/eks/api_op_CreateNodegroup.go @@ -216,7 +216,10 @@ func addOperationCreateNodegroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DeleteAddon.go b/service/eks/api_op_DeleteAddon.go index b7f26324362..7d643f988e6 100644 --- a/service/eks/api_op_DeleteAddon.go +++ b/service/eks/api_op_DeleteAddon.go @@ -83,7 +83,10 @@ func addOperationDeleteAddonMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DeleteCluster.go b/service/eks/api_op_DeleteCluster.go index abbc920c90b..95974831c6b 100644 --- a/service/eks/api_op_DeleteCluster.go +++ b/service/eks/api_op_DeleteCluster.go @@ -82,7 +82,10 @@ func addOperationDeleteClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DeleteFargateProfile.go b/service/eks/api_op_DeleteFargateProfile.go index 3ad74f1a498..2da46e6560f 100644 --- a/service/eks/api_op_DeleteFargateProfile.go +++ b/service/eks/api_op_DeleteFargateProfile.go @@ -87,7 +87,10 @@ func addOperationDeleteFargateProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DeleteNodegroup.go b/service/eks/api_op_DeleteNodegroup.go index 9e8b660b6c0..eabe3997cbc 100644 --- a/service/eks/api_op_DeleteNodegroup.go +++ b/service/eks/api_op_DeleteNodegroup.go @@ -79,7 +79,10 @@ func addOperationDeleteNodegroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DescribeAddon.go b/service/eks/api_op_DescribeAddon.go index e8ac8bf25c7..72c5371a24f 100644 --- a/service/eks/api_op_DescribeAddon.go +++ b/service/eks/api_op_DescribeAddon.go @@ -87,7 +87,10 @@ func addOperationDescribeAddonMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DescribeAddonVersions.go b/service/eks/api_op_DescribeAddonVersions.go index ce30299e44e..5ffe5047413 100644 --- a/service/eks/api_op_DescribeAddonVersions.go +++ b/service/eks/api_op_DescribeAddonVersions.go @@ -97,7 +97,10 @@ func addOperationDescribeAddonVersionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DescribeCluster.go b/service/eks/api_op_DescribeCluster.go index 861c9299f83..ea18cbb4389 100644 --- a/service/eks/api_op_DescribeCluster.go +++ b/service/eks/api_op_DescribeCluster.go @@ -86,7 +86,10 @@ func addOperationDescribeClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DescribeFargateProfile.go b/service/eks/api_op_DescribeFargateProfile.go index cbb09cf789f..57ed12cd27d 100644 --- a/service/eks/api_op_DescribeFargateProfile.go +++ b/service/eks/api_op_DescribeFargateProfile.go @@ -79,7 +79,10 @@ func addOperationDescribeFargateProfileMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DescribeNodegroup.go b/service/eks/api_op_DescribeNodegroup.go index 29d80daa7d2..ae6b8db6f8e 100644 --- a/service/eks/api_op_DescribeNodegroup.go +++ b/service/eks/api_op_DescribeNodegroup.go @@ -85,7 +85,10 @@ func addOperationDescribeNodegroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_DescribeUpdate.go b/service/eks/api_op_DescribeUpdate.go index eea200be15c..e2f15e4b5ab 100644 --- a/service/eks/api_op_DescribeUpdate.go +++ b/service/eks/api_op_DescribeUpdate.go @@ -90,7 +90,10 @@ func addOperationDescribeUpdateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_ListAddons.go b/service/eks/api_op_ListAddons.go index 1997ad81152..948ba2cdcbc 100644 --- a/service/eks/api_op_ListAddons.go +++ b/service/eks/api_op_ListAddons.go @@ -99,7 +99,10 @@ func addOperationListAddonsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_ListClusters.go b/service/eks/api_op_ListClusters.go index 8dfe87ea4cb..d94cce58916 100644 --- a/service/eks/api_op_ListClusters.go +++ b/service/eks/api_op_ListClusters.go @@ -92,7 +92,10 @@ func addOperationListClustersMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_ListFargateProfiles.go b/service/eks/api_op_ListFargateProfiles.go index 614112147f3..60ee2fb76a6 100644 --- a/service/eks/api_op_ListFargateProfiles.go +++ b/service/eks/api_op_ListFargateProfiles.go @@ -97,7 +97,10 @@ func addOperationListFargateProfilesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_ListNodegroups.go b/service/eks/api_op_ListNodegroups.go index 9f3defea578..ad8d13dc4fb 100644 --- a/service/eks/api_op_ListNodegroups.go +++ b/service/eks/api_op_ListNodegroups.go @@ -97,7 +97,10 @@ func addOperationListNodegroupsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_ListTagsForResource.go b/service/eks/api_op_ListTagsForResource.go index 1fa62ab104c..7c0928899ef 100644 --- a/service/eks/api_op_ListTagsForResource.go +++ b/service/eks/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_ListUpdates.go b/service/eks/api_op_ListUpdates.go index 5569425fa83..59114b7c614 100644 --- a/service/eks/api_op_ListUpdates.go +++ b/service/eks/api_op_ListUpdates.go @@ -102,7 +102,10 @@ func addOperationListUpdatesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_TagResource.go b/service/eks/api_op_TagResource.go index 0b6002d9308..e9c76a8ab24 100644 --- a/service/eks/api_op_TagResource.go +++ b/service/eks/api_op_TagResource.go @@ -81,7 +81,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_UntagResource.go b/service/eks/api_op_UntagResource.go index b798b7b3184..8357a9acd77 100644 --- a/service/eks/api_op_UntagResource.go +++ b/service/eks/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_UpdateAddon.go b/service/eks/api_op_UpdateAddon.go index 0bf18c136bb..2b89b15d032 100644 --- a/service/eks/api_op_UpdateAddon.go +++ b/service/eks/api_op_UpdateAddon.go @@ -108,7 +108,10 @@ func addOperationUpdateAddonMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_UpdateClusterConfig.go b/service/eks/api_op_UpdateClusterConfig.go index ec66f775d12..cac1151959d 100644 --- a/service/eks/api_op_UpdateClusterConfig.go +++ b/service/eks/api_op_UpdateClusterConfig.go @@ -111,7 +111,10 @@ func addOperationUpdateClusterConfigMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_UpdateClusterVersion.go b/service/eks/api_op_UpdateClusterVersion.go index f3690b02d1a..ef5b9d76a50 100644 --- a/service/eks/api_op_UpdateClusterVersion.go +++ b/service/eks/api_op_UpdateClusterVersion.go @@ -93,7 +93,10 @@ func addOperationUpdateClusterVersionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_UpdateNodegroupConfig.go b/service/eks/api_op_UpdateNodegroupConfig.go index de719245c14..4f8d87e4d55 100644 --- a/service/eks/api_op_UpdateNodegroupConfig.go +++ b/service/eks/api_op_UpdateNodegroupConfig.go @@ -95,7 +95,10 @@ func addOperationUpdateNodegroupConfigMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eks/api_op_UpdateNodegroupVersion.go b/service/eks/api_op_UpdateNodegroupVersion.go index 6e73e8ef7ff..d63c9f2aac4 100644 --- a/service/eks/api_op_UpdateNodegroupVersion.go +++ b/service/eks/api_op_UpdateNodegroupVersion.go @@ -138,7 +138,10 @@ func addOperationUpdateNodegroupVersionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_AddTagsToResource.go b/service/elasticache/api_op_AddTagsToResource.go index d56b66bd21e..f3af528dc96 100644 --- a/service/elasticache/api_op_AddTagsToResource.go +++ b/service/elasticache/api_op_AddTagsToResource.go @@ -98,7 +98,10 @@ func addOperationAddTagsToResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go b/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go index fe2f452cf3d..4201640e0a0 100644 --- a/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go +++ b/service/elasticache/api_op_AuthorizeCacheSecurityGroupIngress.go @@ -99,7 +99,10 @@ func addOperationAuthorizeCacheSecurityGroupIngressMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_BatchApplyUpdateAction.go b/service/elasticache/api_op_BatchApplyUpdateAction.go index 600ceb898a3..384e5929841 100644 --- a/service/elasticache/api_op_BatchApplyUpdateAction.go +++ b/service/elasticache/api_op_BatchApplyUpdateAction.go @@ -85,7 +85,10 @@ func addOperationBatchApplyUpdateActionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_BatchStopUpdateAction.go b/service/elasticache/api_op_BatchStopUpdateAction.go index 5dbc03f60c0..16e9f435a6c 100644 --- a/service/elasticache/api_op_BatchStopUpdateAction.go +++ b/service/elasticache/api_op_BatchStopUpdateAction.go @@ -85,7 +85,10 @@ func addOperationBatchStopUpdateActionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CompleteMigration.go b/service/elasticache/api_op_CompleteMigration.go index 1bb1147dbf4..d88ed120d59 100644 --- a/service/elasticache/api_op_CompleteMigration.go +++ b/service/elasticache/api_op_CompleteMigration.go @@ -79,7 +79,10 @@ func addOperationCompleteMigrationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CopySnapshot.go b/service/elasticache/api_op_CopySnapshot.go index 7fd06e16a31..e49e1e13581 100644 --- a/service/elasticache/api_op_CopySnapshot.go +++ b/service/elasticache/api_op_CopySnapshot.go @@ -160,7 +160,10 @@ func addOperationCopySnapshotMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CreateCacheCluster.go b/service/elasticache/api_op_CreateCacheCluster.go index 768d96edca5..db98dcc9ebd 100644 --- a/service/elasticache/api_op_CreateCacheCluster.go +++ b/service/elasticache/api_op_CreateCacheCluster.go @@ -325,7 +325,10 @@ func addOperationCreateCacheClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CreateCacheParameterGroup.go b/service/elasticache/api_op_CreateCacheParameterGroup.go index d7f4a66c17f..bfd8a989477 100644 --- a/service/elasticache/api_op_CreateCacheParameterGroup.go +++ b/service/elasticache/api_op_CreateCacheParameterGroup.go @@ -101,7 +101,10 @@ func addOperationCreateCacheParameterGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CreateCacheSecurityGroup.go b/service/elasticache/api_op_CreateCacheSecurityGroup.go index 71796ac08dc..7e9a90f26f4 100644 --- a/service/elasticache/api_op_CreateCacheSecurityGroup.go +++ b/service/elasticache/api_op_CreateCacheSecurityGroup.go @@ -95,7 +95,10 @@ func addOperationCreateCacheSecurityGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CreateCacheSubnetGroup.go b/service/elasticache/api_op_CreateCacheSubnetGroup.go index 5e54a5689a4..c8451690543 100644 --- a/service/elasticache/api_op_CreateCacheSubnetGroup.go +++ b/service/elasticache/api_op_CreateCacheSubnetGroup.go @@ -93,7 +93,10 @@ func addOperationCreateCacheSubnetGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CreateGlobalReplicationGroup.go b/service/elasticache/api_op_CreateGlobalReplicationGroup.go index 63a65c5992b..6e3cef4c0d9 100644 --- a/service/elasticache/api_op_CreateGlobalReplicationGroup.go +++ b/service/elasticache/api_op_CreateGlobalReplicationGroup.go @@ -108,7 +108,10 @@ func addOperationCreateGlobalReplicationGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CreateReplicationGroup.go b/service/elasticache/api_op_CreateReplicationGroup.go index 8f0ccbcaef2..2ef7103cb27 100644 --- a/service/elasticache/api_op_CreateReplicationGroup.go +++ b/service/elasticache/api_op_CreateReplicationGroup.go @@ -392,7 +392,10 @@ func addOperationCreateReplicationGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CreateSnapshot.go b/service/elasticache/api_op_CreateSnapshot.go index a2225b0303b..30ba338b53f 100644 --- a/service/elasticache/api_op_CreateSnapshot.go +++ b/service/elasticache/api_op_CreateSnapshot.go @@ -88,7 +88,10 @@ func addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CreateUser.go b/service/elasticache/api_op_CreateUser.go index 58ed8b65f36..56d10fad84c 100644 --- a/service/elasticache/api_op_CreateUser.go +++ b/service/elasticache/api_op_CreateUser.go @@ -119,7 +119,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_CreateUserGroup.go b/service/elasticache/api_op_CreateUserGroup.go index 1aec97319bb..6eeff046585 100644 --- a/service/elasticache/api_op_CreateUserGroup.go +++ b/service/elasticache/api_op_CreateUserGroup.go @@ -103,7 +103,10 @@ func addOperationCreateUserGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go index 2f90158f86c..0e51d46d9b4 100644 --- a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go @@ -106,7 +106,10 @@ func addOperationDecreaseNodeGroupsInGlobalReplicationGroupMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DecreaseReplicaCount.go b/service/elasticache/api_op_DecreaseReplicaCount.go index 604fe5f4b0e..35e261ea63e 100644 --- a/service/elasticache/api_op_DecreaseReplicaCount.go +++ b/service/elasticache/api_op_DecreaseReplicaCount.go @@ -111,7 +111,10 @@ func addOperationDecreaseReplicaCountMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DeleteCacheCluster.go b/service/elasticache/api_op_DeleteCacheCluster.go index ed65e27f3ec..c7b4aa0a1f8 100644 --- a/service/elasticache/api_op_DeleteCacheCluster.go +++ b/service/elasticache/api_op_DeleteCacheCluster.go @@ -98,7 +98,10 @@ func addOperationDeleteCacheClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DeleteCacheParameterGroup.go b/service/elasticache/api_op_DeleteCacheParameterGroup.go index 264161b35ce..19216fdaf46 100644 --- a/service/elasticache/api_op_DeleteCacheParameterGroup.go +++ b/service/elasticache/api_op_DeleteCacheParameterGroup.go @@ -72,7 +72,10 @@ func addOperationDeleteCacheParameterGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DeleteCacheSecurityGroup.go b/service/elasticache/api_op_DeleteCacheSecurityGroup.go index 29ab48625c0..2a2bb7e7351 100644 --- a/service/elasticache/api_op_DeleteCacheSecurityGroup.go +++ b/service/elasticache/api_op_DeleteCacheSecurityGroup.go @@ -72,7 +72,10 @@ func addOperationDeleteCacheSecurityGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DeleteCacheSubnetGroup.go b/service/elasticache/api_op_DeleteCacheSubnetGroup.go index 76c6631ef09..794af27cf5f 100644 --- a/service/elasticache/api_op_DeleteCacheSubnetGroup.go +++ b/service/elasticache/api_op_DeleteCacheSubnetGroup.go @@ -72,7 +72,10 @@ func addOperationDeleteCacheSubnetGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DeleteGlobalReplicationGroup.go b/service/elasticache/api_op_DeleteGlobalReplicationGroup.go index eb905b7af2a..8545aa406f3 100644 --- a/service/elasticache/api_op_DeleteGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DeleteGlobalReplicationGroup.go @@ -100,7 +100,10 @@ func addOperationDeleteGlobalReplicationGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DeleteReplicationGroup.go b/service/elasticache/api_op_DeleteReplicationGroup.go index b1417dc09fb..15645883772 100644 --- a/service/elasticache/api_op_DeleteReplicationGroup.go +++ b/service/elasticache/api_op_DeleteReplicationGroup.go @@ -93,7 +93,10 @@ func addOperationDeleteReplicationGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DeleteSnapshot.go b/service/elasticache/api_op_DeleteSnapshot.go index 530170da30c..61375825f45 100644 --- a/service/elasticache/api_op_DeleteSnapshot.go +++ b/service/elasticache/api_op_DeleteSnapshot.go @@ -78,7 +78,10 @@ func addOperationDeleteSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DeleteUser.go b/service/elasticache/api_op_DeleteUser.go index 681d8fe5ae1..75a987aa660 100644 --- a/service/elasticache/api_op_DeleteUser.go +++ b/service/elasticache/api_op_DeleteUser.go @@ -98,7 +98,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DeleteUserGroup.go b/service/elasticache/api_op_DeleteUserGroup.go index 332671bc6b3..d22eb733164 100644 --- a/service/elasticache/api_op_DeleteUserGroup.go +++ b/service/elasticache/api_op_DeleteUserGroup.go @@ -96,7 +96,10 @@ func addOperationDeleteUserGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeCacheClusters.go b/service/elasticache/api_op_DescribeCacheClusters.go index 9ac82814947..c3161c33feb 100644 --- a/service/elasticache/api_op_DescribeCacheClusters.go +++ b/service/elasticache/api_op_DescribeCacheClusters.go @@ -119,7 +119,10 @@ func addOperationDescribeCacheClustersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeCacheEngineVersions.go b/service/elasticache/api_op_DescribeCacheEngineVersions.go index a653cff5ce1..f0a08c71b17 100644 --- a/service/elasticache/api_op_DescribeCacheEngineVersions.go +++ b/service/elasticache/api_op_DescribeCacheEngineVersions.go @@ -111,7 +111,10 @@ func addOperationDescribeCacheEngineVersionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeCacheParameterGroups.go b/service/elasticache/api_op_DescribeCacheParameterGroups.go index 4aae1e192da..e88160f4630 100644 --- a/service/elasticache/api_op_DescribeCacheParameterGroups.go +++ b/service/elasticache/api_op_DescribeCacheParameterGroups.go @@ -92,7 +92,10 @@ func addOperationDescribeCacheParameterGroupsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeCacheParameters.go b/service/elasticache/api_op_DescribeCacheParameters.go index e5c2a0a7a56..cd7e92b8557 100644 --- a/service/elasticache/api_op_DescribeCacheParameters.go +++ b/service/elasticache/api_op_DescribeCacheParameters.go @@ -99,7 +99,10 @@ func addOperationDescribeCacheParametersMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeCacheSecurityGroups.go b/service/elasticache/api_op_DescribeCacheSecurityGroups.go index 5eab33a334f..eff7bd29d5a 100644 --- a/service/elasticache/api_op_DescribeCacheSecurityGroups.go +++ b/service/elasticache/api_op_DescribeCacheSecurityGroups.go @@ -93,7 +93,10 @@ func addOperationDescribeCacheSecurityGroupsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeCacheSubnetGroups.go b/service/elasticache/api_op_DescribeCacheSubnetGroups.go index b1d812cbb1f..4eaa1d6be81 100644 --- a/service/elasticache/api_op_DescribeCacheSubnetGroups.go +++ b/service/elasticache/api_op_DescribeCacheSubnetGroups.go @@ -94,7 +94,10 @@ func addOperationDescribeCacheSubnetGroupsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeEngineDefaultParameters.go b/service/elasticache/api_op_DescribeEngineDefaultParameters.go index b0b24fa9cad..e62ab5898a4 100644 --- a/service/elasticache/api_op_DescribeEngineDefaultParameters.go +++ b/service/elasticache/api_op_DescribeEngineDefaultParameters.go @@ -91,7 +91,10 @@ func addOperationDescribeEngineDefaultParametersMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeEvents.go b/service/elasticache/api_op_DescribeEvents.go index 068869ea83e..bcdeb160b66 100644 --- a/service/elasticache/api_op_DescribeEvents.go +++ b/service/elasticache/api_op_DescribeEvents.go @@ -112,7 +112,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeGlobalReplicationGroups.go b/service/elasticache/api_op_DescribeGlobalReplicationGroups.go index ed536b270a8..d39fcc6c107 100644 --- a/service/elasticache/api_op_DescribeGlobalReplicationGroups.go +++ b/service/elasticache/api_op_DescribeGlobalReplicationGroups.go @@ -94,7 +94,10 @@ func addOperationDescribeGlobalReplicationGroupsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeReplicationGroups.go b/service/elasticache/api_op_DescribeReplicationGroups.go index 696dfafe41c..7915823eb50 100644 --- a/service/elasticache/api_op_DescribeReplicationGroups.go +++ b/service/elasticache/api_op_DescribeReplicationGroups.go @@ -100,7 +100,10 @@ func addOperationDescribeReplicationGroupsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeReservedCacheNodes.go b/service/elasticache/api_op_DescribeReservedCacheNodes.go index 923a495b608..c6a90af9c7b 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodes.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodes.go @@ -179,7 +179,10 @@ func addOperationDescribeReservedCacheNodesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go index 7d9bcfdab44..403e922badc 100644 --- a/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go +++ b/service/elasticache/api_op_DescribeReservedCacheNodesOfferings.go @@ -175,7 +175,10 @@ func addOperationDescribeReservedCacheNodesOfferingsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeServiceUpdates.go b/service/elasticache/api_op_DescribeServiceUpdates.go index 4c35249095c..e0894514913 100644 --- a/service/elasticache/api_op_DescribeServiceUpdates.go +++ b/service/elasticache/api_op_DescribeServiceUpdates.go @@ -91,7 +91,10 @@ func addOperationDescribeServiceUpdatesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeSnapshots.go b/service/elasticache/api_op_DescribeSnapshots.go index ace7033ed0d..3c6b2d60d3f 100644 --- a/service/elasticache/api_op_DescribeSnapshots.go +++ b/service/elasticache/api_op_DescribeSnapshots.go @@ -116,7 +116,10 @@ func addOperationDescribeSnapshotsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeUpdateActions.go b/service/elasticache/api_op_DescribeUpdateActions.go index 9f605cce8a9..0fbc3296201 100644 --- a/service/elasticache/api_op_DescribeUpdateActions.go +++ b/service/elasticache/api_op_DescribeUpdateActions.go @@ -110,7 +110,10 @@ func addOperationDescribeUpdateActionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeUserGroups.go b/service/elasticache/api_op_DescribeUserGroups.go index 2a4d09a3df8..c7db7fd90fe 100644 --- a/service/elasticache/api_op_DescribeUserGroups.go +++ b/service/elasticache/api_op_DescribeUserGroups.go @@ -90,7 +90,10 @@ func addOperationDescribeUserGroupsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DescribeUsers.go b/service/elasticache/api_op_DescribeUsers.go index 73f001c4e4c..dd0cc3e4372 100644 --- a/service/elasticache/api_op_DescribeUsers.go +++ b/service/elasticache/api_op_DescribeUsers.go @@ -96,7 +96,10 @@ func addOperationDescribeUsersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go b/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go index dc1427b85d7..f2391ce6dfd 100644 --- a/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DisassociateGlobalReplicationGroup.go @@ -92,7 +92,10 @@ func addOperationDisassociateGlobalReplicationGroupMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_FailoverGlobalReplicationGroup.go b/service/elasticache/api_op_FailoverGlobalReplicationGroup.go index bb239e2dc10..f04b68f1ac4 100644 --- a/service/elasticache/api_op_FailoverGlobalReplicationGroup.go +++ b/service/elasticache/api_op_FailoverGlobalReplicationGroup.go @@ -92,7 +92,10 @@ func addOperationFailoverGlobalReplicationGroupMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go b/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go index 84eee82b7cc..adbd6c27e5f 100644 --- a/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go @@ -95,7 +95,10 @@ func addOperationIncreaseNodeGroupsInGlobalReplicationGroupMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_IncreaseReplicaCount.go b/service/elasticache/api_op_IncreaseReplicaCount.go index 2d83a6cf17b..d8db4cce78b 100644 --- a/service/elasticache/api_op_IncreaseReplicaCount.go +++ b/service/elasticache/api_op_IncreaseReplicaCount.go @@ -95,7 +95,10 @@ func addOperationIncreaseReplicaCountMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ListAllowedNodeTypeModifications.go b/service/elasticache/api_op_ListAllowedNodeTypeModifications.go index acdcacc0115..5ab5d4438c3 100644 --- a/service/elasticache/api_op_ListAllowedNodeTypeModifications.go +++ b/service/elasticache/api_op_ListAllowedNodeTypeModifications.go @@ -97,7 +97,10 @@ func addOperationListAllowedNodeTypeModificationsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ListTagsForResource.go b/service/elasticache/api_op_ListTagsForResource.go index 296ce061c75..4a9daef281e 100644 --- a/service/elasticache/api_op_ListTagsForResource.go +++ b/service/elasticache/api_op_ListTagsForResource.go @@ -88,7 +88,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ModifyCacheCluster.go b/service/elasticache/api_op_ModifyCacheCluster.go index 7ac38250819..0027dd1737d 100644 --- a/service/elasticache/api_op_ModifyCacheCluster.go +++ b/service/elasticache/api_op_ModifyCacheCluster.go @@ -307,7 +307,10 @@ func addOperationModifyCacheClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ModifyCacheParameterGroup.go b/service/elasticache/api_op_ModifyCacheParameterGroup.go index e767c50aef7..e9dcd5b6f40 100644 --- a/service/elasticache/api_op_ModifyCacheParameterGroup.go +++ b/service/elasticache/api_op_ModifyCacheParameterGroup.go @@ -90,7 +90,10 @@ func addOperationModifyCacheParameterGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ModifyCacheSubnetGroup.go b/service/elasticache/api_op_ModifyCacheSubnetGroup.go index e8d48965cf0..fbf3ed373a0 100644 --- a/service/elasticache/api_op_ModifyCacheSubnetGroup.go +++ b/service/elasticache/api_op_ModifyCacheSubnetGroup.go @@ -88,7 +88,10 @@ func addOperationModifyCacheSubnetGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go index 7902c9e893d..8e06af0a913 100644 --- a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go +++ b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go @@ -102,7 +102,10 @@ func addOperationModifyGlobalReplicationGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ModifyReplicationGroup.go b/service/elasticache/api_op_ModifyReplicationGroup.go index 16e4737efab..94616ce9d3b 100644 --- a/service/elasticache/api_op_ModifyReplicationGroup.go +++ b/service/elasticache/api_op_ModifyReplicationGroup.go @@ -239,7 +239,10 @@ func addOperationModifyReplicationGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go index 20b957f263e..a8c1ae32ed6 100644 --- a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go +++ b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go @@ -111,7 +111,10 @@ func addOperationModifyReplicationGroupShardConfigurationMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ModifyUser.go b/service/elasticache/api_op_ModifyUser.go index 9a7f01aca8b..5f0bf7795b3 100644 --- a/service/elasticache/api_op_ModifyUser.go +++ b/service/elasticache/api_op_ModifyUser.go @@ -107,7 +107,10 @@ func addOperationModifyUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ModifyUserGroup.go b/service/elasticache/api_op_ModifyUserGroup.go index 4f892bf0e21..e30a93e2435 100644 --- a/service/elasticache/api_op_ModifyUserGroup.go +++ b/service/elasticache/api_op_ModifyUserGroup.go @@ -99,7 +99,10 @@ func addOperationModifyUserGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go b/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go index db46176b170..5df46101250 100644 --- a/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go +++ b/service/elasticache/api_op_PurchaseReservedCacheNodesOffering.go @@ -85,7 +85,10 @@ func addOperationPurchaseReservedCacheNodesOfferingMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go b/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go index a6816ecb5d8..a3e2e969e1f 100644 --- a/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go @@ -86,7 +86,10 @@ func addOperationRebalanceSlotsInGlobalReplicationGroupMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_RebootCacheCluster.go b/service/elasticache/api_op_RebootCacheCluster.go index 917012ceb88..327bd7c5d37 100644 --- a/service/elasticache/api_op_RebootCacheCluster.go +++ b/service/elasticache/api_op_RebootCacheCluster.go @@ -92,7 +92,10 @@ func addOperationRebootCacheClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_RemoveTagsFromResource.go b/service/elasticache/api_op_RemoveTagsFromResource.go index fdea9465a5f..5b05a840d22 100644 --- a/service/elasticache/api_op_RemoveTagsFromResource.go +++ b/service/elasticache/api_op_RemoveTagsFromResource.go @@ -87,7 +87,10 @@ func addOperationRemoveTagsFromResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_ResetCacheParameterGroup.go b/service/elasticache/api_op_ResetCacheParameterGroup.go index 10a9fe57a3e..972544312e4 100644 --- a/service/elasticache/api_op_ResetCacheParameterGroup.go +++ b/service/elasticache/api_op_ResetCacheParameterGroup.go @@ -95,7 +95,10 @@ func addOperationResetCacheParameterGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go b/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go index d0c272eedc8..45b3cb4c057 100644 --- a/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go +++ b/service/elasticache/api_op_RevokeCacheSecurityGroupIngress.go @@ -96,7 +96,10 @@ func addOperationRevokeCacheSecurityGroupIngressMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_StartMigration.go b/service/elasticache/api_op_StartMigration.go index 4a50aca6154..1df6e52b8a1 100644 --- a/service/elasticache/api_op_StartMigration.go +++ b/service/elasticache/api_op_StartMigration.go @@ -80,7 +80,10 @@ func addOperationStartMigrationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticache/api_op_TestFailover.go b/service/elasticache/api_op_TestFailover.go index de1b812feea..34dd775080f 100644 --- a/service/elasticache/api_op_TestFailover.go +++ b/service/elasticache/api_op_TestFailover.go @@ -131,7 +131,10 @@ func addOperationTestFailoverMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go b/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go index 6b03f59f349..b47685aee36 100644 --- a/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go +++ b/service/elasticbeanstalk/api_op_AbortEnvironmentUpdate.go @@ -74,7 +74,10 @@ func addOperationAbortEnvironmentUpdateMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go b/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go index 3d0bd33be49..ddc4adbf253 100644 --- a/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go +++ b/service/elasticbeanstalk/api_op_ApplyEnvironmentManagedAction.go @@ -93,7 +93,10 @@ func addOperationApplyEnvironmentManagedActionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go b/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go index 281030544e6..50bd215fe62 100644 --- a/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go +++ b/service/elasticbeanstalk/api_op_AssociateEnvironmentOperationsRole.go @@ -81,7 +81,10 @@ func addOperationAssociateEnvironmentOperationsRoleMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_CheckDNSAvailability.go b/service/elasticbeanstalk/api_op_CheckDNSAvailability.go index 40ce8d11a2e..cd22501b9bc 100644 --- a/service/elasticbeanstalk/api_op_CheckDNSAvailability.go +++ b/service/elasticbeanstalk/api_op_CheckDNSAvailability.go @@ -84,7 +84,10 @@ func addOperationCheckDNSAvailabilityMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_ComposeEnvironments.go b/service/elasticbeanstalk/api_op_ComposeEnvironments.go index 3d5eb1aad36..508b981c66e 100644 --- a/service/elasticbeanstalk/api_op_ComposeEnvironments.go +++ b/service/elasticbeanstalk/api_op_ComposeEnvironments.go @@ -97,7 +97,10 @@ func addOperationComposeEnvironmentsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_CreateApplication.go b/service/elasticbeanstalk/api_op_CreateApplication.go index a58010b253e..20b5e3a1482 100644 --- a/service/elasticbeanstalk/api_op_CreateApplication.go +++ b/service/elasticbeanstalk/api_op_CreateApplication.go @@ -89,7 +89,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_CreateApplicationVersion.go b/service/elasticbeanstalk/api_op_CreateApplicationVersion.go index 468e407174f..60757903a26 100644 --- a/service/elasticbeanstalk/api_op_CreateApplicationVersion.go +++ b/service/elasticbeanstalk/api_op_CreateApplicationVersion.go @@ -132,7 +132,10 @@ func addOperationCreateApplicationVersionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go b/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go index 2f595d49454..d399c06cef1 100644 --- a/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go +++ b/service/elasticbeanstalk/api_op_CreateConfigurationTemplate.go @@ -189,7 +189,10 @@ func addOperationCreateConfigurationTemplateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_CreateEnvironment.go b/service/elasticbeanstalk/api_op_CreateEnvironment.go index a5653b04529..b80dcaeb112 100644 --- a/service/elasticbeanstalk/api_op_CreateEnvironment.go +++ b/service/elasticbeanstalk/api_op_CreateEnvironment.go @@ -259,7 +259,10 @@ func addOperationCreateEnvironmentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_CreatePlatformVersion.go b/service/elasticbeanstalk/api_op_CreatePlatformVersion.go index 037ad148b04..fa320be0b3b 100644 --- a/service/elasticbeanstalk/api_op_CreatePlatformVersion.go +++ b/service/elasticbeanstalk/api_op_CreatePlatformVersion.go @@ -99,7 +99,10 @@ func addOperationCreatePlatformVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_CreateStorageLocation.go b/service/elasticbeanstalk/api_op_CreateStorageLocation.go index 26055aec05f..63153c24115 100644 --- a/service/elasticbeanstalk/api_op_CreateStorageLocation.go +++ b/service/elasticbeanstalk/api_op_CreateStorageLocation.go @@ -73,7 +73,10 @@ func addOperationCreateStorageLocationMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DeleteApplication.go b/service/elasticbeanstalk/api_op_DeleteApplication.go index 71778959bd8..393ae36b2ce 100644 --- a/service/elasticbeanstalk/api_op_DeleteApplication.go +++ b/service/elasticbeanstalk/api_op_DeleteApplication.go @@ -76,7 +76,10 @@ func addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go b/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go index 27950d25bc1..2c90ccec769 100644 --- a/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go +++ b/service/elasticbeanstalk/api_op_DeleteApplicationVersion.go @@ -81,7 +81,10 @@ func addOperationDeleteApplicationVersionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go b/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go index d79a4938461..99f31fa0aaf 100644 --- a/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go +++ b/service/elasticbeanstalk/api_op_DeleteConfigurationTemplate.go @@ -78,7 +78,10 @@ func addOperationDeleteConfigurationTemplateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go b/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go index fc26a06c900..e3b5f7c2e46 100644 --- a/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go +++ b/service/elasticbeanstalk/api_op_DeleteEnvironmentConfiguration.go @@ -81,7 +81,10 @@ func addOperationDeleteEnvironmentConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DeletePlatformVersion.go b/service/elasticbeanstalk/api_op_DeletePlatformVersion.go index aa1f74bcc5f..2933ac68f00 100644 --- a/service/elasticbeanstalk/api_op_DeletePlatformVersion.go +++ b/service/elasticbeanstalk/api_op_DeletePlatformVersion.go @@ -72,7 +72,10 @@ func addOperationDeletePlatformVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go b/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go index 02c420d7281..ffb9ae7ef7f 100644 --- a/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go +++ b/service/elasticbeanstalk/api_op_DescribeAccountAttributes.go @@ -71,7 +71,10 @@ func addOperationDescribeAccountAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go b/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go index 1209dc541a8..b9aa07a4603 100644 --- a/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go +++ b/service/elasticbeanstalk/api_op_DescribeApplicationVersions.go @@ -93,7 +93,10 @@ func addOperationDescribeApplicationVersionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeApplications.go b/service/elasticbeanstalk/api_op_DescribeApplications.go index f491d207c36..5489dbe2aa6 100644 --- a/service/elasticbeanstalk/api_op_DescribeApplications.go +++ b/service/elasticbeanstalk/api_op_DescribeApplications.go @@ -75,7 +75,10 @@ func addOperationDescribeApplicationsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go b/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go index 25cd5a908fa..24358b54340 100644 --- a/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go +++ b/service/elasticbeanstalk/api_op_DescribeConfigurationOptions.go @@ -102,7 +102,10 @@ func addOperationDescribeConfigurationOptionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go b/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go index 6c127d0e7f8..93060b92965 100644 --- a/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go +++ b/service/elasticbeanstalk/api_op_DescribeConfigurationSettings.go @@ -100,7 +100,10 @@ func addOperationDescribeConfigurationSettingsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go index fabeb6d2ccf..a13ab8acb73 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentHealth.go @@ -113,7 +113,10 @@ func addOperationDescribeEnvironmentHealthMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go index 7cd6ffe2df4..d099a036cd8 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActionHistory.go @@ -88,7 +88,10 @@ func addOperationDescribeEnvironmentManagedActionHistoryMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go index 11e62695bbf..0ad8fa309e5 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentManagedActions.go @@ -80,7 +80,10 @@ func addOperationDescribeEnvironmentManagedActionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go b/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go index 51c2d46e69e..c8ade6d3464 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironmentResources.go @@ -81,7 +81,10 @@ func addOperationDescribeEnvironmentResourcesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeEnvironments.go b/service/elasticbeanstalk/api_op_DescribeEnvironments.go index f8396a79951..d0ac8713714 100644 --- a/service/elasticbeanstalk/api_op_DescribeEnvironments.go +++ b/service/elasticbeanstalk/api_op_DescribeEnvironments.go @@ -116,7 +116,10 @@ func addOperationDescribeEnvironmentsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeEvents.go b/service/elasticbeanstalk/api_op_DescribeEvents.go index 7d978c0212d..39ecbf77f2d 100644 --- a/service/elasticbeanstalk/api_op_DescribeEvents.go +++ b/service/elasticbeanstalk/api_op_DescribeEvents.go @@ -126,7 +126,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go b/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go index 59182ed4906..08c0d5a533c 100644 --- a/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go +++ b/service/elasticbeanstalk/api_op_DescribeInstancesHealth.go @@ -96,7 +96,10 @@ func addOperationDescribeInstancesHealthMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DescribePlatformVersion.go b/service/elasticbeanstalk/api_op_DescribePlatformVersion.go index 444bafa7346..58dfc8e34b0 100644 --- a/service/elasticbeanstalk/api_op_DescribePlatformVersion.go +++ b/service/elasticbeanstalk/api_op_DescribePlatformVersion.go @@ -76,7 +76,10 @@ func addOperationDescribePlatformVersionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go b/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go index 3b5fde8efa0..b2b806238ad 100644 --- a/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go +++ b/service/elasticbeanstalk/api_op_DisassociateEnvironmentOperationsRole.go @@ -75,7 +75,10 @@ func addOperationDisassociateEnvironmentOperationsRoleMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go b/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go index dbc46ed84b3..a9b48d2b850 100644 --- a/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go +++ b/service/elasticbeanstalk/api_op_ListAvailableSolutionStacks.go @@ -74,7 +74,10 @@ func addOperationListAvailableSolutionStacksMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_ListPlatformBranches.go b/service/elasticbeanstalk/api_op_ListPlatformBranches.go index 237f75ae3ba..07aeacc7d19 100644 --- a/service/elasticbeanstalk/api_op_ListPlatformBranches.go +++ b/service/elasticbeanstalk/api_op_ListPlatformBranches.go @@ -122,7 +122,10 @@ func addOperationListPlatformBranchesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_ListPlatformVersions.go b/service/elasticbeanstalk/api_op_ListPlatformVersions.go index f49eff66b1a..57093b58e62 100644 --- a/service/elasticbeanstalk/api_op_ListPlatformVersions.go +++ b/service/elasticbeanstalk/api_op_ListPlatformVersions.go @@ -92,7 +92,10 @@ func addOperationListPlatformVersionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_ListTagsForResource.go b/service/elasticbeanstalk/api_op_ListTagsForResource.go index 1ae51787b32..6dbea0713a3 100644 --- a/service/elasticbeanstalk/api_op_ListTagsForResource.go +++ b/service/elasticbeanstalk/api_op_ListTagsForResource.go @@ -83,7 +83,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_RebuildEnvironment.go b/service/elasticbeanstalk/api_op_RebuildEnvironment.go index ea0dc61892b..09801134c7a 100644 --- a/service/elasticbeanstalk/api_op_RebuildEnvironment.go +++ b/service/elasticbeanstalk/api_op_RebuildEnvironment.go @@ -76,7 +76,10 @@ func addOperationRebuildEnvironmentMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go b/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go index dccdc087a3b..20475f8fbcf 100644 --- a/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go +++ b/service/elasticbeanstalk/api_op_RequestEnvironmentInfo.go @@ -92,7 +92,10 @@ func addOperationRequestEnvironmentInfoMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_RestartAppServer.go b/service/elasticbeanstalk/api_op_RestartAppServer.go index 42443a9b24b..ae04854986b 100644 --- a/service/elasticbeanstalk/api_op_RestartAppServer.go +++ b/service/elasticbeanstalk/api_op_RestartAppServer.go @@ -76,7 +76,10 @@ func addOperationRestartAppServerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go b/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go index 2f64f1b5683..347eb6e7108 100644 --- a/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go +++ b/service/elasticbeanstalk/api_op_RetrieveEnvironmentInfo.go @@ -91,7 +91,10 @@ func addOperationRetrieveEnvironmentInfoMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go b/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go index 8063cc4f33b..8c4bf69aefe 100644 --- a/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go +++ b/service/elasticbeanstalk/api_op_SwapEnvironmentCNAMEs.go @@ -89,7 +89,10 @@ func addOperationSwapEnvironmentCNAMEsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_TerminateEnvironment.go b/service/elasticbeanstalk/api_op_TerminateEnvironment.go index 82f6b4de90a..7901d226445 100644 --- a/service/elasticbeanstalk/api_op_TerminateEnvironment.go +++ b/service/elasticbeanstalk/api_op_TerminateEnvironment.go @@ -205,7 +205,10 @@ func addOperationTerminateEnvironmentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_UpdateApplication.go b/service/elasticbeanstalk/api_op_UpdateApplication.go index b1c8cd7b970..2ce3f85f5d6 100644 --- a/service/elasticbeanstalk/api_op_UpdateApplication.go +++ b/service/elasticbeanstalk/api_op_UpdateApplication.go @@ -83,7 +83,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go b/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go index 9562576787e..3c6a064352e 100644 --- a/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go +++ b/service/elasticbeanstalk/api_op_UpdateApplicationResourceLifecycle.go @@ -82,7 +82,10 @@ func addOperationUpdateApplicationResourceLifecycleMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go b/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go index ba2e212b235..26895b2e5ee 100644 --- a/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go +++ b/service/elasticbeanstalk/api_op_UpdateApplicationVersion.go @@ -88,7 +88,10 @@ func addOperationUpdateApplicationVersionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go b/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go index e23fcd89665..19a1e05b27f 100644 --- a/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go +++ b/service/elasticbeanstalk/api_op_UpdateConfigurationTemplate.go @@ -144,7 +144,10 @@ func addOperationUpdateConfigurationTemplateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_UpdateEnvironment.go b/service/elasticbeanstalk/api_op_UpdateEnvironment.go index 7fbc8c79cf9..1512fc436ea 100644 --- a/service/elasticbeanstalk/api_op_UpdateEnvironment.go +++ b/service/elasticbeanstalk/api_op_UpdateEnvironment.go @@ -240,7 +240,10 @@ func addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_UpdateTagsForResource.go b/service/elasticbeanstalk/api_op_UpdateTagsForResource.go index b6dccf43bca..1ef64350527 100644 --- a/service/elasticbeanstalk/api_op_UpdateTagsForResource.go +++ b/service/elasticbeanstalk/api_op_UpdateTagsForResource.go @@ -92,7 +92,10 @@ func addOperationUpdateTagsForResourceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go b/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go index 3ecc92d2cc4..47366d63e8c 100644 --- a/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go +++ b/service/elasticbeanstalk/api_op_ValidateConfigurationSettings.go @@ -93,7 +93,10 @@ func addOperationValidateConfigurationSettingsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticinference/api_op_DescribeAcceleratorOfferings.go b/service/elasticinference/api_op_DescribeAcceleratorOfferings.go index 302f67b524f..b7b6c6f279d 100644 --- a/service/elasticinference/api_op_DescribeAcceleratorOfferings.go +++ b/service/elasticinference/api_op_DescribeAcceleratorOfferings.go @@ -83,7 +83,10 @@ func addOperationDescribeAcceleratorOfferingsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticinference/api_op_DescribeAcceleratorTypes.go b/service/elasticinference/api_op_DescribeAcceleratorTypes.go index be7c02d7d18..f035f658ade 100644 --- a/service/elasticinference/api_op_DescribeAcceleratorTypes.go +++ b/service/elasticinference/api_op_DescribeAcceleratorTypes.go @@ -70,7 +70,10 @@ func addOperationDescribeAcceleratorTypesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticinference/api_op_DescribeAccelerators.go b/service/elasticinference/api_op_DescribeAccelerators.go index 09d4ed378df..2cbe49d687b 100644 --- a/service/elasticinference/api_op_DescribeAccelerators.go +++ b/service/elasticinference/api_op_DescribeAccelerators.go @@ -94,7 +94,10 @@ func addOperationDescribeAcceleratorsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticinference/api_op_ListTagsForResource.go b/service/elasticinference/api_op_ListTagsForResource.go index 0911b3467bd..46e8b1d835d 100644 --- a/service/elasticinference/api_op_ListTagsForResource.go +++ b/service/elasticinference/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticinference/api_op_TagResource.go b/service/elasticinference/api_op_TagResource.go index 6afb4abdcc7..41fea033841 100644 --- a/service/elasticinference/api_op_TagResource.go +++ b/service/elasticinference/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticinference/api_op_UntagResource.go b/service/elasticinference/api_op_UntagResource.go index a3c0686dd83..4e5b3b4701a 100644 --- a/service/elasticinference/api_op_UntagResource.go +++ b/service/elasticinference/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_AddTags.go b/service/elasticloadbalancing/api_op_AddTags.go index 25d5d6989c8..38dc5f1e7cb 100644 --- a/service/elasticloadbalancing/api_op_AddTags.go +++ b/service/elasticloadbalancing/api_op_AddTags.go @@ -82,7 +82,10 @@ func addOperationAddTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go b/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go index 129c64316d4..95f3f18adf6 100644 --- a/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_ApplySecurityGroupsToLoadBalancer.go @@ -86,7 +86,10 @@ func addOperationApplySecurityGroupsToLoadBalancerMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go b/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go index 57f2b07ad63..323112b96a5 100644 --- a/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go +++ b/service/elasticloadbalancing/api_op_AttachLoadBalancerToSubnets.go @@ -86,7 +86,10 @@ func addOperationAttachLoadBalancerToSubnetsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go b/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go index 6aef1930534..420e8ab92c6 100644 --- a/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go +++ b/service/elasticloadbalancing/api_op_ConfigureHealthCheck.go @@ -85,7 +85,10 @@ func addOperationConfigureHealthCheckMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go b/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go index ddcf1e2f6f6..8f7d626b90e 100644 --- a/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go +++ b/service/elasticloadbalancing/api_op_CreateAppCookieStickinessPolicy.go @@ -94,7 +94,10 @@ func addOperationCreateAppCookieStickinessPolicyMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go b/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go index a6e022d010c..a7c744b0256 100644 --- a/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go +++ b/service/elasticloadbalancing/api_op_CreateLBCookieStickinessPolicy.go @@ -96,7 +96,10 @@ func addOperationCreateLBCookieStickinessPolicyMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_CreateLoadBalancer.go b/service/elasticloadbalancing/api_op_CreateLoadBalancer.go index 7b8699e18ca..68fc62c5df7 100644 --- a/service/elasticloadbalancing/api_op_CreateLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_CreateLoadBalancer.go @@ -123,7 +123,10 @@ func addOperationCreateLoadBalancerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go b/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go index 34a083918f0..6acecfe5d2a 100644 --- a/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go +++ b/service/elasticloadbalancing/api_op_CreateLoadBalancerListeners.go @@ -82,7 +82,10 @@ func addOperationCreateLoadBalancerListenersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go b/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go index 430636f626b..f4aa1d575d6 100644 --- a/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go +++ b/service/elasticloadbalancing/api_op_CreateLoadBalancerPolicy.go @@ -89,7 +89,10 @@ func addOperationCreateLoadBalancerPolicyMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go b/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go index 7ca462c279f..148b39788ab 100644 --- a/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_DeleteLoadBalancer.go @@ -77,7 +77,10 @@ func addOperationDeleteLoadBalancerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go b/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go index 9e1b5f28d2a..7f3aeb71c12 100644 --- a/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go +++ b/service/elasticloadbalancing/api_op_DeleteLoadBalancerListeners.go @@ -76,7 +76,10 @@ func addOperationDeleteLoadBalancerListenersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go b/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go index 8e5af48c76e..c1172ddc5b6 100644 --- a/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go +++ b/service/elasticloadbalancing/api_op_DeleteLoadBalancerPolicy.go @@ -77,7 +77,10 @@ func addOperationDeleteLoadBalancerPolicyMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go b/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go index b6a9888d151..615339a1572 100644 --- a/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_DeregisterInstancesFromLoadBalancer.go @@ -87,7 +87,10 @@ func addOperationDeregisterInstancesFromLoadBalancerMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DescribeAccountLimits.go b/service/elasticloadbalancing/api_op_DescribeAccountLimits.go index 2bbf014cf82..f49957c9f04 100644 --- a/service/elasticloadbalancing/api_op_DescribeAccountLimits.go +++ b/service/elasticloadbalancing/api_op_DescribeAccountLimits.go @@ -83,7 +83,10 @@ func addOperationDescribeAccountLimitsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go b/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go index 1777714de7d..541cbba7daf 100644 --- a/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go +++ b/service/elasticloadbalancing/api_op_DescribeInstanceHealth.go @@ -88,7 +88,10 @@ func addOperationDescribeInstanceHealthMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go index 945e07c031b..3086c85ed49 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancerAttributes.go @@ -76,7 +76,10 @@ func addOperationDescribeLoadBalancerAttributesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go index d379baa04d0..427d2752830 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicies.go @@ -83,7 +83,10 @@ func addOperationDescribeLoadBalancerPoliciesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go index 0aa1a375b75..0fd9970719d 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancerPolicyTypes.go @@ -82,7 +82,10 @@ func addOperationDescribeLoadBalancerPolicyTypesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go b/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go index 879c07f7af5..ae6d48aa2ac 100644 --- a/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go +++ b/service/elasticloadbalancing/api_op_DescribeLoadBalancers.go @@ -88,7 +88,10 @@ func addOperationDescribeLoadBalancersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DescribeTags.go b/service/elasticloadbalancing/api_op_DescribeTags.go index ca771ce0aec..84d91ef16d8 100644 --- a/service/elasticloadbalancing/api_op_DescribeTags.go +++ b/service/elasticloadbalancing/api_op_DescribeTags.go @@ -76,7 +76,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go b/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go index 4d944949def..869d72a82b2 100644 --- a/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go +++ b/service/elasticloadbalancing/api_op_DetachLoadBalancerFromSubnets.go @@ -83,7 +83,10 @@ func addOperationDetachLoadBalancerFromSubnetsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go b/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go index f07f2c9cef4..f6d4404410b 100644 --- a/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_DisableAvailabilityZonesForLoadBalancer.go @@ -89,7 +89,10 @@ func addOperationDisableAvailabilityZonesForLoadBalancerMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go b/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go index 50cb205dc2c..3f1fd311038 100644 --- a/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_EnableAvailabilityZonesForLoadBalancer.go @@ -86,7 +86,10 @@ func addOperationEnableAvailabilityZonesForLoadBalancerMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go b/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go index 7d0a5d1dae9..d152fedf0cd 100644 --- a/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go +++ b/service/elasticloadbalancing/api_op_ModifyLoadBalancerAttributes.go @@ -104,7 +104,10 @@ func addOperationModifyLoadBalancerAttributesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go b/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go index eee58df162d..83921efe3fc 100644 --- a/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go +++ b/service/elasticloadbalancing/api_op_RegisterInstancesWithLoadBalancer.go @@ -98,7 +98,10 @@ func addOperationRegisterInstancesWithLoadBalancerMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_RemoveTags.go b/service/elasticloadbalancing/api_op_RemoveTags.go index 1fc9dff905d..04489202865 100644 --- a/service/elasticloadbalancing/api_op_RemoveTags.go +++ b/service/elasticloadbalancing/api_op_RemoveTags.go @@ -78,7 +78,10 @@ func addOperationRemoveTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go b/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go index e7897042d59..b7fd00e1a5d 100644 --- a/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go +++ b/service/elasticloadbalancing/api_op_SetLoadBalancerListenerSSLCertificate.go @@ -86,7 +86,10 @@ func addOperationSetLoadBalancerListenerSSLCertificateMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go index c21585ddd79..e77b763df0f 100644 --- a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go +++ b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesForBackendServer.go @@ -95,7 +95,10 @@ func addOperationSetLoadBalancerPoliciesForBackendServerMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go index 573823b268e..cec4500bbaf 100644 --- a/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go +++ b/service/elasticloadbalancing/api_op_SetLoadBalancerPoliciesOfListener.go @@ -92,7 +92,10 @@ func addOperationSetLoadBalancerPoliciesOfListenerMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go b/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go index 2f3de302ecc..b7e76b1fa9f 100644 --- a/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go +++ b/service/elasticloadbalancingv2/api_op_AddListenerCertificates.go @@ -87,7 +87,10 @@ func addOperationAddListenerCertificatesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_AddTags.go b/service/elasticloadbalancingv2/api_op_AddTags.go index d7ce51c6ed2..21c39ece840 100644 --- a/service/elasticloadbalancingv2/api_op_AddTags.go +++ b/service/elasticloadbalancingv2/api_op_AddTags.go @@ -79,7 +79,10 @@ func addOperationAddTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_CreateListener.go b/service/elasticloadbalancingv2/api_op_CreateListener.go index 302e82dedd4..33eba270465 100644 --- a/service/elasticloadbalancingv2/api_op_CreateListener.go +++ b/service/elasticloadbalancingv2/api_op_CreateListener.go @@ -143,7 +143,10 @@ func addOperationCreateListenerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go b/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go index 822f1523300..c9e73527695 100644 --- a/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go +++ b/service/elasticloadbalancingv2/api_op_CreateLoadBalancer.go @@ -149,7 +149,10 @@ func addOperationCreateLoadBalancerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_CreateRule.go b/service/elasticloadbalancingv2/api_op_CreateRule.go index 7237eb409dc..319158ba068 100644 --- a/service/elasticloadbalancingv2/api_op_CreateRule.go +++ b/service/elasticloadbalancingv2/api_op_CreateRule.go @@ -99,7 +99,10 @@ func addOperationCreateRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go b/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go index c47c9c21d55..c1a33fd5773 100644 --- a/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_CreateTargetGroup.go @@ -192,7 +192,10 @@ func addOperationCreateTargetGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DeleteListener.go b/service/elasticloadbalancingv2/api_op_DeleteListener.go index 341cb5ec10e..eb873b3df61 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteListener.go +++ b/service/elasticloadbalancingv2/api_op_DeleteListener.go @@ -70,7 +70,10 @@ func addOperationDeleteListenerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go b/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go index e7ee61791b5..be513e084eb 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go +++ b/service/elasticloadbalancingv2/api_op_DeleteLoadBalancer.go @@ -75,7 +75,10 @@ func addOperationDeleteLoadBalancerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DeleteRule.go b/service/elasticloadbalancingv2/api_op_DeleteRule.go index 1548dfa2cbb..217fb3507d9 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteRule.go +++ b/service/elasticloadbalancingv2/api_op_DeleteRule.go @@ -69,7 +69,10 @@ func addOperationDeleteRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go b/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go index a79f564af79..a7fb5f0039f 100644 --- a/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_DeleteTargetGroup.go @@ -72,7 +72,10 @@ func addOperationDeleteTargetGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DeregisterTargets.go b/service/elasticloadbalancingv2/api_op_DeregisterTargets.go index 1ac19eed986..5fc543e0fb0 100644 --- a/service/elasticloadbalancingv2/api_op_DeregisterTargets.go +++ b/service/elasticloadbalancingv2/api_op_DeregisterTargets.go @@ -77,7 +77,10 @@ func addOperationDeregisterTargetsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go b/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go index 23d682800f9..fd3d245f19a 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go +++ b/service/elasticloadbalancingv2/api_op_DescribeAccountLimits.go @@ -93,7 +93,10 @@ func addOperationDescribeAccountLimitsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go b/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go index 70c6b100382..8f3363951cd 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go +++ b/service/elasticloadbalancingv2/api_op_DescribeListenerCertificates.go @@ -92,7 +92,10 @@ func addOperationDescribeListenerCertificatesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeListeners.go b/service/elasticloadbalancingv2/api_op_DescribeListeners.go index d9d8670673a..bb0a32ca971 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeListeners.go +++ b/service/elasticloadbalancingv2/api_op_DescribeListeners.go @@ -89,7 +89,10 @@ func addOperationDescribeListenersMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go index e26e4c5a532..7ce42b71ce8 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go +++ b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancerAttributes.go @@ -88,7 +88,10 @@ func addOperationDescribeLoadBalancerAttributesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go index 3c124e50cd8..8161793592c 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go +++ b/service/elasticloadbalancingv2/api_op_DescribeLoadBalancers.go @@ -88,7 +88,10 @@ func addOperationDescribeLoadBalancersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeRules.go b/service/elasticloadbalancingv2/api_op_DescribeRules.go index 31d9b67a31a..daebd04948a 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeRules.go +++ b/service/elasticloadbalancingv2/api_op_DescribeRules.go @@ -87,7 +87,10 @@ func addOperationDescribeRulesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go b/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go index 80dffc8ae10..e48a0193f7c 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go +++ b/service/elasticloadbalancingv2/api_op_DescribeSSLPolicies.go @@ -88,7 +88,10 @@ func addOperationDescribeSSLPoliciesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeTags.go b/service/elasticloadbalancingv2/api_op_DescribeTags.go index 77c3df9dabc..f2de8b5c46c 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTags.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTags.go @@ -77,7 +77,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go b/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go index 6afaf2e2833..1c0bafb9291 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTargetGroupAttributes.go @@ -87,7 +87,10 @@ func addOperationDescribeTargetGroupAttributesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go b/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go index 16044e0e58c..0d14cd01cb8 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTargetGroups.go @@ -93,7 +93,10 @@ func addOperationDescribeTargetGroupsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go b/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go index 92df7d05748..9932c4bad14 100644 --- a/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go +++ b/service/elasticloadbalancingv2/api_op_DescribeTargetHealth.go @@ -77,7 +77,10 @@ func addOperationDescribeTargetHealthMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_ModifyListener.go b/service/elasticloadbalancingv2/api_op_ModifyListener.go index f2963d108a3..16d603d1c95 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyListener.go +++ b/service/elasticloadbalancingv2/api_op_ModifyListener.go @@ -128,7 +128,10 @@ func addOperationModifyListenerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go b/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go index e82117d4a49..56c5540abaa 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go +++ b/service/elasticloadbalancingv2/api_op_ModifyLoadBalancerAttributes.go @@ -82,7 +82,10 @@ func addOperationModifyLoadBalancerAttributesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_ModifyRule.go b/service/elasticloadbalancingv2/api_op_ModifyRule.go index d3a48d5cd7f..a5078b553a4 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyRule.go +++ b/service/elasticloadbalancingv2/api_op_ModifyRule.go @@ -84,7 +84,10 @@ func addOperationModifyRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go b/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go index 730843c270d..324f0e59b92 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go +++ b/service/elasticloadbalancingv2/api_op_ModifyTargetGroup.go @@ -118,7 +118,10 @@ func addOperationModifyTargetGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go b/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go index 2acbbbd551c..83f6f9454b8 100644 --- a/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go +++ b/service/elasticloadbalancingv2/api_op_ModifyTargetGroupAttributes.go @@ -79,7 +79,10 @@ func addOperationModifyTargetGroupAttributesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_RegisterTargets.go b/service/elasticloadbalancingv2/api_op_RegisterTargets.go index 008f6cab3c5..ad5e9ef6a02 100644 --- a/service/elasticloadbalancingv2/api_op_RegisterTargets.go +++ b/service/elasticloadbalancingv2/api_op_RegisterTargets.go @@ -84,7 +84,10 @@ func addOperationRegisterTargetsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go b/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go index 996090cf329..022e86a6bb7 100644 --- a/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go +++ b/service/elasticloadbalancingv2/api_op_RemoveListenerCertificates.go @@ -77,7 +77,10 @@ func addOperationRemoveListenerCertificatesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_RemoveTags.go b/service/elasticloadbalancingv2/api_op_RemoveTags.go index 97a18dd7419..dc3209bcf39 100644 --- a/service/elasticloadbalancingv2/api_op_RemoveTags.go +++ b/service/elasticloadbalancingv2/api_op_RemoveTags.go @@ -76,7 +76,10 @@ func addOperationRemoveTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_SetIpAddressType.go b/service/elasticloadbalancingv2/api_op_SetIpAddressType.go index e446bd21d56..46118d148d4 100644 --- a/service/elasticloadbalancingv2/api_op_SetIpAddressType.go +++ b/service/elasticloadbalancingv2/api_op_SetIpAddressType.go @@ -82,7 +82,10 @@ func addOperationSetIpAddressTypeMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_SetRulePriorities.go b/service/elasticloadbalancingv2/api_op_SetRulePriorities.go index 6a35e944224..f067fcf746a 100644 --- a/service/elasticloadbalancingv2/api_op_SetRulePriorities.go +++ b/service/elasticloadbalancingv2/api_op_SetRulePriorities.go @@ -76,7 +76,10 @@ func addOperationSetRulePrioritiesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go b/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go index 02e3b399bd8..9b2973a415a 100644 --- a/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go +++ b/service/elasticloadbalancingv2/api_op_SetSecurityGroups.go @@ -81,7 +81,10 @@ func addOperationSetSecurityGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticloadbalancingv2/api_op_SetSubnets.go b/service/elasticloadbalancingv2/api_op_SetSubnets.go index 5d383530a0e..c16a7be4152 100644 --- a/service/elasticloadbalancingv2/api_op_SetSubnets.go +++ b/service/elasticloadbalancingv2/api_op_SetSubnets.go @@ -110,7 +110,10 @@ func addOperationSetSubnetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go index dbaa132bfb2..55c5cc7bade 100644 --- a/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_AcceptInboundCrossClusterSearchConnection.go @@ -80,7 +80,10 @@ func addOperationAcceptInboundCrossClusterSearchConnectionMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_AddTags.go b/service/elasticsearchservice/api_op_AddTags.go index c8a49785d53..b1c70099983 100644 --- a/service/elasticsearchservice/api_op_AddTags.go +++ b/service/elasticsearchservice/api_op_AddTags.go @@ -80,7 +80,10 @@ func addOperationAddTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_AssociatePackage.go b/service/elasticsearchservice/api_op_AssociatePackage.go index 3f694c17fde..78ba1d7392f 100644 --- a/service/elasticsearchservice/api_op_AssociatePackage.go +++ b/service/elasticsearchservice/api_op_AssociatePackage.go @@ -82,7 +82,10 @@ func addOperationAssociatePackageMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go b/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go index 207ad3cf32d..54d1fd04f7b 100644 --- a/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go +++ b/service/elasticsearchservice/api_op_CancelElasticsearchServiceSoftwareUpdate.go @@ -82,7 +82,10 @@ func addOperationCancelElasticsearchServiceSoftwareUpdateMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go b/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go index f09b3a3a4b5..4d9584aefe4 100644 --- a/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_CreateElasticsearchDomain.go @@ -137,7 +137,10 @@ func addOperationCreateElasticsearchDomainMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go index f6456150cf1..a13d8810350 100644 --- a/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_CreateOutboundCrossClusterSearchConnection.go @@ -104,7 +104,10 @@ func addOperationCreateOutboundCrossClusterSearchConnectionMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_CreatePackage.go b/service/elasticsearchservice/api_op_CreatePackage.go index 83e0cd662bf..2d530b6a1a5 100644 --- a/service/elasticsearchservice/api_op_CreatePackage.go +++ b/service/elasticsearchservice/api_op_CreatePackage.go @@ -89,7 +89,10 @@ func addOperationCreatePackageMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go b/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go index 3ee4feda379..55baeeaf1ba 100644 --- a/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_DeleteElasticsearchDomain.go @@ -80,7 +80,10 @@ func addOperationDeleteElasticsearchDomainMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go b/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go index 1b21cb5813e..48c3881d672 100644 --- a/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go +++ b/service/elasticsearchservice/api_op_DeleteElasticsearchServiceRole.go @@ -69,7 +69,10 @@ func addOperationDeleteElasticsearchServiceRoleMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go index bbf21d4c9cd..25bda354230 100644 --- a/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_DeleteInboundCrossClusterSearchConnection.go @@ -79,7 +79,10 @@ func addOperationDeleteInboundCrossClusterSearchConnectionMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go index 0dd39886bb7..ebe6d2303a3 100644 --- a/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_DeleteOutboundCrossClusterSearchConnection.go @@ -80,7 +80,10 @@ func addOperationDeleteOutboundCrossClusterSearchConnectionMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DeletePackage.go b/service/elasticsearchservice/api_op_DeletePackage.go index 7a76bc87c03..e6e2a662295 100644 --- a/service/elasticsearchservice/api_op_DeletePackage.go +++ b/service/elasticsearchservice/api_op_DeletePackage.go @@ -77,7 +77,10 @@ func addOperationDeletePackageMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go b/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go index e097315b606..164640c6be1 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchDomain.go @@ -80,7 +80,10 @@ func addOperationDescribeElasticsearchDomainMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go b/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go index 22650a9266e..8f04b478b36 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchDomainConfig.go @@ -83,7 +83,10 @@ func addOperationDescribeElasticsearchDomainConfigMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go b/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go index a15ba6b4a76..99179ae0c5a 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchDomains.go @@ -81,7 +81,10 @@ func addOperationDescribeElasticsearchDomainsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go b/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go index b8b6ba5e969..972c36f2d2f 100644 --- a/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go +++ b/service/elasticsearchservice/api_op_DescribeElasticsearchInstanceTypeLimits.go @@ -101,7 +101,10 @@ func addOperationDescribeElasticsearchInstanceTypeLimitsMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go b/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go index 673d2007c11..7d19fe1172b 100644 --- a/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go +++ b/service/elasticsearchservice/api_op_DescribeInboundCrossClusterSearchConnections.go @@ -104,7 +104,10 @@ func addOperationDescribeInboundCrossClusterSearchConnectionsMiddlewares(stack * if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go b/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go index 8b07872e6bc..60f87400639 100644 --- a/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go +++ b/service/elasticsearchservice/api_op_DescribeOutboundCrossClusterSearchConnections.go @@ -104,7 +104,10 @@ func addOperationDescribeOutboundCrossClusterSearchConnectionsMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DescribePackages.go b/service/elasticsearchservice/api_op_DescribePackages.go index 1301a6765af..7c12a817adc 100644 --- a/service/elasticsearchservice/api_op_DescribePackages.go +++ b/service/elasticsearchservice/api_op_DescribePackages.go @@ -84,7 +84,10 @@ func addOperationDescribePackagesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go index fa6fefd786d..29f39775b64 100644 --- a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go +++ b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstanceOfferings.go @@ -87,7 +87,10 @@ func addOperationDescribeReservedElasticsearchInstanceOfferingsMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go index 17b88373d14..56fec5078ac 100644 --- a/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go +++ b/service/elasticsearchservice/api_op_DescribeReservedElasticsearchInstances.go @@ -87,7 +87,10 @@ func addOperationDescribeReservedElasticsearchInstancesMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_DissociatePackage.go b/service/elasticsearchservice/api_op_DissociatePackage.go index e5307a0838f..03e3c93d844 100644 --- a/service/elasticsearchservice/api_op_DissociatePackage.go +++ b/service/elasticsearchservice/api_op_DissociatePackage.go @@ -82,7 +82,10 @@ func addOperationDissociatePackageMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go b/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go index b33e46f1c23..17ece25ee7f 100644 --- a/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go +++ b/service/elasticsearchservice/api_op_GetCompatibleElasticsearchVersions.go @@ -81,7 +81,10 @@ func addOperationGetCompatibleElasticsearchVersionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_GetPackageVersionHistory.go b/service/elasticsearchservice/api_op_GetPackageVersionHistory.go index f28fd81022e..b586ae4eb64 100644 --- a/service/elasticsearchservice/api_op_GetPackageVersionHistory.go +++ b/service/elasticsearchservice/api_op_GetPackageVersionHistory.go @@ -88,7 +88,10 @@ func addOperationGetPackageVersionHistoryMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_GetUpgradeHistory.go b/service/elasticsearchservice/api_op_GetUpgradeHistory.go index c4a2d13558c..8e6166ed97c 100644 --- a/service/elasticsearchservice/api_op_GetUpgradeHistory.go +++ b/service/elasticsearchservice/api_op_GetUpgradeHistory.go @@ -95,7 +95,10 @@ func addOperationGetUpgradeHistoryMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_GetUpgradeStatus.go b/service/elasticsearchservice/api_op_GetUpgradeStatus.go index 9710e75eeb6..1e99d4d74c0 100644 --- a/service/elasticsearchservice/api_op_GetUpgradeStatus.go +++ b/service/elasticsearchservice/api_op_GetUpgradeStatus.go @@ -103,7 +103,10 @@ func addOperationGetUpgradeStatusMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_ListDomainNames.go b/service/elasticsearchservice/api_op_ListDomainNames.go index c522376ea70..16e711e6df0 100644 --- a/service/elasticsearchservice/api_op_ListDomainNames.go +++ b/service/elasticsearchservice/api_op_ListDomainNames.go @@ -72,7 +72,10 @@ func addOperationListDomainNamesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_ListDomainsForPackage.go b/service/elasticsearchservice/api_op_ListDomainsForPackage.go index 20e4ea9dca6..3dd473bcab5 100644 --- a/service/elasticsearchservice/api_op_ListDomainsForPackage.go +++ b/service/elasticsearchservice/api_op_ListDomainsForPackage.go @@ -86,7 +86,10 @@ func addOperationListDomainsForPackageMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go b/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go index fdf096945cb..ba207e4b323 100644 --- a/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go +++ b/service/elasticsearchservice/api_op_ListElasticsearchInstanceTypes.go @@ -99,7 +99,10 @@ func addOperationListElasticsearchInstanceTypesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_ListElasticsearchVersions.go b/service/elasticsearchservice/api_op_ListElasticsearchVersions.go index 658bbf061ce..c38c66d474d 100644 --- a/service/elasticsearchservice/api_op_ListElasticsearchVersions.go +++ b/service/elasticsearchservice/api_op_ListElasticsearchVersions.go @@ -90,7 +90,10 @@ func addOperationListElasticsearchVersionsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_ListPackagesForDomain.go b/service/elasticsearchservice/api_op_ListPackagesForDomain.go index ce25043d700..f46ac449265 100644 --- a/service/elasticsearchservice/api_op_ListPackagesForDomain.go +++ b/service/elasticsearchservice/api_op_ListPackagesForDomain.go @@ -88,7 +88,10 @@ func addOperationListPackagesForDomainMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_ListTags.go b/service/elasticsearchservice/api_op_ListTags.go index cad6c6dc06a..d40cb6d7706 100644 --- a/service/elasticsearchservice/api_op_ListTags.go +++ b/service/elasticsearchservice/api_op_ListTags.go @@ -80,7 +80,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go b/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go index fbc3a49c06c..eb8d2d44e04 100644 --- a/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go +++ b/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go @@ -87,7 +87,10 @@ func addOperationPurchaseReservedElasticsearchInstanceOfferingMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go b/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go index 536f03624e3..a67b26465e3 100644 --- a/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go +++ b/service/elasticsearchservice/api_op_RejectInboundCrossClusterSearchConnection.go @@ -80,7 +80,10 @@ func addOperationRejectInboundCrossClusterSearchConnectionMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_RemoveTags.go b/service/elasticsearchservice/api_op_RemoveTags.go index 151381a1dfa..c1b330931ed 100644 --- a/service/elasticsearchservice/api_op_RemoveTags.go +++ b/service/elasticsearchservice/api_op_RemoveTags.go @@ -78,7 +78,10 @@ func addOperationRemoveTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go b/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go index bf83133eee2..a3c51216045 100644 --- a/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go +++ b/service/elasticsearchservice/api_op_StartElasticsearchServiceSoftwareUpdate.go @@ -79,7 +79,10 @@ func addOperationStartElasticsearchServiceSoftwareUpdateMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go b/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go index be146563561..78fe2e11b1f 100644 --- a/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go +++ b/service/elasticsearchservice/api_op_UpdateElasticsearchDomainConfig.go @@ -123,7 +123,10 @@ func addOperationUpdateElasticsearchDomainConfigMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_UpdatePackage.go b/service/elasticsearchservice/api_op_UpdatePackage.go index 559c7df320b..ac90f663bc1 100644 --- a/service/elasticsearchservice/api_op_UpdatePackage.go +++ b/service/elasticsearchservice/api_op_UpdatePackage.go @@ -88,7 +88,10 @@ func addOperationUpdatePackageMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go b/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go index f015d351447..1b5222f3064 100644 --- a/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go +++ b/service/elasticsearchservice/api_op_UpgradeElasticsearchDomain.go @@ -98,7 +98,10 @@ func addOperationUpgradeElasticsearchDomainMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_CancelJob.go b/service/elastictranscoder/api_op_CancelJob.go index 8f41b85191c..7cc37be2ba2 100644 --- a/service/elastictranscoder/api_op_CancelJob.go +++ b/service/elastictranscoder/api_op_CancelJob.go @@ -77,7 +77,10 @@ func addOperationCancelJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_CreateJob.go b/service/elastictranscoder/api_op_CreateJob.go index dbb240a827d..13ebc0cf48e 100644 --- a/service/elastictranscoder/api_op_CreateJob.go +++ b/service/elastictranscoder/api_op_CreateJob.go @@ -119,7 +119,10 @@ func addOperationCreateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_CreatePipeline.go b/service/elastictranscoder/api_op_CreatePipeline.go index 97b88e4107a..2d8f47ab84d 100644 --- a/service/elastictranscoder/api_op_CreatePipeline.go +++ b/service/elastictranscoder/api_op_CreatePipeline.go @@ -288,7 +288,10 @@ func addOperationCreatePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_CreatePreset.go b/service/elastictranscoder/api_op_CreatePreset.go index 31131e9e845..83cc38754d0 100644 --- a/service/elastictranscoder/api_op_CreatePreset.go +++ b/service/elastictranscoder/api_op_CreatePreset.go @@ -114,7 +114,10 @@ func addOperationCreatePresetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_DeletePipeline.go b/service/elastictranscoder/api_op_DeletePipeline.go index 6b3cd94f5f3..09dffc7676a 100644 --- a/service/elastictranscoder/api_op_DeletePipeline.go +++ b/service/elastictranscoder/api_op_DeletePipeline.go @@ -74,7 +74,10 @@ func addOperationDeletePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_DeletePreset.go b/service/elastictranscoder/api_op_DeletePreset.go index 6708d9ad554..74d83f63ae6 100644 --- a/service/elastictranscoder/api_op_DeletePreset.go +++ b/service/elastictranscoder/api_op_DeletePreset.go @@ -72,7 +72,10 @@ func addOperationDeletePresetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_ListJobsByPipeline.go b/service/elastictranscoder/api_op_ListJobsByPipeline.go index 7dbe97f6934..7203427f2ed 100644 --- a/service/elastictranscoder/api_op_ListJobsByPipeline.go +++ b/service/elastictranscoder/api_op_ListJobsByPipeline.go @@ -93,7 +93,10 @@ func addOperationListJobsByPipelineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_ListJobsByStatus.go b/service/elastictranscoder/api_op_ListJobsByStatus.go index f1988a6783a..cc86f94bc80 100644 --- a/service/elastictranscoder/api_op_ListJobsByStatus.go +++ b/service/elastictranscoder/api_op_ListJobsByStatus.go @@ -94,7 +94,10 @@ func addOperationListJobsByStatusMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_ListPipelines.go b/service/elastictranscoder/api_op_ListPipelines.go index bdd02551da7..b95bdad0665 100644 --- a/service/elastictranscoder/api_op_ListPipelines.go +++ b/service/elastictranscoder/api_op_ListPipelines.go @@ -87,7 +87,10 @@ func addOperationListPipelinesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_ListPresets.go b/service/elastictranscoder/api_op_ListPresets.go index bb1a0479dbd..8164425dc34 100644 --- a/service/elastictranscoder/api_op_ListPresets.go +++ b/service/elastictranscoder/api_op_ListPresets.go @@ -87,7 +87,10 @@ func addOperationListPresetsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_ReadJob.go b/service/elastictranscoder/api_op_ReadJob.go index b9438c4497d..1c2628f8918 100644 --- a/service/elastictranscoder/api_op_ReadJob.go +++ b/service/elastictranscoder/api_op_ReadJob.go @@ -81,7 +81,10 @@ func addOperationReadJobMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_ReadPipeline.go b/service/elastictranscoder/api_op_ReadPipeline.go index ade7083d85a..a21b9db8908 100644 --- a/service/elastictranscoder/api_op_ReadPipeline.go +++ b/service/elastictranscoder/api_op_ReadPipeline.go @@ -82,7 +82,10 @@ func addOperationReadPipelineMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_ReadPreset.go b/service/elastictranscoder/api_op_ReadPreset.go index c35a06e94f6..ae6f507e884 100644 --- a/service/elastictranscoder/api_op_ReadPreset.go +++ b/service/elastictranscoder/api_op_ReadPreset.go @@ -76,7 +76,10 @@ func addOperationReadPresetMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_TestRole.go b/service/elastictranscoder/api_op_TestRole.go index 0228f464f69..abbe780f5d3 100644 --- a/service/elastictranscoder/api_op_TestRole.go +++ b/service/elastictranscoder/api_op_TestRole.go @@ -106,7 +106,10 @@ func addOperationTestRoleMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_UpdatePipeline.go b/service/elastictranscoder/api_op_UpdatePipeline.go index 5cf4c4402cd..503baa4a284 100644 --- a/service/elastictranscoder/api_op_UpdatePipeline.go +++ b/service/elastictranscoder/api_op_UpdatePipeline.go @@ -259,7 +259,10 @@ func addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_UpdatePipelineNotifications.go b/service/elastictranscoder/api_op_UpdatePipelineNotifications.go index b093814b617..e9a5d04a7c1 100644 --- a/service/elastictranscoder/api_op_UpdatePipelineNotifications.go +++ b/service/elastictranscoder/api_op_UpdatePipelineNotifications.go @@ -107,7 +107,10 @@ func addOperationUpdatePipelineNotificationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/elastictranscoder/api_op_UpdatePipelineStatus.go b/service/elastictranscoder/api_op_UpdatePipelineStatus.go index 44fc6b274cf..1a84730f6da 100644 --- a/service/elastictranscoder/api_op_UpdatePipelineStatus.go +++ b/service/elastictranscoder/api_op_UpdatePipelineStatus.go @@ -92,7 +92,10 @@ func addOperationUpdatePipelineStatusMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_AddInstanceFleet.go b/service/emr/api_op_AddInstanceFleet.go index d7b6a2ade8a..d27d389cabb 100644 --- a/service/emr/api_op_AddInstanceFleet.go +++ b/service/emr/api_op_AddInstanceFleet.go @@ -86,7 +86,10 @@ func addOperationAddInstanceFleetMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_AddInstanceGroups.go b/service/emr/api_op_AddInstanceGroups.go index 86b2c0e8aab..390015d4629 100644 --- a/service/emr/api_op_AddInstanceGroups.go +++ b/service/emr/api_op_AddInstanceGroups.go @@ -87,7 +87,10 @@ func addOperationAddInstanceGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_AddJobFlowSteps.go b/service/emr/api_op_AddJobFlowSteps.go index d2340430953..394d3df46cb 100644 --- a/service/emr/api_op_AddJobFlowSteps.go +++ b/service/emr/api_op_AddJobFlowSteps.go @@ -98,7 +98,10 @@ func addOperationAddJobFlowStepsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_AddTags.go b/service/emr/api_op_AddTags.go index 0f2f3ec5ede..7f1111b98ef 100644 --- a/service/emr/api_op_AddTags.go +++ b/service/emr/api_op_AddTags.go @@ -84,7 +84,10 @@ func addOperationAddTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_CancelSteps.go b/service/emr/api_op_CancelSteps.go index 41a69625f56..96d6a379749 100644 --- a/service/emr/api_op_CancelSteps.go +++ b/service/emr/api_op_CancelSteps.go @@ -93,7 +93,10 @@ func addOperationCancelStepsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_CreateSecurityConfiguration.go b/service/emr/api_op_CreateSecurityConfiguration.go index 9e4ebd87c44..e660f865ac7 100644 --- a/service/emr/api_op_CreateSecurityConfiguration.go +++ b/service/emr/api_op_CreateSecurityConfiguration.go @@ -90,7 +90,10 @@ func addOperationCreateSecurityConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_CreateStudio.go b/service/emr/api_op_CreateStudio.go index b2ca2f0cb0d..e2c186fb9cb 100644 --- a/service/emr/api_op_CreateStudio.go +++ b/service/emr/api_op_CreateStudio.go @@ -137,7 +137,10 @@ func addOperationCreateStudioMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_CreateStudioSessionMapping.go b/service/emr/api_op_CreateStudioSessionMapping.go index 971e6ddd60f..11a5d8668de 100644 --- a/service/emr/api_op_CreateStudioSessionMapping.go +++ b/service/emr/api_op_CreateStudioSessionMapping.go @@ -102,7 +102,10 @@ func addOperationCreateStudioSessionMappingMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_DeleteSecurityConfiguration.go b/service/emr/api_op_DeleteSecurityConfiguration.go index 576074a4da9..d097cb63198 100644 --- a/service/emr/api_op_DeleteSecurityConfiguration.go +++ b/service/emr/api_op_DeleteSecurityConfiguration.go @@ -69,7 +69,10 @@ func addOperationDeleteSecurityConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_DeleteStudio.go b/service/emr/api_op_DeleteStudio.go index de5235c255a..6f51961e55f 100644 --- a/service/emr/api_op_DeleteStudio.go +++ b/service/emr/api_op_DeleteStudio.go @@ -70,7 +70,10 @@ func addOperationDeleteStudioMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_DeleteStudioSessionMapping.go b/service/emr/api_op_DeleteStudioSessionMapping.go index 4141cba7456..bfa12ba114d 100644 --- a/service/emr/api_op_DeleteStudioSessionMapping.go +++ b/service/emr/api_op_DeleteStudioSessionMapping.go @@ -94,7 +94,10 @@ func addOperationDeleteStudioSessionMappingMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_DescribeCluster.go b/service/emr/api_op_DescribeCluster.go index beddfacfd0d..39e53394755 100644 --- a/service/emr/api_op_DescribeCluster.go +++ b/service/emr/api_op_DescribeCluster.go @@ -82,7 +82,10 @@ func addOperationDescribeClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_DescribeJobFlows.go b/service/emr/api_op_DescribeJobFlows.go index e5eeb3d6a4d..9c69c365565 100644 --- a/service/emr/api_op_DescribeJobFlows.go +++ b/service/emr/api_op_DescribeJobFlows.go @@ -102,7 +102,10 @@ func addOperationDescribeJobFlowsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_DescribeNotebookExecution.go b/service/emr/api_op_DescribeNotebookExecution.go index 594a2956bad..ce1126e9fda 100644 --- a/service/emr/api_op_DescribeNotebookExecution.go +++ b/service/emr/api_op_DescribeNotebookExecution.go @@ -74,7 +74,10 @@ func addOperationDescribeNotebookExecutionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_DescribeSecurityConfiguration.go b/service/emr/api_op_DescribeSecurityConfiguration.go index ea0b65ac110..9d18a721e4b 100644 --- a/service/emr/api_op_DescribeSecurityConfiguration.go +++ b/service/emr/api_op_DescribeSecurityConfiguration.go @@ -81,7 +81,10 @@ func addOperationDescribeSecurityConfigurationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_DescribeStep.go b/service/emr/api_op_DescribeStep.go index 820af7e8cb3..592af42c4c6 100644 --- a/service/emr/api_op_DescribeStep.go +++ b/service/emr/api_op_DescribeStep.go @@ -86,7 +86,10 @@ func addOperationDescribeStepMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_DescribeStudio.go b/service/emr/api_op_DescribeStudio.go index 4357f5b41d4..73e5bc2cb43 100644 --- a/service/emr/api_op_DescribeStudio.go +++ b/service/emr/api_op_DescribeStudio.go @@ -76,7 +76,10 @@ func addOperationDescribeStudioMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_GetBlockPublicAccessConfiguration.go b/service/emr/api_op_GetBlockPublicAccessConfiguration.go index 7f1e2c3e553..595bd08048d 100644 --- a/service/emr/api_op_GetBlockPublicAccessConfiguration.go +++ b/service/emr/api_op_GetBlockPublicAccessConfiguration.go @@ -96,7 +96,10 @@ func addOperationGetBlockPublicAccessConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_GetManagedScalingPolicy.go b/service/emr/api_op_GetManagedScalingPolicy.go index e060f9357aa..4a4adfe3a56 100644 --- a/service/emr/api_op_GetManagedScalingPolicy.go +++ b/service/emr/api_op_GetManagedScalingPolicy.go @@ -75,7 +75,10 @@ func addOperationGetManagedScalingPolicyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_GetStudioSessionMapping.go b/service/emr/api_op_GetStudioSessionMapping.go index 88002a95714..b17a17603ee 100644 --- a/service/emr/api_op_GetStudioSessionMapping.go +++ b/service/emr/api_op_GetStudioSessionMapping.go @@ -99,7 +99,10 @@ func addOperationGetStudioSessionMappingMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListBootstrapActions.go b/service/emr/api_op_ListBootstrapActions.go index 21a6f51a9a0..160c5712288 100644 --- a/service/emr/api_op_ListBootstrapActions.go +++ b/service/emr/api_op_ListBootstrapActions.go @@ -83,7 +83,10 @@ func addOperationListBootstrapActionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListClusters.go b/service/emr/api_op_ListClusters.go index bb45b1735d9..3cc2747d721 100644 --- a/service/emr/api_op_ListClusters.go +++ b/service/emr/api_op_ListClusters.go @@ -94,7 +94,10 @@ func addOperationListClustersMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListInstanceFleets.go b/service/emr/api_op_ListInstanceFleets.go index f752457c56b..030c99c35bc 100644 --- a/service/emr/api_op_ListInstanceFleets.go +++ b/service/emr/api_op_ListInstanceFleets.go @@ -83,7 +83,10 @@ func addOperationListInstanceFleetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListInstanceGroups.go b/service/emr/api_op_ListInstanceGroups.go index 7a92fb671e7..331f0e2d782 100644 --- a/service/emr/api_op_ListInstanceGroups.go +++ b/service/emr/api_op_ListInstanceGroups.go @@ -83,7 +83,10 @@ func addOperationListInstanceGroupsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListInstances.go b/service/emr/api_op_ListInstances.go index 64213fce63d..4a50702b4a2 100644 --- a/service/emr/api_op_ListInstances.go +++ b/service/emr/api_op_ListInstances.go @@ -102,7 +102,10 @@ func addOperationListInstancesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListNotebookExecutions.go b/service/emr/api_op_ListNotebookExecutions.go index e801976b68a..1033b5ee477 100644 --- a/service/emr/api_op_ListNotebookExecutions.go +++ b/service/emr/api_op_ListNotebookExecutions.go @@ -127,7 +127,10 @@ func addOperationListNotebookExecutionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListSecurityConfigurations.go b/service/emr/api_op_ListSecurityConfigurations.go index 5e86ece3399..5f7e98e43ec 100644 --- a/service/emr/api_op_ListSecurityConfigurations.go +++ b/service/emr/api_op_ListSecurityConfigurations.go @@ -81,7 +81,10 @@ func addOperationListSecurityConfigurationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListSteps.go b/service/emr/api_op_ListSteps.go index 16c9e5c874c..32e9e1e43ef 100644 --- a/service/emr/api_op_ListSteps.go +++ b/service/emr/api_op_ListSteps.go @@ -94,7 +94,10 @@ func addOperationListStepsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListStudioSessionMappings.go b/service/emr/api_op_ListStudioSessionMappings.go index 29745c96644..222b8f72e0c 100644 --- a/service/emr/api_op_ListStudioSessionMappings.go +++ b/service/emr/api_op_ListStudioSessionMappings.go @@ -87,7 +87,10 @@ func addOperationListStudioSessionMappingsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ListStudios.go b/service/emr/api_op_ListStudios.go index b56561dd2ee..3dddc355759 100644 --- a/service/emr/api_op_ListStudios.go +++ b/service/emr/api_op_ListStudios.go @@ -79,7 +79,10 @@ func addOperationListStudiosMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ModifyCluster.go b/service/emr/api_op_ModifyCluster.go index a3e7229ee5b..42aea49fe54 100644 --- a/service/emr/api_op_ModifyCluster.go +++ b/service/emr/api_op_ModifyCluster.go @@ -78,7 +78,10 @@ func addOperationModifyClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ModifyInstanceFleet.go b/service/emr/api_op_ModifyInstanceFleet.go index 354a17d0811..0c825a4fdb9 100644 --- a/service/emr/api_op_ModifyInstanceFleet.go +++ b/service/emr/api_op_ModifyInstanceFleet.go @@ -79,7 +79,10 @@ func addOperationModifyInstanceFleetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_ModifyInstanceGroups.go b/service/emr/api_op_ModifyInstanceGroups.go index bd4fc8f0cd2..f4c367a700b 100644 --- a/service/emr/api_op_ModifyInstanceGroups.go +++ b/service/emr/api_op_ModifyInstanceGroups.go @@ -75,7 +75,10 @@ func addOperationModifyInstanceGroupsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_PutAutoScalingPolicy.go b/service/emr/api_op_PutAutoScalingPolicy.go index e259bb23b46..dc1d0526914 100644 --- a/service/emr/api_op_PutAutoScalingPolicy.go +++ b/service/emr/api_op_PutAutoScalingPolicy.go @@ -99,7 +99,10 @@ func addOperationPutAutoScalingPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_PutBlockPublicAccessConfiguration.go b/service/emr/api_op_PutBlockPublicAccessConfiguration.go index 31f6be7063f..52f2046cf16 100644 --- a/service/emr/api_op_PutBlockPublicAccessConfiguration.go +++ b/service/emr/api_op_PutBlockPublicAccessConfiguration.go @@ -86,7 +86,10 @@ func addOperationPutBlockPublicAccessConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_PutManagedScalingPolicy.go b/service/emr/api_op_PutManagedScalingPolicy.go index cb1e5d152bd..e8770959d8c 100644 --- a/service/emr/api_op_PutManagedScalingPolicy.go +++ b/service/emr/api_op_PutManagedScalingPolicy.go @@ -79,7 +79,10 @@ func addOperationPutManagedScalingPolicyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_RemoveAutoScalingPolicy.go b/service/emr/api_op_RemoveAutoScalingPolicy.go index 4542845c3f6..c9dbba1d8fe 100644 --- a/service/emr/api_op_RemoveAutoScalingPolicy.go +++ b/service/emr/api_op_RemoveAutoScalingPolicy.go @@ -76,7 +76,10 @@ func addOperationRemoveAutoScalingPolicyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_RemoveManagedScalingPolicy.go b/service/emr/api_op_RemoveManagedScalingPolicy.go index 17b5f18cc3e..f459116e476 100644 --- a/service/emr/api_op_RemoveManagedScalingPolicy.go +++ b/service/emr/api_op_RemoveManagedScalingPolicy.go @@ -70,7 +70,10 @@ func addOperationRemoveManagedScalingPolicyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_RemoveTags.go b/service/emr/api_op_RemoveTags.go index b91aad234cc..2296531c859 100644 --- a/service/emr/api_op_RemoveTags.go +++ b/service/emr/api_op_RemoveTags.go @@ -81,7 +81,10 @@ func addOperationRemoveTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_RunJobFlow.go b/service/emr/api_op_RunJobFlow.go index 4bef3b299ef..8a71a1028ed 100644 --- a/service/emr/api_op_RunJobFlow.go +++ b/service/emr/api_op_RunJobFlow.go @@ -280,7 +280,10 @@ func addOperationRunJobFlowMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_SetTerminationProtection.go b/service/emr/api_op_SetTerminationProtection.go index a05fa020aa4..91afddb5194 100644 --- a/service/emr/api_op_SetTerminationProtection.go +++ b/service/emr/api_op_SetTerminationProtection.go @@ -92,7 +92,10 @@ func addOperationSetTerminationProtectionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_SetVisibleToAllUsers.go b/service/emr/api_op_SetVisibleToAllUsers.go index 95d63b0fe01..4fd8472442f 100644 --- a/service/emr/api_op_SetVisibleToAllUsers.go +++ b/service/emr/api_op_SetVisibleToAllUsers.go @@ -86,7 +86,10 @@ func addOperationSetVisibleToAllUsersMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_StartNotebookExecution.go b/service/emr/api_op_StartNotebookExecution.go index 1224c107d8e..275b425c76c 100644 --- a/service/emr/api_op_StartNotebookExecution.go +++ b/service/emr/api_op_StartNotebookExecution.go @@ -112,7 +112,10 @@ func addOperationStartNotebookExecutionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_StopNotebookExecution.go b/service/emr/api_op_StopNotebookExecution.go index dc69a35f1b6..ad28816d0cd 100644 --- a/service/emr/api_op_StopNotebookExecution.go +++ b/service/emr/api_op_StopNotebookExecution.go @@ -69,7 +69,10 @@ func addOperationStopNotebookExecutionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_TerminateJobFlows.go b/service/emr/api_op_TerminateJobFlows.go index b439773f34b..5f2f05409f7 100644 --- a/service/emr/api_op_TerminateJobFlows.go +++ b/service/emr/api_op_TerminateJobFlows.go @@ -77,7 +77,10 @@ func addOperationTerminateJobFlowsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emr/api_op_UpdateStudioSessionMapping.go b/service/emr/api_op_UpdateStudioSessionMapping.go index 9ea647967c6..4f77cc04a01 100644 --- a/service/emr/api_op_UpdateStudioSessionMapping.go +++ b/service/emr/api_op_UpdateStudioSessionMapping.go @@ -100,7 +100,10 @@ func addOperationUpdateStudioSessionMappingMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_CancelJobRun.go b/service/emrcontainers/api_op_CancelJobRun.go index 94fdbcbd1bd..be48cc505d0 100644 --- a/service/emrcontainers/api_op_CancelJobRun.go +++ b/service/emrcontainers/api_op_CancelJobRun.go @@ -82,7 +82,10 @@ func addOperationCancelJobRunMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_CreateManagedEndpoint.go b/service/emrcontainers/api_op_CreateManagedEndpoint.go index dbc9b6db931..0c6b361a26c 100644 --- a/service/emrcontainers/api_op_CreateManagedEndpoint.go +++ b/service/emrcontainers/api_op_CreateManagedEndpoint.go @@ -123,7 +123,10 @@ func addOperationCreateManagedEndpointMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_CreateVirtualCluster.go b/service/emrcontainers/api_op_CreateVirtualCluster.go index f080e1357e0..92dda1538ad 100644 --- a/service/emrcontainers/api_op_CreateVirtualCluster.go +++ b/service/emrcontainers/api_op_CreateVirtualCluster.go @@ -98,7 +98,10 @@ func addOperationCreateVirtualClusterMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_DeleteManagedEndpoint.go b/service/emrcontainers/api_op_DeleteManagedEndpoint.go index d6395d3fe02..d769c23b44b 100644 --- a/service/emrcontainers/api_op_DeleteManagedEndpoint.go +++ b/service/emrcontainers/api_op_DeleteManagedEndpoint.go @@ -83,7 +83,10 @@ func addOperationDeleteManagedEndpointMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_DeleteVirtualCluster.go b/service/emrcontainers/api_op_DeleteVirtualCluster.go index 75a7caebb5c..c15b86e751b 100644 --- a/service/emrcontainers/api_op_DeleteVirtualCluster.go +++ b/service/emrcontainers/api_op_DeleteVirtualCluster.go @@ -77,7 +77,10 @@ func addOperationDeleteVirtualClusterMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_DescribeJobRun.go b/service/emrcontainers/api_op_DescribeJobRun.go index 18f91b49f73..b0806899636 100644 --- a/service/emrcontainers/api_op_DescribeJobRun.go +++ b/service/emrcontainers/api_op_DescribeJobRun.go @@ -81,7 +81,10 @@ func addOperationDescribeJobRunMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_DescribeManagedEndpoint.go b/service/emrcontainers/api_op_DescribeManagedEndpoint.go index 0b0b8612f21..f81acdfe215 100644 --- a/service/emrcontainers/api_op_DescribeManagedEndpoint.go +++ b/service/emrcontainers/api_op_DescribeManagedEndpoint.go @@ -81,7 +81,10 @@ func addOperationDescribeManagedEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_DescribeVirtualCluster.go b/service/emrcontainers/api_op_DescribeVirtualCluster.go index d89d0395cab..dc43b02596b 100644 --- a/service/emrcontainers/api_op_DescribeVirtualCluster.go +++ b/service/emrcontainers/api_op_DescribeVirtualCluster.go @@ -79,7 +79,10 @@ func addOperationDescribeVirtualClusterMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_ListJobRuns.go b/service/emrcontainers/api_op_ListJobRuns.go index 862828b6b07..1f9d405c774 100644 --- a/service/emrcontainers/api_op_ListJobRuns.go +++ b/service/emrcontainers/api_op_ListJobRuns.go @@ -99,7 +99,10 @@ func addOperationListJobRunsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_ListManagedEndpoints.go b/service/emrcontainers/api_op_ListManagedEndpoints.go index 3e551a00029..19476c03433 100644 --- a/service/emrcontainers/api_op_ListManagedEndpoints.go +++ b/service/emrcontainers/api_op_ListManagedEndpoints.go @@ -99,7 +99,10 @@ func addOperationListManagedEndpointsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_ListTagsForResource.go b/service/emrcontainers/api_op_ListTagsForResource.go index 99d969de218..6af6215b8f2 100644 --- a/service/emrcontainers/api_op_ListTagsForResource.go +++ b/service/emrcontainers/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_ListVirtualClusters.go b/service/emrcontainers/api_op_ListVirtualClusters.go index 890bf6c700b..cc127e2272a 100644 --- a/service/emrcontainers/api_op_ListVirtualClusters.go +++ b/service/emrcontainers/api_op_ListVirtualClusters.go @@ -101,7 +101,10 @@ func addOperationListVirtualClustersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_StartJobRun.go b/service/emrcontainers/api_op_StartJobRun.go index da6f455a383..68ef9a1bb5e 100644 --- a/service/emrcontainers/api_op_StartJobRun.go +++ b/service/emrcontainers/api_op_StartJobRun.go @@ -114,7 +114,10 @@ func addOperationStartJobRunMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_TagResource.go b/service/emrcontainers/api_op_TagResource.go index a6cf1821fd3..5e934561999 100644 --- a/service/emrcontainers/api_op_TagResource.go +++ b/service/emrcontainers/api_op_TagResource.go @@ -82,7 +82,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/emrcontainers/api_op_UntagResource.go b/service/emrcontainers/api_op_UntagResource.go index 3d4731a9e31..e0893188bba 100644 --- a/service/emrcontainers/api_op_UntagResource.go +++ b/service/emrcontainers/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ActivateEventSource.go b/service/eventbridge/api_op_ActivateEventSource.go index f266aa227f5..d485aadfdea 100644 --- a/service/eventbridge/api_op_ActivateEventSource.go +++ b/service/eventbridge/api_op_ActivateEventSource.go @@ -70,7 +70,10 @@ func addOperationActivateEventSourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_CancelReplay.go b/service/eventbridge/api_op_CancelReplay.go index d58c082f745..9885a65a056 100644 --- a/service/eventbridge/api_op_CancelReplay.go +++ b/service/eventbridge/api_op_CancelReplay.go @@ -80,7 +80,10 @@ func addOperationCancelReplayMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_CreateArchive.go b/service/eventbridge/api_op_CreateArchive.go index 8ac970a4910..e366b4d16a5 100644 --- a/service/eventbridge/api_op_CreateArchive.go +++ b/service/eventbridge/api_op_CreateArchive.go @@ -103,7 +103,10 @@ func addOperationCreateArchiveMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_CreateEventBus.go b/service/eventbridge/api_op_CreateEventBus.go index cdc3f813a06..f0b1f7eadf1 100644 --- a/service/eventbridge/api_op_CreateEventBus.go +++ b/service/eventbridge/api_op_CreateEventBus.go @@ -87,7 +87,10 @@ func addOperationCreateEventBusMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_CreatePartnerEventSource.go b/service/eventbridge/api_op_CreatePartnerEventSource.go index 62204dfafd7..9e8cc000c2a 100644 --- a/service/eventbridge/api_op_CreatePartnerEventSource.go +++ b/service/eventbridge/api_op_CreatePartnerEventSource.go @@ -97,7 +97,10 @@ func addOperationCreatePartnerEventSourceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DeactivateEventSource.go b/service/eventbridge/api_op_DeactivateEventSource.go index e4de1e034f5..3efe50ef36a 100644 --- a/service/eventbridge/api_op_DeactivateEventSource.go +++ b/service/eventbridge/api_op_DeactivateEventSource.go @@ -73,7 +73,10 @@ func addOperationDeactivateEventSourceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DeleteArchive.go b/service/eventbridge/api_op_DeleteArchive.go index fe121d76535..5ced7d876a0 100644 --- a/service/eventbridge/api_op_DeleteArchive.go +++ b/service/eventbridge/api_op_DeleteArchive.go @@ -69,7 +69,10 @@ func addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DeleteEventBus.go b/service/eventbridge/api_op_DeleteEventBus.go index af1eae3e763..54eecfd8f8c 100644 --- a/service/eventbridge/api_op_DeleteEventBus.go +++ b/service/eventbridge/api_op_DeleteEventBus.go @@ -71,7 +71,10 @@ func addOperationDeleteEventBusMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DeletePartnerEventSource.go b/service/eventbridge/api_op_DeletePartnerEventSource.go index 21908b75921..3e04780b52b 100644 --- a/service/eventbridge/api_op_DeletePartnerEventSource.go +++ b/service/eventbridge/api_op_DeletePartnerEventSource.go @@ -77,7 +77,10 @@ func addOperationDeletePartnerEventSourceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DeleteRule.go b/service/eventbridge/api_op_DeleteRule.go index fea054ad07d..c6968186c95 100644 --- a/service/eventbridge/api_op_DeleteRule.go +++ b/service/eventbridge/api_op_DeleteRule.go @@ -87,7 +87,10 @@ func addOperationDeleteRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DescribeArchive.go b/service/eventbridge/api_op_DescribeArchive.go index 6ba5d669acb..7194347d6f3 100644 --- a/service/eventbridge/api_op_DescribeArchive.go +++ b/service/eventbridge/api_op_DescribeArchive.go @@ -105,7 +105,10 @@ func addOperationDescribeArchiveMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DescribeEventBus.go b/service/eventbridge/api_op_DescribeEventBus.go index 28ab369d8fb..f591cbf1968 100644 --- a/service/eventbridge/api_op_DescribeEventBus.go +++ b/service/eventbridge/api_op_DescribeEventBus.go @@ -85,7 +85,10 @@ func addOperationDescribeEventBusMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DescribeEventSource.go b/service/eventbridge/api_op_DescribeEventSource.go index 06f7d7afe0d..a4a3a0da15d 100644 --- a/service/eventbridge/api_op_DescribeEventSource.go +++ b/service/eventbridge/api_op_DescribeEventSource.go @@ -96,7 +96,10 @@ func addOperationDescribeEventSourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DescribePartnerEventSource.go b/service/eventbridge/api_op_DescribePartnerEventSource.go index ffc984b22ba..6c2b0539ec7 100644 --- a/service/eventbridge/api_op_DescribePartnerEventSource.go +++ b/service/eventbridge/api_op_DescribePartnerEventSource.go @@ -79,7 +79,10 @@ func addOperationDescribePartnerEventSourceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DescribeReplay.go b/service/eventbridge/api_op_DescribeReplay.go index 4062b161f7d..4c317279df2 100644 --- a/service/eventbridge/api_op_DescribeReplay.go +++ b/service/eventbridge/api_op_DescribeReplay.go @@ -116,7 +116,10 @@ func addOperationDescribeReplayMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DescribeRule.go b/service/eventbridge/api_op_DescribeRule.go index 558b9920f19..1dd51891e07 100644 --- a/service/eventbridge/api_op_DescribeRule.go +++ b/service/eventbridge/api_op_DescribeRule.go @@ -113,7 +113,10 @@ func addOperationDescribeRuleMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_DisableRule.go b/service/eventbridge/api_op_DisableRule.go index 86ce8664033..2ba0700446d 100644 --- a/service/eventbridge/api_op_DisableRule.go +++ b/service/eventbridge/api_op_DisableRule.go @@ -76,7 +76,10 @@ func addOperationDisableRuleMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_EnableRule.go b/service/eventbridge/api_op_EnableRule.go index 512cd80bb0c..16d58d134d4 100644 --- a/service/eventbridge/api_op_EnableRule.go +++ b/service/eventbridge/api_op_EnableRule.go @@ -75,7 +75,10 @@ func addOperationEnableRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListArchives.go b/service/eventbridge/api_op_ListArchives.go index f4b21856a11..f700f297116 100644 --- a/service/eventbridge/api_op_ListArchives.go +++ b/service/eventbridge/api_op_ListArchives.go @@ -89,7 +89,10 @@ func addOperationListArchivesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListEventBuses.go b/service/eventbridge/api_op_ListEventBuses.go index c4b5eb88233..711c7c24faa 100644 --- a/service/eventbridge/api_op_ListEventBuses.go +++ b/service/eventbridge/api_op_ListEventBuses.go @@ -86,7 +86,10 @@ func addOperationListEventBusesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListEventSources.go b/service/eventbridge/api_op_ListEventSources.go index 6005c499d4d..53c7585b71f 100644 --- a/service/eventbridge/api_op_ListEventSources.go +++ b/service/eventbridge/api_op_ListEventSources.go @@ -87,7 +87,10 @@ func addOperationListEventSourcesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go b/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go index fe51deb9425..297a92d08fe 100644 --- a/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go +++ b/service/eventbridge/api_op_ListPartnerEventSourceAccounts.go @@ -89,7 +89,10 @@ func addOperationListPartnerEventSourceAccountsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListPartnerEventSources.go b/service/eventbridge/api_op_ListPartnerEventSources.go index 805be218736..e38064e9ac3 100644 --- a/service/eventbridge/api_op_ListPartnerEventSources.go +++ b/service/eventbridge/api_op_ListPartnerEventSources.go @@ -89,7 +89,10 @@ func addOperationListPartnerEventSourcesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListReplays.go b/service/eventbridge/api_op_ListReplays.go index 1fa14f51b9a..cfa32fc4b8a 100644 --- a/service/eventbridge/api_op_ListReplays.go +++ b/service/eventbridge/api_op_ListReplays.go @@ -89,7 +89,10 @@ func addOperationListReplaysMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListRuleNamesByTarget.go b/service/eventbridge/api_op_ListRuleNamesByTarget.go index 6f61511d33b..b9a99e868a9 100644 --- a/service/eventbridge/api_op_ListRuleNamesByTarget.go +++ b/service/eventbridge/api_op_ListRuleNamesByTarget.go @@ -88,7 +88,10 @@ func addOperationListRuleNamesByTargetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListRules.go b/service/eventbridge/api_op_ListRules.go index 04aed550b36..616215d15eb 100644 --- a/service/eventbridge/api_op_ListRules.go +++ b/service/eventbridge/api_op_ListRules.go @@ -89,7 +89,10 @@ func addOperationListRulesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListTagsForResource.go b/service/eventbridge/api_op_ListTagsForResource.go index 488b8d40314..3a4531a8845 100644 --- a/service/eventbridge/api_op_ListTagsForResource.go +++ b/service/eventbridge/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_ListTargetsByRule.go b/service/eventbridge/api_op_ListTargetsByRule.go index bc03f07b925..39ccb766122 100644 --- a/service/eventbridge/api_op_ListTargetsByRule.go +++ b/service/eventbridge/api_op_ListTargetsByRule.go @@ -88,7 +88,10 @@ func addOperationListTargetsByRuleMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_PutEvents.go b/service/eventbridge/api_op_PutEvents.go index eb2e134d101..1ef7cb66f49 100644 --- a/service/eventbridge/api_op_PutEvents.go +++ b/service/eventbridge/api_op_PutEvents.go @@ -81,7 +81,10 @@ func addOperationPutEventsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_PutPartnerEvents.go b/service/eventbridge/api_op_PutPartnerEvents.go index 08547efd9d4..a585af2067b 100644 --- a/service/eventbridge/api_op_PutPartnerEvents.go +++ b/service/eventbridge/api_op_PutPartnerEvents.go @@ -80,7 +80,10 @@ func addOperationPutPartnerEventsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_PutPermission.go b/service/eventbridge/api_op_PutPermission.go index bbda60a5621..94a7f02e7d8 100644 --- a/service/eventbridge/api_op_PutPermission.go +++ b/service/eventbridge/api_op_PutPermission.go @@ -118,7 +118,10 @@ func addOperationPutPermissionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_PutRule.go b/service/eventbridge/api_op_PutRule.go index a6b208c9dc2..2cef48698e8 100644 --- a/service/eventbridge/api_op_PutRule.go +++ b/service/eventbridge/api_op_PutRule.go @@ -138,7 +138,10 @@ func addOperationPutRuleMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_PutTargets.go b/service/eventbridge/api_op_PutTargets.go index bc60b0cf1cf..2f06f36fa69 100644 --- a/service/eventbridge/api_op_PutTargets.go +++ b/service/eventbridge/api_op_PutTargets.go @@ -192,7 +192,10 @@ func addOperationPutTargetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_RemovePermission.go b/service/eventbridge/api_op_RemovePermission.go index c2da1bc4a14..8d9e69a02f2 100644 --- a/service/eventbridge/api_op_RemovePermission.go +++ b/service/eventbridge/api_op_RemovePermission.go @@ -78,7 +78,10 @@ func addOperationRemovePermissionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_RemoveTargets.go b/service/eventbridge/api_op_RemoveTargets.go index b7ef513016c..746348289de 100644 --- a/service/eventbridge/api_op_RemoveTargets.go +++ b/service/eventbridge/api_op_RemoveTargets.go @@ -99,7 +99,10 @@ func addOperationRemoveTargetsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_StartReplay.go b/service/eventbridge/api_op_StartReplay.go index a106919c358..cc397852981 100644 --- a/service/eventbridge/api_op_StartReplay.go +++ b/service/eventbridge/api_op_StartReplay.go @@ -118,7 +118,10 @@ func addOperationStartReplayMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_TagResource.go b/service/eventbridge/api_op_TagResource.go index 075e7f4810b..56efeeee22d 100644 --- a/service/eventbridge/api_op_TagResource.go +++ b/service/eventbridge/api_op_TagResource.go @@ -85,7 +85,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_TestEventPattern.go b/service/eventbridge/api_op_TestEventPattern.go index b3555d9e18c..56dfc5e442c 100644 --- a/service/eventbridge/api_op_TestEventPattern.go +++ b/service/eventbridge/api_op_TestEventPattern.go @@ -84,7 +84,10 @@ func addOperationTestEventPatternMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_UntagResource.go b/service/eventbridge/api_op_UntagResource.go index 5bec4b9e443..c00676ecaa1 100644 --- a/service/eventbridge/api_op_UntagResource.go +++ b/service/eventbridge/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/eventbridge/api_op_UpdateArchive.go b/service/eventbridge/api_op_UpdateArchive.go index ee4731a3f1d..45d98a463e2 100644 --- a/service/eventbridge/api_op_UpdateArchive.go +++ b/service/eventbridge/api_op_UpdateArchive.go @@ -93,7 +93,10 @@ func addOperationUpdateArchiveMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_CreateDeliveryStream.go b/service/firehose/api_op_CreateDeliveryStream.go index 6a46e489a00..9280ae5a3ca 100644 --- a/service/firehose/api_op_CreateDeliveryStream.go +++ b/service/firehose/api_op_CreateDeliveryStream.go @@ -184,7 +184,10 @@ func addOperationCreateDeliveryStreamMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_DeleteDeliveryStream.go b/service/firehose/api_op_DeleteDeliveryStream.go index 7475b824fee..b87096fcebb 100644 --- a/service/firehose/api_op_DeleteDeliveryStream.go +++ b/service/firehose/api_op_DeleteDeliveryStream.go @@ -88,7 +88,10 @@ func addOperationDeleteDeliveryStreamMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_DescribeDeliveryStream.go b/service/firehose/api_op_DescribeDeliveryStream.go index fe4d171bf07..e13323951dc 100644 --- a/service/firehose/api_op_DescribeDeliveryStream.go +++ b/service/firehose/api_op_DescribeDeliveryStream.go @@ -91,7 +91,10 @@ func addOperationDescribeDeliveryStreamMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_ListDeliveryStreams.go b/service/firehose/api_op_ListDeliveryStreams.go index d95a8309fdf..308b13766a6 100644 --- a/service/firehose/api_op_ListDeliveryStreams.go +++ b/service/firehose/api_op_ListDeliveryStreams.go @@ -104,7 +104,10 @@ func addOperationListDeliveryStreamsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_ListTagsForDeliveryStream.go b/service/firehose/api_op_ListTagsForDeliveryStream.go index 03c1ee8e068..229d7055c88 100644 --- a/service/firehose/api_op_ListTagsForDeliveryStream.go +++ b/service/firehose/api_op_ListTagsForDeliveryStream.go @@ -96,7 +96,10 @@ func addOperationListTagsForDeliveryStreamMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_PutRecord.go b/service/firehose/api_op_PutRecord.go index ee3bfb39cbb..a021475bd7b 100644 --- a/service/firehose/api_op_PutRecord.go +++ b/service/firehose/api_op_PutRecord.go @@ -112,7 +112,10 @@ func addOperationPutRecordMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_PutRecordBatch.go b/service/firehose/api_op_PutRecordBatch.go index f5df085b3cd..11d3791f677 100644 --- a/service/firehose/api_op_PutRecordBatch.go +++ b/service/firehose/api_op_PutRecordBatch.go @@ -138,7 +138,10 @@ func addOperationPutRecordBatchMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_StartDeliveryStreamEncryption.go b/service/firehose/api_op_StartDeliveryStreamEncryption.go index 81c411805d7..9fe9b42b238 100644 --- a/service/firehose/api_op_StartDeliveryStreamEncryption.go +++ b/service/firehose/api_op_StartDeliveryStreamEncryption.go @@ -106,7 +106,10 @@ func addOperationStartDeliveryStreamEncryptionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_StopDeliveryStreamEncryption.go b/service/firehose/api_op_StopDeliveryStreamEncryption.go index 15c22d690f5..ee7c5f5b50e 100644 --- a/service/firehose/api_op_StopDeliveryStreamEncryption.go +++ b/service/firehose/api_op_StopDeliveryStreamEncryption.go @@ -87,7 +87,10 @@ func addOperationStopDeliveryStreamEncryptionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_TagDeliveryStream.go b/service/firehose/api_op_TagDeliveryStream.go index 4e423f37bb1..184486a51f1 100644 --- a/service/firehose/api_op_TagDeliveryStream.go +++ b/service/firehose/api_op_TagDeliveryStream.go @@ -84,7 +84,10 @@ func addOperationTagDeliveryStreamMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_UntagDeliveryStream.go b/service/firehose/api_op_UntagDeliveryStream.go index 668238ab5d0..d556a6a4fcf 100644 --- a/service/firehose/api_op_UntagDeliveryStream.go +++ b/service/firehose/api_op_UntagDeliveryStream.go @@ -77,7 +77,10 @@ func addOperationUntagDeliveryStreamMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/firehose/api_op_UpdateDestination.go b/service/firehose/api_op_UpdateDestination.go index 204c472d66b..d0386b7f0c0 100644 --- a/service/firehose/api_op_UpdateDestination.go +++ b/service/firehose/api_op_UpdateDestination.go @@ -128,7 +128,10 @@ func addOperationUpdateDestinationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_AssociateAdminAccount.go b/service/fms/api_op_AssociateAdminAccount.go index a9b79903092..e0f200133e6 100644 --- a/service/fms/api_op_AssociateAdminAccount.go +++ b/service/fms/api_op_AssociateAdminAccount.go @@ -79,7 +79,10 @@ func addOperationAssociateAdminAccountMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_DeleteAppsList.go b/service/fms/api_op_DeleteAppsList.go index 79b02ee3cbe..7f9db508cfb 100644 --- a/service/fms/api_op_DeleteAppsList.go +++ b/service/fms/api_op_DeleteAppsList.go @@ -70,7 +70,10 @@ func addOperationDeleteAppsListMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_DeleteNotificationChannel.go b/service/fms/api_op_DeleteNotificationChannel.go index 8d430fa381b..a4809bad776 100644 --- a/service/fms/api_op_DeleteNotificationChannel.go +++ b/service/fms/api_op_DeleteNotificationChannel.go @@ -66,7 +66,10 @@ func addOperationDeleteNotificationChannelMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_DeletePolicy.go b/service/fms/api_op_DeletePolicy.go index eef0b6f84d1..8c95c03ed6a 100644 --- a/service/fms/api_op_DeletePolicy.go +++ b/service/fms/api_op_DeletePolicy.go @@ -101,7 +101,10 @@ func addOperationDeletePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_DeleteProtocolsList.go b/service/fms/api_op_DeleteProtocolsList.go index fc800fb9441..aca667e9dcd 100644 --- a/service/fms/api_op_DeleteProtocolsList.go +++ b/service/fms/api_op_DeleteProtocolsList.go @@ -70,7 +70,10 @@ func addOperationDeleteProtocolsListMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_DisassociateAdminAccount.go b/service/fms/api_op_DisassociateAdminAccount.go index c7b98155cec..28fee0b2963 100644 --- a/service/fms/api_op_DisassociateAdminAccount.go +++ b/service/fms/api_op_DisassociateAdminAccount.go @@ -66,7 +66,10 @@ func addOperationDisassociateAdminAccountMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_GetAdminAccount.go b/service/fms/api_op_GetAdminAccount.go index 9268e179631..62ed6ec9e4c 100644 --- a/service/fms/api_op_GetAdminAccount.go +++ b/service/fms/api_op_GetAdminAccount.go @@ -74,7 +74,10 @@ func addOperationGetAdminAccountMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_GetAppsList.go b/service/fms/api_op_GetAppsList.go index 6391b7bf00e..db3628a9e21 100644 --- a/service/fms/api_op_GetAppsList.go +++ b/service/fms/api_op_GetAppsList.go @@ -82,7 +82,10 @@ func addOperationGetAppsListMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_GetComplianceDetail.go b/service/fms/api_op_GetComplianceDetail.go index 72611c3e450..d627183d158 100644 --- a/service/fms/api_op_GetComplianceDetail.go +++ b/service/fms/api_op_GetComplianceDetail.go @@ -92,7 +92,10 @@ func addOperationGetComplianceDetailMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_GetNotificationChannel.go b/service/fms/api_op_GetNotificationChannel.go index 24d2aaf6eda..521181343fe 100644 --- a/service/fms/api_op_GetNotificationChannel.go +++ b/service/fms/api_op_GetNotificationChannel.go @@ -72,7 +72,10 @@ func addOperationGetNotificationChannelMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_GetPolicy.go b/service/fms/api_op_GetPolicy.go index 36c41b718e1..d2a5423aca6 100644 --- a/service/fms/api_op_GetPolicy.go +++ b/service/fms/api_op_GetPolicy.go @@ -77,7 +77,10 @@ func addOperationGetPolicyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_GetProtectionStatus.go b/service/fms/api_op_GetProtectionStatus.go index 16190c96d12..27674207279 100644 --- a/service/fms/api_op_GetProtectionStatus.go +++ b/service/fms/api_op_GetProtectionStatus.go @@ -139,7 +139,10 @@ func addOperationGetProtectionStatusMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_GetProtocolsList.go b/service/fms/api_op_GetProtocolsList.go index 6b723cfdf1d..53d7da6caad 100644 --- a/service/fms/api_op_GetProtocolsList.go +++ b/service/fms/api_op_GetProtocolsList.go @@ -81,7 +81,10 @@ func addOperationGetProtocolsListMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_GetViolationDetails.go b/service/fms/api_op_GetViolationDetails.go index 76ce211624e..8f04bb80158 100644 --- a/service/fms/api_op_GetViolationDetails.go +++ b/service/fms/api_op_GetViolationDetails.go @@ -96,7 +96,10 @@ func addOperationGetViolationDetailsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_ListAppsLists.go b/service/fms/api_op_ListAppsLists.go index 0562be39094..f155dc30273 100644 --- a/service/fms/api_op_ListAppsLists.go +++ b/service/fms/api_op_ListAppsLists.go @@ -94,7 +94,10 @@ func addOperationListAppsListsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_ListComplianceStatus.go b/service/fms/api_op_ListComplianceStatus.go index d0af44d0cc9..060d7c95f77 100644 --- a/service/fms/api_op_ListComplianceStatus.go +++ b/service/fms/api_op_ListComplianceStatus.go @@ -99,7 +99,10 @@ func addOperationListComplianceStatusMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_ListMemberAccounts.go b/service/fms/api_op_ListMemberAccounts.go index 6cba4d8d74c..e4a9ca87ffc 100644 --- a/service/fms/api_op_ListMemberAccounts.go +++ b/service/fms/api_op_ListMemberAccounts.go @@ -91,7 +91,10 @@ func addOperationListMemberAccountsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_ListPolicies.go b/service/fms/api_op_ListPolicies.go index 310673a4978..6dff00c85a3 100644 --- a/service/fms/api_op_ListPolicies.go +++ b/service/fms/api_op_ListPolicies.go @@ -90,7 +90,10 @@ func addOperationListPoliciesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_ListProtocolsLists.go b/service/fms/api_op_ListProtocolsLists.go index 9801a720fe0..6a1baca1f7c 100644 --- a/service/fms/api_op_ListProtocolsLists.go +++ b/service/fms/api_op_ListProtocolsLists.go @@ -94,7 +94,10 @@ func addOperationListProtocolsListsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_ListTagsForResource.go b/service/fms/api_op_ListTagsForResource.go index 189574edeb6..3203b5a8641 100644 --- a/service/fms/api_op_ListTagsForResource.go +++ b/service/fms/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_PutAppsList.go b/service/fms/api_op_PutAppsList.go index 4c086d21066..3f1d759bb6e 100644 --- a/service/fms/api_op_PutAppsList.go +++ b/service/fms/api_op_PutAppsList.go @@ -80,7 +80,10 @@ func addOperationPutAppsListMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_PutNotificationChannel.go b/service/fms/api_op_PutNotificationChannel.go index 6c401282696..3d875f2213d 100644 --- a/service/fms/api_op_PutNotificationChannel.go +++ b/service/fms/api_op_PutNotificationChannel.go @@ -82,7 +82,10 @@ func addOperationPutNotificationChannelMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_PutPolicy.go b/service/fms/api_op_PutPolicy.go index 41fda28364a..f8053570b88 100644 --- a/service/fms/api_op_PutPolicy.go +++ b/service/fms/api_op_PutPolicy.go @@ -105,7 +105,10 @@ func addOperationPutPolicyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_PutProtocolsList.go b/service/fms/api_op_PutProtocolsList.go index a199bdbb57f..254216bbd3a 100644 --- a/service/fms/api_op_PutProtocolsList.go +++ b/service/fms/api_op_PutProtocolsList.go @@ -80,7 +80,10 @@ func addOperationPutProtocolsListMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_TagResource.go b/service/fms/api_op_TagResource.go index 54615a958f8..d32a3ba3c0b 100644 --- a/service/fms/api_op_TagResource.go +++ b/service/fms/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fms/api_op_UntagResource.go b/service/fms/api_op_UntagResource.go index af599a868db..858c44c2bd9 100644 --- a/service/fms/api_op_UntagResource.go +++ b/service/fms/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_CreateDataset.go b/service/forecast/api_op_CreateDataset.go index 5db1a59536e..ee384d58ccc 100644 --- a/service/forecast/api_op_CreateDataset.go +++ b/service/forecast/api_op_CreateDataset.go @@ -167,7 +167,10 @@ func addOperationCreateDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_CreateDatasetGroup.go b/service/forecast/api_op_CreateDatasetGroup.go index 2979154eabe..393b00fc073 100644 --- a/service/forecast/api_op_CreateDatasetGroup.go +++ b/service/forecast/api_op_CreateDatasetGroup.go @@ -129,7 +129,10 @@ func addOperationCreateDatasetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_CreateDatasetImportJob.go b/service/forecast/api_op_CreateDatasetImportJob.go index 8dfdee68455..46b2bfa76d9 100644 --- a/service/forecast/api_op_CreateDatasetImportJob.go +++ b/service/forecast/api_op_CreateDatasetImportJob.go @@ -161,7 +161,10 @@ func addOperationCreateDatasetImportJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_CreateForecast.go b/service/forecast/api_op_CreateForecast.go index f89d2bb462b..da813dbe190 100644 --- a/service/forecast/api_op_CreateForecast.go +++ b/service/forecast/api_op_CreateForecast.go @@ -130,7 +130,10 @@ func addOperationCreateForecastMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_CreateForecastExportJob.go b/service/forecast/api_op_CreateForecastExportJob.go index 4dd44302869..7879d529e86 100644 --- a/service/forecast/api_op_CreateForecastExportJob.go +++ b/service/forecast/api_op_CreateForecastExportJob.go @@ -131,7 +131,10 @@ func addOperationCreateForecastExportJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_CreatePredictor.go b/service/forecast/api_op_CreatePredictor.go index d610c0f8e21..61e2b39712f 100644 --- a/service/forecast/api_op_CreatePredictor.go +++ b/service/forecast/api_op_CreatePredictor.go @@ -234,7 +234,10 @@ func addOperationCreatePredictorMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_CreatePredictorBacktestExportJob.go b/service/forecast/api_op_CreatePredictorBacktestExportJob.go index 63d8857dfc9..a00f8fb9149 100644 --- a/service/forecast/api_op_CreatePredictorBacktestExportJob.go +++ b/service/forecast/api_op_CreatePredictorBacktestExportJob.go @@ -119,7 +119,10 @@ func addOperationCreatePredictorBacktestExportJobMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DeleteDataset.go b/service/forecast/api_op_DeleteDataset.go index 26bd80e6495..f4d555e1afa 100644 --- a/service/forecast/api_op_DeleteDataset.go +++ b/service/forecast/api_op_DeleteDataset.go @@ -74,7 +74,10 @@ func addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DeleteDatasetGroup.go b/service/forecast/api_op_DeleteDatasetGroup.go index b7b41a9780d..db769bee98a 100644 --- a/service/forecast/api_op_DeleteDatasetGroup.go +++ b/service/forecast/api_op_DeleteDatasetGroup.go @@ -72,7 +72,10 @@ func addOperationDeleteDatasetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DeleteDatasetImportJob.go b/service/forecast/api_op_DeleteDatasetImportJob.go index b13dfd72a60..985defe8759 100644 --- a/service/forecast/api_op_DeleteDatasetImportJob.go +++ b/service/forecast/api_op_DeleteDatasetImportJob.go @@ -71,7 +71,10 @@ func addOperationDeleteDatasetImportJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DeleteForecast.go b/service/forecast/api_op_DeleteForecast.go index 0687c6de39f..c608753b0e4 100644 --- a/service/forecast/api_op_DeleteForecast.go +++ b/service/forecast/api_op_DeleteForecast.go @@ -73,7 +73,10 @@ func addOperationDeleteForecastMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DeleteForecastExportJob.go b/service/forecast/api_op_DeleteForecastExportJob.go index 1f4ba95f2e7..90f07e227f8 100644 --- a/service/forecast/api_op_DeleteForecastExportJob.go +++ b/service/forecast/api_op_DeleteForecastExportJob.go @@ -71,7 +71,10 @@ func addOperationDeleteForecastExportJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DeletePredictor.go b/service/forecast/api_op_DeletePredictor.go index 17934d13e9b..bd89b44d23b 100644 --- a/service/forecast/api_op_DeletePredictor.go +++ b/service/forecast/api_op_DeletePredictor.go @@ -71,7 +71,10 @@ func addOperationDeletePredictorMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DeletePredictorBacktestExportJob.go b/service/forecast/api_op_DeletePredictorBacktestExportJob.go index 6f017a46631..260c8442e08 100644 --- a/service/forecast/api_op_DeletePredictorBacktestExportJob.go +++ b/service/forecast/api_op_DeletePredictorBacktestExportJob.go @@ -69,7 +69,10 @@ func addOperationDeletePredictorBacktestExportJobMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DescribeDataset.go b/service/forecast/api_op_DescribeDataset.go index 224cf1859ff..1d3f412d717 100644 --- a/service/forecast/api_op_DescribeDataset.go +++ b/service/forecast/api_op_DescribeDataset.go @@ -136,7 +136,10 @@ func addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DescribeDatasetGroup.go b/service/forecast/api_op_DescribeDatasetGroup.go index 856842ea316..b4a565248c4 100644 --- a/service/forecast/api_op_DescribeDatasetGroup.go +++ b/service/forecast/api_op_DescribeDatasetGroup.go @@ -122,7 +122,10 @@ func addOperationDescribeDatasetGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DescribeDatasetImportJob.go b/service/forecast/api_op_DescribeDatasetImportJob.go index cec69132567..80458a36e41 100644 --- a/service/forecast/api_op_DescribeDatasetImportJob.go +++ b/service/forecast/api_op_DescribeDatasetImportJob.go @@ -158,7 +158,10 @@ func addOperationDescribeDatasetImportJobMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DescribeForecast.go b/service/forecast/api_op_DescribeForecast.go index cd01eb4eaa9..d4a9ce9b139 100644 --- a/service/forecast/api_op_DescribeForecast.go +++ b/service/forecast/api_op_DescribeForecast.go @@ -126,7 +126,10 @@ func addOperationDescribeForecastMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DescribeForecastExportJob.go b/service/forecast/api_op_DescribeForecastExportJob.go index 4445fe46f91..4fefdbffb0d 100644 --- a/service/forecast/api_op_DescribeForecastExportJob.go +++ b/service/forecast/api_op_DescribeForecastExportJob.go @@ -120,7 +120,10 @@ func addOperationDescribeForecastExportJobMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DescribePredictor.go b/service/forecast/api_op_DescribePredictor.go index ad0f2e403f5..97e3ba62435 100644 --- a/service/forecast/api_op_DescribePredictor.go +++ b/service/forecast/api_op_DescribePredictor.go @@ -180,7 +180,10 @@ func addOperationDescribePredictorMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_DescribePredictorBacktestExportJob.go b/service/forecast/api_op_DescribePredictorBacktestExportJob.go index 0d6aed46195..c288516781f 100644 --- a/service/forecast/api_op_DescribePredictorBacktestExportJob.go +++ b/service/forecast/api_op_DescribePredictorBacktestExportJob.go @@ -126,7 +126,10 @@ func addOperationDescribePredictorBacktestExportJobMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_GetAccuracyMetrics.go b/service/forecast/api_op_GetAccuracyMetrics.go index ad2e8bd2b45..1c2be9521b8 100644 --- a/service/forecast/api_op_GetAccuracyMetrics.go +++ b/service/forecast/api_op_GetAccuracyMetrics.go @@ -88,7 +88,10 @@ func addOperationGetAccuracyMetricsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_ListDatasetGroups.go b/service/forecast/api_op_ListDatasetGroups.go index 2d2f239e03b..4cf81937944 100644 --- a/service/forecast/api_op_ListDatasetGroups.go +++ b/service/forecast/api_op_ListDatasetGroups.go @@ -86,7 +86,10 @@ func addOperationListDatasetGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_ListDatasetImportJobs.go b/service/forecast/api_op_ListDatasetImportJobs.go index 3e14529e47c..4c4cf05f98e 100644 --- a/service/forecast/api_op_ListDatasetImportJobs.go +++ b/service/forecast/api_op_ListDatasetImportJobs.go @@ -107,7 +107,10 @@ func addOperationListDatasetImportJobsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_ListDatasets.go b/service/forecast/api_op_ListDatasets.go index 7f1541f73fe..bbd2a77d4b9 100644 --- a/service/forecast/api_op_ListDatasets.go +++ b/service/forecast/api_op_ListDatasets.go @@ -85,7 +85,10 @@ func addOperationListDatasetsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_ListForecastExportJobs.go b/service/forecast/api_op_ListForecastExportJobs.go index ead611612ed..93af66b0de1 100644 --- a/service/forecast/api_op_ListForecastExportJobs.go +++ b/service/forecast/api_op_ListForecastExportJobs.go @@ -108,7 +108,10 @@ func addOperationListForecastExportJobsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_ListForecasts.go b/service/forecast/api_op_ListForecasts.go index 4204241a029..072c38b83b6 100644 --- a/service/forecast/api_op_ListForecasts.go +++ b/service/forecast/api_op_ListForecasts.go @@ -107,7 +107,10 @@ func addOperationListForecastsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_ListPredictorBacktestExportJobs.go b/service/forecast/api_op_ListPredictorBacktestExportJobs.go index 9af21c62d82..5406bb3ec1b 100644 --- a/service/forecast/api_op_ListPredictorBacktestExportJobs.go +++ b/service/forecast/api_op_ListPredictorBacktestExportJobs.go @@ -104,7 +104,10 @@ func addOperationListPredictorBacktestExportJobsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_ListPredictors.go b/service/forecast/api_op_ListPredictors.go index 21d3626cf11..34ded949742 100644 --- a/service/forecast/api_op_ListPredictors.go +++ b/service/forecast/api_op_ListPredictors.go @@ -107,7 +107,10 @@ func addOperationListPredictorsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_ListTagsForResource.go b/service/forecast/api_op_ListTagsForResource.go index 727ffa05224..13c41a89fea 100644 --- a/service/forecast/api_op_ListTagsForResource.go +++ b/service/forecast/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_TagResource.go b/service/forecast/api_op_TagResource.go index e6a6cf70334..af4c8251d69 100644 --- a/service/forecast/api_op_TagResource.go +++ b/service/forecast/api_op_TagResource.go @@ -108,7 +108,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_UntagResource.go b/service/forecast/api_op_UntagResource.go index 02a21442487..2db6c03a5da 100644 --- a/service/forecast/api_op_UntagResource.go +++ b/service/forecast/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecast/api_op_UpdateDatasetGroup.go b/service/forecast/api_op_UpdateDatasetGroup.go index 7e25478d6bd..6641f8afb22 100644 --- a/service/forecast/api_op_UpdateDatasetGroup.go +++ b/service/forecast/api_op_UpdateDatasetGroup.go @@ -77,7 +77,10 @@ func addOperationUpdateDatasetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/forecastquery/api_op_QueryForecast.go b/service/forecastquery/api_op_QueryForecast.go index 9dfedb71e56..9ad0deac98e 100644 --- a/service/forecastquery/api_op_QueryForecast.go +++ b/service/forecastquery/api_op_QueryForecast.go @@ -106,7 +106,10 @@ func addOperationQueryForecastMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_BatchCreateVariable.go b/service/frauddetector/api_op_BatchCreateVariable.go index 19f584af06e..79be8b1a0cb 100644 --- a/service/frauddetector/api_op_BatchCreateVariable.go +++ b/service/frauddetector/api_op_BatchCreateVariable.go @@ -77,7 +77,10 @@ func addOperationBatchCreateVariableMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_BatchGetVariable.go b/service/frauddetector/api_op_BatchGetVariable.go index c0f4db5e1dd..4b4d5aaeb9c 100644 --- a/service/frauddetector/api_op_BatchGetVariable.go +++ b/service/frauddetector/api_op_BatchGetVariable.go @@ -77,7 +77,10 @@ func addOperationBatchGetVariableMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_CreateDetectorVersion.go b/service/frauddetector/api_op_CreateDetectorVersion.go index 4e5e6bdeb8d..0ceff30a05f 100644 --- a/service/frauddetector/api_op_CreateDetectorVersion.go +++ b/service/frauddetector/api_op_CreateDetectorVersion.go @@ -106,7 +106,10 @@ func addOperationCreateDetectorVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_CreateModel.go b/service/frauddetector/api_op_CreateModel.go index 052923f24df..c0ab13b8e4c 100644 --- a/service/frauddetector/api_op_CreateModel.go +++ b/service/frauddetector/api_op_CreateModel.go @@ -86,7 +86,10 @@ func addOperationCreateModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_CreateModelVersion.go b/service/frauddetector/api_op_CreateModelVersion.go index b69e57fa958..09dd383b9d6 100644 --- a/service/frauddetector/api_op_CreateModelVersion.go +++ b/service/frauddetector/api_op_CreateModelVersion.go @@ -105,7 +105,10 @@ func addOperationCreateModelVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_CreateRule.go b/service/frauddetector/api_op_CreateRule.go index 06ce9935541..e003eb62bee 100644 --- a/service/frauddetector/api_op_CreateRule.go +++ b/service/frauddetector/api_op_CreateRule.go @@ -100,7 +100,10 @@ func addOperationCreateRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_CreateVariable.go b/service/frauddetector/api_op_CreateVariable.go index bdabff94848..21cd29e353a 100644 --- a/service/frauddetector/api_op_CreateVariable.go +++ b/service/frauddetector/api_op_CreateVariable.go @@ -102,7 +102,10 @@ func addOperationCreateVariableMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteDetector.go b/service/frauddetector/api_op_DeleteDetector.go index 7295321f633..6fa25eb86b6 100644 --- a/service/frauddetector/api_op_DeleteDetector.go +++ b/service/frauddetector/api_op_DeleteDetector.go @@ -72,7 +72,10 @@ func addOperationDeleteDetectorMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteDetectorVersion.go b/service/frauddetector/api_op_DeleteDetectorVersion.go index de90ba80634..e0747b2b6d1 100644 --- a/service/frauddetector/api_op_DeleteDetectorVersion.go +++ b/service/frauddetector/api_op_DeleteDetectorVersion.go @@ -77,7 +77,10 @@ func addOperationDeleteDetectorVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteEntityType.go b/service/frauddetector/api_op_DeleteEntityType.go index 2bdbe86ec85..145e629e896 100644 --- a/service/frauddetector/api_op_DeleteEntityType.go +++ b/service/frauddetector/api_op_DeleteEntityType.go @@ -72,7 +72,10 @@ func addOperationDeleteEntityTypeMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteEvent.go b/service/frauddetector/api_op_DeleteEvent.go index c4611496dc6..8446ecab211 100644 --- a/service/frauddetector/api_op_DeleteEvent.go +++ b/service/frauddetector/api_op_DeleteEvent.go @@ -76,7 +76,10 @@ func addOperationDeleteEventMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteEventType.go b/service/frauddetector/api_op_DeleteEventType.go index adba1763e2b..f508f403d31 100644 --- a/service/frauddetector/api_op_DeleteEventType.go +++ b/service/frauddetector/api_op_DeleteEventType.go @@ -72,7 +72,10 @@ func addOperationDeleteEventTypeMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteExternalModel.go b/service/frauddetector/api_op_DeleteExternalModel.go index ba06b74f1f4..cbebdfb5ee5 100644 --- a/service/frauddetector/api_op_DeleteExternalModel.go +++ b/service/frauddetector/api_op_DeleteExternalModel.go @@ -72,7 +72,10 @@ func addOperationDeleteExternalModelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteLabel.go b/service/frauddetector/api_op_DeleteLabel.go index 097c21f2c35..68923d27337 100644 --- a/service/frauddetector/api_op_DeleteLabel.go +++ b/service/frauddetector/api_op_DeleteLabel.go @@ -73,7 +73,10 @@ func addOperationDeleteLabelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteModel.go b/service/frauddetector/api_op_DeleteModel.go index 0a243331286..9b94efdbdb1 100644 --- a/service/frauddetector/api_op_DeleteModel.go +++ b/service/frauddetector/api_op_DeleteModel.go @@ -79,7 +79,10 @@ func addOperationDeleteModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteModelVersion.go b/service/frauddetector/api_op_DeleteModelVersion.go index f1659dbe468..fe1e5269632 100644 --- a/service/frauddetector/api_op_DeleteModelVersion.go +++ b/service/frauddetector/api_op_DeleteModelVersion.go @@ -84,7 +84,10 @@ func addOperationDeleteModelVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteOutcome.go b/service/frauddetector/api_op_DeleteOutcome.go index 6396afcbf08..13599414b0e 100644 --- a/service/frauddetector/api_op_DeleteOutcome.go +++ b/service/frauddetector/api_op_DeleteOutcome.go @@ -72,7 +72,10 @@ func addOperationDeleteOutcomeMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteRule.go b/service/frauddetector/api_op_DeleteRule.go index b70020947d3..428e72f3d7f 100644 --- a/service/frauddetector/api_op_DeleteRule.go +++ b/service/frauddetector/api_op_DeleteRule.go @@ -73,7 +73,10 @@ func addOperationDeleteRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DeleteVariable.go b/service/frauddetector/api_op_DeleteVariable.go index 718fe573303..1f767d320bc 100644 --- a/service/frauddetector/api_op_DeleteVariable.go +++ b/service/frauddetector/api_op_DeleteVariable.go @@ -74,7 +74,10 @@ func addOperationDeleteVariableMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DescribeDetector.go b/service/frauddetector/api_op_DescribeDetector.go index dc87425871c..9f87369920f 100644 --- a/service/frauddetector/api_op_DescribeDetector.go +++ b/service/frauddetector/api_op_DescribeDetector.go @@ -89,7 +89,10 @@ func addOperationDescribeDetectorMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_DescribeModelVersions.go b/service/frauddetector/api_op_DescribeModelVersions.go index 120ecf5f6f2..29a948f80d6 100644 --- a/service/frauddetector/api_op_DescribeModelVersions.go +++ b/service/frauddetector/api_op_DescribeModelVersions.go @@ -90,7 +90,10 @@ func addOperationDescribeModelVersionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetDetectorVersion.go b/service/frauddetector/api_op_GetDetectorVersion.go index bbe1c00da77..de0a629ab93 100644 --- a/service/frauddetector/api_op_GetDetectorVersion.go +++ b/service/frauddetector/api_op_GetDetectorVersion.go @@ -114,7 +114,10 @@ func addOperationGetDetectorVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetDetectors.go b/service/frauddetector/api_op_GetDetectors.go index 890f2cce388..fb498048424 100644 --- a/service/frauddetector/api_op_GetDetectors.go +++ b/service/frauddetector/api_op_GetDetectors.go @@ -87,7 +87,10 @@ func addOperationGetDetectorsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetEntityTypes.go b/service/frauddetector/api_op_GetEntityTypes.go index 8b2396c6334..1b63f4ab23d 100644 --- a/service/frauddetector/api_op_GetEntityTypes.go +++ b/service/frauddetector/api_op_GetEntityTypes.go @@ -87,7 +87,10 @@ func addOperationGetEntityTypesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetEventPrediction.go b/service/frauddetector/api_op_GetEventPrediction.go index 34186107422..81240dc09eb 100644 --- a/service/frauddetector/api_op_GetEventPrediction.go +++ b/service/frauddetector/api_op_GetEventPrediction.go @@ -117,7 +117,10 @@ func addOperationGetEventPredictionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetEventTypes.go b/service/frauddetector/api_op_GetEventTypes.go index 99e34e89797..fdbd4fd1cf6 100644 --- a/service/frauddetector/api_op_GetEventTypes.go +++ b/service/frauddetector/api_op_GetEventTypes.go @@ -87,7 +87,10 @@ func addOperationGetEventTypesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetExternalModels.go b/service/frauddetector/api_op_GetExternalModels.go index c6c6e4a24f0..3d6b896421a 100644 --- a/service/frauddetector/api_op_GetExternalModels.go +++ b/service/frauddetector/api_op_GetExternalModels.go @@ -87,7 +87,10 @@ func addOperationGetExternalModelsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetKMSEncryptionKey.go b/service/frauddetector/api_op_GetKMSEncryptionKey.go index 706e6d3d93b..d3808335d4d 100644 --- a/service/frauddetector/api_op_GetKMSEncryptionKey.go +++ b/service/frauddetector/api_op_GetKMSEncryptionKey.go @@ -70,7 +70,10 @@ func addOperationGetKMSEncryptionKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetLabels.go b/service/frauddetector/api_op_GetLabels.go index 94c637f56b3..aeb1b053fff 100644 --- a/service/frauddetector/api_op_GetLabels.go +++ b/service/frauddetector/api_op_GetLabels.go @@ -87,7 +87,10 @@ func addOperationGetLabelsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetModelVersion.go b/service/frauddetector/api_op_GetModelVersion.go index 55820af0296..83a20f96409 100644 --- a/service/frauddetector/api_op_GetModelVersion.go +++ b/service/frauddetector/api_op_GetModelVersion.go @@ -125,7 +125,10 @@ func addOperationGetModelVersionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetModels.go b/service/frauddetector/api_op_GetModels.go index fb4d4d39027..982c09e9556 100644 --- a/service/frauddetector/api_op_GetModels.go +++ b/service/frauddetector/api_op_GetModels.go @@ -92,7 +92,10 @@ func addOperationGetModelsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetOutcomes.go b/service/frauddetector/api_op_GetOutcomes.go index 48626bc1f4f..89225352bb5 100644 --- a/service/frauddetector/api_op_GetOutcomes.go +++ b/service/frauddetector/api_op_GetOutcomes.go @@ -86,7 +86,10 @@ func addOperationGetOutcomesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetRules.go b/service/frauddetector/api_op_GetRules.go index d273867a0b2..a35502de351 100644 --- a/service/frauddetector/api_op_GetRules.go +++ b/service/frauddetector/api_op_GetRules.go @@ -97,7 +97,10 @@ func addOperationGetRulesMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_GetVariables.go b/service/frauddetector/api_op_GetVariables.go index 0763130b6ac..23900b9b5e3 100644 --- a/service/frauddetector/api_op_GetVariables.go +++ b/service/frauddetector/api_op_GetVariables.go @@ -87,7 +87,10 @@ func addOperationGetVariablesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_ListTagsForResource.go b/service/frauddetector/api_op_ListTagsForResource.go index f7457441d6f..53d62d1d13e 100644 --- a/service/frauddetector/api_op_ListTagsForResource.go +++ b/service/frauddetector/api_op_ListTagsForResource.go @@ -86,7 +86,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_PutDetector.go b/service/frauddetector/api_op_PutDetector.go index a1e471f60bb..ead102c7fa6 100644 --- a/service/frauddetector/api_op_PutDetector.go +++ b/service/frauddetector/api_op_PutDetector.go @@ -81,7 +81,10 @@ func addOperationPutDetectorMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_PutEntityType.go b/service/frauddetector/api_op_PutEntityType.go index 67ec8543bd1..6ba83093461 100644 --- a/service/frauddetector/api_op_PutEntityType.go +++ b/service/frauddetector/api_op_PutEntityType.go @@ -79,7 +79,10 @@ func addOperationPutEntityTypeMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_PutEventType.go b/service/frauddetector/api_op_PutEventType.go index 9286c4578f9..33e641a7a72 100644 --- a/service/frauddetector/api_op_PutEventType.go +++ b/service/frauddetector/api_op_PutEventType.go @@ -96,7 +96,10 @@ func addOperationPutEventTypeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_PutExternalModel.go b/service/frauddetector/api_op_PutExternalModel.go index f2f61b0e736..bea2abf5d86 100644 --- a/service/frauddetector/api_op_PutExternalModel.go +++ b/service/frauddetector/api_op_PutExternalModel.go @@ -100,7 +100,10 @@ func addOperationPutExternalModelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_PutKMSEncryptionKey.go b/service/frauddetector/api_op_PutKMSEncryptionKey.go index 8eb8e3be758..af9cad13a59 100644 --- a/service/frauddetector/api_op_PutKMSEncryptionKey.go +++ b/service/frauddetector/api_op_PutKMSEncryptionKey.go @@ -70,7 +70,10 @@ func addOperationPutKMSEncryptionKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_PutLabel.go b/service/frauddetector/api_op_PutLabel.go index 2fd29bf8d06..546c05a7fd7 100644 --- a/service/frauddetector/api_op_PutLabel.go +++ b/service/frauddetector/api_op_PutLabel.go @@ -78,7 +78,10 @@ func addOperationPutLabelMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_PutOutcome.go b/service/frauddetector/api_op_PutOutcome.go index 98207c4956b..590c8183c56 100644 --- a/service/frauddetector/api_op_PutOutcome.go +++ b/service/frauddetector/api_op_PutOutcome.go @@ -76,7 +76,10 @@ func addOperationPutOutcomeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_TagResource.go b/service/frauddetector/api_op_TagResource.go index 14c6fe1b40b..eb71dc8024b 100644 --- a/service/frauddetector/api_op_TagResource.go +++ b/service/frauddetector/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UntagResource.go b/service/frauddetector/api_op_UntagResource.go index 2c765a62e12..921f3965385 100644 --- a/service/frauddetector/api_op_UntagResource.go +++ b/service/frauddetector/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UpdateDetectorVersion.go b/service/frauddetector/api_op_UpdateDetectorVersion.go index fa4a19e7828..d1f4a9b45f5 100644 --- a/service/frauddetector/api_op_UpdateDetectorVersion.go +++ b/service/frauddetector/api_op_UpdateDetectorVersion.go @@ -102,7 +102,10 @@ func addOperationUpdateDetectorVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go b/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go index 3ce58646e4b..46dcbf213ef 100644 --- a/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go +++ b/service/frauddetector/api_op_UpdateDetectorVersionMetadata.go @@ -80,7 +80,10 @@ func addOperationUpdateDetectorVersionMetadataMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UpdateDetectorVersionStatus.go b/service/frauddetector/api_op_UpdateDetectorVersionStatus.go index ce814d752b9..5255541d97a 100644 --- a/service/frauddetector/api_op_UpdateDetectorVersionStatus.go +++ b/service/frauddetector/api_op_UpdateDetectorVersionStatus.go @@ -82,7 +82,10 @@ func addOperationUpdateDetectorVersionStatusMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UpdateModel.go b/service/frauddetector/api_op_UpdateModel.go index b70fff09e76..9eff3e86940 100644 --- a/service/frauddetector/api_op_UpdateModel.go +++ b/service/frauddetector/api_op_UpdateModel.go @@ -78,7 +78,10 @@ func addOperationUpdateModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UpdateModelVersion.go b/service/frauddetector/api_op_UpdateModelVersion.go index 74065d72e7c..00e2dce6959 100644 --- a/service/frauddetector/api_op_UpdateModelVersion.go +++ b/service/frauddetector/api_op_UpdateModelVersion.go @@ -103,7 +103,10 @@ func addOperationUpdateModelVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UpdateModelVersionStatus.go b/service/frauddetector/api_op_UpdateModelVersionStatus.go index f83d09c74e7..d4a1259f9a8 100644 --- a/service/frauddetector/api_op_UpdateModelVersionStatus.go +++ b/service/frauddetector/api_op_UpdateModelVersionStatus.go @@ -91,7 +91,10 @@ func addOperationUpdateModelVersionStatusMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UpdateRuleMetadata.go b/service/frauddetector/api_op_UpdateRuleMetadata.go index 9958fae9101..5e918f58d45 100644 --- a/service/frauddetector/api_op_UpdateRuleMetadata.go +++ b/service/frauddetector/api_op_UpdateRuleMetadata.go @@ -75,7 +75,10 @@ func addOperationUpdateRuleMetadataMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UpdateRuleVersion.go b/service/frauddetector/api_op_UpdateRuleVersion.go index a0c9ed329a1..cb6894a032d 100644 --- a/service/frauddetector/api_op_UpdateRuleVersion.go +++ b/service/frauddetector/api_op_UpdateRuleVersion.go @@ -96,7 +96,10 @@ func addOperationUpdateRuleVersionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/frauddetector/api_op_UpdateVariable.go b/service/frauddetector/api_op_UpdateVariable.go index 999b70bda98..0c59f7ba006 100644 --- a/service/frauddetector/api_op_UpdateVariable.go +++ b/service/frauddetector/api_op_UpdateVariable.go @@ -79,7 +79,10 @@ func addOperationUpdateVariableMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_AssociateFileSystemAliases.go b/service/fsx/api_op_AssociateFileSystemAliases.go index a76585c3853..92b1727cb86 100644 --- a/service/fsx/api_op_AssociateFileSystemAliases.go +++ b/service/fsx/api_op_AssociateFileSystemAliases.go @@ -122,7 +122,10 @@ func addOperationAssociateFileSystemAliasesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_CancelDataRepositoryTask.go b/service/fsx/api_op_CancelDataRepositoryTask.go index cc37585a7ec..9ecc2cbe00b 100644 --- a/service/fsx/api_op_CancelDataRepositoryTask.go +++ b/service/fsx/api_op_CancelDataRepositoryTask.go @@ -108,7 +108,10 @@ func addOperationCancelDataRepositoryTaskMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_CreateBackup.go b/service/fsx/api_op_CreateBackup.go index 255c93e022f..52b86bab5a8 100644 --- a/service/fsx/api_op_CreateBackup.go +++ b/service/fsx/api_op_CreateBackup.go @@ -126,7 +126,10 @@ func addOperationCreateBackupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_CreateDataRepositoryTask.go b/service/fsx/api_op_CreateDataRepositoryTask.go index 8fe09a32bc8..b335c15a534 100644 --- a/service/fsx/api_op_CreateDataRepositoryTask.go +++ b/service/fsx/api_op_CreateDataRepositoryTask.go @@ -116,7 +116,10 @@ func addOperationCreateDataRepositoryTaskMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_CreateFileSystem.go b/service/fsx/api_op_CreateFileSystem.go index 6196c233e40..6e90674ff20 100644 --- a/service/fsx/api_op_CreateFileSystem.go +++ b/service/fsx/api_op_CreateFileSystem.go @@ -187,7 +187,10 @@ func addOperationCreateFileSystemMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_CreateFileSystemFromBackup.go b/service/fsx/api_op_CreateFileSystemFromBackup.go index e9592df25a8..a99fdf1a823 100644 --- a/service/fsx/api_op_CreateFileSystemFromBackup.go +++ b/service/fsx/api_op_CreateFileSystemFromBackup.go @@ -153,7 +153,10 @@ func addOperationCreateFileSystemFromBackupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_DeleteBackup.go b/service/fsx/api_op_DeleteBackup.go index 2edd5c673f5..27d86e6f5fc 100644 --- a/service/fsx/api_op_DeleteBackup.go +++ b/service/fsx/api_op_DeleteBackup.go @@ -88,7 +88,10 @@ func addOperationDeleteBackupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_DeleteFileSystem.go b/service/fsx/api_op_DeleteFileSystem.go index 25dc98567c0..d28e2d0f14b 100644 --- a/service/fsx/api_op_DeleteFileSystem.go +++ b/service/fsx/api_op_DeleteFileSystem.go @@ -113,7 +113,10 @@ func addOperationDeleteFileSystemMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_DescribeBackups.go b/service/fsx/api_op_DescribeBackups.go index e4f8a9f989d..8d9420a5238 100644 --- a/service/fsx/api_op_DescribeBackups.go +++ b/service/fsx/api_op_DescribeBackups.go @@ -114,7 +114,10 @@ func addOperationDescribeBackupsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_DescribeDataRepositoryTasks.go b/service/fsx/api_op_DescribeDataRepositoryTasks.go index 86874cbfaa2..8be22370fab 100644 --- a/service/fsx/api_op_DescribeDataRepositoryTasks.go +++ b/service/fsx/api_op_DescribeDataRepositoryTasks.go @@ -102,7 +102,10 @@ func addOperationDescribeDataRepositoryTasksMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_DescribeFileSystemAliases.go b/service/fsx/api_op_DescribeFileSystemAliases.go index 9fc3e571ae3..ca3a94aafe4 100644 --- a/service/fsx/api_op_DescribeFileSystemAliases.go +++ b/service/fsx/api_op_DescribeFileSystemAliases.go @@ -102,7 +102,10 @@ func addOperationDescribeFileSystemAliasesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_DescribeFileSystems.go b/service/fsx/api_op_DescribeFileSystems.go index 274cbb22f62..65e54b7947b 100644 --- a/service/fsx/api_op_DescribeFileSystems.go +++ b/service/fsx/api_op_DescribeFileSystems.go @@ -110,7 +110,10 @@ func addOperationDescribeFileSystemsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_DisassociateFileSystemAliases.go b/service/fsx/api_op_DisassociateFileSystemAliases.go index 82d7f89c15e..d1df870a7a7 100644 --- a/service/fsx/api_op_DisassociateFileSystemAliases.go +++ b/service/fsx/api_op_DisassociateFileSystemAliases.go @@ -101,7 +101,10 @@ func addOperationDisassociateFileSystemAliasesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_ListTagsForResource.go b/service/fsx/api_op_ListTagsForResource.go index d5b742d2bd5..9329691296f 100644 --- a/service/fsx/api_op_ListTagsForResource.go +++ b/service/fsx/api_op_ListTagsForResource.go @@ -108,7 +108,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_TagResource.go b/service/fsx/api_op_TagResource.go index 46d87568620..e244688d5d6 100644 --- a/service/fsx/api_op_TagResource.go +++ b/service/fsx/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_UntagResource.go b/service/fsx/api_op_UntagResource.go index 87d311ed2e0..1bfe5e4ce57 100644 --- a/service/fsx/api_op_UntagResource.go +++ b/service/fsx/api_op_UntagResource.go @@ -77,7 +77,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/fsx/api_op_UpdateFileSystem.go b/service/fsx/api_op_UpdateFileSystem.go index 87a2eab8498..27f29016105 100644 --- a/service/fsx/api_op_UpdateFileSystem.go +++ b/service/fsx/api_op_UpdateFileSystem.go @@ -152,7 +152,10 @@ func addOperationUpdateFileSystemMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_AcceptMatch.go b/service/gamelift/api_op_AcceptMatch.go index 6156ec3d66f..f5eeb48f3b1 100644 --- a/service/gamelift/api_op_AcceptMatch.go +++ b/service/gamelift/api_op_AcceptMatch.go @@ -115,7 +115,10 @@ func addOperationAcceptMatchMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ClaimGameServer.go b/service/gamelift/api_op_ClaimGameServer.go index b300d6ddd08..709cecd7ab0 100644 --- a/service/gamelift/api_op_ClaimGameServer.go +++ b/service/gamelift/api_op_ClaimGameServer.go @@ -132,7 +132,10 @@ func addOperationClaimGameServerMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateAlias.go b/service/gamelift/api_op_CreateAlias.go index 736a1240927..234b1a8e2fd 100644 --- a/service/gamelift/api_op_CreateAlias.go +++ b/service/gamelift/api_op_CreateAlias.go @@ -121,7 +121,10 @@ func addOperationCreateAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateBuild.go b/service/gamelift/api_op_CreateBuild.go index a20e5ec853f..017266070c9 100644 --- a/service/gamelift/api_op_CreateBuild.go +++ b/service/gamelift/api_op_CreateBuild.go @@ -161,7 +161,10 @@ func addOperationCreateBuildMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateFleet.go b/service/gamelift/api_op_CreateFleet.go index 053a158beed..88aedff3feb 100644 --- a/service/gamelift/api_op_CreateFleet.go +++ b/service/gamelift/api_op_CreateFleet.go @@ -277,7 +277,10 @@ func addOperationCreateFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateGameServerGroup.go b/service/gamelift/api_op_CreateGameServerGroup.go index 3dc9c5ad6b8..ed2d389809d 100644 --- a/service/gamelift/api_op_CreateGameServerGroup.go +++ b/service/gamelift/api_op_CreateGameServerGroup.go @@ -243,7 +243,10 @@ func addOperationCreateGameServerGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateGameSession.go b/service/gamelift/api_op_CreateGameSession.go index ddcd472795b..0e24d6a807a 100644 --- a/service/gamelift/api_op_CreateGameSession.go +++ b/service/gamelift/api_op_CreateGameSession.go @@ -167,7 +167,10 @@ func addOperationCreateGameSessionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateGameSessionQueue.go b/service/gamelift/api_op_CreateGameSessionQueue.go index 21c06223900..a5e58f14d08 100644 --- a/service/gamelift/api_op_CreateGameSessionQueue.go +++ b/service/gamelift/api_op_CreateGameSessionQueue.go @@ -148,7 +148,10 @@ func addOperationCreateGameSessionQueueMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateMatchmakingConfiguration.go b/service/gamelift/api_op_CreateMatchmakingConfiguration.go index 9578d4260f7..90ac6b056e1 100644 --- a/service/gamelift/api_op_CreateMatchmakingConfiguration.go +++ b/service/gamelift/api_op_CreateMatchmakingConfiguration.go @@ -226,7 +226,10 @@ func addOperationCreateMatchmakingConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateMatchmakingRuleSet.go b/service/gamelift/api_op_CreateMatchmakingRuleSet.go index 5631fb1a542..0b2611464c1 100644 --- a/service/gamelift/api_op_CreateMatchmakingRuleSet.go +++ b/service/gamelift/api_op_CreateMatchmakingRuleSet.go @@ -139,7 +139,10 @@ func addOperationCreateMatchmakingRuleSetMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreatePlayerSession.go b/service/gamelift/api_op_CreatePlayerSession.go index 9a99cee4fe6..9a7187ffa0e 100644 --- a/service/gamelift/api_op_CreatePlayerSession.go +++ b/service/gamelift/api_op_CreatePlayerSession.go @@ -111,7 +111,10 @@ func addOperationCreatePlayerSessionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreatePlayerSessions.go b/service/gamelift/api_op_CreatePlayerSessions.go index 64be769b59c..630be4f56a1 100644 --- a/service/gamelift/api_op_CreatePlayerSessions.go +++ b/service/gamelift/api_op_CreatePlayerSessions.go @@ -113,7 +113,10 @@ func addOperationCreatePlayerSessionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateScript.go b/service/gamelift/api_op_CreateScript.go index 28da0a29fcd..c1d34fe042d 100644 --- a/service/gamelift/api_op_CreateScript.go +++ b/service/gamelift/api_op_CreateScript.go @@ -150,7 +150,10 @@ func addOperationCreateScriptMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateVpcPeeringAuthorization.go b/service/gamelift/api_op_CreateVpcPeeringAuthorization.go index 1e42ecf79d8..ff04eb32ced 100644 --- a/service/gamelift/api_op_CreateVpcPeeringAuthorization.go +++ b/service/gamelift/api_op_CreateVpcPeeringAuthorization.go @@ -125,7 +125,10 @@ func addOperationCreateVpcPeeringAuthorizationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_CreateVpcPeeringConnection.go b/service/gamelift/api_op_CreateVpcPeeringConnection.go index 9e80d05274f..f05dae6bf9c 100644 --- a/service/gamelift/api_op_CreateVpcPeeringConnection.go +++ b/service/gamelift/api_op_CreateVpcPeeringConnection.go @@ -123,7 +123,10 @@ func addOperationCreateVpcPeeringConnectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteAlias.go b/service/gamelift/api_op_DeleteAlias.go index 9a823c7a881..1ae476d9ada 100644 --- a/service/gamelift/api_op_DeleteAlias.go +++ b/service/gamelift/api_op_DeleteAlias.go @@ -86,7 +86,10 @@ func addOperationDeleteAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteBuild.go b/service/gamelift/api_op_DeleteBuild.go index d547d4af623..5033abfd3c8 100644 --- a/service/gamelift/api_op_DeleteBuild.go +++ b/service/gamelift/api_op_DeleteBuild.go @@ -88,7 +88,10 @@ func addOperationDeleteBuildMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteFleet.go b/service/gamelift/api_op_DeleteFleet.go index eed8c39336e..9343ec9fd56 100644 --- a/service/gamelift/api_op_DeleteFleet.go +++ b/service/gamelift/api_op_DeleteFleet.go @@ -94,7 +94,10 @@ func addOperationDeleteFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteGameServerGroup.go b/service/gamelift/api_op_DeleteGameServerGroup.go index 784af256599..4cc7d9dc637 100644 --- a/service/gamelift/api_op_DeleteGameServerGroup.go +++ b/service/gamelift/api_op_DeleteGameServerGroup.go @@ -133,7 +133,10 @@ func addOperationDeleteGameServerGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteGameSessionQueue.go b/service/gamelift/api_op_DeleteGameSessionQueue.go index f78c272479c..d96bc7cc5d6 100644 --- a/service/gamelift/api_op_DeleteGameSessionQueue.go +++ b/service/gamelift/api_op_DeleteGameSessionQueue.go @@ -84,7 +84,10 @@ func addOperationDeleteGameSessionQueueMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteMatchmakingConfiguration.go b/service/gamelift/api_op_DeleteMatchmakingConfiguration.go index cfeecc49614..22a4059e6ec 100644 --- a/service/gamelift/api_op_DeleteMatchmakingConfiguration.go +++ b/service/gamelift/api_op_DeleteMatchmakingConfiguration.go @@ -93,7 +93,10 @@ func addOperationDeleteMatchmakingConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteMatchmakingRuleSet.go b/service/gamelift/api_op_DeleteMatchmakingRuleSet.go index 6085fc60834..b95101c618f 100644 --- a/service/gamelift/api_op_DeleteMatchmakingRuleSet.go +++ b/service/gamelift/api_op_DeleteMatchmakingRuleSet.go @@ -101,7 +101,10 @@ func addOperationDeleteMatchmakingRuleSetMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteScalingPolicy.go b/service/gamelift/api_op_DeleteScalingPolicy.go index 2887a4a3fdb..160f7342994 100644 --- a/service/gamelift/api_op_DeleteScalingPolicy.go +++ b/service/gamelift/api_op_DeleteScalingPolicy.go @@ -104,7 +104,10 @@ func addOperationDeleteScalingPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteScript.go b/service/gamelift/api_op_DeleteScript.go index 49622462a8a..f2c84cfa1a6 100644 --- a/service/gamelift/api_op_DeleteScript.go +++ b/service/gamelift/api_op_DeleteScript.go @@ -89,7 +89,10 @@ func addOperationDeleteScriptMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go b/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go index b1718c6a62f..a423e49b44a 100644 --- a/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go +++ b/service/gamelift/api_op_DeleteVpcPeeringAuthorization.go @@ -99,7 +99,10 @@ func addOperationDeleteVpcPeeringAuthorizationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeleteVpcPeeringConnection.go b/service/gamelift/api_op_DeleteVpcPeeringConnection.go index 96ac55f0383..5fdf7d29789 100644 --- a/service/gamelift/api_op_DeleteVpcPeeringConnection.go +++ b/service/gamelift/api_op_DeleteVpcPeeringConnection.go @@ -100,7 +100,10 @@ func addOperationDeleteVpcPeeringConnectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DeregisterGameServer.go b/service/gamelift/api_op_DeregisterGameServer.go index 8fb24da57d3..05a0d0c725e 100644 --- a/service/gamelift/api_op_DeregisterGameServer.go +++ b/service/gamelift/api_op_DeregisterGameServer.go @@ -97,7 +97,10 @@ func addOperationDeregisterGameServerMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeAlias.go b/service/gamelift/api_op_DescribeAlias.go index 1e1c080badb..75fa25059d4 100644 --- a/service/gamelift/api_op_DescribeAlias.go +++ b/service/gamelift/api_op_DescribeAlias.go @@ -93,7 +93,10 @@ func addOperationDescribeAliasMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeBuild.go b/service/gamelift/api_op_DescribeBuild.go index e7802b27116..ccca1857fa5 100644 --- a/service/gamelift/api_op_DescribeBuild.go +++ b/service/gamelift/api_op_DescribeBuild.go @@ -92,7 +92,10 @@ func addOperationDescribeBuildMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeEC2InstanceLimits.go b/service/gamelift/api_op_DescribeEC2InstanceLimits.go index f0348cfc6c4..68f18a49d1f 100644 --- a/service/gamelift/api_op_DescribeEC2InstanceLimits.go +++ b/service/gamelift/api_op_DescribeEC2InstanceLimits.go @@ -106,7 +106,10 @@ func addOperationDescribeEC2InstanceLimitsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeFleetAttributes.go b/service/gamelift/api_op_DescribeFleetAttributes.go index 14bf8ff3fb4..9e062985fd2 100644 --- a/service/gamelift/api_op_DescribeFleetAttributes.go +++ b/service/gamelift/api_op_DescribeFleetAttributes.go @@ -137,7 +137,10 @@ func addOperationDescribeFleetAttributesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeFleetCapacity.go b/service/gamelift/api_op_DescribeFleetCapacity.go index e28768a83e5..5c5e5905c09 100644 --- a/service/gamelift/api_op_DescribeFleetCapacity.go +++ b/service/gamelift/api_op_DescribeFleetCapacity.go @@ -138,7 +138,10 @@ func addOperationDescribeFleetCapacityMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeFleetEvents.go b/service/gamelift/api_op_DescribeFleetEvents.go index e6967607daa..7ab0f2f1a51 100644 --- a/service/gamelift/api_op_DescribeFleetEvents.go +++ b/service/gamelift/api_op_DescribeFleetEvents.go @@ -139,7 +139,10 @@ func addOperationDescribeFleetEventsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeFleetPortSettings.go b/service/gamelift/api_op_DescribeFleetPortSettings.go index 793c64f3730..fee9604587f 100644 --- a/service/gamelift/api_op_DescribeFleetPortSettings.go +++ b/service/gamelift/api_op_DescribeFleetPortSettings.go @@ -117,7 +117,10 @@ func addOperationDescribeFleetPortSettingsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeFleetUtilization.go b/service/gamelift/api_op_DescribeFleetUtilization.go index b4a39c31f7f..f4564030bf0 100644 --- a/service/gamelift/api_op_DescribeFleetUtilization.go +++ b/service/gamelift/api_op_DescribeFleetUtilization.go @@ -139,7 +139,10 @@ func addOperationDescribeFleetUtilizationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeGameServer.go b/service/gamelift/api_op_DescribeGameServer.go index ce0ae54154e..165023671ee 100644 --- a/service/gamelift/api_op_DescribeGameServer.go +++ b/service/gamelift/api_op_DescribeGameServer.go @@ -102,7 +102,10 @@ func addOperationDescribeGameServerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeGameServerGroup.go b/service/gamelift/api_op_DescribeGameServerGroup.go index 49fd2b93f36..4cd8bd22fcb 100644 --- a/service/gamelift/api_op_DescribeGameServerGroup.go +++ b/service/gamelift/api_op_DescribeGameServerGroup.go @@ -103,7 +103,10 @@ func addOperationDescribeGameServerGroupMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeGameServerInstances.go b/service/gamelift/api_op_DescribeGameServerInstances.go index a7956da1072..34ee3437306 100644 --- a/service/gamelift/api_op_DescribeGameServerInstances.go +++ b/service/gamelift/api_op_DescribeGameServerInstances.go @@ -128,7 +128,10 @@ func addOperationDescribeGameServerInstancesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeGameSessionDetails.go b/service/gamelift/api_op_DescribeGameSessionDetails.go index 5ae5f07ffd7..e7f00e0c824 100644 --- a/service/gamelift/api_op_DescribeGameSessionDetails.go +++ b/service/gamelift/api_op_DescribeGameSessionDetails.go @@ -133,7 +133,10 @@ func addOperationDescribeGameSessionDetailsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeGameSessionPlacement.go b/service/gamelift/api_op_DescribeGameSessionPlacement.go index 71170b17bad..88efa543bb0 100644 --- a/service/gamelift/api_op_DescribeGameSessionPlacement.go +++ b/service/gamelift/api_op_DescribeGameSessionPlacement.go @@ -102,7 +102,10 @@ func addOperationDescribeGameSessionPlacementMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeGameSessionQueues.go b/service/gamelift/api_op_DescribeGameSessionQueues.go index 87e1b0fc4f7..763c143f376 100644 --- a/service/gamelift/api_op_DescribeGameSessionQueues.go +++ b/service/gamelift/api_op_DescribeGameSessionQueues.go @@ -105,7 +105,10 @@ func addOperationDescribeGameSessionQueuesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeGameSessions.go b/service/gamelift/api_op_DescribeGameSessions.go index 30ad170f031..92f34677faa 100644 --- a/service/gamelift/api_op_DescribeGameSessions.go +++ b/service/gamelift/api_op_DescribeGameSessions.go @@ -133,7 +133,10 @@ func addOperationDescribeGameSessionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeInstances.go b/service/gamelift/api_op_DescribeInstances.go index 29c7e08ce6c..630551aaf45 100644 --- a/service/gamelift/api_op_DescribeInstances.go +++ b/service/gamelift/api_op_DescribeInstances.go @@ -109,7 +109,10 @@ func addOperationDescribeInstancesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeMatchmaking.go b/service/gamelift/api_op_DescribeMatchmaking.go index 51d94b634ab..0ab33412188 100644 --- a/service/gamelift/api_op_DescribeMatchmaking.go +++ b/service/gamelift/api_op_DescribeMatchmaking.go @@ -103,7 +103,10 @@ func addOperationDescribeMatchmakingMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeMatchmakingConfigurations.go b/service/gamelift/api_op_DescribeMatchmakingConfigurations.go index 32f4f637d57..882c4071e29 100644 --- a/service/gamelift/api_op_DescribeMatchmakingConfigurations.go +++ b/service/gamelift/api_op_DescribeMatchmakingConfigurations.go @@ -125,7 +125,10 @@ func addOperationDescribeMatchmakingConfigurationsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeMatchmakingRuleSets.go b/service/gamelift/api_op_DescribeMatchmakingRuleSets.go index eecf00f38fd..475e8f759e8 100644 --- a/service/gamelift/api_op_DescribeMatchmakingRuleSets.go +++ b/service/gamelift/api_op_DescribeMatchmakingRuleSets.go @@ -123,7 +123,10 @@ func addOperationDescribeMatchmakingRuleSetsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribePlayerSessions.go b/service/gamelift/api_op_DescribePlayerSessions.go index 888602628a9..95b6526b11b 100644 --- a/service/gamelift/api_op_DescribePlayerSessions.go +++ b/service/gamelift/api_op_DescribePlayerSessions.go @@ -140,7 +140,10 @@ func addOperationDescribePlayerSessionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeRuntimeConfiguration.go b/service/gamelift/api_op_DescribeRuntimeConfiguration.go index 39d161c35f0..140d85f9add 100644 --- a/service/gamelift/api_op_DescribeRuntimeConfiguration.go +++ b/service/gamelift/api_op_DescribeRuntimeConfiguration.go @@ -118,7 +118,10 @@ func addOperationDescribeRuntimeConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeScalingPolicies.go b/service/gamelift/api_op_DescribeScalingPolicies.go index ebef2e54da7..3e2e3a7f2fb 100644 --- a/service/gamelift/api_op_DescribeScalingPolicies.go +++ b/service/gamelift/api_op_DescribeScalingPolicies.go @@ -147,7 +147,10 @@ func addOperationDescribeScalingPoliciesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeScript.go b/service/gamelift/api_op_DescribeScript.go index dedbb4d152a..91f577f3f7d 100644 --- a/service/gamelift/api_op_DescribeScript.go +++ b/service/gamelift/api_op_DescribeScript.go @@ -90,7 +90,10 @@ func addOperationDescribeScriptMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go b/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go index 9a3450d00dc..e37658238d1 100644 --- a/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go +++ b/service/gamelift/api_op_DescribeVpcPeeringAuthorizations.go @@ -87,7 +87,10 @@ func addOperationDescribeVpcPeeringAuthorizationsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_DescribeVpcPeeringConnections.go b/service/gamelift/api_op_DescribeVpcPeeringConnections.go index c19c8660736..fb38dfb5ff8 100644 --- a/service/gamelift/api_op_DescribeVpcPeeringConnections.go +++ b/service/gamelift/api_op_DescribeVpcPeeringConnections.go @@ -95,7 +95,10 @@ func addOperationDescribeVpcPeeringConnectionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_GetGameSessionLogUrl.go b/service/gamelift/api_op_GetGameSessionLogUrl.go index b4fcb28eba8..97e8d7a0a52 100644 --- a/service/gamelift/api_op_GetGameSessionLogUrl.go +++ b/service/gamelift/api_op_GetGameSessionLogUrl.go @@ -107,7 +107,10 @@ func addOperationGetGameSessionLogUrlMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_GetInstanceAccess.go b/service/gamelift/api_op_GetInstanceAccess.go index 5ef61c05459..57aedc25960 100644 --- a/service/gamelift/api_op_GetInstanceAccess.go +++ b/service/gamelift/api_op_GetInstanceAccess.go @@ -107,7 +107,10 @@ func addOperationGetInstanceAccessMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ListAliases.go b/service/gamelift/api_op_ListAliases.go index c19693d2e11..843afc7caa2 100644 --- a/service/gamelift/api_op_ListAliases.go +++ b/service/gamelift/api_op_ListAliases.go @@ -119,7 +119,10 @@ func addOperationListAliasesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ListBuilds.go b/service/gamelift/api_op_ListBuilds.go index 1b4f8a6623a..8113f328541 100644 --- a/service/gamelift/api_op_ListBuilds.go +++ b/service/gamelift/api_op_ListBuilds.go @@ -117,7 +117,10 @@ func addOperationListBuildsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ListFleets.go b/service/gamelift/api_op_ListFleets.go index f93bb2e30b9..14ec6e7288f 100644 --- a/service/gamelift/api_op_ListFleets.go +++ b/service/gamelift/api_op_ListFleets.go @@ -117,7 +117,10 @@ func addOperationListFleetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ListGameServerGroups.go b/service/gamelift/api_op_ListGameServerGroups.go index 9ef623e8cea..e5af7a21694 100644 --- a/service/gamelift/api_op_ListGameServerGroups.go +++ b/service/gamelift/api_op_ListGameServerGroups.go @@ -107,7 +107,10 @@ func addOperationListGameServerGroupsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ListGameServers.go b/service/gamelift/api_op_ListGameServers.go index ff4f8a0f0e5..bd99d99a21e 100644 --- a/service/gamelift/api_op_ListGameServers.go +++ b/service/gamelift/api_op_ListGameServers.go @@ -116,7 +116,10 @@ func addOperationListGameServersMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ListScripts.go b/service/gamelift/api_op_ListScripts.go index d1d2ee3747d..601599f4f62 100644 --- a/service/gamelift/api_op_ListScripts.go +++ b/service/gamelift/api_op_ListScripts.go @@ -98,7 +98,10 @@ func addOperationListScriptsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ListTagsForResource.go b/service/gamelift/api_op_ListTagsForResource.go index d48c7753bd2..a2eed2c97cb 100644 --- a/service/gamelift/api_op_ListTagsForResource.go +++ b/service/gamelift/api_op_ListTagsForResource.go @@ -110,7 +110,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_PutScalingPolicy.go b/service/gamelift/api_op_PutScalingPolicy.go index 9cef8d7a3f4..732ee57b5c7 100644 --- a/service/gamelift/api_op_PutScalingPolicy.go +++ b/service/gamelift/api_op_PutScalingPolicy.go @@ -251,7 +251,10 @@ func addOperationPutScalingPolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_RegisterGameServer.go b/service/gamelift/api_op_RegisterGameServer.go index fa0cd95b018..ce407d46b1f 100644 --- a/service/gamelift/api_op_RegisterGameServer.go +++ b/service/gamelift/api_op_RegisterGameServer.go @@ -128,7 +128,10 @@ func addOperationRegisterGameServerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_RequestUploadCredentials.go b/service/gamelift/api_op_RequestUploadCredentials.go index e86f9ca6b1b..bc98f90c2f7 100644 --- a/service/gamelift/api_op_RequestUploadCredentials.go +++ b/service/gamelift/api_op_RequestUploadCredentials.go @@ -100,7 +100,10 @@ func addOperationRequestUploadCredentialsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ResolveAlias.go b/service/gamelift/api_op_ResolveAlias.go index 560ac860293..858960b3d80 100644 --- a/service/gamelift/api_op_ResolveAlias.go +++ b/service/gamelift/api_op_ResolveAlias.go @@ -94,7 +94,10 @@ func addOperationResolveAliasMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ResumeGameServerGroup.go b/service/gamelift/api_op_ResumeGameServerGroup.go index 946f9ed50dd..ceb0345d26c 100644 --- a/service/gamelift/api_op_ResumeGameServerGroup.go +++ b/service/gamelift/api_op_ResumeGameServerGroup.go @@ -111,7 +111,10 @@ func addOperationResumeGameServerGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_SearchGameSessions.go b/service/gamelift/api_op_SearchGameSessions.go index bd6b586485e..5fd420d0bc5 100644 --- a/service/gamelift/api_op_SearchGameSessions.go +++ b/service/gamelift/api_op_SearchGameSessions.go @@ -229,7 +229,10 @@ func addOperationSearchGameSessionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_StartFleetActions.go b/service/gamelift/api_op_StartFleetActions.go index f8853583ace..a9b1ac4dfd0 100644 --- a/service/gamelift/api_op_StartFleetActions.go +++ b/service/gamelift/api_op_StartFleetActions.go @@ -99,7 +99,10 @@ func addOperationStartFleetActionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_StartGameSessionPlacement.go b/service/gamelift/api_op_StartGameSessionPlacement.go index 53c02d635af..39c7e902dc5 100644 --- a/service/gamelift/api_op_StartGameSessionPlacement.go +++ b/service/gamelift/api_op_StartGameSessionPlacement.go @@ -178,7 +178,10 @@ func addOperationStartGameSessionPlacementMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_StartMatchBackfill.go b/service/gamelift/api_op_StartMatchBackfill.go index 42d0bdfbc51..90078aa3061 100644 --- a/service/gamelift/api_op_StartMatchBackfill.go +++ b/service/gamelift/api_op_StartMatchBackfill.go @@ -146,7 +146,10 @@ func addOperationStartMatchBackfillMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_StartMatchmaking.go b/service/gamelift/api_op_StartMatchmaking.go index 30038973d0b..cf698da6c21 100644 --- a/service/gamelift/api_op_StartMatchmaking.go +++ b/service/gamelift/api_op_StartMatchmaking.go @@ -128,7 +128,10 @@ func addOperationStartMatchmakingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_StopFleetActions.go b/service/gamelift/api_op_StopFleetActions.go index ddf6b1ddeb4..c664c5b5342 100644 --- a/service/gamelift/api_op_StopFleetActions.go +++ b/service/gamelift/api_op_StopFleetActions.go @@ -99,7 +99,10 @@ func addOperationStopFleetActionsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_StopGameSessionPlacement.go b/service/gamelift/api_op_StopGameSessionPlacement.go index 9246ac12ad2..fb4b84f395d 100644 --- a/service/gamelift/api_op_StopGameSessionPlacement.go +++ b/service/gamelift/api_op_StopGameSessionPlacement.go @@ -102,7 +102,10 @@ func addOperationStopGameSessionPlacementMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_StopMatchmaking.go b/service/gamelift/api_op_StopMatchmaking.go index 76478993744..56d79ba241a 100644 --- a/service/gamelift/api_op_StopMatchmaking.go +++ b/service/gamelift/api_op_StopMatchmaking.go @@ -92,7 +92,10 @@ func addOperationStopMatchmakingMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_SuspendGameServerGroup.go b/service/gamelift/api_op_SuspendGameServerGroup.go index df252707988..dd1b2bd7a42 100644 --- a/service/gamelift/api_op_SuspendGameServerGroup.go +++ b/service/gamelift/api_op_SuspendGameServerGroup.go @@ -119,7 +119,10 @@ func addOperationSuspendGameServerGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_TagResource.go b/service/gamelift/api_op_TagResource.go index 242ddcd103b..4fbf48178a8 100644 --- a/service/gamelift/api_op_TagResource.go +++ b/service/gamelift/api_op_TagResource.go @@ -119,7 +119,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UntagResource.go b/service/gamelift/api_op_UntagResource.go index b66e7e235a7..f935d465871 100644 --- a/service/gamelift/api_op_UntagResource.go +++ b/service/gamelift/api_op_UntagResource.go @@ -115,7 +115,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateAlias.go b/service/gamelift/api_op_UpdateAlias.go index e0f3c4c3925..b14e5ee506a 100644 --- a/service/gamelift/api_op_UpdateAlias.go +++ b/service/gamelift/api_op_UpdateAlias.go @@ -104,7 +104,10 @@ func addOperationUpdateAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateBuild.go b/service/gamelift/api_op_UpdateBuild.go index f8873b526c5..c26560270ef 100644 --- a/service/gamelift/api_op_UpdateBuild.go +++ b/service/gamelift/api_op_UpdateBuild.go @@ -101,7 +101,10 @@ func addOperationUpdateBuildMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateFleetAttributes.go b/service/gamelift/api_op_UpdateFleetAttributes.go index 36015993b0d..7eb40a35c6a 100644 --- a/service/gamelift/api_op_UpdateFleetAttributes.go +++ b/service/gamelift/api_op_UpdateFleetAttributes.go @@ -135,7 +135,10 @@ func addOperationUpdateFleetAttributesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateFleetCapacity.go b/service/gamelift/api_op_UpdateFleetCapacity.go index 2f45a50dd95..9890548ff50 100644 --- a/service/gamelift/api_op_UpdateFleetCapacity.go +++ b/service/gamelift/api_op_UpdateFleetCapacity.go @@ -125,7 +125,10 @@ func addOperationUpdateFleetCapacityMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateFleetPortSettings.go b/service/gamelift/api_op_UpdateFleetPortSettings.go index c10a4c6f255..5cb40c7559c 100644 --- a/service/gamelift/api_op_UpdateFleetPortSettings.go +++ b/service/gamelift/api_op_UpdateFleetPortSettings.go @@ -113,7 +113,10 @@ func addOperationUpdateFleetPortSettingsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateGameServer.go b/service/gamelift/api_op_UpdateGameServer.go index 2589a109c14..0ba569325fb 100644 --- a/service/gamelift/api_op_UpdateGameServer.go +++ b/service/gamelift/api_op_UpdateGameServer.go @@ -132,7 +132,10 @@ func addOperationUpdateGameServerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateGameServerGroup.go b/service/gamelift/api_op_UpdateGameServerGroup.go index f8a1ae519b9..5c76f7e2fcc 100644 --- a/service/gamelift/api_op_UpdateGameServerGroup.go +++ b/service/gamelift/api_op_UpdateGameServerGroup.go @@ -154,7 +154,10 @@ func addOperationUpdateGameServerGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateGameSession.go b/service/gamelift/api_op_UpdateGameSession.go index 1783744bea8..3f6feb84acd 100644 --- a/service/gamelift/api_op_UpdateGameSession.go +++ b/service/gamelift/api_op_UpdateGameSession.go @@ -126,7 +126,10 @@ func addOperationUpdateGameSessionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateGameSessionQueue.go b/service/gamelift/api_op_UpdateGameSessionQueue.go index 4b63ea256f3..a1f3f283dc4 100644 --- a/service/gamelift/api_op_UpdateGameSessionQueue.go +++ b/service/gamelift/api_op_UpdateGameSessionQueue.go @@ -113,7 +113,10 @@ func addOperationUpdateGameSessionQueueMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateMatchmakingConfiguration.go b/service/gamelift/api_op_UpdateMatchmakingConfiguration.go index 01d30a50a6e..49f490e607d 100644 --- a/service/gamelift/api_op_UpdateMatchmakingConfiguration.go +++ b/service/gamelift/api_op_UpdateMatchmakingConfiguration.go @@ -193,7 +193,10 @@ func addOperationUpdateMatchmakingConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateRuntimeConfiguration.go b/service/gamelift/api_op_UpdateRuntimeConfiguration.go index a7f503ca6d0..e6444db84fc 100644 --- a/service/gamelift/api_op_UpdateRuntimeConfiguration.go +++ b/service/gamelift/api_op_UpdateRuntimeConfiguration.go @@ -125,7 +125,10 @@ func addOperationUpdateRuntimeConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_UpdateScript.go b/service/gamelift/api_op_UpdateScript.go index 5f26cffe6f9..86752d70690 100644 --- a/service/gamelift/api_op_UpdateScript.go +++ b/service/gamelift/api_op_UpdateScript.go @@ -129,7 +129,10 @@ func addOperationUpdateScriptMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/gamelift/api_op_ValidateMatchmakingRuleSet.go b/service/gamelift/api_op_ValidateMatchmakingRuleSet.go index 7e35b76fd87..d8adf287c29 100644 --- a/service/gamelift/api_op_ValidateMatchmakingRuleSet.go +++ b/service/gamelift/api_op_ValidateMatchmakingRuleSet.go @@ -104,7 +104,10 @@ func addOperationValidateMatchmakingRuleSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_AbortMultipartUpload.go b/service/glacier/api_op_AbortMultipartUpload.go index 3b7924720fb..66422d40968 100644 --- a/service/glacier/api_op_AbortMultipartUpload.go +++ b/service/glacier/api_op_AbortMultipartUpload.go @@ -106,7 +106,10 @@ func addOperationAbortMultipartUploadMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_AbortVaultLock.go b/service/glacier/api_op_AbortVaultLock.go index 64ffee42555..169ff17f804 100644 --- a/service/glacier/api_op_AbortVaultLock.go +++ b/service/glacier/api_op_AbortVaultLock.go @@ -95,7 +95,10 @@ func addOperationAbortVaultLockMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_AddTagsToVault.go b/service/glacier/api_op_AddTagsToVault.go index 617008f5e4a..9a68bdef8f9 100644 --- a/service/glacier/api_op_AddTagsToVault.go +++ b/service/glacier/api_op_AddTagsToVault.go @@ -90,7 +90,10 @@ func addOperationAddTagsToVaultMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_CompleteMultipartUpload.go b/service/glacier/api_op_CompleteMultipartUpload.go index f78e813e733..eee30242f04 100644 --- a/service/glacier/api_op_CompleteMultipartUpload.go +++ b/service/glacier/api_op_CompleteMultipartUpload.go @@ -152,7 +152,10 @@ func addOperationCompleteMultipartUploadMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_CompleteVaultLock.go b/service/glacier/api_op_CompleteVaultLock.go index f63f4a1e516..10b8f34542f 100644 --- a/service/glacier/api_op_CompleteVaultLock.go +++ b/service/glacier/api_op_CompleteVaultLock.go @@ -98,7 +98,10 @@ func addOperationCompleteVaultLockMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_CreateVault.go b/service/glacier/api_op_CreateVault.go index ce4bd8dd7d0..da9c5de7c22 100644 --- a/service/glacier/api_op_CreateVault.go +++ b/service/glacier/api_op_CreateVault.go @@ -109,7 +109,10 @@ func addOperationCreateVaultMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_DeleteArchive.go b/service/glacier/api_op_DeleteArchive.go index c6d87ba66a7..b4a17caa5dd 100644 --- a/service/glacier/api_op_DeleteArchive.go +++ b/service/glacier/api_op_DeleteArchive.go @@ -111,7 +111,10 @@ func addOperationDeleteArchiveMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_DeleteVault.go b/service/glacier/api_op_DeleteVault.go index 3c4ba301777..36e84727c6d 100644 --- a/service/glacier/api_op_DeleteVault.go +++ b/service/glacier/api_op_DeleteVault.go @@ -101,7 +101,10 @@ func addOperationDeleteVaultMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_DeleteVaultAccessPolicy.go b/service/glacier/api_op_DeleteVaultAccessPolicy.go index 0732b0e73ee..520fb0aedcc 100644 --- a/service/glacier/api_op_DeleteVaultAccessPolicy.go +++ b/service/glacier/api_op_DeleteVaultAccessPolicy.go @@ -87,7 +87,10 @@ func addOperationDeleteVaultAccessPolicyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_DeleteVaultNotifications.go b/service/glacier/api_op_DeleteVaultNotifications.go index b12b0fb6a91..08ec32b1173 100644 --- a/service/glacier/api_op_DeleteVaultNotifications.go +++ b/service/glacier/api_op_DeleteVaultNotifications.go @@ -96,7 +96,10 @@ func addOperationDeleteVaultNotificationsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_DescribeJob.go b/service/glacier/api_op_DescribeJob.go index 3afc15781b1..d9ee9ad1963 100644 --- a/service/glacier/api_op_DescribeJob.go +++ b/service/glacier/api_op_DescribeJob.go @@ -201,7 +201,10 @@ func addOperationDescribeJobMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_DescribeVault.go b/service/glacier/api_op_DescribeVault.go index dce91b2ae83..023130167c0 100644 --- a/service/glacier/api_op_DescribeVault.go +++ b/service/glacier/api_op_DescribeVault.go @@ -135,7 +135,10 @@ func addOperationDescribeVaultMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_GetDataRetrievalPolicy.go b/service/glacier/api_op_GetDataRetrievalPolicy.go index 22ba823255c..cd9c2337126 100644 --- a/service/glacier/api_op_GetDataRetrievalPolicy.go +++ b/service/glacier/api_op_GetDataRetrievalPolicy.go @@ -85,7 +85,10 @@ func addOperationGetDataRetrievalPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_GetJobOutput.go b/service/glacier/api_op_GetJobOutput.go index 77b2121ccd2..3a0e78b0323 100644 --- a/service/glacier/api_op_GetJobOutput.go +++ b/service/glacier/api_op_GetJobOutput.go @@ -200,7 +200,10 @@ func addOperationGetJobOutputMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_GetVaultAccessPolicy.go b/service/glacier/api_op_GetVaultAccessPolicy.go index d69c3896f5d..640edf6dbdd 100644 --- a/service/glacier/api_op_GetVaultAccessPolicy.go +++ b/service/glacier/api_op_GetVaultAccessPolicy.go @@ -93,7 +93,10 @@ func addOperationGetVaultAccessPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_GetVaultLock.go b/service/glacier/api_op_GetVaultLock.go index aa6dbe948c2..56d389fd49b 100644 --- a/service/glacier/api_op_GetVaultLock.go +++ b/service/glacier/api_op_GetVaultLock.go @@ -119,7 +119,10 @@ func addOperationGetVaultLockMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_GetVaultNotifications.go b/service/glacier/api_op_GetVaultNotifications.go index 195223fbd03..a079ed3e095 100644 --- a/service/glacier/api_op_GetVaultNotifications.go +++ b/service/glacier/api_op_GetVaultNotifications.go @@ -104,7 +104,10 @@ func addOperationGetVaultNotificationsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_InitiateJob.go b/service/glacier/api_op_InitiateJob.go index 2966397ffc8..c099e78f6e1 100644 --- a/service/glacier/api_op_InitiateJob.go +++ b/service/glacier/api_op_InitiateJob.go @@ -98,7 +98,10 @@ func addOperationInitiateJobMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_InitiateMultipartUpload.go b/service/glacier/api_op_InitiateMultipartUpload.go index b2eebbc5704..a141c3da3ca 100644 --- a/service/glacier/api_op_InitiateMultipartUpload.go +++ b/service/glacier/api_op_InitiateMultipartUpload.go @@ -128,7 +128,10 @@ func addOperationInitiateMultipartUploadMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_InitiateVaultLock.go b/service/glacier/api_op_InitiateVaultLock.go index 838c614123f..b848363cd83 100644 --- a/service/glacier/api_op_InitiateVaultLock.go +++ b/service/glacier/api_op_InitiateVaultLock.go @@ -118,7 +118,10 @@ func addOperationInitiateVaultLockMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_ListJobs.go b/service/glacier/api_op_ListJobs.go index 09b55c135c6..87138bc5e5b 100644 --- a/service/glacier/api_op_ListJobs.go +++ b/service/glacier/api_op_ListJobs.go @@ -138,7 +138,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_ListMultipartUploads.go b/service/glacier/api_op_ListMultipartUploads.go index 8cfe7c58bf1..902a2d8c644 100644 --- a/service/glacier/api_op_ListMultipartUploads.go +++ b/service/glacier/api_op_ListMultipartUploads.go @@ -129,7 +129,10 @@ func addOperationListMultipartUploadsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_ListParts.go b/service/glacier/api_op_ListParts.go index 501fd3f1aee..386a81d323f 100644 --- a/service/glacier/api_op_ListParts.go +++ b/service/glacier/api_op_ListParts.go @@ -150,7 +150,10 @@ func addOperationListPartsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_ListProvisionedCapacity.go b/service/glacier/api_op_ListProvisionedCapacity.go index 079e8dc90cf..2a66ba972b5 100644 --- a/service/glacier/api_op_ListProvisionedCapacity.go +++ b/service/glacier/api_op_ListProvisionedCapacity.go @@ -79,7 +79,10 @@ func addOperationListProvisionedCapacityMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_ListTagsForVault.go b/service/glacier/api_op_ListTagsForVault.go index 4cc40cf4bed..206a41630b1 100644 --- a/service/glacier/api_op_ListTagsForVault.go +++ b/service/glacier/api_op_ListTagsForVault.go @@ -88,7 +88,10 @@ func addOperationListTagsForVaultMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_ListVaults.go b/service/glacier/api_op_ListVaults.go index 69f5ba9eab2..dfbfc3c76a9 100644 --- a/service/glacier/api_op_ListVaults.go +++ b/service/glacier/api_op_ListVaults.go @@ -116,7 +116,10 @@ func addOperationListVaultsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_PurchaseProvisionedCapacity.go b/service/glacier/api_op_PurchaseProvisionedCapacity.go index 630698b14f7..d98731a168f 100644 --- a/service/glacier/api_op_PurchaseProvisionedCapacity.go +++ b/service/glacier/api_op_PurchaseProvisionedCapacity.go @@ -77,7 +77,10 @@ func addOperationPurchaseProvisionedCapacityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_RemoveTagsFromVault.go b/service/glacier/api_op_RemoveTagsFromVault.go index 92151c9f44d..975c1f9ad0e 100644 --- a/service/glacier/api_op_RemoveTagsFromVault.go +++ b/service/glacier/api_op_RemoveTagsFromVault.go @@ -87,7 +87,10 @@ func addOperationRemoveTagsFromVaultMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_SetDataRetrievalPolicy.go b/service/glacier/api_op_SetDataRetrievalPolicy.go index 5331684b1f9..1bc7da6be16 100644 --- a/service/glacier/api_op_SetDataRetrievalPolicy.go +++ b/service/glacier/api_op_SetDataRetrievalPolicy.go @@ -86,7 +86,10 @@ func addOperationSetDataRetrievalPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_SetVaultAccessPolicy.go b/service/glacier/api_op_SetVaultAccessPolicy.go index b0bbd98258d..69412bb7063 100644 --- a/service/glacier/api_op_SetVaultAccessPolicy.go +++ b/service/glacier/api_op_SetVaultAccessPolicy.go @@ -90,7 +90,10 @@ func addOperationSetVaultAccessPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_SetVaultNotifications.go b/service/glacier/api_op_SetVaultNotifications.go index 3ddded183bf..62ac374c71a 100644 --- a/service/glacier/api_op_SetVaultNotifications.go +++ b/service/glacier/api_op_SetVaultNotifications.go @@ -117,7 +117,10 @@ func addOperationSetVaultNotificationsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_UploadArchive.go b/service/glacier/api_op_UploadArchive.go index 3fa49e6f971..3931f083c0e 100644 --- a/service/glacier/api_op_UploadArchive.go +++ b/service/glacier/api_op_UploadArchive.go @@ -136,7 +136,10 @@ func addOperationUploadArchiveMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glacier/api_op_UploadMultipartPart.go b/service/glacier/api_op_UploadMultipartPart.go index 078bc8663b8..d730b7c3218 100644 --- a/service/glacier/api_op_UploadMultipartPart.go +++ b/service/glacier/api_op_UploadMultipartPart.go @@ -146,7 +146,10 @@ func addOperationUploadMultipartPartMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go b/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go index 7e6801881b4..da8302c4a91 100644 --- a/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go +++ b/service/globalaccelerator/api_op_AddCustomRoutingEndpoints.go @@ -96,7 +96,10 @@ func addOperationAddCustomRoutingEndpointsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_AdvertiseByoipCidr.go b/service/globalaccelerator/api_op_AdvertiseByoipCidr.go index bba268d5cee..54740ce6fd1 100644 --- a/service/globalaccelerator/api_op_AdvertiseByoipCidr.go +++ b/service/globalaccelerator/api_op_AdvertiseByoipCidr.go @@ -83,7 +83,10 @@ func addOperationAdvertiseByoipCidrMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go b/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go index 41756b47233..2e81bb6266a 100644 --- a/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go +++ b/service/globalaccelerator/api_op_AllowCustomRoutingTraffic.go @@ -104,7 +104,10 @@ func addOperationAllowCustomRoutingTrafficMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_CreateAccelerator.go b/service/globalaccelerator/api_op_CreateAccelerator.go index da3ca885496..3342835a396 100644 --- a/service/globalaccelerator/api_op_CreateAccelerator.go +++ b/service/globalaccelerator/api_op_CreateAccelerator.go @@ -117,7 +117,10 @@ func addOperationCreateAcceleratorMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go index 61dca86a0d9..5f9b72a00e0 100644 --- a/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_CreateCustomRoutingAccelerator.go @@ -105,7 +105,10 @@ func addOperationCreateCustomRoutingAcceleratorMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go b/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go index 807b912ab80..2b4988dbab7 100644 --- a/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go +++ b/service/globalaccelerator/api_op_CreateCustomRoutingEndpointGroup.go @@ -95,7 +95,10 @@ func addOperationCreateCustomRoutingEndpointGroupMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_CreateCustomRoutingListener.go b/service/globalaccelerator/api_op_CreateCustomRoutingListener.go index 2d0a911154f..f4f49985e6a 100644 --- a/service/globalaccelerator/api_op_CreateCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_CreateCustomRoutingListener.go @@ -91,7 +91,10 @@ func addOperationCreateCustomRoutingListenerMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_CreateEndpointGroup.go b/service/globalaccelerator/api_op_CreateEndpointGroup.go index fd909a2fef8..6164d88c585 100644 --- a/service/globalaccelerator/api_op_CreateEndpointGroup.go +++ b/service/globalaccelerator/api_op_CreateEndpointGroup.go @@ -131,7 +131,10 @@ func addOperationCreateEndpointGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_CreateListener.go b/service/globalaccelerator/api_op_CreateListener.go index 3436f9fa554..4ec36f55a94 100644 --- a/service/globalaccelerator/api_op_CreateListener.go +++ b/service/globalaccelerator/api_op_CreateListener.go @@ -111,7 +111,10 @@ func addOperationCreateListenerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DeleteAccelerator.go b/service/globalaccelerator/api_op_DeleteAccelerator.go index 4942f768a1b..6e205f24f03 100644 --- a/service/globalaccelerator/api_op_DeleteAccelerator.go +++ b/service/globalaccelerator/api_op_DeleteAccelerator.go @@ -84,7 +84,10 @@ func addOperationDeleteAcceleratorMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go index 121912b6dcc..8936d8a69c2 100644 --- a/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_DeleteCustomRoutingAccelerator.go @@ -83,7 +83,10 @@ func addOperationDeleteCustomRoutingAcceleratorMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go b/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go index 8328b58984a..6bb55cced63 100644 --- a/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go +++ b/service/globalaccelerator/api_op_DeleteCustomRoutingEndpointGroup.go @@ -69,7 +69,10 @@ func addOperationDeleteCustomRoutingEndpointGroupMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go b/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go index 26490df3f89..583714d7461 100644 --- a/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_DeleteCustomRoutingListener.go @@ -69,7 +69,10 @@ func addOperationDeleteCustomRoutingListenerMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DeleteEndpointGroup.go b/service/globalaccelerator/api_op_DeleteEndpointGroup.go index fa84a963993..251cd204e47 100644 --- a/service/globalaccelerator/api_op_DeleteEndpointGroup.go +++ b/service/globalaccelerator/api_op_DeleteEndpointGroup.go @@ -69,7 +69,10 @@ func addOperationDeleteEndpointGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DeleteListener.go b/service/globalaccelerator/api_op_DeleteListener.go index ab30550f84f..1a3b25c0b6b 100644 --- a/service/globalaccelerator/api_op_DeleteListener.go +++ b/service/globalaccelerator/api_op_DeleteListener.go @@ -69,7 +69,10 @@ func addOperationDeleteListenerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go b/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go index c8034c7f2e0..2073b021e3a 100644 --- a/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go +++ b/service/globalaccelerator/api_op_DenyCustomRoutingTraffic.go @@ -103,7 +103,10 @@ func addOperationDenyCustomRoutingTrafficMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DeprovisionByoipCidr.go b/service/globalaccelerator/api_op_DeprovisionByoipCidr.go index 2c324c001ce..5f028183c52 100644 --- a/service/globalaccelerator/api_op_DeprovisionByoipCidr.go +++ b/service/globalaccelerator/api_op_DeprovisionByoipCidr.go @@ -84,7 +84,10 @@ func addOperationDeprovisionByoipCidrMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DescribeAccelerator.go b/service/globalaccelerator/api_op_DescribeAccelerator.go index 2fb419769bd..2ba1b85244c 100644 --- a/service/globalaccelerator/api_op_DescribeAccelerator.go +++ b/service/globalaccelerator/api_op_DescribeAccelerator.go @@ -74,7 +74,10 @@ func addOperationDescribeAcceleratorMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go b/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go index c17c4e0636a..4ab4f3c1c5d 100644 --- a/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_DescribeAcceleratorAttributes.go @@ -75,7 +75,10 @@ func addOperationDescribeAcceleratorAttributesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go index 8d4b7913d61..a5fd5c25764 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingAccelerator.go @@ -74,7 +74,10 @@ func addOperationDescribeCustomRoutingAcceleratorMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go b/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go index 86efcc195db..00afb7a8a64 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingAcceleratorAttributes.go @@ -75,7 +75,10 @@ func addOperationDescribeCustomRoutingAcceleratorAttributesMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go b/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go index 0454d98ae84..889699694d7 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingEndpointGroup.go @@ -74,7 +74,10 @@ func addOperationDescribeCustomRoutingEndpointGroupMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go b/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go index ba9fdd4c73b..1711ab0ecc9 100644 --- a/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_DescribeCustomRoutingListener.go @@ -74,7 +74,10 @@ func addOperationDescribeCustomRoutingListenerMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DescribeEndpointGroup.go b/service/globalaccelerator/api_op_DescribeEndpointGroup.go index d6fd1576c48..5f1a5127c4a 100644 --- a/service/globalaccelerator/api_op_DescribeEndpointGroup.go +++ b/service/globalaccelerator/api_op_DescribeEndpointGroup.go @@ -74,7 +74,10 @@ func addOperationDescribeEndpointGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_DescribeListener.go b/service/globalaccelerator/api_op_DescribeListener.go index b2335196094..259336f9832 100644 --- a/service/globalaccelerator/api_op_DescribeListener.go +++ b/service/globalaccelerator/api_op_DescribeListener.go @@ -74,7 +74,10 @@ func addOperationDescribeListenerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListAccelerators.go b/service/globalaccelerator/api_op_ListAccelerators.go index 3412e41494d..9da594f5851 100644 --- a/service/globalaccelerator/api_op_ListAccelerators.go +++ b/service/globalaccelerator/api_op_ListAccelerators.go @@ -82,7 +82,10 @@ func addOperationListAcceleratorsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListByoipCidrs.go b/service/globalaccelerator/api_op_ListByoipCidrs.go index 85d5c08d6e0..dff1ebe3e1c 100644 --- a/service/globalaccelerator/api_op_ListByoipCidrs.go +++ b/service/globalaccelerator/api_op_ListByoipCidrs.go @@ -82,7 +82,10 @@ func addOperationListByoipCidrsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go b/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go index d9f17ce2631..fc09e2a5fa0 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingAccelerators.go @@ -82,7 +82,10 @@ func addOperationListCustomRoutingAcceleratorsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go b/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go index 5dadeb8d96e..ebfe7b6007c 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingEndpointGroups.go @@ -89,7 +89,10 @@ func addOperationListCustomRoutingEndpointGroupsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListCustomRoutingListeners.go b/service/globalaccelerator/api_op_ListCustomRoutingListeners.go index f0b442ae235..7fd06f3037d 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingListeners.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingListeners.go @@ -87,7 +87,10 @@ func addOperationListCustomRoutingListenersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go b/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go index 6d31ad45437..905afcbe0ab 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingPortMappings.go @@ -104,7 +104,10 @@ func addOperationListCustomRoutingPortMappingsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go b/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go index 4d78aeece38..b9459c8850a 100644 --- a/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go +++ b/service/globalaccelerator/api_op_ListCustomRoutingPortMappingsByDestination.go @@ -97,7 +97,10 @@ func addOperationListCustomRoutingPortMappingsByDestinationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListEndpointGroups.go b/service/globalaccelerator/api_op_ListEndpointGroups.go index c09567130d5..91026b23687 100644 --- a/service/globalaccelerator/api_op_ListEndpointGroups.go +++ b/service/globalaccelerator/api_op_ListEndpointGroups.go @@ -87,7 +87,10 @@ func addOperationListEndpointGroupsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListListeners.go b/service/globalaccelerator/api_op_ListListeners.go index 0a4d6f36784..4fe51683175 100644 --- a/service/globalaccelerator/api_op_ListListeners.go +++ b/service/globalaccelerator/api_op_ListListeners.go @@ -88,7 +88,10 @@ func addOperationListListenersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ListTagsForResource.go b/service/globalaccelerator/api_op_ListTagsForResource.go index 3cb291cbef4..c4fa0830550 100644 --- a/service/globalaccelerator/api_op_ListTagsForResource.go +++ b/service/globalaccelerator/api_op_ListTagsForResource.go @@ -78,7 +78,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_ProvisionByoipCidr.go b/service/globalaccelerator/api_op_ProvisionByoipCidr.go index dee30f03f34..28dd12c687f 100644 --- a/service/globalaccelerator/api_op_ProvisionByoipCidr.go +++ b/service/globalaccelerator/api_op_ProvisionByoipCidr.go @@ -89,7 +89,10 @@ func addOperationProvisionByoipCidrMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go b/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go index f2cdb6b36a6..f2b78e75304 100644 --- a/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go +++ b/service/globalaccelerator/api_op_RemoveCustomRoutingEndpoints.go @@ -75,7 +75,10 @@ func addOperationRemoveCustomRoutingEndpointsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_TagResource.go b/service/globalaccelerator/api_op_TagResource.go index 610f27d3fbc..c98999bd94d 100644 --- a/service/globalaccelerator/api_op_TagResource.go +++ b/service/globalaccelerator/api_op_TagResource.go @@ -80,7 +80,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_UntagResource.go b/service/globalaccelerator/api_op_UntagResource.go index 9860dea8e12..53e42d48a35 100644 --- a/service/globalaccelerator/api_op_UntagResource.go +++ b/service/globalaccelerator/api_op_UntagResource.go @@ -80,7 +80,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_UpdateAccelerator.go b/service/globalaccelerator/api_op_UpdateAccelerator.go index eca849d3781..a354ff06319 100644 --- a/service/globalaccelerator/api_op_UpdateAccelerator.go +++ b/service/globalaccelerator/api_op_UpdateAccelerator.go @@ -89,7 +89,10 @@ func addOperationUpdateAcceleratorMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go b/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go index c8aa1e6cea7..4136844b289 100644 --- a/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_UpdateAcceleratorAttributes.go @@ -93,7 +93,10 @@ func addOperationUpdateAcceleratorAttributesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go b/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go index 52746d150e3..904ff2889ea 100644 --- a/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go +++ b/service/globalaccelerator/api_op_UpdateCustomRoutingAccelerator.go @@ -87,7 +87,10 @@ func addOperationUpdateCustomRoutingAcceleratorMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go b/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go index 611234d33b8..e2991b49d88 100644 --- a/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go +++ b/service/globalaccelerator/api_op_UpdateCustomRoutingAcceleratorAttributes.go @@ -94,7 +94,10 @@ func addOperationUpdateCustomRoutingAcceleratorAttributesMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go b/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go index 102c967f11a..7b34a4a7cb5 100644 --- a/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go +++ b/service/globalaccelerator/api_op_UpdateCustomRoutingListener.go @@ -83,7 +83,10 @@ func addOperationUpdateCustomRoutingListenerMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_UpdateEndpointGroup.go b/service/globalaccelerator/api_op_UpdateEndpointGroup.go index 47293bd92f8..aa5f0379ff8 100644 --- a/service/globalaccelerator/api_op_UpdateEndpointGroup.go +++ b/service/globalaccelerator/api_op_UpdateEndpointGroup.go @@ -118,7 +118,10 @@ func addOperationUpdateEndpointGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_UpdateListener.go b/service/globalaccelerator/api_op_UpdateListener.go index 3345d936184..b96fa4d85c8 100644 --- a/service/globalaccelerator/api_op_UpdateListener.go +++ b/service/globalaccelerator/api_op_UpdateListener.go @@ -98,7 +98,10 @@ func addOperationUpdateListenerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/globalaccelerator/api_op_WithdrawByoipCidr.go b/service/globalaccelerator/api_op_WithdrawByoipCidr.go index cb76bd37590..4e35bc8e65c 100644 --- a/service/globalaccelerator/api_op_WithdrawByoipCidr.go +++ b/service/globalaccelerator/api_op_WithdrawByoipCidr.go @@ -80,7 +80,10 @@ func addOperationWithdrawByoipCidrMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchCreatePartition.go b/service/glue/api_op_BatchCreatePartition.go index a6fae138a93..0f75d6b25f8 100644 --- a/service/glue/api_op_BatchCreatePartition.go +++ b/service/glue/api_op_BatchCreatePartition.go @@ -88,7 +88,10 @@ func addOperationBatchCreatePartitionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchDeleteConnection.go b/service/glue/api_op_BatchDeleteConnection.go index e2a668b0e0a..554177f4de4 100644 --- a/service/glue/api_op_BatchDeleteConnection.go +++ b/service/glue/api_op_BatchDeleteConnection.go @@ -82,7 +82,10 @@ func addOperationBatchDeleteConnectionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchDeletePartition.go b/service/glue/api_op_BatchDeletePartition.go index 2056d01127f..8ea35cc3ee9 100644 --- a/service/glue/api_op_BatchDeletePartition.go +++ b/service/glue/api_op_BatchDeletePartition.go @@ -88,7 +88,10 @@ func addOperationBatchDeletePartitionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchDeleteTable.go b/service/glue/api_op_BatchDeleteTable.go index ace120de939..1c1bc046867 100644 --- a/service/glue/api_op_BatchDeleteTable.go +++ b/service/glue/api_op_BatchDeleteTable.go @@ -90,7 +90,10 @@ func addOperationBatchDeleteTableMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchDeleteTableVersion.go b/service/glue/api_op_BatchDeleteTableVersion.go index 5c4c4bd8b86..be7bbbd7fcc 100644 --- a/service/glue/api_op_BatchDeleteTableVersion.go +++ b/service/glue/api_op_BatchDeleteTableVersion.go @@ -91,7 +91,10 @@ func addOperationBatchDeleteTableVersionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchGetCrawlers.go b/service/glue/api_op_BatchGetCrawlers.go index 5ce1ff358ce..c476ce57ea6 100644 --- a/service/glue/api_op_BatchGetCrawlers.go +++ b/service/glue/api_op_BatchGetCrawlers.go @@ -81,7 +81,10 @@ func addOperationBatchGetCrawlersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchGetDevEndpoints.go b/service/glue/api_op_BatchGetDevEndpoints.go index 7805e06f198..e5c1b50d638 100644 --- a/service/glue/api_op_BatchGetDevEndpoints.go +++ b/service/glue/api_op_BatchGetDevEndpoints.go @@ -81,7 +81,10 @@ func addOperationBatchGetDevEndpointsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchGetJobs.go b/service/glue/api_op_BatchGetJobs.go index 80f345f22f5..8b65ffa44ab 100644 --- a/service/glue/api_op_BatchGetJobs.go +++ b/service/glue/api_op_BatchGetJobs.go @@ -81,7 +81,10 @@ func addOperationBatchGetJobsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchGetPartition.go b/service/glue/api_op_BatchGetPartition.go index 16590e2f488..b850e0fd0e3 100644 --- a/service/glue/api_op_BatchGetPartition.go +++ b/service/glue/api_op_BatchGetPartition.go @@ -92,7 +92,10 @@ func addOperationBatchGetPartitionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchGetTriggers.go b/service/glue/api_op_BatchGetTriggers.go index 60bf0b56828..e67897bf9fb 100644 --- a/service/glue/api_op_BatchGetTriggers.go +++ b/service/glue/api_op_BatchGetTriggers.go @@ -81,7 +81,10 @@ func addOperationBatchGetTriggersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchGetWorkflows.go b/service/glue/api_op_BatchGetWorkflows.go index 4cd27eb13b4..cd2a6c6724d 100644 --- a/service/glue/api_op_BatchGetWorkflows.go +++ b/service/glue/api_op_BatchGetWorkflows.go @@ -85,7 +85,10 @@ func addOperationBatchGetWorkflowsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchStopJobRun.go b/service/glue/api_op_BatchStopJobRun.go index 93c00049c7e..af3c6b24996 100644 --- a/service/glue/api_op_BatchStopJobRun.go +++ b/service/glue/api_op_BatchStopJobRun.go @@ -83,7 +83,10 @@ func addOperationBatchStopJobRunMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_BatchUpdatePartition.go b/service/glue/api_op_BatchUpdatePartition.go index 23c09202e0a..1b08f100277 100644 --- a/service/glue/api_op_BatchUpdatePartition.go +++ b/service/glue/api_op_BatchUpdatePartition.go @@ -89,7 +89,10 @@ func addOperationBatchUpdatePartitionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CancelMLTaskRun.go b/service/glue/api_op_CancelMLTaskRun.go index ca6ee0777fe..c3cc4da6d74 100644 --- a/service/glue/api_op_CancelMLTaskRun.go +++ b/service/glue/api_op_CancelMLTaskRun.go @@ -89,7 +89,10 @@ func addOperationCancelMLTaskRunMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CheckSchemaVersionValidity.go b/service/glue/api_op_CheckSchemaVersionValidity.go index dfc0af0ff6e..3d701a26556 100644 --- a/service/glue/api_op_CheckSchemaVersionValidity.go +++ b/service/glue/api_op_CheckSchemaVersionValidity.go @@ -84,7 +84,10 @@ func addOperationCheckSchemaVersionValidityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateClassifier.go b/service/glue/api_op_CreateClassifier.go index eb4d73ddc39..3990df0425c 100644 --- a/service/glue/api_op_CreateClassifier.go +++ b/service/glue/api_op_CreateClassifier.go @@ -79,7 +79,10 @@ func addOperationCreateClassifierMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateConnection.go b/service/glue/api_op_CreateConnection.go index 5767a009ad7..b0f35c612e3 100644 --- a/service/glue/api_op_CreateConnection.go +++ b/service/glue/api_op_CreateConnection.go @@ -74,7 +74,10 @@ func addOperationCreateConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateCrawler.go b/service/glue/api_op_CreateCrawler.go index a3e64b59e3f..a7919c43394 100644 --- a/service/glue/api_op_CreateCrawler.go +++ b/service/glue/api_op_CreateCrawler.go @@ -129,7 +129,10 @@ func addOperationCreateCrawlerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateDatabase.go b/service/glue/api_op_CreateDatabase.go index d7904d344c2..18ccfbfb2ed 100644 --- a/service/glue/api_op_CreateDatabase.go +++ b/service/glue/api_op_CreateDatabase.go @@ -74,7 +74,10 @@ func addOperationCreateDatabaseMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateDevEndpoint.go b/service/glue/api_op_CreateDevEndpoint.go index 3535689926e..a5a55895581 100644 --- a/service/glue/api_op_CreateDevEndpoint.go +++ b/service/glue/api_op_CreateDevEndpoint.go @@ -241,7 +241,10 @@ func addOperationCreateDevEndpointMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateJob.go b/service/glue/api_op_CreateJob.go index da6f19b31f5..419e1261eb1 100644 --- a/service/glue/api_op_CreateJob.go +++ b/service/glue/api_op_CreateJob.go @@ -189,7 +189,10 @@ func addOperationCreateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateMLTransform.go b/service/glue/api_op_CreateMLTransform.go index edf851c0bd6..3019fb0c9bb 100644 --- a/service/glue/api_op_CreateMLTransform.go +++ b/service/glue/api_op_CreateMLTransform.go @@ -204,7 +204,10 @@ func addOperationCreateMLTransformMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreatePartition.go b/service/glue/api_op_CreatePartition.go index b7ffe1be1f9..57128ddcbfc 100644 --- a/service/glue/api_op_CreatePartition.go +++ b/service/glue/api_op_CreatePartition.go @@ -83,7 +83,10 @@ func addOperationCreatePartitionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreatePartitionIndex.go b/service/glue/api_op_CreatePartitionIndex.go index 81eb3d55af0..62818aee0af 100644 --- a/service/glue/api_op_CreatePartitionIndex.go +++ b/service/glue/api_op_CreatePartitionIndex.go @@ -84,7 +84,10 @@ func addOperationCreatePartitionIndexMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateRegistry.go b/service/glue/api_op_CreateRegistry.go index 650cdf0f99e..59c2f9d578e 100644 --- a/service/glue/api_op_CreateRegistry.go +++ b/service/glue/api_op_CreateRegistry.go @@ -91,7 +91,10 @@ func addOperationCreateRegistryMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateSchema.go b/service/glue/api_op_CreateSchema.go index 9e256958889..5f24ed5e526 100644 --- a/service/glue/api_op_CreateSchema.go +++ b/service/glue/api_op_CreateSchema.go @@ -190,7 +190,10 @@ func addOperationCreateSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateScript.go b/service/glue/api_op_CreateScript.go index bc84322eae3..99f1d9bdccc 100644 --- a/service/glue/api_op_CreateScript.go +++ b/service/glue/api_op_CreateScript.go @@ -81,7 +81,10 @@ func addOperationCreateScriptMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateSecurityConfiguration.go b/service/glue/api_op_CreateSecurityConfiguration.go index fb1e2060d0e..a325d2fd219 100644 --- a/service/glue/api_op_CreateSecurityConfiguration.go +++ b/service/glue/api_op_CreateSecurityConfiguration.go @@ -88,7 +88,10 @@ func addOperationCreateSecurityConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateTable.go b/service/glue/api_op_CreateTable.go index 94c5760262c..1deb0fb80d7 100644 --- a/service/glue/api_op_CreateTable.go +++ b/service/glue/api_op_CreateTable.go @@ -83,7 +83,10 @@ func addOperationCreateTableMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateTrigger.go b/service/glue/api_op_CreateTrigger.go index c24f5174cf5..c020b70e254 100644 --- a/service/glue/api_op_CreateTrigger.go +++ b/service/glue/api_op_CreateTrigger.go @@ -111,7 +111,10 @@ func addOperationCreateTriggerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateUserDefinedFunction.go b/service/glue/api_op_CreateUserDefinedFunction.go index 4e1a013b9ec..05f7b4760f7 100644 --- a/service/glue/api_op_CreateUserDefinedFunction.go +++ b/service/glue/api_op_CreateUserDefinedFunction.go @@ -79,7 +79,10 @@ func addOperationCreateUserDefinedFunctionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_CreateWorkflow.go b/service/glue/api_op_CreateWorkflow.go index 15b5d4e62a4..1c807d61ef4 100644 --- a/service/glue/api_op_CreateWorkflow.go +++ b/service/glue/api_op_CreateWorkflow.go @@ -89,7 +89,10 @@ func addOperationCreateWorkflowMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteClassifier.go b/service/glue/api_op_DeleteClassifier.go index 1e351aa4e54..b57eb2f137a 100644 --- a/service/glue/api_op_DeleteClassifier.go +++ b/service/glue/api_op_DeleteClassifier.go @@ -69,7 +69,10 @@ func addOperationDeleteClassifierMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteColumnStatisticsForPartition.go b/service/glue/api_op_DeleteColumnStatisticsForPartition.go index 3439eed0734..001d0bec709 100644 --- a/service/glue/api_op_DeleteColumnStatisticsForPartition.go +++ b/service/glue/api_op_DeleteColumnStatisticsForPartition.go @@ -89,7 +89,10 @@ func addOperationDeleteColumnStatisticsForPartitionMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteColumnStatisticsForTable.go b/service/glue/api_op_DeleteColumnStatisticsForTable.go index 48392d5b16e..05ba0795c22 100644 --- a/service/glue/api_op_DeleteColumnStatisticsForTable.go +++ b/service/glue/api_op_DeleteColumnStatisticsForTable.go @@ -84,7 +84,10 @@ func addOperationDeleteColumnStatisticsForTableMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteConnection.go b/service/glue/api_op_DeleteConnection.go index c1e86dc5fa6..e018c85fd7d 100644 --- a/service/glue/api_op_DeleteConnection.go +++ b/service/glue/api_op_DeleteConnection.go @@ -73,7 +73,10 @@ func addOperationDeleteConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteCrawler.go b/service/glue/api_op_DeleteCrawler.go index f92b9dda971..e6b15aacd49 100644 --- a/service/glue/api_op_DeleteCrawler.go +++ b/service/glue/api_op_DeleteCrawler.go @@ -70,7 +70,10 @@ func addOperationDeleteCrawlerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteDatabase.go b/service/glue/api_op_DeleteDatabase.go index b49bd6735b3..6a7fd8ff6e4 100644 --- a/service/glue/api_op_DeleteDatabase.go +++ b/service/glue/api_op_DeleteDatabase.go @@ -82,7 +82,10 @@ func addOperationDeleteDatabaseMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteDevEndpoint.go b/service/glue/api_op_DeleteDevEndpoint.go index 1e8084ad8fc..285db1b2304 100644 --- a/service/glue/api_op_DeleteDevEndpoint.go +++ b/service/glue/api_op_DeleteDevEndpoint.go @@ -69,7 +69,10 @@ func addOperationDeleteDevEndpointMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteJob.go b/service/glue/api_op_DeleteJob.go index 1f1e3e4388f..bb8cc648b97 100644 --- a/service/glue/api_op_DeleteJob.go +++ b/service/glue/api_op_DeleteJob.go @@ -74,7 +74,10 @@ func addOperationDeleteJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteMLTransform.go b/service/glue/api_op_DeleteMLTransform.go index 644ba690925..470a48ffbef 100644 --- a/service/glue/api_op_DeleteMLTransform.go +++ b/service/glue/api_op_DeleteMLTransform.go @@ -78,7 +78,10 @@ func addOperationDeleteMLTransformMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeletePartition.go b/service/glue/api_op_DeletePartition.go index b479c33dbea..054637a6429 100644 --- a/service/glue/api_op_DeletePartition.go +++ b/service/glue/api_op_DeletePartition.go @@ -83,7 +83,10 @@ func addOperationDeletePartitionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeletePartitionIndex.go b/service/glue/api_op_DeletePartitionIndex.go index 8698080594e..7010bc2872a 100644 --- a/service/glue/api_op_DeletePartitionIndex.go +++ b/service/glue/api_op_DeletePartitionIndex.go @@ -83,7 +83,10 @@ func addOperationDeletePartitionIndexMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteRegistry.go b/service/glue/api_op_DeleteRegistry.go index 86ff810319a..492af4740bf 100644 --- a/service/glue/api_op_DeleteRegistry.go +++ b/service/glue/api_op_DeleteRegistry.go @@ -86,7 +86,10 @@ func addOperationDeleteRegistryMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteResourcePolicy.go b/service/glue/api_op_DeleteResourcePolicy.go index 0addcbafd29..b2742791121 100644 --- a/service/glue/api_op_DeleteResourcePolicy.go +++ b/service/glue/api_op_DeleteResourcePolicy.go @@ -70,7 +70,10 @@ func addOperationDeleteResourcePolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteSchema.go b/service/glue/api_op_DeleteSchema.go index 4e17064edb3..20732d89838 100644 --- a/service/glue/api_op_DeleteSchema.go +++ b/service/glue/api_op_DeleteSchema.go @@ -84,7 +84,10 @@ func addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteSchemaVersions.go b/service/glue/api_op_DeleteSchemaVersions.go index 861663b0fc9..e7376fa7c3d 100644 --- a/service/glue/api_op_DeleteSchemaVersions.go +++ b/service/glue/api_op_DeleteSchemaVersions.go @@ -98,7 +98,10 @@ func addOperationDeleteSchemaVersionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteSecurityConfiguration.go b/service/glue/api_op_DeleteSecurityConfiguration.go index 15c02f5183b..99e193bd85d 100644 --- a/service/glue/api_op_DeleteSecurityConfiguration.go +++ b/service/glue/api_op_DeleteSecurityConfiguration.go @@ -69,7 +69,10 @@ func addOperationDeleteSecurityConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteTable.go b/service/glue/api_op_DeleteTable.go index b7ec74b249f..2b097a5f068 100644 --- a/service/glue/api_op_DeleteTable.go +++ b/service/glue/api_op_DeleteTable.go @@ -86,7 +86,10 @@ func addOperationDeleteTableMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteTableVersion.go b/service/glue/api_op_DeleteTableVersion.go index 9e27b0e0a10..c1c3f7fa6ed 100644 --- a/service/glue/api_op_DeleteTableVersion.go +++ b/service/glue/api_op_DeleteTableVersion.go @@ -85,7 +85,10 @@ func addOperationDeleteTableVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteTrigger.go b/service/glue/api_op_DeleteTrigger.go index 4f3f7abe96f..80cd7eb63c2 100644 --- a/service/glue/api_op_DeleteTrigger.go +++ b/service/glue/api_op_DeleteTrigger.go @@ -74,7 +74,10 @@ func addOperationDeleteTriggerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteUserDefinedFunction.go b/service/glue/api_op_DeleteUserDefinedFunction.go index 72aa0362ba7..8f086634c26 100644 --- a/service/glue/api_op_DeleteUserDefinedFunction.go +++ b/service/glue/api_op_DeleteUserDefinedFunction.go @@ -78,7 +78,10 @@ func addOperationDeleteUserDefinedFunctionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_DeleteWorkflow.go b/service/glue/api_op_DeleteWorkflow.go index c24ff957903..0f12facffaa 100644 --- a/service/glue/api_op_DeleteWorkflow.go +++ b/service/glue/api_op_DeleteWorkflow.go @@ -73,7 +73,10 @@ func addOperationDeleteWorkflowMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetCatalogImportStatus.go b/service/glue/api_op_GetCatalogImportStatus.go index e545530bde6..bfc9b8f13b5 100644 --- a/service/glue/api_op_GetCatalogImportStatus.go +++ b/service/glue/api_op_GetCatalogImportStatus.go @@ -72,7 +72,10 @@ func addOperationGetCatalogImportStatusMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetClassifier.go b/service/glue/api_op_GetClassifier.go index 5438ae46a39..7a27ae1104b 100644 --- a/service/glue/api_op_GetClassifier.go +++ b/service/glue/api_op_GetClassifier.go @@ -74,7 +74,10 @@ func addOperationGetClassifierMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetClassifiers.go b/service/glue/api_op_GetClassifiers.go index 92bb9b60297..0e83d3666ee 100644 --- a/service/glue/api_op_GetClassifiers.go +++ b/service/glue/api_op_GetClassifiers.go @@ -79,7 +79,10 @@ func addOperationGetClassifiersMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetColumnStatisticsForPartition.go b/service/glue/api_op_GetColumnStatisticsForPartition.go index 9fffaed38d1..b58e40e0106 100644 --- a/service/glue/api_op_GetColumnStatisticsForPartition.go +++ b/service/glue/api_op_GetColumnStatisticsForPartition.go @@ -97,7 +97,10 @@ func addOperationGetColumnStatisticsForPartitionMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetColumnStatisticsForTable.go b/service/glue/api_op_GetColumnStatisticsForTable.go index fd20b539530..759e9eede25 100644 --- a/service/glue/api_op_GetColumnStatisticsForTable.go +++ b/service/glue/api_op_GetColumnStatisticsForTable.go @@ -92,7 +92,10 @@ func addOperationGetColumnStatisticsForTableMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetConnection.go b/service/glue/api_op_GetConnection.go index 4f297f96be5..ce5e08d5902 100644 --- a/service/glue/api_op_GetConnection.go +++ b/service/glue/api_op_GetConnection.go @@ -85,7 +85,10 @@ func addOperationGetConnectionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetConnections.go b/service/glue/api_op_GetConnections.go index f05fe5c9e98..424189a0e86 100644 --- a/service/glue/api_op_GetConnections.go +++ b/service/glue/api_op_GetConnections.go @@ -94,7 +94,10 @@ func addOperationGetConnectionsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetCrawler.go b/service/glue/api_op_GetCrawler.go index 9a2f24dcd3f..01dc8f1a030 100644 --- a/service/glue/api_op_GetCrawler.go +++ b/service/glue/api_op_GetCrawler.go @@ -74,7 +74,10 @@ func addOperationGetCrawlerMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetCrawlerMetrics.go b/service/glue/api_op_GetCrawlerMetrics.go index 5f32f96ef03..5b42f28bcc6 100644 --- a/service/glue/api_op_GetCrawlerMetrics.go +++ b/service/glue/api_op_GetCrawlerMetrics.go @@ -83,7 +83,10 @@ func addOperationGetCrawlerMetricsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetCrawlers.go b/service/glue/api_op_GetCrawlers.go index 07dfc01ce3a..bb8345cab1a 100644 --- a/service/glue/api_op_GetCrawlers.go +++ b/service/glue/api_op_GetCrawlers.go @@ -80,7 +80,10 @@ func addOperationGetCrawlersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetDataCatalogEncryptionSettings.go b/service/glue/api_op_GetDataCatalogEncryptionSettings.go index 8157b6700ce..27c71413589 100644 --- a/service/glue/api_op_GetDataCatalogEncryptionSettings.go +++ b/service/glue/api_op_GetDataCatalogEncryptionSettings.go @@ -73,7 +73,10 @@ func addOperationGetDataCatalogEncryptionSettingsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetDatabase.go b/service/glue/api_op_GetDatabase.go index 72c33c06b26..3bad923cf58 100644 --- a/service/glue/api_op_GetDatabase.go +++ b/service/glue/api_op_GetDatabase.go @@ -79,7 +79,10 @@ func addOperationGetDatabaseMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetDatabases.go b/service/glue/api_op_GetDatabases.go index c7278b436f4..09e392f68d0 100644 --- a/service/glue/api_op_GetDatabases.go +++ b/service/glue/api_op_GetDatabases.go @@ -97,7 +97,10 @@ func addOperationGetDatabasesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetDataflowGraph.go b/service/glue/api_op_GetDataflowGraph.go index c66de577050..45ad90c538d 100644 --- a/service/glue/api_op_GetDataflowGraph.go +++ b/service/glue/api_op_GetDataflowGraph.go @@ -75,7 +75,10 @@ func addOperationGetDataflowGraphMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetDevEndpoint.go b/service/glue/api_op_GetDevEndpoint.go index 8acfb71c4b1..adc4943326d 100644 --- a/service/glue/api_op_GetDevEndpoint.go +++ b/service/glue/api_op_GetDevEndpoint.go @@ -78,7 +78,10 @@ func addOperationGetDevEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetDevEndpoints.go b/service/glue/api_op_GetDevEndpoints.go index 48968cff351..eb9306c9fe9 100644 --- a/service/glue/api_op_GetDevEndpoints.go +++ b/service/glue/api_op_GetDevEndpoints.go @@ -83,7 +83,10 @@ func addOperationGetDevEndpointsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetJob.go b/service/glue/api_op_GetJob.go index 2f381afdc64..3bf3bb25041 100644 --- a/service/glue/api_op_GetJob.go +++ b/service/glue/api_op_GetJob.go @@ -74,7 +74,10 @@ func addOperationGetJobMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetJobBookmark.go b/service/glue/api_op_GetJobBookmark.go index 9a93e8b9ddb..4617220b59a 100644 --- a/service/glue/api_op_GetJobBookmark.go +++ b/service/glue/api_op_GetJobBookmark.go @@ -77,7 +77,10 @@ func addOperationGetJobBookmarkMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetJobRun.go b/service/glue/api_op_GetJobRun.go index dd5bd945912..ed090e1a489 100644 --- a/service/glue/api_op_GetJobRun.go +++ b/service/glue/api_op_GetJobRun.go @@ -82,7 +82,10 @@ func addOperationGetJobRunMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetJobRuns.go b/service/glue/api_op_GetJobRuns.go index 378bffbd1ce..21a78b35a52 100644 --- a/service/glue/api_op_GetJobRuns.go +++ b/service/glue/api_op_GetJobRuns.go @@ -84,7 +84,10 @@ func addOperationGetJobRunsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetJobs.go b/service/glue/api_op_GetJobs.go index 779bb487f51..1ab08ec1a8d 100644 --- a/service/glue/api_op_GetJobs.go +++ b/service/glue/api_op_GetJobs.go @@ -79,7 +79,10 @@ func addOperationGetJobsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetMLTaskRun.go b/service/glue/api_op_GetMLTaskRun.go index ecf36a3a2c4..516dcdf679b 100644 --- a/service/glue/api_op_GetMLTaskRun.go +++ b/service/glue/api_op_GetMLTaskRun.go @@ -111,7 +111,10 @@ func addOperationGetMLTaskRunMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetMLTaskRuns.go b/service/glue/api_op_GetMLTaskRuns.go index ea1d1090f19..1a48e1a5896 100644 --- a/service/glue/api_op_GetMLTaskRuns.go +++ b/service/glue/api_op_GetMLTaskRuns.go @@ -95,7 +95,10 @@ func addOperationGetMLTaskRunsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetMLTransform.go b/service/glue/api_op_GetMLTransform.go index 7dd13cd5e2e..6e675033c70 100644 --- a/service/glue/api_op_GetMLTransform.go +++ b/service/glue/api_op_GetMLTransform.go @@ -166,7 +166,10 @@ func addOperationGetMLTransformMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetMLTransforms.go b/service/glue/api_op_GetMLTransforms.go index dc7e111fa08..0cca75988de 100644 --- a/service/glue/api_op_GetMLTransforms.go +++ b/service/glue/api_op_GetMLTransforms.go @@ -91,7 +91,10 @@ func addOperationGetMLTransformsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetMapping.go b/service/glue/api_op_GetMapping.go index 8bb62c3f055..c7b332f519d 100644 --- a/service/glue/api_op_GetMapping.go +++ b/service/glue/api_op_GetMapping.go @@ -82,7 +82,10 @@ func addOperationGetMappingMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetPartition.go b/service/glue/api_op_GetPartition.go index d4a96edd0c6..e3c17d0aa7f 100644 --- a/service/glue/api_op_GetPartition.go +++ b/service/glue/api_op_GetPartition.go @@ -88,7 +88,10 @@ func addOperationGetPartitionMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetPartitionIndexes.go b/service/glue/api_op_GetPartitionIndexes.go index ab1d7eb84bc..6a3efe1c62a 100644 --- a/service/glue/api_op_GetPartitionIndexes.go +++ b/service/glue/api_op_GetPartitionIndexes.go @@ -91,7 +91,10 @@ func addOperationGetPartitionIndexesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetPartitions.go b/service/glue/api_op_GetPartitions.go index 72bc881ccc8..3413e0d942f 100644 --- a/service/glue/api_op_GetPartitions.go +++ b/service/glue/api_op_GetPartitions.go @@ -144,7 +144,10 @@ func addOperationGetPartitionsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetPlan.go b/service/glue/api_op_GetPlan.go index 7ac812f33b6..9c9146136bd 100644 --- a/service/glue/api_op_GetPlan.go +++ b/service/glue/api_op_GetPlan.go @@ -100,7 +100,10 @@ func addOperationGetPlanMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetRegistry.go b/service/glue/api_op_GetRegistry.go index 8274a4bcc6b..da574adfaa6 100644 --- a/service/glue/api_op_GetRegistry.go +++ b/service/glue/api_op_GetRegistry.go @@ -90,7 +90,10 @@ func addOperationGetRegistryMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetResourcePolicies.go b/service/glue/api_op_GetResourcePolicies.go index d23bf3dc5f6..2805a45fa3f 100644 --- a/service/glue/api_op_GetResourcePolicies.go +++ b/service/glue/api_op_GetResourcePolicies.go @@ -85,7 +85,10 @@ func addOperationGetResourcePoliciesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetResourcePolicy.go b/service/glue/api_op_GetResourcePolicy.go index f1ca184b766..01dc94661d0 100644 --- a/service/glue/api_op_GetResourcePolicy.go +++ b/service/glue/api_op_GetResourcePolicy.go @@ -84,7 +84,10 @@ func addOperationGetResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetSchema.go b/service/glue/api_op_GetSchema.go index 4dc80242181..ff597f8800c 100644 --- a/service/glue/api_op_GetSchema.go +++ b/service/glue/api_op_GetSchema.go @@ -119,7 +119,10 @@ func addOperationGetSchemaMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetSchemaByDefinition.go b/service/glue/api_op_GetSchemaByDefinition.go index 8a00d61c3a3..3144c077414 100644 --- a/service/glue/api_op_GetSchemaByDefinition.go +++ b/service/glue/api_op_GetSchemaByDefinition.go @@ -103,7 +103,10 @@ func addOperationGetSchemaByDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetSchemaVersion.go b/service/glue/api_op_GetSchemaVersion.go index 326a17a725c..c016e2c72d0 100644 --- a/service/glue/api_op_GetSchemaVersion.go +++ b/service/glue/api_op_GetSchemaVersion.go @@ -107,7 +107,10 @@ func addOperationGetSchemaVersionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetSchemaVersionsDiff.go b/service/glue/api_op_GetSchemaVersionsDiff.go index 28a48ce3cfb..2cbe5056f7a 100644 --- a/service/glue/api_op_GetSchemaVersionsDiff.go +++ b/service/glue/api_op_GetSchemaVersionsDiff.go @@ -99,7 +99,10 @@ func addOperationGetSchemaVersionsDiffMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetSecurityConfiguration.go b/service/glue/api_op_GetSecurityConfiguration.go index cc0b38abfce..d91ffa81f58 100644 --- a/service/glue/api_op_GetSecurityConfiguration.go +++ b/service/glue/api_op_GetSecurityConfiguration.go @@ -74,7 +74,10 @@ func addOperationGetSecurityConfigurationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetSecurityConfigurations.go b/service/glue/api_op_GetSecurityConfigurations.go index 97a369f682c..868204d6374 100644 --- a/service/glue/api_op_GetSecurityConfigurations.go +++ b/service/glue/api_op_GetSecurityConfigurations.go @@ -79,7 +79,10 @@ func addOperationGetSecurityConfigurationsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetTable.go b/service/glue/api_op_GetTable.go index bc138e86036..a94788dffab 100644 --- a/service/glue/api_op_GetTable.go +++ b/service/glue/api_op_GetTable.go @@ -85,7 +85,10 @@ func addOperationGetTableMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetTableVersion.go b/service/glue/api_op_GetTableVersion.go index 6642791e013..60a5ddf3602 100644 --- a/service/glue/api_op_GetTableVersion.go +++ b/service/glue/api_op_GetTableVersion.go @@ -88,7 +88,10 @@ func addOperationGetTableVersionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetTableVersions.go b/service/glue/api_op_GetTableVersions.go index 47c3e89710d..deb59c7e621 100644 --- a/service/glue/api_op_GetTableVersions.go +++ b/service/glue/api_op_GetTableVersions.go @@ -96,7 +96,10 @@ func addOperationGetTableVersionsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetTables.go b/service/glue/api_op_GetTables.go index 18aafbf7188..6b560183ec4 100644 --- a/service/glue/api_op_GetTables.go +++ b/service/glue/api_op_GetTables.go @@ -93,7 +93,10 @@ func addOperationGetTablesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetTags.go b/service/glue/api_op_GetTags.go index 824eeb1f3ba..b278c2ff7a5 100644 --- a/service/glue/api_op_GetTags.go +++ b/service/glue/api_op_GetTags.go @@ -73,7 +73,10 @@ func addOperationGetTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetTrigger.go b/service/glue/api_op_GetTrigger.go index 8594bf50bca..128d751be11 100644 --- a/service/glue/api_op_GetTrigger.go +++ b/service/glue/api_op_GetTrigger.go @@ -74,7 +74,10 @@ func addOperationGetTriggerMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetTriggers.go b/service/glue/api_op_GetTriggers.go index 5f6875807c1..5efa03e47de 100644 --- a/service/glue/api_op_GetTriggers.go +++ b/service/glue/api_op_GetTriggers.go @@ -83,7 +83,10 @@ func addOperationGetTriggersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetUserDefinedFunction.go b/service/glue/api_op_GetUserDefinedFunction.go index ed2c8fbc0e7..2f8690601c3 100644 --- a/service/glue/api_op_GetUserDefinedFunction.go +++ b/service/glue/api_op_GetUserDefinedFunction.go @@ -83,7 +83,10 @@ func addOperationGetUserDefinedFunctionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetUserDefinedFunctions.go b/service/glue/api_op_GetUserDefinedFunctions.go index 9868d15921f..649c11a744c 100644 --- a/service/glue/api_op_GetUserDefinedFunctions.go +++ b/service/glue/api_op_GetUserDefinedFunctions.go @@ -94,7 +94,10 @@ func addOperationGetUserDefinedFunctionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetWorkflow.go b/service/glue/api_op_GetWorkflow.go index 4b8973fa2fa..a60c62fec8f 100644 --- a/service/glue/api_op_GetWorkflow.go +++ b/service/glue/api_op_GetWorkflow.go @@ -78,7 +78,10 @@ func addOperationGetWorkflowMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetWorkflowRun.go b/service/glue/api_op_GetWorkflowRun.go index ef4390f1d33..5a9c24e927f 100644 --- a/service/glue/api_op_GetWorkflowRun.go +++ b/service/glue/api_op_GetWorkflowRun.go @@ -82,7 +82,10 @@ func addOperationGetWorkflowRunMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetWorkflowRunProperties.go b/service/glue/api_op_GetWorkflowRunProperties.go index 4315815227d..d285233e6c8 100644 --- a/service/glue/api_op_GetWorkflowRunProperties.go +++ b/service/glue/api_op_GetWorkflowRunProperties.go @@ -78,7 +78,10 @@ func addOperationGetWorkflowRunPropertiesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_GetWorkflowRuns.go b/service/glue/api_op_GetWorkflowRuns.go index f8f86ba6957..ac9b8076adc 100644 --- a/service/glue/api_op_GetWorkflowRuns.go +++ b/service/glue/api_op_GetWorkflowRuns.go @@ -87,7 +87,10 @@ func addOperationGetWorkflowRunsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ImportCatalogToGlue.go b/service/glue/api_op_ImportCatalogToGlue.go index 939b6dd3464..0cfb9438f10 100644 --- a/service/glue/api_op_ImportCatalogToGlue.go +++ b/service/glue/api_op_ImportCatalogToGlue.go @@ -67,7 +67,10 @@ func addOperationImportCatalogToGlueMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ListCrawlers.go b/service/glue/api_op_ListCrawlers.go index b4f581a1fd1..d08647e2700 100644 --- a/service/glue/api_op_ListCrawlers.go +++ b/service/glue/api_op_ListCrawlers.go @@ -88,7 +88,10 @@ func addOperationListCrawlersMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ListDevEndpoints.go b/service/glue/api_op_ListDevEndpoints.go index 502d21abf15..d2cef473792 100644 --- a/service/glue/api_op_ListDevEndpoints.go +++ b/service/glue/api_op_ListDevEndpoints.go @@ -88,7 +88,10 @@ func addOperationListDevEndpointsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ListJobs.go b/service/glue/api_op_ListJobs.go index 098fa36dd0c..6e99bdd4183 100644 --- a/service/glue/api_op_ListJobs.go +++ b/service/glue/api_op_ListJobs.go @@ -87,7 +87,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ListMLTransforms.go b/service/glue/api_op_ListMLTransforms.go index 7764962ad4f..9baa512cd0c 100644 --- a/service/glue/api_op_ListMLTransforms.go +++ b/service/glue/api_op_ListMLTransforms.go @@ -96,7 +96,10 @@ func addOperationListMLTransformsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ListRegistries.go b/service/glue/api_op_ListRegistries.go index f54ee459e5e..eeca63f6522 100644 --- a/service/glue/api_op_ListRegistries.go +++ b/service/glue/api_op_ListRegistries.go @@ -84,7 +84,10 @@ func addOperationListRegistriesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ListSchemaVersions.go b/service/glue/api_op_ListSchemaVersions.go index 013f6bddb66..149cdca3054 100644 --- a/service/glue/api_op_ListSchemaVersions.go +++ b/service/glue/api_op_ListSchemaVersions.go @@ -97,7 +97,10 @@ func addOperationListSchemaVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ListSchemas.go b/service/glue/api_op_ListSchemas.go index a573cce5096..c7b14d7a564 100644 --- a/service/glue/api_op_ListSchemas.go +++ b/service/glue/api_op_ListSchemas.go @@ -88,7 +88,10 @@ func addOperationListSchemasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ListTriggers.go b/service/glue/api_op_ListTriggers.go index 77ef3b7d0d7..93a2b435893 100644 --- a/service/glue/api_op_ListTriggers.go +++ b/service/glue/api_op_ListTriggers.go @@ -92,7 +92,10 @@ func addOperationListTriggersMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ListWorkflows.go b/service/glue/api_op_ListWorkflows.go index 5f27b1579bf..9fd11ef8e75 100644 --- a/service/glue/api_op_ListWorkflows.go +++ b/service/glue/api_op_ListWorkflows.go @@ -78,7 +78,10 @@ func addOperationListWorkflowsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_PutDataCatalogEncryptionSettings.go b/service/glue/api_op_PutDataCatalogEncryptionSettings.go index f8809fc6c24..cadfce17dc7 100644 --- a/service/glue/api_op_PutDataCatalogEncryptionSettings.go +++ b/service/glue/api_op_PutDataCatalogEncryptionSettings.go @@ -76,7 +76,10 @@ func addOperationPutDataCatalogEncryptionSettingsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_PutResourcePolicy.go b/service/glue/api_op_PutResourcePolicy.go index b8193abc649..f656905f6f9 100644 --- a/service/glue/api_op_PutResourcePolicy.go +++ b/service/glue/api_op_PutResourcePolicy.go @@ -98,7 +98,10 @@ func addOperationPutResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_PutSchemaVersionMetadata.go b/service/glue/api_op_PutSchemaVersionMetadata.go index f5da401f501..712cae322ae 100644 --- a/service/glue/api_op_PutSchemaVersionMetadata.go +++ b/service/glue/api_op_PutSchemaVersionMetadata.go @@ -106,7 +106,10 @@ func addOperationPutSchemaVersionMetadataMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_PutWorkflowRunProperties.go b/service/glue/api_op_PutWorkflowRunProperties.go index a337e9980f1..bc353977d28 100644 --- a/service/glue/api_op_PutWorkflowRunProperties.go +++ b/service/glue/api_op_PutWorkflowRunProperties.go @@ -81,7 +81,10 @@ func addOperationPutWorkflowRunPropertiesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_QuerySchemaVersionMetadata.go b/service/glue/api_op_QuerySchemaVersionMetadata.go index 66bf6916607..076829dcce2 100644 --- a/service/glue/api_op_QuerySchemaVersionMetadata.go +++ b/service/glue/api_op_QuerySchemaVersionMetadata.go @@ -97,7 +97,10 @@ func addOperationQuerySchemaVersionMetadataMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_RegisterSchemaVersion.go b/service/glue/api_op_RegisterSchemaVersion.go index 40aee15b8f6..60a984d6a6c 100644 --- a/service/glue/api_op_RegisterSchemaVersion.go +++ b/service/glue/api_op_RegisterSchemaVersion.go @@ -103,7 +103,10 @@ func addOperationRegisterSchemaVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_RemoveSchemaVersionMetadata.go b/service/glue/api_op_RemoveSchemaVersionMetadata.go index 4e4a627060b..a6535d7cd04 100644 --- a/service/glue/api_op_RemoveSchemaVersionMetadata.go +++ b/service/glue/api_op_RemoveSchemaVersionMetadata.go @@ -106,7 +106,10 @@ func addOperationRemoveSchemaVersionMetadataMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ResetJobBookmark.go b/service/glue/api_op_ResetJobBookmark.go index b6fcd530486..a6bad727504 100644 --- a/service/glue/api_op_ResetJobBookmark.go +++ b/service/glue/api_op_ResetJobBookmark.go @@ -77,7 +77,10 @@ func addOperationResetJobBookmarkMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_ResumeWorkflowRun.go b/service/glue/api_op_ResumeWorkflowRun.go index b7329785c6e..ddcc11c000d 100644 --- a/service/glue/api_op_ResumeWorkflowRun.go +++ b/service/glue/api_op_ResumeWorkflowRun.go @@ -90,7 +90,10 @@ func addOperationResumeWorkflowRunMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_SearchTables.go b/service/glue/api_op_SearchTables.go index 3807fd01be8..f5135b5c398 100644 --- a/service/glue/api_op_SearchTables.go +++ b/service/glue/api_op_SearchTables.go @@ -120,7 +120,10 @@ func addOperationSearchTablesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StartCrawler.go b/service/glue/api_op_StartCrawler.go index 75b83ff46e9..f9662607bd1 100644 --- a/service/glue/api_op_StartCrawler.go +++ b/service/glue/api_op_StartCrawler.go @@ -71,7 +71,10 @@ func addOperationStartCrawlerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StartCrawlerSchedule.go b/service/glue/api_op_StartCrawlerSchedule.go index 7b968939b57..f8dc9d6288b 100644 --- a/service/glue/api_op_StartCrawlerSchedule.go +++ b/service/glue/api_op_StartCrawlerSchedule.go @@ -70,7 +70,10 @@ func addOperationStartCrawlerScheduleMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StartExportLabelsTaskRun.go b/service/glue/api_op_StartExportLabelsTaskRun.go index 58b2ea16d5b..53f070e867e 100644 --- a/service/glue/api_op_StartExportLabelsTaskRun.go +++ b/service/glue/api_op_StartExportLabelsTaskRun.go @@ -86,7 +86,10 @@ func addOperationStartExportLabelsTaskRunMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StartImportLabelsTaskRun.go b/service/glue/api_op_StartImportLabelsTaskRun.go index 8fbc6eac6f4..f91062f65ed 100644 --- a/service/glue/api_op_StartImportLabelsTaskRun.go +++ b/service/glue/api_op_StartImportLabelsTaskRun.go @@ -103,7 +103,10 @@ func addOperationStartImportLabelsTaskRunMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StartJobRun.go b/service/glue/api_op_StartJobRun.go index e8b2e52aa1b..3f26d923a85 100644 --- a/service/glue/api_op_StartJobRun.go +++ b/service/glue/api_op_StartJobRun.go @@ -148,7 +148,10 @@ func addOperationStartJobRunMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StartMLEvaluationTaskRun.go b/service/glue/api_op_StartMLEvaluationTaskRun.go index 3872304fbbe..751e3eca81b 100644 --- a/service/glue/api_op_StartMLEvaluationTaskRun.go +++ b/service/glue/api_op_StartMLEvaluationTaskRun.go @@ -77,7 +77,10 @@ func addOperationStartMLEvaluationTaskRunMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go b/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go index a12b20099d2..7ad76791a16 100644 --- a/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go +++ b/service/glue/api_op_StartMLLabelingSetGenerationTaskRun.go @@ -88,7 +88,10 @@ func addOperationStartMLLabelingSetGenerationTaskRunMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StartTrigger.go b/service/glue/api_op_StartTrigger.go index f19149417fd..e7943eeece5 100644 --- a/service/glue/api_op_StartTrigger.go +++ b/service/glue/api_op_StartTrigger.go @@ -75,7 +75,10 @@ func addOperationStartTriggerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StartWorkflowRun.go b/service/glue/api_op_StartWorkflowRun.go index 9ea6e3e61b4..d7b210949c7 100644 --- a/service/glue/api_op_StartWorkflowRun.go +++ b/service/glue/api_op_StartWorkflowRun.go @@ -73,7 +73,10 @@ func addOperationStartWorkflowRunMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StopCrawler.go b/service/glue/api_op_StopCrawler.go index 0ccf6849383..78a594d3d49 100644 --- a/service/glue/api_op_StopCrawler.go +++ b/service/glue/api_op_StopCrawler.go @@ -69,7 +69,10 @@ func addOperationStopCrawlerMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StopCrawlerSchedule.go b/service/glue/api_op_StopCrawlerSchedule.go index c2803257c02..256cb116280 100644 --- a/service/glue/api_op_StopCrawlerSchedule.go +++ b/service/glue/api_op_StopCrawlerSchedule.go @@ -70,7 +70,10 @@ func addOperationStopCrawlerScheduleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StopTrigger.go b/service/glue/api_op_StopTrigger.go index b6bba29e2e8..5dda050a132 100644 --- a/service/glue/api_op_StopTrigger.go +++ b/service/glue/api_op_StopTrigger.go @@ -73,7 +73,10 @@ func addOperationStopTriggerMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_StopWorkflowRun.go b/service/glue/api_op_StopWorkflowRun.go index bc6b326b115..d399bebd1e6 100644 --- a/service/glue/api_op_StopWorkflowRun.go +++ b/service/glue/api_op_StopWorkflowRun.go @@ -74,7 +74,10 @@ func addOperationStopWorkflowRunMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_TagResource.go b/service/glue/api_op_TagResource.go index 1987dc1c263..6aff2231e8e 100644 --- a/service/glue/api_op_TagResource.go +++ b/service/glue/api_op_TagResource.go @@ -79,7 +79,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UntagResource.go b/service/glue/api_op_UntagResource.go index 0f64aa33c14..e1b074fad73 100644 --- a/service/glue/api_op_UntagResource.go +++ b/service/glue/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateClassifier.go b/service/glue/api_op_UpdateClassifier.go index b9ed4bc1c43..a890c647f3e 100644 --- a/service/glue/api_op_UpdateClassifier.go +++ b/service/glue/api_op_UpdateClassifier.go @@ -78,7 +78,10 @@ func addOperationUpdateClassifierMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateColumnStatisticsForPartition.go b/service/glue/api_op_UpdateColumnStatisticsForPartition.go index 3296bee4786..24ba0685c46 100644 --- a/service/glue/api_op_UpdateColumnStatisticsForPartition.go +++ b/service/glue/api_op_UpdateColumnStatisticsForPartition.go @@ -94,7 +94,10 @@ func addOperationUpdateColumnStatisticsForPartitionMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateColumnStatisticsForTable.go b/service/glue/api_op_UpdateColumnStatisticsForTable.go index 38a1cf7a15c..659d97eb7cb 100644 --- a/service/glue/api_op_UpdateColumnStatisticsForTable.go +++ b/service/glue/api_op_UpdateColumnStatisticsForTable.go @@ -89,7 +89,10 @@ func addOperationUpdateColumnStatisticsForTableMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateConnection.go b/service/glue/api_op_UpdateConnection.go index 0c713056726..998bb78cf68 100644 --- a/service/glue/api_op_UpdateConnection.go +++ b/service/glue/api_op_UpdateConnection.go @@ -79,7 +79,10 @@ func addOperationUpdateConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateCrawler.go b/service/glue/api_op_UpdateCrawler.go index d183f8d5db5..bb4c83c81e6 100644 --- a/service/glue/api_op_UpdateCrawler.go +++ b/service/glue/api_op_UpdateCrawler.go @@ -118,7 +118,10 @@ func addOperationUpdateCrawlerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateCrawlerSchedule.go b/service/glue/api_op_UpdateCrawlerSchedule.go index 86e8073d3c1..4295bc8f77e 100644 --- a/service/glue/api_op_UpdateCrawlerSchedule.go +++ b/service/glue/api_op_UpdateCrawlerSchedule.go @@ -76,7 +76,10 @@ func addOperationUpdateCrawlerScheduleMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateDatabase.go b/service/glue/api_op_UpdateDatabase.go index 1acb4b78743..a3a02d3eb53 100644 --- a/service/glue/api_op_UpdateDatabase.go +++ b/service/glue/api_op_UpdateDatabase.go @@ -81,7 +81,10 @@ func addOperationUpdateDatabaseMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateDevEndpoint.go b/service/glue/api_op_UpdateDevEndpoint.go index 8969fdf4052..e764fc5a47a 100644 --- a/service/glue/api_op_UpdateDevEndpoint.go +++ b/service/glue/api_op_UpdateDevEndpoint.go @@ -106,7 +106,10 @@ func addOperationUpdateDevEndpointMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateJob.go b/service/glue/api_op_UpdateJob.go index 73e9a544ac8..c55759f84b9 100644 --- a/service/glue/api_op_UpdateJob.go +++ b/service/glue/api_op_UpdateJob.go @@ -79,7 +79,10 @@ func addOperationUpdateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateMLTransform.go b/service/glue/api_op_UpdateMLTransform.go index 4a9d633602f..c3a28d0f857 100644 --- a/service/glue/api_op_UpdateMLTransform.go +++ b/service/glue/api_op_UpdateMLTransform.go @@ -136,7 +136,10 @@ func addOperationUpdateMLTransformMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdatePartition.go b/service/glue/api_op_UpdatePartition.go index c515c4b86eb..a8b62b344e1 100644 --- a/service/glue/api_op_UpdatePartition.go +++ b/service/glue/api_op_UpdatePartition.go @@ -91,7 +91,10 @@ func addOperationUpdatePartitionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateRegistry.go b/service/glue/api_op_UpdateRegistry.go index ff4624401b4..2c2cc4fad10 100644 --- a/service/glue/api_op_UpdateRegistry.go +++ b/service/glue/api_op_UpdateRegistry.go @@ -86,7 +86,10 @@ func addOperationUpdateRegistryMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateSchema.go b/service/glue/api_op_UpdateSchema.go index e4077a832d3..f35f92e010d 100644 --- a/service/glue/api_op_UpdateSchema.go +++ b/service/glue/api_op_UpdateSchema.go @@ -105,7 +105,10 @@ func addOperationUpdateSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateTable.go b/service/glue/api_op_UpdateTable.go index cb55def82ed..773b21169e7 100644 --- a/service/glue/api_op_UpdateTable.go +++ b/service/glue/api_op_UpdateTable.go @@ -85,7 +85,10 @@ func addOperationUpdateTableMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateTrigger.go b/service/glue/api_op_UpdateTrigger.go index bf640a04cf5..6ccc8b4e28f 100644 --- a/service/glue/api_op_UpdateTrigger.go +++ b/service/glue/api_op_UpdateTrigger.go @@ -79,7 +79,10 @@ func addOperationUpdateTriggerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateUserDefinedFunction.go b/service/glue/api_op_UpdateUserDefinedFunction.go index 2a88bd3f19e..654f100669a 100644 --- a/service/glue/api_op_UpdateUserDefinedFunction.go +++ b/service/glue/api_op_UpdateUserDefinedFunction.go @@ -84,7 +84,10 @@ func addOperationUpdateUserDefinedFunctionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/glue/api_op_UpdateWorkflow.go b/service/glue/api_op_UpdateWorkflow.go index b3c81ad8d15..cf2dbd95d5c 100644 --- a/service/glue/api_op_UpdateWorkflow.go +++ b/service/glue/api_op_UpdateWorkflow.go @@ -85,7 +85,10 @@ func addOperationUpdateWorkflowMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_AssociateRoleToGroup.go b/service/greengrass/api_op_AssociateRoleToGroup.go index 16824070267..1c3e6048a85 100644 --- a/service/greengrass/api_op_AssociateRoleToGroup.go +++ b/service/greengrass/api_op_AssociateRoleToGroup.go @@ -82,7 +82,10 @@ func addOperationAssociateRoleToGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_AssociateServiceRoleToAccount.go b/service/greengrass/api_op_AssociateServiceRoleToAccount.go index 9228ff1781b..91b3a374742 100644 --- a/service/greengrass/api_op_AssociateServiceRoleToAccount.go +++ b/service/greengrass/api_op_AssociateServiceRoleToAccount.go @@ -76,7 +76,10 @@ func addOperationAssociateServiceRoleToAccountMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateConnectorDefinition.go b/service/greengrass/api_op_CreateConnectorDefinition.go index 17ad2b1099f..c5e45e2bf1c 100644 --- a/service/greengrass/api_op_CreateConnectorDefinition.go +++ b/service/greengrass/api_op_CreateConnectorDefinition.go @@ -101,7 +101,10 @@ func addOperationCreateConnectorDefinitionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateConnectorDefinitionVersion.go b/service/greengrass/api_op_CreateConnectorDefinitionVersion.go index 60c0adef761..5531cbcbcb9 100644 --- a/service/greengrass/api_op_CreateConnectorDefinitionVersion.go +++ b/service/greengrass/api_op_CreateConnectorDefinitionVersion.go @@ -90,7 +90,10 @@ func addOperationCreateConnectorDefinitionVersionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateCoreDefinition.go b/service/greengrass/api_op_CreateCoreDefinition.go index baa20c55b15..24899da55ae 100644 --- a/service/greengrass/api_op_CreateCoreDefinition.go +++ b/service/greengrass/api_op_CreateCoreDefinition.go @@ -102,7 +102,10 @@ func addOperationCreateCoreDefinitionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateCoreDefinitionVersion.go b/service/greengrass/api_op_CreateCoreDefinitionVersion.go index c200d4ce500..ca2ab9198be 100644 --- a/service/greengrass/api_op_CreateCoreDefinitionVersion.go +++ b/service/greengrass/api_op_CreateCoreDefinitionVersion.go @@ -90,7 +90,10 @@ func addOperationCreateCoreDefinitionVersionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateDeployment.go b/service/greengrass/api_op_CreateDeployment.go index 674ab8dafc3..602c68818d8 100644 --- a/service/greengrass/api_op_CreateDeployment.go +++ b/service/greengrass/api_op_CreateDeployment.go @@ -93,7 +93,10 @@ func addOperationCreateDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateDeviceDefinition.go b/service/greengrass/api_op_CreateDeviceDefinition.go index ed310a77de8..bae89ebd049 100644 --- a/service/greengrass/api_op_CreateDeviceDefinition.go +++ b/service/greengrass/api_op_CreateDeviceDefinition.go @@ -100,7 +100,10 @@ func addOperationCreateDeviceDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateDeviceDefinitionVersion.go b/service/greengrass/api_op_CreateDeviceDefinitionVersion.go index eb695ba2787..1ad6157a7e7 100644 --- a/service/greengrass/api_op_CreateDeviceDefinitionVersion.go +++ b/service/greengrass/api_op_CreateDeviceDefinitionVersion.go @@ -89,7 +89,10 @@ func addOperationCreateDeviceDefinitionVersionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateFunctionDefinition.go b/service/greengrass/api_op_CreateFunctionDefinition.go index c12ae09db82..30a69d6f5b0 100644 --- a/service/greengrass/api_op_CreateFunctionDefinition.go +++ b/service/greengrass/api_op_CreateFunctionDefinition.go @@ -102,7 +102,10 @@ func addOperationCreateFunctionDefinitionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateFunctionDefinitionVersion.go b/service/greengrass/api_op_CreateFunctionDefinitionVersion.go index d6eb6ca71b8..4d7dcf74db1 100644 --- a/service/greengrass/api_op_CreateFunctionDefinitionVersion.go +++ b/service/greengrass/api_op_CreateFunctionDefinitionVersion.go @@ -94,7 +94,10 @@ func addOperationCreateFunctionDefinitionVersionMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateGroup.go b/service/greengrass/api_op_CreateGroup.go index 7cc3369bf91..df986f43d5a 100644 --- a/service/greengrass/api_op_CreateGroup.go +++ b/service/greengrass/api_op_CreateGroup.go @@ -102,7 +102,10 @@ func addOperationCreateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateGroupCertificateAuthority.go b/service/greengrass/api_op_CreateGroupCertificateAuthority.go index 73cdc074256..3a7f2db3e1d 100644 --- a/service/greengrass/api_op_CreateGroupCertificateAuthority.go +++ b/service/greengrass/api_op_CreateGroupCertificateAuthority.go @@ -77,7 +77,10 @@ func addOperationCreateGroupCertificateAuthorityMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateGroupVersion.go b/service/greengrass/api_op_CreateGroupVersion.go index 9d4c20e2976..bc85a2a4725 100644 --- a/service/greengrass/api_op_CreateGroupVersion.go +++ b/service/greengrass/api_op_CreateGroupVersion.go @@ -106,7 +106,10 @@ func addOperationCreateGroupVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateLoggerDefinition.go b/service/greengrass/api_op_CreateLoggerDefinition.go index 2d48ee0903f..3c51f3ebff7 100644 --- a/service/greengrass/api_op_CreateLoggerDefinition.go +++ b/service/greengrass/api_op_CreateLoggerDefinition.go @@ -100,7 +100,10 @@ func addOperationCreateLoggerDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateLoggerDefinitionVersion.go b/service/greengrass/api_op_CreateLoggerDefinitionVersion.go index 831a5d6e00c..6e302058840 100644 --- a/service/greengrass/api_op_CreateLoggerDefinitionVersion.go +++ b/service/greengrass/api_op_CreateLoggerDefinitionVersion.go @@ -89,7 +89,10 @@ func addOperationCreateLoggerDefinitionVersionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateResourceDefinition.go b/service/greengrass/api_op_CreateResourceDefinition.go index 1ad69d355f7..3e02609e159 100644 --- a/service/greengrass/api_op_CreateResourceDefinition.go +++ b/service/greengrass/api_op_CreateResourceDefinition.go @@ -101,7 +101,10 @@ func addOperationCreateResourceDefinitionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateResourceDefinitionVersion.go b/service/greengrass/api_op_CreateResourceDefinitionVersion.go index c653e8ec92f..c9ee2cedfd8 100644 --- a/service/greengrass/api_op_CreateResourceDefinitionVersion.go +++ b/service/greengrass/api_op_CreateResourceDefinitionVersion.go @@ -89,7 +89,10 @@ func addOperationCreateResourceDefinitionVersionMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateSoftwareUpdateJob.go b/service/greengrass/api_op_CreateSoftwareUpdateJob.go index 961d4de1b62..6251f33961c 100644 --- a/service/greengrass/api_op_CreateSoftwareUpdateJob.go +++ b/service/greengrass/api_op_CreateSoftwareUpdateJob.go @@ -112,7 +112,10 @@ func addOperationCreateSoftwareUpdateJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateSubscriptionDefinition.go b/service/greengrass/api_op_CreateSubscriptionDefinition.go index 8eec1da977a..e06e845e95c 100644 --- a/service/greengrass/api_op_CreateSubscriptionDefinition.go +++ b/service/greengrass/api_op_CreateSubscriptionDefinition.go @@ -101,7 +101,10 @@ func addOperationCreateSubscriptionDefinitionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go b/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go index 9499b039013..0417384c928 100644 --- a/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go +++ b/service/greengrass/api_op_CreateSubscriptionDefinitionVersion.go @@ -89,7 +89,10 @@ func addOperationCreateSubscriptionDefinitionVersionMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DeleteConnectorDefinition.go b/service/greengrass/api_op_DeleteConnectorDefinition.go index ec6c7702503..66ceab8958f 100644 --- a/service/greengrass/api_op_DeleteConnectorDefinition.go +++ b/service/greengrass/api_op_DeleteConnectorDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteConnectorDefinitionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DeleteCoreDefinition.go b/service/greengrass/api_op_DeleteCoreDefinition.go index d95116e36c0..8cdccefe503 100644 --- a/service/greengrass/api_op_DeleteCoreDefinition.go +++ b/service/greengrass/api_op_DeleteCoreDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteCoreDefinitionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DeleteDeviceDefinition.go b/service/greengrass/api_op_DeleteDeviceDefinition.go index 7f69eb0443f..3bf1ac18d5f 100644 --- a/service/greengrass/api_op_DeleteDeviceDefinition.go +++ b/service/greengrass/api_op_DeleteDeviceDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteDeviceDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DeleteFunctionDefinition.go b/service/greengrass/api_op_DeleteFunctionDefinition.go index fde22861530..21870326426 100644 --- a/service/greengrass/api_op_DeleteFunctionDefinition.go +++ b/service/greengrass/api_op_DeleteFunctionDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteFunctionDefinitionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DeleteGroup.go b/service/greengrass/api_op_DeleteGroup.go index 858da57a53c..3b36897d8a7 100644 --- a/service/greengrass/api_op_DeleteGroup.go +++ b/service/greengrass/api_op_DeleteGroup.go @@ -69,7 +69,10 @@ func addOperationDeleteGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DeleteLoggerDefinition.go b/service/greengrass/api_op_DeleteLoggerDefinition.go index fb4e82722b9..809a041f749 100644 --- a/service/greengrass/api_op_DeleteLoggerDefinition.go +++ b/service/greengrass/api_op_DeleteLoggerDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteLoggerDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DeleteResourceDefinition.go b/service/greengrass/api_op_DeleteResourceDefinition.go index 8302b4e8e50..94554aa2773 100644 --- a/service/greengrass/api_op_DeleteResourceDefinition.go +++ b/service/greengrass/api_op_DeleteResourceDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteResourceDefinitionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DeleteSubscriptionDefinition.go b/service/greengrass/api_op_DeleteSubscriptionDefinition.go index e6ebfb74fb4..9800739fa0d 100644 --- a/service/greengrass/api_op_DeleteSubscriptionDefinition.go +++ b/service/greengrass/api_op_DeleteSubscriptionDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteSubscriptionDefinitionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DisassociateRoleFromGroup.go b/service/greengrass/api_op_DisassociateRoleFromGroup.go index 3ca00faa08e..dbb053ac1b8 100644 --- a/service/greengrass/api_op_DisassociateRoleFromGroup.go +++ b/service/greengrass/api_op_DisassociateRoleFromGroup.go @@ -74,7 +74,10 @@ func addOperationDisassociateRoleFromGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go b/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go index b2a9e99523f..623a32f0ab2 100644 --- a/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go +++ b/service/greengrass/api_op_DisassociateServiceRoleFromAccount.go @@ -69,7 +69,10 @@ func addOperationDisassociateServiceRoleFromAccountMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetAssociatedRole.go b/service/greengrass/api_op_GetAssociatedRole.go index c38f0111370..5e619e6dafc 100644 --- a/service/greengrass/api_op_GetAssociatedRole.go +++ b/service/greengrass/api_op_GetAssociatedRole.go @@ -76,7 +76,10 @@ func addOperationGetAssociatedRoleMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetBulkDeploymentStatus.go b/service/greengrass/api_op_GetBulkDeploymentStatus.go index 7f9ed5634d1..c6091339557 100644 --- a/service/greengrass/api_op_GetBulkDeploymentStatus.go +++ b/service/greengrass/api_op_GetBulkDeploymentStatus.go @@ -89,7 +89,10 @@ func addOperationGetBulkDeploymentStatusMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetConnectivityInfo.go b/service/greengrass/api_op_GetConnectivityInfo.go index f464682cebf..7ed47ef30f1 100644 --- a/service/greengrass/api_op_GetConnectivityInfo.go +++ b/service/greengrass/api_op_GetConnectivityInfo.go @@ -77,7 +77,10 @@ func addOperationGetConnectivityInfoMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetConnectorDefinition.go b/service/greengrass/api_op_GetConnectorDefinition.go index d9e4cd41114..09b3d7047e0 100644 --- a/service/greengrass/api_op_GetConnectorDefinition.go +++ b/service/greengrass/api_op_GetConnectorDefinition.go @@ -94,7 +94,10 @@ func addOperationGetConnectorDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetConnectorDefinitionVersion.go b/service/greengrass/api_op_GetConnectorDefinitionVersion.go index f904d2c8832..b26629af537 100644 --- a/service/greengrass/api_op_GetConnectorDefinitionVersion.go +++ b/service/greengrass/api_op_GetConnectorDefinitionVersion.go @@ -108,7 +108,10 @@ func addOperationGetConnectorDefinitionVersionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetCoreDefinition.go b/service/greengrass/api_op_GetCoreDefinition.go index 156c4e268a0..9568f0feb24 100644 --- a/service/greengrass/api_op_GetCoreDefinition.go +++ b/service/greengrass/api_op_GetCoreDefinition.go @@ -94,7 +94,10 @@ func addOperationGetCoreDefinitionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetCoreDefinitionVersion.go b/service/greengrass/api_op_GetCoreDefinitionVersion.go index df35ca51920..aa675baf545 100644 --- a/service/greengrass/api_op_GetCoreDefinitionVersion.go +++ b/service/greengrass/api_op_GetCoreDefinitionVersion.go @@ -101,7 +101,10 @@ func addOperationGetCoreDefinitionVersionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetDeploymentStatus.go b/service/greengrass/api_op_GetDeploymentStatus.go index b93a385eca3..fd970742eb8 100644 --- a/service/greengrass/api_op_GetDeploymentStatus.go +++ b/service/greengrass/api_op_GetDeploymentStatus.go @@ -93,7 +93,10 @@ func addOperationGetDeploymentStatusMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetDeviceDefinition.go b/service/greengrass/api_op_GetDeviceDefinition.go index d94e4413313..4499b9c1aef 100644 --- a/service/greengrass/api_op_GetDeviceDefinition.go +++ b/service/greengrass/api_op_GetDeviceDefinition.go @@ -94,7 +94,10 @@ func addOperationGetDeviceDefinitionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetDeviceDefinitionVersion.go b/service/greengrass/api_op_GetDeviceDefinitionVersion.go index c81e0fad1af..a1d247c41fc 100644 --- a/service/greengrass/api_op_GetDeviceDefinitionVersion.go +++ b/service/greengrass/api_op_GetDeviceDefinitionVersion.go @@ -105,7 +105,10 @@ func addOperationGetDeviceDefinitionVersionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetFunctionDefinition.go b/service/greengrass/api_op_GetFunctionDefinition.go index 488d23ce619..099a573868b 100644 --- a/service/greengrass/api_op_GetFunctionDefinition.go +++ b/service/greengrass/api_op_GetFunctionDefinition.go @@ -95,7 +95,10 @@ func addOperationGetFunctionDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetFunctionDefinitionVersion.go b/service/greengrass/api_op_GetFunctionDefinitionVersion.go index 966a2834b0c..dda4511d261 100644 --- a/service/greengrass/api_op_GetFunctionDefinitionVersion.go +++ b/service/greengrass/api_op_GetFunctionDefinitionVersion.go @@ -106,7 +106,10 @@ func addOperationGetFunctionDefinitionVersionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetGroup.go b/service/greengrass/api_op_GetGroup.go index 8c8827ba2a2..706692d22d7 100644 --- a/service/greengrass/api_op_GetGroup.go +++ b/service/greengrass/api_op_GetGroup.go @@ -94,7 +94,10 @@ func addOperationGetGroupMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetGroupCertificateAuthority.go b/service/greengrass/api_op_GetGroupCertificateAuthority.go index f723922c170..b53840635c6 100644 --- a/service/greengrass/api_op_GetGroupCertificateAuthority.go +++ b/service/greengrass/api_op_GetGroupCertificateAuthority.go @@ -84,7 +84,10 @@ func addOperationGetGroupCertificateAuthorityMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetGroupCertificateConfiguration.go b/service/greengrass/api_op_GetGroupCertificateConfiguration.go index 7fc2beab8a1..85e1af70037 100644 --- a/service/greengrass/api_op_GetGroupCertificateConfiguration.go +++ b/service/greengrass/api_op_GetGroupCertificateConfiguration.go @@ -80,7 +80,10 @@ func addOperationGetGroupCertificateConfigurationMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetGroupVersion.go b/service/greengrass/api_op_GetGroupVersion.go index f8a3f45ecb9..1cd1e62a91a 100644 --- a/service/greengrass/api_op_GetGroupVersion.go +++ b/service/greengrass/api_op_GetGroupVersion.go @@ -95,7 +95,10 @@ func addOperationGetGroupVersionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetLoggerDefinition.go b/service/greengrass/api_op_GetLoggerDefinition.go index 29cee4eefcf..bc897091408 100644 --- a/service/greengrass/api_op_GetLoggerDefinition.go +++ b/service/greengrass/api_op_GetLoggerDefinition.go @@ -94,7 +94,10 @@ func addOperationGetLoggerDefinitionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetLoggerDefinitionVersion.go b/service/greengrass/api_op_GetLoggerDefinitionVersion.go index 8fd8263f9ab..7342c57f025 100644 --- a/service/greengrass/api_op_GetLoggerDefinitionVersion.go +++ b/service/greengrass/api_op_GetLoggerDefinitionVersion.go @@ -101,7 +101,10 @@ func addOperationGetLoggerDefinitionVersionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetResourceDefinition.go b/service/greengrass/api_op_GetResourceDefinition.go index 2ff833fa6e7..bf492ccd13a 100644 --- a/service/greengrass/api_op_GetResourceDefinition.go +++ b/service/greengrass/api_op_GetResourceDefinition.go @@ -95,7 +95,10 @@ func addOperationGetResourceDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetResourceDefinitionVersion.go b/service/greengrass/api_op_GetResourceDefinitionVersion.go index d86efd97739..07e4a429d1d 100644 --- a/service/greengrass/api_op_GetResourceDefinitionVersion.go +++ b/service/greengrass/api_op_GetResourceDefinitionVersion.go @@ -98,7 +98,10 @@ func addOperationGetResourceDefinitionVersionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetServiceRoleForAccount.go b/service/greengrass/api_op_GetServiceRoleForAccount.go index 25156b0f1ad..2d61781666e 100644 --- a/service/greengrass/api_op_GetServiceRoleForAccount.go +++ b/service/greengrass/api_op_GetServiceRoleForAccount.go @@ -71,7 +71,10 @@ func addOperationGetServiceRoleForAccountMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetSubscriptionDefinition.go b/service/greengrass/api_op_GetSubscriptionDefinition.go index 5388c63e7fb..8a76f3394b2 100644 --- a/service/greengrass/api_op_GetSubscriptionDefinition.go +++ b/service/greengrass/api_op_GetSubscriptionDefinition.go @@ -94,7 +94,10 @@ func addOperationGetSubscriptionDefinitionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go b/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go index de91ee22f33..679af900556 100644 --- a/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go +++ b/service/greengrass/api_op_GetSubscriptionDefinitionVersion.go @@ -105,7 +105,10 @@ func addOperationGetSubscriptionDefinitionVersionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_GetThingRuntimeConfiguration.go b/service/greengrass/api_op_GetThingRuntimeConfiguration.go index e9eee5f9110..b05a9be6dd7 100644 --- a/service/greengrass/api_op_GetThingRuntimeConfiguration.go +++ b/service/greengrass/api_op_GetThingRuntimeConfiguration.go @@ -74,7 +74,10 @@ func addOperationGetThingRuntimeConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go b/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go index ca49a1eb3dc..97359df9a6e 100644 --- a/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go +++ b/service/greengrass/api_op_ListBulkDeploymentDetailedReports.go @@ -86,7 +86,10 @@ func addOperationListBulkDeploymentDetailedReportsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListBulkDeployments.go b/service/greengrass/api_op_ListBulkDeployments.go index e1664a2b610..32d45aba01a 100644 --- a/service/greengrass/api_op_ListBulkDeployments.go +++ b/service/greengrass/api_op_ListBulkDeployments.go @@ -80,7 +80,10 @@ func addOperationListBulkDeploymentsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListConnectorDefinitionVersions.go b/service/greengrass/api_op_ListConnectorDefinitionVersions.go index 6378c20c86c..2cc761017ee 100644 --- a/service/greengrass/api_op_ListConnectorDefinitionVersions.go +++ b/service/greengrass/api_op_ListConnectorDefinitionVersions.go @@ -88,7 +88,10 @@ func addOperationListConnectorDefinitionVersionsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListConnectorDefinitions.go b/service/greengrass/api_op_ListConnectorDefinitions.go index 13af6e81f49..759d8aa431a 100644 --- a/service/greengrass/api_op_ListConnectorDefinitions.go +++ b/service/greengrass/api_op_ListConnectorDefinitions.go @@ -80,7 +80,10 @@ func addOperationListConnectorDefinitionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListCoreDefinitionVersions.go b/service/greengrass/api_op_ListCoreDefinitionVersions.go index f91c2370125..645d50f92dd 100644 --- a/service/greengrass/api_op_ListCoreDefinitionVersions.go +++ b/service/greengrass/api_op_ListCoreDefinitionVersions.go @@ -85,7 +85,10 @@ func addOperationListCoreDefinitionVersionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListCoreDefinitions.go b/service/greengrass/api_op_ListCoreDefinitions.go index 8ec5c0259f2..0427962ac4a 100644 --- a/service/greengrass/api_op_ListCoreDefinitions.go +++ b/service/greengrass/api_op_ListCoreDefinitions.go @@ -80,7 +80,10 @@ func addOperationListCoreDefinitionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListDeployments.go b/service/greengrass/api_op_ListDeployments.go index c0cc4a3d07f..5a85a4dfed2 100644 --- a/service/greengrass/api_op_ListDeployments.go +++ b/service/greengrass/api_op_ListDeployments.go @@ -85,7 +85,10 @@ func addOperationListDeploymentsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListDeviceDefinitionVersions.go b/service/greengrass/api_op_ListDeviceDefinitionVersions.go index 71c9b8a8162..de2f6067954 100644 --- a/service/greengrass/api_op_ListDeviceDefinitionVersions.go +++ b/service/greengrass/api_op_ListDeviceDefinitionVersions.go @@ -85,7 +85,10 @@ func addOperationListDeviceDefinitionVersionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListDeviceDefinitions.go b/service/greengrass/api_op_ListDeviceDefinitions.go index fe890908fec..3d6cc667e65 100644 --- a/service/greengrass/api_op_ListDeviceDefinitions.go +++ b/service/greengrass/api_op_ListDeviceDefinitions.go @@ -80,7 +80,10 @@ func addOperationListDeviceDefinitionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListFunctionDefinitionVersions.go b/service/greengrass/api_op_ListFunctionDefinitionVersions.go index 74901f3fb1d..ec09316c710 100644 --- a/service/greengrass/api_op_ListFunctionDefinitionVersions.go +++ b/service/greengrass/api_op_ListFunctionDefinitionVersions.go @@ -85,7 +85,10 @@ func addOperationListFunctionDefinitionVersionsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListFunctionDefinitions.go b/service/greengrass/api_op_ListFunctionDefinitions.go index 834b8d25a46..067233b21f4 100644 --- a/service/greengrass/api_op_ListFunctionDefinitions.go +++ b/service/greengrass/api_op_ListFunctionDefinitions.go @@ -80,7 +80,10 @@ func addOperationListFunctionDefinitionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListGroupCertificateAuthorities.go b/service/greengrass/api_op_ListGroupCertificateAuthorities.go index 8d89f9dcdc1..bde92300b28 100644 --- a/service/greengrass/api_op_ListGroupCertificateAuthorities.go +++ b/service/greengrass/api_op_ListGroupCertificateAuthorities.go @@ -74,7 +74,10 @@ func addOperationListGroupCertificateAuthoritiesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListGroupVersions.go b/service/greengrass/api_op_ListGroupVersions.go index 2caa47a02d8..73f0fedd2a1 100644 --- a/service/greengrass/api_op_ListGroupVersions.go +++ b/service/greengrass/api_op_ListGroupVersions.go @@ -85,7 +85,10 @@ func addOperationListGroupVersionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListGroups.go b/service/greengrass/api_op_ListGroups.go index 396f0caa0d2..7e7f6db3deb 100644 --- a/service/greengrass/api_op_ListGroups.go +++ b/service/greengrass/api_op_ListGroups.go @@ -80,7 +80,10 @@ func addOperationListGroupsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListLoggerDefinitionVersions.go b/service/greengrass/api_op_ListLoggerDefinitionVersions.go index 00de6a864df..afa92c953a7 100644 --- a/service/greengrass/api_op_ListLoggerDefinitionVersions.go +++ b/service/greengrass/api_op_ListLoggerDefinitionVersions.go @@ -85,7 +85,10 @@ func addOperationListLoggerDefinitionVersionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListLoggerDefinitions.go b/service/greengrass/api_op_ListLoggerDefinitions.go index 9cff73eb9fa..1cbba7988a6 100644 --- a/service/greengrass/api_op_ListLoggerDefinitions.go +++ b/service/greengrass/api_op_ListLoggerDefinitions.go @@ -80,7 +80,10 @@ func addOperationListLoggerDefinitionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListResourceDefinitionVersions.go b/service/greengrass/api_op_ListResourceDefinitionVersions.go index e9b4fafd5fe..d68a850e6ae 100644 --- a/service/greengrass/api_op_ListResourceDefinitionVersions.go +++ b/service/greengrass/api_op_ListResourceDefinitionVersions.go @@ -85,7 +85,10 @@ func addOperationListResourceDefinitionVersionsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListResourceDefinitions.go b/service/greengrass/api_op_ListResourceDefinitions.go index 9d5f2f68154..618d2871b7f 100644 --- a/service/greengrass/api_op_ListResourceDefinitions.go +++ b/service/greengrass/api_op_ListResourceDefinitions.go @@ -80,7 +80,10 @@ func addOperationListResourceDefinitionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go b/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go index 7b0c0c3c03b..b4c0fee00a9 100644 --- a/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go +++ b/service/greengrass/api_op_ListSubscriptionDefinitionVersions.go @@ -85,7 +85,10 @@ func addOperationListSubscriptionDefinitionVersionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListSubscriptionDefinitions.go b/service/greengrass/api_op_ListSubscriptionDefinitions.go index bd85a6dcc46..bd3d21ea286 100644 --- a/service/greengrass/api_op_ListSubscriptionDefinitions.go +++ b/service/greengrass/api_op_ListSubscriptionDefinitions.go @@ -80,7 +80,10 @@ func addOperationListSubscriptionDefinitionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ListTagsForResource.go b/service/greengrass/api_op_ListTagsForResource.go index 50780899177..04d5ab1bacf 100644 --- a/service/greengrass/api_op_ListTagsForResource.go +++ b/service/greengrass/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_ResetDeployments.go b/service/greengrass/api_op_ResetDeployments.go index c1e1603f30b..9cd5fc32ca5 100644 --- a/service/greengrass/api_op_ResetDeployments.go +++ b/service/greengrass/api_op_ResetDeployments.go @@ -83,7 +83,10 @@ func addOperationResetDeploymentsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_StartBulkDeployment.go b/service/greengrass/api_op_StartBulkDeployment.go index 53da58f89f9..f483fa526e0 100644 --- a/service/greengrass/api_op_StartBulkDeployment.go +++ b/service/greengrass/api_op_StartBulkDeployment.go @@ -100,7 +100,10 @@ func addOperationStartBulkDeploymentMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_StopBulkDeployment.go b/service/greengrass/api_op_StopBulkDeployment.go index a83a445af85..b6bcb3be6d7 100644 --- a/service/greengrass/api_op_StopBulkDeployment.go +++ b/service/greengrass/api_op_StopBulkDeployment.go @@ -72,7 +72,10 @@ func addOperationStopBulkDeploymentMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_TagResource.go b/service/greengrass/api_op_TagResource.go index 06350e3cf2f..ebc3bd159b8 100644 --- a/service/greengrass/api_op_TagResource.go +++ b/service/greengrass/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UntagResource.go b/service/greengrass/api_op_UntagResource.go index 120845775f6..addce37b056 100644 --- a/service/greengrass/api_op_UntagResource.go +++ b/service/greengrass/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateConnectivityInfo.go b/service/greengrass/api_op_UpdateConnectivityInfo.go index d5d9e6a85f7..caedd651694 100644 --- a/service/greengrass/api_op_UpdateConnectivityInfo.go +++ b/service/greengrass/api_op_UpdateConnectivityInfo.go @@ -83,7 +83,10 @@ func addOperationUpdateConnectivityInfoMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateConnectorDefinition.go b/service/greengrass/api_op_UpdateConnectorDefinition.go index ccc1b1df492..1ba60edaa6c 100644 --- a/service/greengrass/api_op_UpdateConnectorDefinition.go +++ b/service/greengrass/api_op_UpdateConnectorDefinition.go @@ -72,7 +72,10 @@ func addOperationUpdateConnectorDefinitionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateCoreDefinition.go b/service/greengrass/api_op_UpdateCoreDefinition.go index 3d0fd37a660..af035da9bb7 100644 --- a/service/greengrass/api_op_UpdateCoreDefinition.go +++ b/service/greengrass/api_op_UpdateCoreDefinition.go @@ -72,7 +72,10 @@ func addOperationUpdateCoreDefinitionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateDeviceDefinition.go b/service/greengrass/api_op_UpdateDeviceDefinition.go index f5e5f0dde08..97f5a205b19 100644 --- a/service/greengrass/api_op_UpdateDeviceDefinition.go +++ b/service/greengrass/api_op_UpdateDeviceDefinition.go @@ -72,7 +72,10 @@ func addOperationUpdateDeviceDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateFunctionDefinition.go b/service/greengrass/api_op_UpdateFunctionDefinition.go index dd6f5d1b939..92a6f63233a 100644 --- a/service/greengrass/api_op_UpdateFunctionDefinition.go +++ b/service/greengrass/api_op_UpdateFunctionDefinition.go @@ -72,7 +72,10 @@ func addOperationUpdateFunctionDefinitionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateGroup.go b/service/greengrass/api_op_UpdateGroup.go index 60850a33e72..122dbcfa97a 100644 --- a/service/greengrass/api_op_UpdateGroup.go +++ b/service/greengrass/api_op_UpdateGroup.go @@ -72,7 +72,10 @@ func addOperationUpdateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go b/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go index 8c5bd5096c4..f315c7a822e 100644 --- a/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go +++ b/service/greengrass/api_op_UpdateGroupCertificateConfiguration.go @@ -83,7 +83,10 @@ func addOperationUpdateGroupCertificateConfigurationMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateLoggerDefinition.go b/service/greengrass/api_op_UpdateLoggerDefinition.go index 70fcde124a6..e83b7950481 100644 --- a/service/greengrass/api_op_UpdateLoggerDefinition.go +++ b/service/greengrass/api_op_UpdateLoggerDefinition.go @@ -72,7 +72,10 @@ func addOperationUpdateLoggerDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateResourceDefinition.go b/service/greengrass/api_op_UpdateResourceDefinition.go index 9d1312aea91..89397806a98 100644 --- a/service/greengrass/api_op_UpdateResourceDefinition.go +++ b/service/greengrass/api_op_UpdateResourceDefinition.go @@ -72,7 +72,10 @@ func addOperationUpdateResourceDefinitionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateSubscriptionDefinition.go b/service/greengrass/api_op_UpdateSubscriptionDefinition.go index 38a0bccaca0..b768299b7dc 100644 --- a/service/greengrass/api_op_UpdateSubscriptionDefinition.go +++ b/service/greengrass/api_op_UpdateSubscriptionDefinition.go @@ -72,7 +72,10 @@ func addOperationUpdateSubscriptionDefinitionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go b/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go index 72daa864ac6..9ccf1b8480b 100644 --- a/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go +++ b/service/greengrass/api_op_UpdateThingRuntimeConfiguration.go @@ -73,7 +73,10 @@ func addOperationUpdateThingRuntimeConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_CancelDeployment.go b/service/greengrassv2/api_op_CancelDeployment.go index 9eeceb8e3fd..7e782aa4478 100644 --- a/service/greengrassv2/api_op_CancelDeployment.go +++ b/service/greengrassv2/api_op_CancelDeployment.go @@ -75,7 +75,10 @@ func addOperationCancelDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_CreateComponentVersion.go b/service/greengrassv2/api_op_CreateComponentVersion.go index 625d0b307b8..ab0323b686d 100644 --- a/service/greengrassv2/api_op_CreateComponentVersion.go +++ b/service/greengrassv2/api_op_CreateComponentVersion.go @@ -145,7 +145,10 @@ func addOperationCreateComponentVersionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_CreateDeployment.go b/service/greengrassv2/api_op_CreateDeployment.go index 794356db8a0..8b4a36968f9 100644 --- a/service/greengrassv2/api_op_CreateDeployment.go +++ b/service/greengrassv2/api_op_CreateDeployment.go @@ -122,7 +122,10 @@ func addOperationCreateDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_DeleteComponent.go b/service/greengrassv2/api_op_DeleteComponent.go index 13ca95b405f..61064f0010e 100644 --- a/service/greengrassv2/api_op_DeleteComponent.go +++ b/service/greengrassv2/api_op_DeleteComponent.go @@ -75,7 +75,10 @@ func addOperationDeleteComponentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_DeleteCoreDevice.go b/service/greengrassv2/api_op_DeleteCoreDevice.go index be7d5f6227c..8359896d381 100644 --- a/service/greengrassv2/api_op_DeleteCoreDevice.go +++ b/service/greengrassv2/api_op_DeleteCoreDevice.go @@ -74,7 +74,10 @@ func addOperationDeleteCoreDeviceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_DescribeComponent.go b/service/greengrassv2/api_op_DescribeComponent.go index adf3c5921da..e6e7da7a284 100644 --- a/service/greengrassv2/api_op_DescribeComponent.go +++ b/service/greengrassv2/api_op_DescribeComponent.go @@ -107,7 +107,10 @@ func addOperationDescribeComponentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_GetComponent.go b/service/greengrassv2/api_op_GetComponent.go index b1f8ab54324..1e963175a8b 100644 --- a/service/greengrassv2/api_op_GetComponent.go +++ b/service/greengrassv2/api_op_GetComponent.go @@ -93,7 +93,10 @@ func addOperationGetComponentMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_GetComponentVersionArtifact.go b/service/greengrassv2/api_op_GetComponentVersionArtifact.go index e402091e1ca..45380afac0d 100644 --- a/service/greengrassv2/api_op_GetComponentVersionArtifact.go +++ b/service/greengrassv2/api_op_GetComponentVersionArtifact.go @@ -84,7 +84,10 @@ func addOperationGetComponentVersionArtifactMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_GetCoreDevice.go b/service/greengrassv2/api_op_GetCoreDevice.go index 5e9c0fe28bd..cebeca5226e 100644 --- a/service/greengrassv2/api_op_GetCoreDevice.go +++ b/service/greengrassv2/api_op_GetCoreDevice.go @@ -109,7 +109,10 @@ func addOperationGetCoreDeviceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_GetDeployment.go b/service/greengrassv2/api_op_GetDeployment.go index e51379b96a0..d41e2556384 100644 --- a/service/greengrassv2/api_op_GetDeployment.go +++ b/service/greengrassv2/api_op_GetDeployment.go @@ -127,7 +127,10 @@ func addOperationGetDeploymentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_ListComponentVersions.go b/service/greengrassv2/api_op_ListComponentVersions.go index 3ba964ee9ff..18e4a395c70 100644 --- a/service/greengrassv2/api_op_ListComponentVersions.go +++ b/service/greengrassv2/api_op_ListComponentVersions.go @@ -87,7 +87,10 @@ func addOperationListComponentVersionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_ListComponents.go b/service/greengrassv2/api_op_ListComponents.go index e526a3a14be..31e7bfcea83 100644 --- a/service/greengrassv2/api_op_ListComponents.go +++ b/service/greengrassv2/api_op_ListComponents.go @@ -84,7 +84,10 @@ func addOperationListComponentsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_ListCoreDevices.go b/service/greengrassv2/api_op_ListCoreDevices.go index 7822315cf56..357e57b3c4a 100644 --- a/service/greengrassv2/api_op_ListCoreDevices.go +++ b/service/greengrassv2/api_op_ListCoreDevices.go @@ -97,7 +97,10 @@ func addOperationListCoreDevicesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_ListDeployments.go b/service/greengrassv2/api_op_ListDeployments.go index 780eb6b57e2..4ef4f3efbdf 100644 --- a/service/greengrassv2/api_op_ListDeployments.go +++ b/service/greengrassv2/api_op_ListDeployments.go @@ -96,7 +96,10 @@ func addOperationListDeploymentsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_ListEffectiveDeployments.go b/service/greengrassv2/api_op_ListEffectiveDeployments.go index 9a2e1a301f2..752ed3a34b6 100644 --- a/service/greengrassv2/api_op_ListEffectiveDeployments.go +++ b/service/greengrassv2/api_op_ListEffectiveDeployments.go @@ -86,7 +86,10 @@ func addOperationListEffectiveDeploymentsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_ListInstalledComponents.go b/service/greengrassv2/api_op_ListInstalledComponents.go index 046002d0052..a6ef8cf117b 100644 --- a/service/greengrassv2/api_op_ListInstalledComponents.go +++ b/service/greengrassv2/api_op_ListInstalledComponents.go @@ -86,7 +86,10 @@ func addOperationListInstalledComponentsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_ListTagsForResource.go b/service/greengrassv2/api_op_ListTagsForResource.go index 100315222c6..29fea3e90be 100644 --- a/service/greengrassv2/api_op_ListTagsForResource.go +++ b/service/greengrassv2/api_op_ListTagsForResource.go @@ -78,7 +78,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_ResolveComponentCandidates.go b/service/greengrassv2/api_op_ResolveComponentCandidates.go index 809ab4011f0..399f1c90d1d 100644 --- a/service/greengrassv2/api_op_ResolveComponentCandidates.go +++ b/service/greengrassv2/api_op_ResolveComponentCandidates.go @@ -95,7 +95,10 @@ func addOperationResolveComponentCandidatesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_TagResource.go b/service/greengrassv2/api_op_TagResource.go index 5ddcdc2ddc7..b7b76d6c2cd 100644 --- a/service/greengrassv2/api_op_TagResource.go +++ b/service/greengrassv2/api_op_TagResource.go @@ -80,7 +80,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/greengrassv2/api_op_UntagResource.go b/service/greengrassv2/api_op_UntagResource.go index 2ced6b159d8..90df196e3c6 100644 --- a/service/greengrassv2/api_op_UntagResource.go +++ b/service/greengrassv2/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_CancelContact.go b/service/groundstation/api_op_CancelContact.go index 90b49dc8508..4246778221a 100644 --- a/service/groundstation/api_op_CancelContact.go +++ b/service/groundstation/api_op_CancelContact.go @@ -75,7 +75,10 @@ func addOperationCancelContactMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_CreateConfig.go b/service/groundstation/api_op_CreateConfig.go index b41dccbf364..f7d16c589f1 100644 --- a/service/groundstation/api_op_CreateConfig.go +++ b/service/groundstation/api_op_CreateConfig.go @@ -91,7 +91,10 @@ func addOperationCreateConfigMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_CreateDataflowEndpointGroup.go b/service/groundstation/api_op_CreateDataflowEndpointGroup.go index 22328d1d6ff..2286127f51b 100644 --- a/service/groundstation/api_op_CreateDataflowEndpointGroup.go +++ b/service/groundstation/api_op_CreateDataflowEndpointGroup.go @@ -83,7 +83,10 @@ func addOperationCreateDataflowEndpointGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_CreateMissionProfile.go b/service/groundstation/api_op_CreateMissionProfile.go index 350a2253240..6c67090d5b1 100644 --- a/service/groundstation/api_op_CreateMissionProfile.go +++ b/service/groundstation/api_op_CreateMissionProfile.go @@ -105,7 +105,10 @@ func addOperationCreateMissionProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_DeleteConfig.go b/service/groundstation/api_op_DeleteConfig.go index 71284fc5ec6..c269c8ded8b 100644 --- a/service/groundstation/api_op_DeleteConfig.go +++ b/service/groundstation/api_op_DeleteConfig.go @@ -87,7 +87,10 @@ func addOperationDeleteConfigMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_DeleteDataflowEndpointGroup.go b/service/groundstation/api_op_DeleteDataflowEndpointGroup.go index fb1225f51b1..338ec15e23f 100644 --- a/service/groundstation/api_op_DeleteDataflowEndpointGroup.go +++ b/service/groundstation/api_op_DeleteDataflowEndpointGroup.go @@ -75,7 +75,10 @@ func addOperationDeleteDataflowEndpointGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_DeleteMissionProfile.go b/service/groundstation/api_op_DeleteMissionProfile.go index b725bcef450..3ee8bc4ba25 100644 --- a/service/groundstation/api_op_DeleteMissionProfile.go +++ b/service/groundstation/api_op_DeleteMissionProfile.go @@ -75,7 +75,10 @@ func addOperationDeleteMissionProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_DescribeContact.go b/service/groundstation/api_op_DescribeContact.go index 8d593412def..da0dfddd449 100644 --- a/service/groundstation/api_op_DescribeContact.go +++ b/service/groundstation/api_op_DescribeContact.go @@ -115,7 +115,10 @@ func addOperationDescribeContactMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_GetConfig.go b/service/groundstation/api_op_GetConfig.go index 4f3718ebaf2..658872c5447 100644 --- a/service/groundstation/api_op_GetConfig.go +++ b/service/groundstation/api_op_GetConfig.go @@ -104,7 +104,10 @@ func addOperationGetConfigMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_GetDataflowEndpointGroup.go b/service/groundstation/api_op_GetDataflowEndpointGroup.go index fc89f9b1e29..9eaa7219684 100644 --- a/service/groundstation/api_op_GetDataflowEndpointGroup.go +++ b/service/groundstation/api_op_GetDataflowEndpointGroup.go @@ -85,7 +85,10 @@ func addOperationGetDataflowEndpointGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_GetMinuteUsage.go b/service/groundstation/api_op_GetMinuteUsage.go index 34f9e017f5b..7aa3aa155d0 100644 --- a/service/groundstation/api_op_GetMinuteUsage.go +++ b/service/groundstation/api_op_GetMinuteUsage.go @@ -96,7 +96,10 @@ func addOperationGetMinuteUsageMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_GetMissionProfile.go b/service/groundstation/api_op_GetMissionProfile.go index 3539a254cc7..7cf3622002f 100644 --- a/service/groundstation/api_op_GetMissionProfile.go +++ b/service/groundstation/api_op_GetMissionProfile.go @@ -107,7 +107,10 @@ func addOperationGetMissionProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_GetSatellite.go b/service/groundstation/api_op_GetSatellite.go index a79d58f0950..7b58df2c6e1 100644 --- a/service/groundstation/api_op_GetSatellite.go +++ b/service/groundstation/api_op_GetSatellite.go @@ -84,7 +84,10 @@ func addOperationGetSatelliteMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_ListConfigs.go b/service/groundstation/api_op_ListConfigs.go index 2d9edef3c42..8a7623076f4 100644 --- a/service/groundstation/api_op_ListConfigs.go +++ b/service/groundstation/api_op_ListConfigs.go @@ -83,7 +83,10 @@ func addOperationListConfigsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_ListContacts.go b/service/groundstation/api_op_ListContacts.go index dc737f858f3..31bbc4a58a8 100644 --- a/service/groundstation/api_op_ListContacts.go +++ b/service/groundstation/api_op_ListContacts.go @@ -109,7 +109,10 @@ func addOperationListContactsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_ListDataflowEndpointGroups.go b/service/groundstation/api_op_ListDataflowEndpointGroups.go index ac553e8838d..a348a068a58 100644 --- a/service/groundstation/api_op_ListDataflowEndpointGroups.go +++ b/service/groundstation/api_op_ListDataflowEndpointGroups.go @@ -83,7 +83,10 @@ func addOperationListDataflowEndpointGroupsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_ListGroundStations.go b/service/groundstation/api_op_ListGroundStations.go index 2103d01a746..1b06cf09285 100644 --- a/service/groundstation/api_op_ListGroundStations.go +++ b/service/groundstation/api_op_ListGroundStations.go @@ -86,7 +86,10 @@ func addOperationListGroundStationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_ListMissionProfiles.go b/service/groundstation/api_op_ListMissionProfiles.go index 71d458c0bfc..47b54141ded 100644 --- a/service/groundstation/api_op_ListMissionProfiles.go +++ b/service/groundstation/api_op_ListMissionProfiles.go @@ -83,7 +83,10 @@ func addOperationListMissionProfilesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_ListSatellites.go b/service/groundstation/api_op_ListSatellites.go index 81e5824bb17..2f2f6b70c55 100644 --- a/service/groundstation/api_op_ListSatellites.go +++ b/service/groundstation/api_op_ListSatellites.go @@ -83,7 +83,10 @@ func addOperationListSatellitesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_ListTagsForResource.go b/service/groundstation/api_op_ListTagsForResource.go index 36051375d76..a492e0df796 100644 --- a/service/groundstation/api_op_ListTagsForResource.go +++ b/service/groundstation/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_ReserveContact.go b/service/groundstation/api_op_ReserveContact.go index e06cc2c61e9..06e69c30e1b 100644 --- a/service/groundstation/api_op_ReserveContact.go +++ b/service/groundstation/api_op_ReserveContact.go @@ -99,7 +99,10 @@ func addOperationReserveContactMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_TagResource.go b/service/groundstation/api_op_TagResource.go index 3d0f5bb19f0..402882852d2 100644 --- a/service/groundstation/api_op_TagResource.go +++ b/service/groundstation/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_UntagResource.go b/service/groundstation/api_op_UntagResource.go index 591b72df998..d9dbe4211e7 100644 --- a/service/groundstation/api_op_UntagResource.go +++ b/service/groundstation/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_UpdateConfig.go b/service/groundstation/api_op_UpdateConfig.go index 23a4359fd0d..85d9b7550c5 100644 --- a/service/groundstation/api_op_UpdateConfig.go +++ b/service/groundstation/api_op_UpdateConfig.go @@ -99,7 +99,10 @@ func addOperationUpdateConfigMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/groundstation/api_op_UpdateMissionProfile.go b/service/groundstation/api_op_UpdateMissionProfile.go index ba3caa94314..b6f3132c497 100644 --- a/service/groundstation/api_op_UpdateMissionProfile.go +++ b/service/groundstation/api_op_UpdateMissionProfile.go @@ -99,7 +99,10 @@ func addOperationUpdateMissionProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_AcceptInvitation.go b/service/guardduty/api_op_AcceptInvitation.go index 9f7e55a2db6..3c741f5a2df 100644 --- a/service/guardduty/api_op_AcceptInvitation.go +++ b/service/guardduty/api_op_AcceptInvitation.go @@ -81,7 +81,10 @@ func addOperationAcceptInvitationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ArchiveFindings.go b/service/guardduty/api_op_ArchiveFindings.go index c754a5645d5..c734c960bd3 100644 --- a/service/guardduty/api_op_ArchiveFindings.go +++ b/service/guardduty/api_op_ArchiveFindings.go @@ -77,7 +77,10 @@ func addOperationArchiveFindingsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_CreateDetector.go b/service/guardduty/api_op_CreateDetector.go index bae4c3bc96b..01df13aca9c 100644 --- a/service/guardduty/api_op_CreateDetector.go +++ b/service/guardduty/api_op_CreateDetector.go @@ -91,7 +91,10 @@ func addOperationCreateDetectorMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_CreateFilter.go b/service/guardduty/api_op_CreateFilter.go index 4bad00273d8..0f84008b6d3 100644 --- a/service/guardduty/api_op_CreateFilter.go +++ b/service/guardduty/api_op_CreateFilter.go @@ -253,7 +253,10 @@ func addOperationCreateFilterMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_CreateIPSet.go b/service/guardduty/api_op_CreateIPSet.go index 889e421676f..9733d43e609 100644 --- a/service/guardduty/api_op_CreateIPSet.go +++ b/service/guardduty/api_op_CreateIPSet.go @@ -111,7 +111,10 @@ func addOperationCreateIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_CreateMembers.go b/service/guardduty/api_op_CreateMembers.go index 3f771bed3eb..8c95a688006 100644 --- a/service/guardduty/api_op_CreateMembers.go +++ b/service/guardduty/api_op_CreateMembers.go @@ -93,7 +93,10 @@ func addOperationCreateMembersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_CreatePublishingDestination.go b/service/guardduty/api_op_CreatePublishingDestination.go index 9caf19fce5d..506bdd1cebd 100644 --- a/service/guardduty/api_op_CreatePublishingDestination.go +++ b/service/guardduty/api_op_CreatePublishingDestination.go @@ -93,7 +93,10 @@ func addOperationCreatePublishingDestinationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_CreateSampleFindings.go b/service/guardduty/api_op_CreateSampleFindings.go index 0d3d300c837..8692821d68f 100644 --- a/service/guardduty/api_op_CreateSampleFindings.go +++ b/service/guardduty/api_op_CreateSampleFindings.go @@ -74,7 +74,10 @@ func addOperationCreateSampleFindingsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_CreateThreatIntelSet.go b/service/guardduty/api_op_CreateThreatIntelSet.go index ccd59f34c1b..60deb79f861 100644 --- a/service/guardduty/api_op_CreateThreatIntelSet.go +++ b/service/guardduty/api_op_CreateThreatIntelSet.go @@ -109,7 +109,10 @@ func addOperationCreateThreatIntelSetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DeclineInvitations.go b/service/guardduty/api_op_DeclineInvitations.go index 3ebcb888d85..f03d4370ed5 100644 --- a/service/guardduty/api_op_DeclineInvitations.go +++ b/service/guardduty/api_op_DeclineInvitations.go @@ -79,7 +79,10 @@ func addOperationDeclineInvitationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DeleteDetector.go b/service/guardduty/api_op_DeleteDetector.go index bb511d22cbb..932dea80156 100644 --- a/service/guardduty/api_op_DeleteDetector.go +++ b/service/guardduty/api_op_DeleteDetector.go @@ -69,7 +69,10 @@ func addOperationDeleteDetectorMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DeleteFilter.go b/service/guardduty/api_op_DeleteFilter.go index b37261c7d42..fa84934a9bc 100644 --- a/service/guardduty/api_op_DeleteFilter.go +++ b/service/guardduty/api_op_DeleteFilter.go @@ -74,7 +74,10 @@ func addOperationDeleteFilterMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DeleteIPSet.go b/service/guardduty/api_op_DeleteIPSet.go index 5d3d69d8068..e92a604ce51 100644 --- a/service/guardduty/api_op_DeleteIPSet.go +++ b/service/guardduty/api_op_DeleteIPSet.go @@ -75,7 +75,10 @@ func addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DeleteInvitations.go b/service/guardduty/api_op_DeleteInvitations.go index 6f904529fc9..08504536217 100644 --- a/service/guardduty/api_op_DeleteInvitations.go +++ b/service/guardduty/api_op_DeleteInvitations.go @@ -79,7 +79,10 @@ func addOperationDeleteInvitationsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DeleteMembers.go b/service/guardduty/api_op_DeleteMembers.go index f4aac400ddc..79b6c16f4e7 100644 --- a/service/guardduty/api_op_DeleteMembers.go +++ b/service/guardduty/api_op_DeleteMembers.go @@ -83,7 +83,10 @@ func addOperationDeleteMembersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DeletePublishingDestination.go b/service/guardduty/api_op_DeletePublishingDestination.go index d27e6b3003c..8fd9c1a2523 100644 --- a/service/guardduty/api_op_DeletePublishingDestination.go +++ b/service/guardduty/api_op_DeletePublishingDestination.go @@ -75,7 +75,10 @@ func addOperationDeletePublishingDestinationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DeleteThreatIntelSet.go b/service/guardduty/api_op_DeleteThreatIntelSet.go index d17f8c02149..a5585db98cf 100644 --- a/service/guardduty/api_op_DeleteThreatIntelSet.go +++ b/service/guardduty/api_op_DeleteThreatIntelSet.go @@ -74,7 +74,10 @@ func addOperationDeleteThreatIntelSetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DescribeOrganizationConfiguration.go b/service/guardduty/api_op_DescribeOrganizationConfiguration.go index abc789043cc..7b3b39733a1 100644 --- a/service/guardduty/api_op_DescribeOrganizationConfiguration.go +++ b/service/guardduty/api_op_DescribeOrganizationConfiguration.go @@ -88,7 +88,10 @@ func addOperationDescribeOrganizationConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DescribePublishingDestination.go b/service/guardduty/api_op_DescribePublishingDestination.go index 7b421c887d9..da4a566e84f 100644 --- a/service/guardduty/api_op_DescribePublishingDestination.go +++ b/service/guardduty/api_op_DescribePublishingDestination.go @@ -106,7 +106,10 @@ func addOperationDescribePublishingDestinationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DisableOrganizationAdminAccount.go b/service/guardduty/api_op_DisableOrganizationAdminAccount.go index 9e84cf44d05..da8667afd7c 100644 --- a/service/guardduty/api_op_DisableOrganizationAdminAccount.go +++ b/service/guardduty/api_op_DisableOrganizationAdminAccount.go @@ -71,7 +71,10 @@ func addOperationDisableOrganizationAdminAccountMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DisassociateFromMasterAccount.go b/service/guardduty/api_op_DisassociateFromMasterAccount.go index eaee7af4ec9..6b73cf4513d 100644 --- a/service/guardduty/api_op_DisassociateFromMasterAccount.go +++ b/service/guardduty/api_op_DisassociateFromMasterAccount.go @@ -70,7 +70,10 @@ func addOperationDisassociateFromMasterAccountMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_DisassociateMembers.go b/service/guardduty/api_op_DisassociateMembers.go index 5dd058e5ad8..4ea1f31c9ee 100644 --- a/service/guardduty/api_op_DisassociateMembers.go +++ b/service/guardduty/api_op_DisassociateMembers.go @@ -85,7 +85,10 @@ func addOperationDisassociateMembersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_EnableOrganizationAdminAccount.go b/service/guardduty/api_op_EnableOrganizationAdminAccount.go index c462ec08f24..1e255a2b516 100644 --- a/service/guardduty/api_op_EnableOrganizationAdminAccount.go +++ b/service/guardduty/api_op_EnableOrganizationAdminAccount.go @@ -71,7 +71,10 @@ func addOperationEnableOrganizationAdminAccountMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetDetector.go b/service/guardduty/api_op_GetDetector.go index c663940d306..40217515ca9 100644 --- a/service/guardduty/api_op_GetDetector.go +++ b/service/guardduty/api_op_GetDetector.go @@ -96,7 +96,10 @@ func addOperationGetDetectorMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetFilter.go b/service/guardduty/api_op_GetFilter.go index 16758570ccf..3569102a85b 100644 --- a/service/guardduty/api_op_GetFilter.go +++ b/service/guardduty/api_op_GetFilter.go @@ -102,7 +102,10 @@ func addOperationGetFilterMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetFindings.go b/service/guardduty/api_op_GetFindings.go index 5a9216f4691..32942cdf3a4 100644 --- a/service/guardduty/api_op_GetFindings.go +++ b/service/guardduty/api_op_GetFindings.go @@ -85,7 +85,10 @@ func addOperationGetFindingsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetFindingsStatistics.go b/service/guardduty/api_op_GetFindingsStatistics.go index dd14d408220..c1fc713a91e 100644 --- a/service/guardduty/api_op_GetFindingsStatistics.go +++ b/service/guardduty/api_op_GetFindingsStatistics.go @@ -85,7 +85,10 @@ func addOperationGetFindingsStatisticsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetIPSet.go b/service/guardduty/api_op_GetIPSet.go index 538dd3f8c77..de33a855499 100644 --- a/service/guardduty/api_op_GetIPSet.go +++ b/service/guardduty/api_op_GetIPSet.go @@ -100,7 +100,10 @@ func addOperationGetIPSetMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetInvitationsCount.go b/service/guardduty/api_op_GetInvitationsCount.go index 4b4b8e90e7c..7e58cd69f3e 100644 --- a/service/guardduty/api_op_GetInvitationsCount.go +++ b/service/guardduty/api_op_GetInvitationsCount.go @@ -69,7 +69,10 @@ func addOperationGetInvitationsCountMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetMasterAccount.go b/service/guardduty/api_op_GetMasterAccount.go index 77388989f76..8c9a7f39187 100644 --- a/service/guardduty/api_op_GetMasterAccount.go +++ b/service/guardduty/api_op_GetMasterAccount.go @@ -77,7 +77,10 @@ func addOperationGetMasterAccountMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetMemberDetectors.go b/service/guardduty/api_op_GetMemberDetectors.go index 6a259fe4218..45d6a2fa1cf 100644 --- a/service/guardduty/api_op_GetMemberDetectors.go +++ b/service/guardduty/api_op_GetMemberDetectors.go @@ -87,7 +87,10 @@ func addOperationGetMemberDetectorsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetMembers.go b/service/guardduty/api_op_GetMembers.go index cac55ccd336..9bc7c94f4f9 100644 --- a/service/guardduty/api_op_GetMembers.go +++ b/service/guardduty/api_op_GetMembers.go @@ -90,7 +90,10 @@ func addOperationGetMembersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetThreatIntelSet.go b/service/guardduty/api_op_GetThreatIntelSet.go index fa1b3952d4e..4669c5dc0de 100644 --- a/service/guardduty/api_op_GetThreatIntelSet.go +++ b/service/guardduty/api_op_GetThreatIntelSet.go @@ -101,7 +101,10 @@ func addOperationGetThreatIntelSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_GetUsageStatistics.go b/service/guardduty/api_op_GetUsageStatistics.go index 453d004d9e7..1ce18078ace 100644 --- a/service/guardduty/api_op_GetUsageStatistics.go +++ b/service/guardduty/api_op_GetUsageStatistics.go @@ -110,7 +110,10 @@ func addOperationGetUsageStatisticsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_InviteMembers.go b/service/guardduty/api_op_InviteMembers.go index b086f27209f..3f579579030 100644 --- a/service/guardduty/api_op_InviteMembers.go +++ b/service/guardduty/api_op_InviteMembers.go @@ -95,7 +95,10 @@ func addOperationInviteMembersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListDetectors.go b/service/guardduty/api_op_ListDetectors.go index d00a62fff16..c3ba49e5875 100644 --- a/service/guardduty/api_op_ListDetectors.go +++ b/service/guardduty/api_op_ListDetectors.go @@ -85,7 +85,10 @@ func addOperationListDetectorsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListFilters.go b/service/guardduty/api_op_ListFilters.go index 67925bf72bf..3b4547611aa 100644 --- a/service/guardduty/api_op_ListFilters.go +++ b/service/guardduty/api_op_ListFilters.go @@ -90,7 +90,10 @@ func addOperationListFiltersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListFindings.go b/service/guardduty/api_op_ListFindings.go index e8105c4c259..68b0a850e6e 100644 --- a/service/guardduty/api_op_ListFindings.go +++ b/service/guardduty/api_op_ListFindings.go @@ -236,7 +236,10 @@ func addOperationListFindingsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListIPSets.go b/service/guardduty/api_op_ListIPSets.go index 6bb4c14e8fe..cacaac52e02 100644 --- a/service/guardduty/api_op_ListIPSets.go +++ b/service/guardduty/api_op_ListIPSets.go @@ -92,7 +92,10 @@ func addOperationListIPSetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListInvitations.go b/service/guardduty/api_op_ListInvitations.go index 28f47b1c0a2..646c1d5fd65 100644 --- a/service/guardduty/api_op_ListInvitations.go +++ b/service/guardduty/api_op_ListInvitations.go @@ -85,7 +85,10 @@ func addOperationListInvitationsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListMembers.go b/service/guardduty/api_op_ListMembers.go index aa81d3c8531..42d5eb1a0fa 100644 --- a/service/guardduty/api_op_ListMembers.go +++ b/service/guardduty/api_op_ListMembers.go @@ -94,7 +94,10 @@ func addOperationListMembersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListOrganizationAdminAccounts.go b/service/guardduty/api_op_ListOrganizationAdminAccounts.go index c8b9ce01631..7326fcdaf6e 100644 --- a/service/guardduty/api_op_ListOrganizationAdminAccounts.go +++ b/service/guardduty/api_op_ListOrganizationAdminAccounts.go @@ -83,7 +83,10 @@ func addOperationListOrganizationAdminAccountsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListPublishingDestinations.go b/service/guardduty/api_op_ListPublishingDestinations.go index 82837e552c4..d2f1e7ce72a 100644 --- a/service/guardduty/api_op_ListPublishingDestinations.go +++ b/service/guardduty/api_op_ListPublishingDestinations.go @@ -94,7 +94,10 @@ func addOperationListPublishingDestinationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListTagsForResource.go b/service/guardduty/api_op_ListTagsForResource.go index b14c543793f..4b9db52faf1 100644 --- a/service/guardduty/api_op_ListTagsForResource.go +++ b/service/guardduty/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_ListThreatIntelSets.go b/service/guardduty/api_op_ListThreatIntelSets.go index bf7704a98da..030b60fed58 100644 --- a/service/guardduty/api_op_ListThreatIntelSets.go +++ b/service/guardduty/api_op_ListThreatIntelSets.go @@ -92,7 +92,10 @@ func addOperationListThreatIntelSetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_StartMonitoringMembers.go b/service/guardduty/api_op_StartMonitoringMembers.go index 4fd720c7197..c8c0d20d067 100644 --- a/service/guardduty/api_op_StartMonitoringMembers.go +++ b/service/guardduty/api_op_StartMonitoringMembers.go @@ -85,7 +85,10 @@ func addOperationStartMonitoringMembersMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_StopMonitoringMembers.go b/service/guardduty/api_op_StopMonitoringMembers.go index b6ccdca6d23..419eeba3cd3 100644 --- a/service/guardduty/api_op_StopMonitoringMembers.go +++ b/service/guardduty/api_op_StopMonitoringMembers.go @@ -84,7 +84,10 @@ func addOperationStopMonitoringMembersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_TagResource.go b/service/guardduty/api_op_TagResource.go index 8c7faa0802d..1a4eabb77fa 100644 --- a/service/guardduty/api_op_TagResource.go +++ b/service/guardduty/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UnarchiveFindings.go b/service/guardduty/api_op_UnarchiveFindings.go index ca8c086d260..0d1b1f24130 100644 --- a/service/guardduty/api_op_UnarchiveFindings.go +++ b/service/guardduty/api_op_UnarchiveFindings.go @@ -74,7 +74,10 @@ func addOperationUnarchiveFindingsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UntagResource.go b/service/guardduty/api_op_UntagResource.go index 2085e9a2b87..4aa379b4288 100644 --- a/service/guardduty/api_op_UntagResource.go +++ b/service/guardduty/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UpdateDetector.go b/service/guardduty/api_op_UpdateDetector.go index 5e301a40dbe..2328ce68d0e 100644 --- a/service/guardduty/api_op_UpdateDetector.go +++ b/service/guardduty/api_op_UpdateDetector.go @@ -80,7 +80,10 @@ func addOperationUpdateDetectorMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UpdateFilter.go b/service/guardduty/api_op_UpdateFilter.go index 8e98b019d3f..45642c671fe 100644 --- a/service/guardduty/api_op_UpdateFilter.go +++ b/service/guardduty/api_op_UpdateFilter.go @@ -96,7 +96,10 @@ func addOperationUpdateFilterMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UpdateFindingsFeedback.go b/service/guardduty/api_op_UpdateFindingsFeedback.go index 172ef80607f..6adbee64218 100644 --- a/service/guardduty/api_op_UpdateFindingsFeedback.go +++ b/service/guardduty/api_op_UpdateFindingsFeedback.go @@ -83,7 +83,10 @@ func addOperationUpdateFindingsFeedbackMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UpdateIPSet.go b/service/guardduty/api_op_UpdateIPSet.go index f82cdadf8ad..33bbd1543ff 100644 --- a/service/guardduty/api_op_UpdateIPSet.go +++ b/service/guardduty/api_op_UpdateIPSet.go @@ -85,7 +85,10 @@ func addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UpdateMemberDetectors.go b/service/guardduty/api_op_UpdateMemberDetectors.go index 6b09eb59353..2c978833c21 100644 --- a/service/guardduty/api_op_UpdateMemberDetectors.go +++ b/service/guardduty/api_op_UpdateMemberDetectors.go @@ -85,7 +85,10 @@ func addOperationUpdateMemberDetectorsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UpdateOrganizationConfiguration.go b/service/guardduty/api_op_UpdateOrganizationConfiguration.go index 555ac333be5..18f49e18d8a 100644 --- a/service/guardduty/api_op_UpdateOrganizationConfiguration.go +++ b/service/guardduty/api_op_UpdateOrganizationConfiguration.go @@ -78,7 +78,10 @@ func addOperationUpdateOrganizationConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UpdatePublishingDestination.go b/service/guardduty/api_op_UpdatePublishingDestination.go index c2b3f0632dd..a65f9d08e90 100644 --- a/service/guardduty/api_op_UpdatePublishingDestination.go +++ b/service/guardduty/api_op_UpdatePublishingDestination.go @@ -80,7 +80,10 @@ func addOperationUpdatePublishingDestinationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/guardduty/api_op_UpdateThreatIntelSet.go b/service/guardduty/api_op_UpdateThreatIntelSet.go index ccdd54e6a1e..4d714119249 100644 --- a/service/guardduty/api_op_UpdateThreatIntelSet.go +++ b/service/guardduty/api_op_UpdateThreatIntelSet.go @@ -85,7 +85,10 @@ func addOperationUpdateThreatIntelSetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeAffectedAccountsForOrganization.go b/service/health/api_op_DescribeAffectedAccountsForOrganization.go index c65cb0ecdac..e5191464c9a 100644 --- a/service/health/api_op_DescribeAffectedAccountsForOrganization.go +++ b/service/health/api_op_DescribeAffectedAccountsForOrganization.go @@ -122,7 +122,10 @@ func addOperationDescribeAffectedAccountsForOrganizationMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeAffectedEntities.go b/service/health/api_op_DescribeAffectedEntities.go index 24db025657e..768212084b4 100644 --- a/service/health/api_op_DescribeAffectedEntities.go +++ b/service/health/api_op_DescribeAffectedEntities.go @@ -105,7 +105,10 @@ func addOperationDescribeAffectedEntitiesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeAffectedEntitiesForOrganization.go b/service/health/api_op_DescribeAffectedEntitiesForOrganization.go index a24effe7d39..3bdaaa10af2 100644 --- a/service/health/api_op_DescribeAffectedEntitiesForOrganization.go +++ b/service/health/api_op_DescribeAffectedEntitiesForOrganization.go @@ -114,7 +114,10 @@ func addOperationDescribeAffectedEntitiesForOrganizationMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeEntityAggregates.go b/service/health/api_op_DescribeEntityAggregates.go index e0786e3906a..0706c6b0ef2 100644 --- a/service/health/api_op_DescribeEntityAggregates.go +++ b/service/health/api_op_DescribeEntityAggregates.go @@ -76,7 +76,10 @@ func addOperationDescribeEntityAggregatesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeEventAggregates.go b/service/health/api_op_DescribeEventAggregates.go index a7be20a5527..6d74835d068 100644 --- a/service/health/api_op_DescribeEventAggregates.go +++ b/service/health/api_op_DescribeEventAggregates.go @@ -99,7 +99,10 @@ func addOperationDescribeEventAggregatesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeEventDetails.go b/service/health/api_op_DescribeEventDetails.go index 69fe74cada9..5f8617275f7 100644 --- a/service/health/api_op_DescribeEventDetails.go +++ b/service/health/api_op_DescribeEventDetails.go @@ -92,7 +92,10 @@ func addOperationDescribeEventDetailsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeEventDetailsForOrganization.go b/service/health/api_op_DescribeEventDetailsForOrganization.go index d0ac46b80db..2d15d0a95f4 100644 --- a/service/health/api_op_DescribeEventDetailsForOrganization.go +++ b/service/health/api_op_DescribeEventDetailsForOrganization.go @@ -110,7 +110,10 @@ func addOperationDescribeEventDetailsForOrganizationMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeEventTypes.go b/service/health/api_op_DescribeEventTypes.go index 8d095aa883d..6a9d2fd42bc 100644 --- a/service/health/api_op_DescribeEventTypes.go +++ b/service/health/api_op_DescribeEventTypes.go @@ -101,7 +101,10 @@ func addOperationDescribeEventTypesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeEvents.go b/service/health/api_op_DescribeEvents.go index ed85121de9f..64f4fab2e94 100644 --- a/service/health/api_op_DescribeEvents.go +++ b/service/health/api_op_DescribeEvents.go @@ -117,7 +117,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeEventsForOrganization.go b/service/health/api_op_DescribeEventsForOrganization.go index 99eb24a6cde..546f8da735c 100644 --- a/service/health/api_op_DescribeEventsForOrganization.go +++ b/service/health/api_op_DescribeEventsForOrganization.go @@ -124,7 +124,10 @@ func addOperationDescribeEventsForOrganizationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DescribeHealthServiceStatusForOrganization.go b/service/health/api_op_DescribeHealthServiceStatusForOrganization.go index c67e770be6b..13e2b5ee8f6 100644 --- a/service/health/api_op_DescribeHealthServiceStatusForOrganization.go +++ b/service/health/api_op_DescribeHealthServiceStatusForOrganization.go @@ -72,7 +72,10 @@ func addOperationDescribeHealthServiceStatusForOrganizationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_DisableHealthServiceAccessForOrganization.go b/service/health/api_op_DisableHealthServiceAccessForOrganization.go index 092fa2f8c5c..0beb7bdc1be 100644 --- a/service/health/api_op_DisableHealthServiceAccessForOrganization.go +++ b/service/health/api_op_DisableHealthServiceAccessForOrganization.go @@ -80,7 +80,10 @@ func addOperationDisableHealthServiceAccessForOrganizationMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/health/api_op_EnableHealthServiceAccessForOrganization.go b/service/health/api_op_EnableHealthServiceAccessForOrganization.go index 8c6db0599b7..ce1531d6f2d 100644 --- a/service/health/api_op_EnableHealthServiceAccessForOrganization.go +++ b/service/health/api_op_EnableHealthServiceAccessForOrganization.go @@ -70,7 +70,10 @@ func addOperationEnableHealthServiceAccessForOrganizationMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/healthlake/api_op_CreateFHIRDatastore.go b/service/healthlake/api_op_CreateFHIRDatastore.go index 06659aee8d9..cb07ef16dd4 100644 --- a/service/healthlake/api_op_CreateFHIRDatastore.go +++ b/service/healthlake/api_op_CreateFHIRDatastore.go @@ -106,7 +106,10 @@ func addOperationCreateFHIRDatastoreMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/healthlake/api_op_DeleteFHIRDatastore.go b/service/healthlake/api_op_DeleteFHIRDatastore.go index 7c6e275c396..50fc1e223d1 100644 --- a/service/healthlake/api_op_DeleteFHIRDatastore.go +++ b/service/healthlake/api_op_DeleteFHIRDatastore.go @@ -89,7 +89,10 @@ func addOperationDeleteFHIRDatastoreMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/healthlake/api_op_DescribeFHIRDatastore.go b/service/healthlake/api_op_DescribeFHIRDatastore.go index 701528bd138..909a4023375 100644 --- a/service/healthlake/api_op_DescribeFHIRDatastore.go +++ b/service/healthlake/api_op_DescribeFHIRDatastore.go @@ -79,7 +79,10 @@ func addOperationDescribeFHIRDatastoreMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/healthlake/api_op_DescribeFHIRImportJob.go b/service/healthlake/api_op_DescribeFHIRImportJob.go index 5c660929049..725fc315436 100644 --- a/service/healthlake/api_op_DescribeFHIRImportJob.go +++ b/service/healthlake/api_op_DescribeFHIRImportJob.go @@ -83,7 +83,10 @@ func addOperationDescribeFHIRImportJobMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/healthlake/api_op_ListFHIRDatastores.go b/service/healthlake/api_op_ListFHIRDatastores.go index 1d35ad742ab..67196c365ee 100644 --- a/service/healthlake/api_op_ListFHIRDatastores.go +++ b/service/healthlake/api_op_ListFHIRDatastores.go @@ -86,7 +86,10 @@ func addOperationListFHIRDatastoresMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/healthlake/api_op_StartFHIRImportJob.go b/service/healthlake/api_op_StartFHIRImportJob.go index ae380041148..1872b578728 100644 --- a/service/healthlake/api_op_StartFHIRImportJob.go +++ b/service/healthlake/api_op_StartFHIRImportJob.go @@ -103,7 +103,10 @@ func addOperationStartFHIRImportJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_BatchCreateTableRows.go b/service/honeycode/api_op_BatchCreateTableRows.go index f77022064e9..adb8afb1366 100644 --- a/service/honeycode/api_op_BatchCreateTableRows.go +++ b/service/honeycode/api_op_BatchCreateTableRows.go @@ -119,7 +119,10 @@ func addOperationBatchCreateTableRowsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_BatchDeleteTableRows.go b/service/honeycode/api_op_BatchDeleteTableRows.go index 17d802a02a8..a8ae4df04e9 100644 --- a/service/honeycode/api_op_BatchDeleteTableRows.go +++ b/service/honeycode/api_op_BatchDeleteTableRows.go @@ -107,7 +107,10 @@ func addOperationBatchDeleteTableRowsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_BatchUpdateTableRows.go b/service/honeycode/api_op_BatchUpdateTableRows.go index 1672a6132c8..c2488781428 100644 --- a/service/honeycode/api_op_BatchUpdateTableRows.go +++ b/service/honeycode/api_op_BatchUpdateTableRows.go @@ -111,7 +111,10 @@ func addOperationBatchUpdateTableRowsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_BatchUpsertTableRows.go b/service/honeycode/api_op_BatchUpsertTableRows.go index 226493f8b17..bde4c7b3ab0 100644 --- a/service/honeycode/api_op_BatchUpsertTableRows.go +++ b/service/honeycode/api_op_BatchUpsertTableRows.go @@ -127,7 +127,10 @@ func addOperationBatchUpsertTableRowsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_DescribeTableDataImportJob.go b/service/honeycode/api_op_DescribeTableDataImportJob.go index 86db4592f22..3cc98f253c6 100644 --- a/service/honeycode/api_op_DescribeTableDataImportJob.go +++ b/service/honeycode/api_op_DescribeTableDataImportJob.go @@ -101,7 +101,10 @@ func addOperationDescribeTableDataImportJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_GetScreenData.go b/service/honeycode/api_op_GetScreenData.go index e7e269ad1fd..e88f983c0da 100644 --- a/service/honeycode/api_op_GetScreenData.go +++ b/service/honeycode/api_op_GetScreenData.go @@ -118,7 +118,10 @@ func addOperationGetScreenDataMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_InvokeScreenAutomation.go b/service/honeycode/api_op_InvokeScreenAutomation.go index 365d1885f95..402a5751e4d 100644 --- a/service/honeycode/api_op_InvokeScreenAutomation.go +++ b/service/honeycode/api_op_InvokeScreenAutomation.go @@ -114,7 +114,10 @@ func addOperationInvokeScreenAutomationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_ListTableColumns.go b/service/honeycode/api_op_ListTableColumns.go index 4530f057d64..ed3c3232277 100644 --- a/service/honeycode/api_op_ListTableColumns.go +++ b/service/honeycode/api_op_ListTableColumns.go @@ -102,7 +102,10 @@ func addOperationListTableColumnsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_ListTableRows.go b/service/honeycode/api_op_ListTableRows.go index a1c06acf58e..ff523b4eee1 100644 --- a/service/honeycode/api_op_ListTableRows.go +++ b/service/honeycode/api_op_ListTableRows.go @@ -121,7 +121,10 @@ func addOperationListTableRowsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_ListTables.go b/service/honeycode/api_op_ListTables.go index 4805eef3a1c..add47cc26d7 100644 --- a/service/honeycode/api_op_ListTables.go +++ b/service/honeycode/api_op_ListTables.go @@ -98,7 +98,10 @@ func addOperationListTablesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_QueryTableRows.go b/service/honeycode/api_op_QueryTableRows.go index 158e14b8d56..890897f0cb1 100644 --- a/service/honeycode/api_op_QueryTableRows.go +++ b/service/honeycode/api_op_QueryTableRows.go @@ -117,7 +117,10 @@ func addOperationQueryTableRowsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/honeycode/api_op_StartTableDataImportJob.go b/service/honeycode/api_op_StartTableDataImportJob.go index 5fd323fe071..e01567bf8ad 100644 --- a/service/honeycode/api_op_StartTableDataImportJob.go +++ b/service/honeycode/api_op_StartTableDataImportJob.go @@ -122,7 +122,10 @@ func addOperationStartTableDataImportJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go b/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go index 71fd0c91214..321c27d2e1e 100644 --- a/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go +++ b/service/iam/api_op_AddClientIDToOpenIDConnectProvider.go @@ -80,7 +80,10 @@ func addOperationAddClientIDToOpenIDConnectProviderMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_AddRoleToInstanceProfile.go b/service/iam/api_op_AddRoleToInstanceProfile.go index ef5cc705ae9..bcc42c7ec8c 100644 --- a/service/iam/api_op_AddRoleToInstanceProfile.go +++ b/service/iam/api_op_AddRoleToInstanceProfile.go @@ -97,7 +97,10 @@ func addOperationAddRoleToInstanceProfileMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_AddUserToGroup.go b/service/iam/api_op_AddUserToGroup.go index 669b9abe331..fe03e309cd8 100644 --- a/service/iam/api_op_AddUserToGroup.go +++ b/service/iam/api_op_AddUserToGroup.go @@ -80,7 +80,10 @@ func addOperationAddUserToGroupMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_AttachGroupPolicy.go b/service/iam/api_op_AttachGroupPolicy.go index 29029e882dc..4fc5abe2e71 100644 --- a/service/iam/api_op_AttachGroupPolicy.go +++ b/service/iam/api_op_AttachGroupPolicy.go @@ -86,7 +86,10 @@ func addOperationAttachGroupPolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_AttachRolePolicy.go b/service/iam/api_op_AttachRolePolicy.go index 77b38c61c66..a5b087ee904 100644 --- a/service/iam/api_op_AttachRolePolicy.go +++ b/service/iam/api_op_AttachRolePolicy.go @@ -90,7 +90,10 @@ func addOperationAttachRolePolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_AttachUserPolicy.go b/service/iam/api_op_AttachUserPolicy.go index fe920f9be57..7e338f572a5 100644 --- a/service/iam/api_op_AttachUserPolicy.go +++ b/service/iam/api_op_AttachUserPolicy.go @@ -86,7 +86,10 @@ func addOperationAttachUserPolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ChangePassword.go b/service/iam/api_op_ChangePassword.go index c1c636a1dbb..b3943a658fd 100644 --- a/service/iam/api_op_ChangePassword.go +++ b/service/iam/api_op_ChangePassword.go @@ -87,7 +87,10 @@ func addOperationChangePasswordMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateAccessKey.go b/service/iam/api_op_CreateAccessKey.go index 8e27bf1677a..6880c20261f 100644 --- a/service/iam/api_op_CreateAccessKey.go +++ b/service/iam/api_op_CreateAccessKey.go @@ -91,7 +91,10 @@ func addOperationCreateAccessKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateAccountAlias.go b/service/iam/api_op_CreateAccountAlias.go index 7ed03ed3f7b..e91e41e79b3 100644 --- a/service/iam/api_op_CreateAccountAlias.go +++ b/service/iam/api_op_CreateAccountAlias.go @@ -75,7 +75,10 @@ func addOperationCreateAccountAliasMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateGroup.go b/service/iam/api_op_CreateGroup.go index b7d660d70bc..817f0677357 100644 --- a/service/iam/api_op_CreateGroup.go +++ b/service/iam/api_op_CreateGroup.go @@ -94,7 +94,10 @@ func addOperationCreateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateInstanceProfile.go b/service/iam/api_op_CreateInstanceProfile.go index c45f4414dcf..bfc4ef4c61c 100644 --- a/service/iam/api_op_CreateInstanceProfile.go +++ b/service/iam/api_op_CreateInstanceProfile.go @@ -98,7 +98,10 @@ func addOperationCreateInstanceProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateLoginProfile.go b/service/iam/api_op_CreateLoginProfile.go index 6d455de4dd0..8c5c7afc40b 100644 --- a/service/iam/api_op_CreateLoginProfile.go +++ b/service/iam/api_op_CreateLoginProfile.go @@ -101,7 +101,10 @@ func addOperationCreateLoginProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateOpenIDConnectProvider.go b/service/iam/api_op_CreateOpenIDConnectProvider.go index f05c33fba0e..2e0392f7826 100644 --- a/service/iam/api_op_CreateOpenIDConnectProvider.go +++ b/service/iam/api_op_CreateOpenIDConnectProvider.go @@ -132,7 +132,10 @@ func addOperationCreateOpenIDConnectProviderMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreatePolicy.go b/service/iam/api_op_CreatePolicy.go index bc453dde56e..2c851c8cac8 100644 --- a/service/iam/api_op_CreatePolicy.go +++ b/service/iam/api_op_CreatePolicy.go @@ -123,7 +123,10 @@ func addOperationCreatePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreatePolicyVersion.go b/service/iam/api_op_CreatePolicyVersion.go index cd008540049..5c0a45373d2 100644 --- a/service/iam/api_op_CreatePolicyVersion.go +++ b/service/iam/api_op_CreatePolicyVersion.go @@ -118,7 +118,10 @@ func addOperationCreatePolicyVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateRole.go b/service/iam/api_op_CreateRole.go index adb00bad323..b8e6c249f6b 100644 --- a/service/iam/api_op_CreateRole.go +++ b/service/iam/api_op_CreateRole.go @@ -149,7 +149,10 @@ func addOperationCreateRoleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateSAMLProvider.go b/service/iam/api_op_CreateSAMLProvider.go index a1e620a5f6f..520e0f69a71 100644 --- a/service/iam/api_op_CreateSAMLProvider.go +++ b/service/iam/api_op_CreateSAMLProvider.go @@ -107,7 +107,10 @@ func addOperationCreateSAMLProviderMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateServiceLinkedRole.go b/service/iam/api_op_CreateServiceLinkedRole.go index 347f24aaeb8..1d4257e2a20 100644 --- a/service/iam/api_op_CreateServiceLinkedRole.go +++ b/service/iam/api_op_CreateServiceLinkedRole.go @@ -103,7 +103,10 @@ func addOperationCreateServiceLinkedRoleMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateServiceSpecificCredential.go b/service/iam/api_op_CreateServiceSpecificCredential.go index bb92fc88941..c2dbe24ff57 100644 --- a/service/iam/api_op_CreateServiceSpecificCredential.go +++ b/service/iam/api_op_CreateServiceSpecificCredential.go @@ -99,7 +99,10 @@ func addOperationCreateServiceSpecificCredentialMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateUser.go b/service/iam/api_op_CreateUser.go index ef138e5be12..50c2450ce7a 100644 --- a/service/iam/api_op_CreateUser.go +++ b/service/iam/api_op_CreateUser.go @@ -104,7 +104,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_CreateVirtualMFADevice.go b/service/iam/api_op_CreateVirtualMFADevice.go index 81339b0e3d9..49a1badd0f2 100644 --- a/service/iam/api_op_CreateVirtualMFADevice.go +++ b/service/iam/api_op_CreateVirtualMFADevice.go @@ -105,7 +105,10 @@ func addOperationCreateVirtualMFADeviceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeactivateMFADevice.go b/service/iam/api_op_DeactivateMFADevice.go index 789ac274473..31bd2bed130 100644 --- a/service/iam/api_op_DeactivateMFADevice.go +++ b/service/iam/api_op_DeactivateMFADevice.go @@ -86,7 +86,10 @@ func addOperationDeactivateMFADeviceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteAccessKey.go b/service/iam/api_op_DeleteAccessKey.go index e80dfdbe5db..423a8ba277e 100644 --- a/service/iam/api_op_DeleteAccessKey.go +++ b/service/iam/api_op_DeleteAccessKey.go @@ -82,7 +82,10 @@ func addOperationDeleteAccessKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteAccountAlias.go b/service/iam/api_op_DeleteAccountAlias.go index 7921d74531e..6507d6a6a12 100644 --- a/service/iam/api_op_DeleteAccountAlias.go +++ b/service/iam/api_op_DeleteAccountAlias.go @@ -75,7 +75,10 @@ func addOperationDeleteAccountAliasMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteAccountPasswordPolicy.go b/service/iam/api_op_DeleteAccountPasswordPolicy.go index 77ebc722f46..0b6ed5555fe 100644 --- a/service/iam/api_op_DeleteAccountPasswordPolicy.go +++ b/service/iam/api_op_DeleteAccountPasswordPolicy.go @@ -64,7 +64,10 @@ func addOperationDeleteAccountPasswordPolicyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteGroup.go b/service/iam/api_op_DeleteGroup.go index 47cac6348a1..96a628f9a55 100644 --- a/service/iam/api_op_DeleteGroup.go +++ b/service/iam/api_op_DeleteGroup.go @@ -73,7 +73,10 @@ func addOperationDeleteGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteGroupPolicy.go b/service/iam/api_op_DeleteGroupPolicy.go index e53827bbded..df47ec2b84d 100644 --- a/service/iam/api_op_DeleteGroupPolicy.go +++ b/service/iam/api_op_DeleteGroupPolicy.go @@ -86,7 +86,10 @@ func addOperationDeleteGroupPolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteInstanceProfile.go b/service/iam/api_op_DeleteInstanceProfile.go index 281e943255c..08f2ef76882 100644 --- a/service/iam/api_op_DeleteInstanceProfile.go +++ b/service/iam/api_op_DeleteInstanceProfile.go @@ -78,7 +78,10 @@ func addOperationDeleteInstanceProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteLoginProfile.go b/service/iam/api_op_DeleteLoginProfile.go index 33b4d58e658..cd22a9c9563 100644 --- a/service/iam/api_op_DeleteLoginProfile.go +++ b/service/iam/api_op_DeleteLoginProfile.go @@ -77,7 +77,10 @@ func addOperationDeleteLoginProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteOpenIDConnectProvider.go b/service/iam/api_op_DeleteOpenIDConnectProvider.go index 7ad3b99369b..fdd56bb293d 100644 --- a/service/iam/api_op_DeleteOpenIDConnectProvider.go +++ b/service/iam/api_op_DeleteOpenIDConnectProvider.go @@ -76,7 +76,10 @@ func addOperationDeleteOpenIDConnectProviderMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeletePolicy.go b/service/iam/api_op_DeletePolicy.go index d796cf7f738..1cea25c7a25 100644 --- a/service/iam/api_op_DeletePolicy.go +++ b/service/iam/api_op_DeletePolicy.go @@ -96,7 +96,10 @@ func addOperationDeletePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeletePolicyVersion.go b/service/iam/api_op_DeletePolicyVersion.go index f9710087c41..35f0d2bb78b 100644 --- a/service/iam/api_op_DeletePolicyVersion.go +++ b/service/iam/api_op_DeletePolicyVersion.go @@ -90,7 +90,10 @@ func addOperationDeletePolicyVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteRole.go b/service/iam/api_op_DeleteRole.go index 2c7c2b24d5f..96fe96feb6b 100644 --- a/service/iam/api_op_DeleteRole.go +++ b/service/iam/api_op_DeleteRole.go @@ -77,7 +77,10 @@ func addOperationDeleteRoleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteRolePermissionsBoundary.go b/service/iam/api_op_DeleteRolePermissionsBoundary.go index 35603711484..0a96a02d4e8 100644 --- a/service/iam/api_op_DeleteRolePermissionsBoundary.go +++ b/service/iam/api_op_DeleteRolePermissionsBoundary.go @@ -73,7 +73,10 @@ func addOperationDeleteRolePermissionsBoundaryMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteRolePolicy.go b/service/iam/api_op_DeleteRolePolicy.go index 654ee2efb92..1f02b9aa99b 100644 --- a/service/iam/api_op_DeleteRolePolicy.go +++ b/service/iam/api_op_DeleteRolePolicy.go @@ -86,7 +86,10 @@ func addOperationDeleteRolePolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteSAMLProvider.go b/service/iam/api_op_DeleteSAMLProvider.go index 7d0e3d27d03..004ec6685eb 100644 --- a/service/iam/api_op_DeleteSAMLProvider.go +++ b/service/iam/api_op_DeleteSAMLProvider.go @@ -74,7 +74,10 @@ func addOperationDeleteSAMLProviderMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteSSHPublicKey.go b/service/iam/api_op_DeleteSSHPublicKey.go index 7953b5dedba..09ac7fdfb00 100644 --- a/service/iam/api_op_DeleteSSHPublicKey.go +++ b/service/iam/api_op_DeleteSSHPublicKey.go @@ -84,7 +84,10 @@ func addOperationDeleteSSHPublicKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteServerCertificate.go b/service/iam/api_op_DeleteServerCertificate.go index 087e34ac4b6..2ad4043e86c 100644 --- a/service/iam/api_op_DeleteServerCertificate.go +++ b/service/iam/api_op_DeleteServerCertificate.go @@ -85,7 +85,10 @@ func addOperationDeleteServerCertificateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteServiceLinkedRole.go b/service/iam/api_op_DeleteServiceLinkedRole.go index 0125cc4751f..9903ef4d322 100644 --- a/service/iam/api_op_DeleteServiceLinkedRole.go +++ b/service/iam/api_op_DeleteServiceLinkedRole.go @@ -93,7 +93,10 @@ func addOperationDeleteServiceLinkedRoleMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteServiceSpecificCredential.go b/service/iam/api_op_DeleteServiceSpecificCredential.go index 868e35b941c..039aa3abf36 100644 --- a/service/iam/api_op_DeleteServiceSpecificCredential.go +++ b/service/iam/api_op_DeleteServiceSpecificCredential.go @@ -80,7 +80,10 @@ func addOperationDeleteServiceSpecificCredentialMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteSigningCertificate.go b/service/iam/api_op_DeleteSigningCertificate.go index 60730a5c4c4..ed1a82e39a8 100644 --- a/service/iam/api_op_DeleteSigningCertificate.go +++ b/service/iam/api_op_DeleteSigningCertificate.go @@ -82,7 +82,10 @@ func addOperationDeleteSigningCertificateMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteUser.go b/service/iam/api_op_DeleteUser.go index cccc2e6a2e6..8756ca1b6dd 100644 --- a/service/iam/api_op_DeleteUser.go +++ b/service/iam/api_op_DeleteUser.go @@ -100,7 +100,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteUserPermissionsBoundary.go b/service/iam/api_op_DeleteUserPermissionsBoundary.go index 79b8fdb8729..0a0b7168ffd 100644 --- a/service/iam/api_op_DeleteUserPermissionsBoundary.go +++ b/service/iam/api_op_DeleteUserPermissionsBoundary.go @@ -72,7 +72,10 @@ func addOperationDeleteUserPermissionsBoundaryMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteUserPolicy.go b/service/iam/api_op_DeleteUserPolicy.go index 89e7ff8ecd5..f14252d7d6d 100644 --- a/service/iam/api_op_DeleteUserPolicy.go +++ b/service/iam/api_op_DeleteUserPolicy.go @@ -86,7 +86,10 @@ func addOperationDeleteUserPolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DeleteVirtualMFADevice.go b/service/iam/api_op_DeleteVirtualMFADevice.go index 2cdd3d07854..699b1136763 100644 --- a/service/iam/api_op_DeleteVirtualMFADevice.go +++ b/service/iam/api_op_DeleteVirtualMFADevice.go @@ -75,7 +75,10 @@ func addOperationDeleteVirtualMFADeviceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DetachGroupPolicy.go b/service/iam/api_op_DetachGroupPolicy.go index a2bacb77fe7..1fb538a2c29 100644 --- a/service/iam/api_op_DetachGroupPolicy.go +++ b/service/iam/api_op_DetachGroupPolicy.go @@ -87,7 +87,10 @@ func addOperationDetachGroupPolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DetachRolePolicy.go b/service/iam/api_op_DetachRolePolicy.go index 7ad6731870c..d3971098547 100644 --- a/service/iam/api_op_DetachRolePolicy.go +++ b/service/iam/api_op_DetachRolePolicy.go @@ -87,7 +87,10 @@ func addOperationDetachRolePolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_DetachUserPolicy.go b/service/iam/api_op_DetachUserPolicy.go index 2fd088d19b1..5604d914f16 100644 --- a/service/iam/api_op_DetachUserPolicy.go +++ b/service/iam/api_op_DetachUserPolicy.go @@ -87,7 +87,10 @@ func addOperationDetachUserPolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_EnableMFADevice.go b/service/iam/api_op_EnableMFADevice.go index 67621bbd5da..1050fe4d476 100644 --- a/service/iam/api_op_EnableMFADevice.go +++ b/service/iam/api_op_EnableMFADevice.go @@ -107,7 +107,10 @@ func addOperationEnableMFADeviceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GenerateCredentialReport.go b/service/iam/api_op_GenerateCredentialReport.go index 0324d3ad2ba..e2a1cb7e76b 100644 --- a/service/iam/api_op_GenerateCredentialReport.go +++ b/service/iam/api_op_GenerateCredentialReport.go @@ -76,7 +76,10 @@ func addOperationGenerateCredentialReportMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GenerateOrganizationsAccessReport.go b/service/iam/api_op_GenerateOrganizationsAccessReport.go index 8886dbf4e69..3560c516fa5 100644 --- a/service/iam/api_op_GenerateOrganizationsAccessReport.go +++ b/service/iam/api_op_GenerateOrganizationsAccessReport.go @@ -191,7 +191,10 @@ func addOperationGenerateOrganizationsAccessReportMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GenerateServiceLastAccessedDetails.go b/service/iam/api_op_GenerateServiceLastAccessedDetails.go index 3488b18422c..26d2a4348ed 100644 --- a/service/iam/api_op_GenerateServiceLastAccessedDetails.go +++ b/service/iam/api_op_GenerateServiceLastAccessedDetails.go @@ -133,7 +133,10 @@ func addOperationGenerateServiceLastAccessedDetailsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetAccessKeyLastUsed.go b/service/iam/api_op_GetAccessKeyLastUsed.go index 600d06bcf71..480f668d0bf 100644 --- a/service/iam/api_op_GetAccessKeyLastUsed.go +++ b/service/iam/api_op_GetAccessKeyLastUsed.go @@ -84,7 +84,10 @@ func addOperationGetAccessKeyLastUsedMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetAccountAuthorizationDetails.go b/service/iam/api_op_GetAccountAuthorizationDetails.go index ec63c3c18ac..7e364f60c29 100644 --- a/service/iam/api_op_GetAccountAuthorizationDetails.go +++ b/service/iam/api_op_GetAccountAuthorizationDetails.go @@ -123,7 +123,10 @@ func addOperationGetAccountAuthorizationDetailsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetAccountPasswordPolicy.go b/service/iam/api_op_GetAccountPasswordPolicy.go index 7b2c328f941..cf5aca5fa76 100644 --- a/service/iam/api_op_GetAccountPasswordPolicy.go +++ b/service/iam/api_op_GetAccountPasswordPolicy.go @@ -74,7 +74,10 @@ func addOperationGetAccountPasswordPolicyMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetAccountSummary.go b/service/iam/api_op_GetAccountSummary.go index 1a6f701d1f5..4cb419e3a8e 100644 --- a/service/iam/api_op_GetAccountSummary.go +++ b/service/iam/api_op_GetAccountSummary.go @@ -74,7 +74,10 @@ func addOperationGetAccountSummaryMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetContextKeysForCustomPolicy.go b/service/iam/api_op_GetContextKeysForCustomPolicy.go index 169f5364294..d0c157f90db 100644 --- a/service/iam/api_op_GetContextKeysForCustomPolicy.go +++ b/service/iam/api_op_GetContextKeysForCustomPolicy.go @@ -98,7 +98,10 @@ func addOperationGetContextKeysForCustomPolicyMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetContextKeysForPrincipalPolicy.go b/service/iam/api_op_GetContextKeysForPrincipalPolicy.go index 92833a31086..bda1d91143c 100644 --- a/service/iam/api_op_GetContextKeysForPrincipalPolicy.go +++ b/service/iam/api_op_GetContextKeysForPrincipalPolicy.go @@ -114,7 +114,10 @@ func addOperationGetContextKeysForPrincipalPolicyMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetCredentialReport.go b/service/iam/api_op_GetCredentialReport.go index c6469a848b5..76599f5bcfc 100644 --- a/service/iam/api_op_GetCredentialReport.go +++ b/service/iam/api_op_GetCredentialReport.go @@ -81,7 +81,10 @@ func addOperationGetCredentialReportMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetGroup.go b/service/iam/api_op_GetGroup.go index 29b1a499fb4..11cfef851c5 100644 --- a/service/iam/api_op_GetGroup.go +++ b/service/iam/api_op_GetGroup.go @@ -114,7 +114,10 @@ func addOperationGetGroupMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetGroupPolicy.go b/service/iam/api_op_GetGroupPolicy.go index b8386793e1f..a013cbfc39a 100644 --- a/service/iam/api_op_GetGroupPolicy.go +++ b/service/iam/api_op_GetGroupPolicy.go @@ -111,7 +111,10 @@ func addOperationGetGroupPolicyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetInstanceProfile.go b/service/iam/api_op_GetInstanceProfile.go index 9c954b0dfb9..daee7637883 100644 --- a/service/iam/api_op_GetInstanceProfile.go +++ b/service/iam/api_op_GetInstanceProfile.go @@ -89,7 +89,10 @@ func addOperationGetInstanceProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetLoginProfile.go b/service/iam/api_op_GetLoginProfile.go index 7bf364886ee..43c1d230110 100644 --- a/service/iam/api_op_GetLoginProfile.go +++ b/service/iam/api_op_GetLoginProfile.go @@ -82,7 +82,10 @@ func addOperationGetLoginProfileMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetOpenIDConnectProvider.go b/service/iam/api_op_GetOpenIDConnectProvider.go index 82eaedda29d..d6c2bd94e1e 100644 --- a/service/iam/api_op_GetOpenIDConnectProvider.go +++ b/service/iam/api_op_GetOpenIDConnectProvider.go @@ -96,7 +96,10 @@ func addOperationGetOpenIDConnectProviderMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetOrganizationsAccessReport.go b/service/iam/api_op_GetOrganizationsAccessReport.go index 217513f566b..492ef23b0f4 100644 --- a/service/iam/api_op_GetOrganizationsAccessReport.go +++ b/service/iam/api_op_GetOrganizationsAccessReport.go @@ -155,7 +155,10 @@ func addOperationGetOrganizationsAccessReportMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetPolicy.go b/service/iam/api_op_GetPolicy.go index 9aa8c8a5138..39f2be83568 100644 --- a/service/iam/api_op_GetPolicy.go +++ b/service/iam/api_op_GetPolicy.go @@ -90,7 +90,10 @@ func addOperationGetPolicyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetPolicyVersion.go b/service/iam/api_op_GetPolicyVersion.go index 9f7f7412a70..ba6f557d718 100644 --- a/service/iam/api_op_GetPolicyVersion.go +++ b/service/iam/api_op_GetPolicyVersion.go @@ -103,7 +103,10 @@ func addOperationGetPolicyVersionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetRole.go b/service/iam/api_op_GetRole.go index dd6ee1ea9e2..531ce2badc1 100644 --- a/service/iam/api_op_GetRole.go +++ b/service/iam/api_op_GetRole.go @@ -88,7 +88,10 @@ func addOperationGetRoleMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetRolePolicy.go b/service/iam/api_op_GetRolePolicy.go index b4c3dfd56a9..4d07bbbb597 100644 --- a/service/iam/api_op_GetRolePolicy.go +++ b/service/iam/api_op_GetRolePolicy.go @@ -113,7 +113,10 @@ func addOperationGetRolePolicyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetSAMLProvider.go b/service/iam/api_op_GetSAMLProvider.go index bd4741176bf..c7378e83f23 100644 --- a/service/iam/api_op_GetSAMLProvider.go +++ b/service/iam/api_op_GetSAMLProvider.go @@ -88,7 +88,10 @@ func addOperationGetSAMLProviderMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetSSHPublicKey.go b/service/iam/api_op_GetSSHPublicKey.go index 1846f48a262..3c5a2379f9b 100644 --- a/service/iam/api_op_GetSSHPublicKey.go +++ b/service/iam/api_op_GetSSHPublicKey.go @@ -98,7 +98,10 @@ func addOperationGetSSHPublicKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetServerCertificate.go b/service/iam/api_op_GetServerCertificate.go index 8510788c879..4a70adb09f7 100644 --- a/service/iam/api_op_GetServerCertificate.go +++ b/service/iam/api_op_GetServerCertificate.go @@ -85,7 +85,10 @@ func addOperationGetServerCertificateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetServiceLastAccessedDetails.go b/service/iam/api_op_GetServiceLastAccessedDetails.go index 87a58ba9259..96b0664617f 100644 --- a/service/iam/api_op_GetServiceLastAccessedDetails.go +++ b/service/iam/api_op_GetServiceLastAccessedDetails.go @@ -178,7 +178,10 @@ func addOperationGetServiceLastAccessedDetailsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go b/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go index 8b9ad68f1d5..d361a4ad704 100644 --- a/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go +++ b/service/iam/api_op_GetServiceLastAccessedDetailsWithEntities.go @@ -162,7 +162,10 @@ func addOperationGetServiceLastAccessedDetailsWithEntitiesMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go b/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go index 1856554f630..9584fc70e7f 100644 --- a/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go +++ b/service/iam/api_op_GetServiceLinkedRoleDeletionStatus.go @@ -85,7 +85,10 @@ func addOperationGetServiceLinkedRoleDeletionStatusMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetUser.go b/service/iam/api_op_GetUser.go index 6a01b05d20c..46c208cff0a 100644 --- a/service/iam/api_op_GetUser.go +++ b/service/iam/api_op_GetUser.go @@ -98,7 +98,10 @@ func addOperationGetUserMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_GetUserPolicy.go b/service/iam/api_op_GetUserPolicy.go index 75f2aa93623..ebf55361162 100644 --- a/service/iam/api_op_GetUserPolicy.go +++ b/service/iam/api_op_GetUserPolicy.go @@ -111,7 +111,10 @@ func addOperationGetUserPolicyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListAccessKeys.go b/service/iam/api_op_ListAccessKeys.go index bd4654f3651..a2af20c72fd 100644 --- a/service/iam/api_op_ListAccessKeys.go +++ b/service/iam/api_op_ListAccessKeys.go @@ -115,7 +115,10 @@ func addOperationListAccessKeysMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListAccountAliases.go b/service/iam/api_op_ListAccountAliases.go index 10cda968268..f6ba12f6ffb 100644 --- a/service/iam/api_op_ListAccountAliases.go +++ b/service/iam/api_op_ListAccountAliases.go @@ -104,7 +104,10 @@ func addOperationListAccountAliasesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListAttachedGroupPolicies.go b/service/iam/api_op_ListAttachedGroupPolicies.go index 9d4871770b5..ddacfaa4f65 100644 --- a/service/iam/api_op_ListAttachedGroupPolicies.go +++ b/service/iam/api_op_ListAttachedGroupPolicies.go @@ -125,7 +125,10 @@ func addOperationListAttachedGroupPoliciesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListAttachedRolePolicies.go b/service/iam/api_op_ListAttachedRolePolicies.go index 7de7c1b572a..4d90b5e1ac5 100644 --- a/service/iam/api_op_ListAttachedRolePolicies.go +++ b/service/iam/api_op_ListAttachedRolePolicies.go @@ -125,7 +125,10 @@ func addOperationListAttachedRolePoliciesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListAttachedUserPolicies.go b/service/iam/api_op_ListAttachedUserPolicies.go index 783f4e45e18..311cb0ddbef 100644 --- a/service/iam/api_op_ListAttachedUserPolicies.go +++ b/service/iam/api_op_ListAttachedUserPolicies.go @@ -125,7 +125,10 @@ func addOperationListAttachedUserPoliciesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListEntitiesForPolicy.go b/service/iam/api_op_ListEntitiesForPolicy.go index cc5928e1aaa..7f60e5dab06 100644 --- a/service/iam/api_op_ListEntitiesForPolicy.go +++ b/service/iam/api_op_ListEntitiesForPolicy.go @@ -141,7 +141,10 @@ func addOperationListEntitiesForPolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListGroupPolicies.go b/service/iam/api_op_ListGroupPolicies.go index a2fe3d1fbdc..3358c85b7dd 100644 --- a/service/iam/api_op_ListGroupPolicies.go +++ b/service/iam/api_op_ListGroupPolicies.go @@ -117,7 +117,10 @@ func addOperationListGroupPoliciesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListGroups.go b/service/iam/api_op_ListGroups.go index 51be7c9fea2..6c262b4af99 100644 --- a/service/iam/api_op_ListGroups.go +++ b/service/iam/api_op_ListGroups.go @@ -112,7 +112,10 @@ func addOperationListGroupsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListGroupsForUser.go b/service/iam/api_op_ListGroupsForUser.go index 5d072abddfc..358a025b468 100644 --- a/service/iam/api_op_ListGroupsForUser.go +++ b/service/iam/api_op_ListGroupsForUser.go @@ -109,7 +109,10 @@ func addOperationListGroupsForUserMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListInstanceProfiles.go b/service/iam/api_op_ListInstanceProfiles.go index 6bcb578ac25..9f530c7e746 100644 --- a/service/iam/api_op_ListInstanceProfiles.go +++ b/service/iam/api_op_ListInstanceProfiles.go @@ -115,7 +115,10 @@ func addOperationListInstanceProfilesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListInstanceProfilesForRole.go b/service/iam/api_op_ListInstanceProfilesForRole.go index 7718bb121bf..7e34ea51dc5 100644 --- a/service/iam/api_op_ListInstanceProfilesForRole.go +++ b/service/iam/api_op_ListInstanceProfilesForRole.go @@ -112,7 +112,10 @@ func addOperationListInstanceProfilesForRoleMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListMFADevices.go b/service/iam/api_op_ListMFADevices.go index 0b5b41e7f18..93729284063 100644 --- a/service/iam/api_op_ListMFADevices.go +++ b/service/iam/api_op_ListMFADevices.go @@ -110,7 +110,10 @@ func addOperationListMFADevicesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListOpenIDConnectProviders.go b/service/iam/api_op_ListOpenIDConnectProviders.go index c2749191858..75a5ef38603 100644 --- a/service/iam/api_op_ListOpenIDConnectProviders.go +++ b/service/iam/api_op_ListOpenIDConnectProviders.go @@ -71,7 +71,10 @@ func addOperationListOpenIDConnectProvidersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListPolicies.go b/service/iam/api_op_ListPolicies.go index 2e1fd98f6ac..6e587595677 100644 --- a/service/iam/api_op_ListPolicies.go +++ b/service/iam/api_op_ListPolicies.go @@ -135,7 +135,10 @@ func addOperationListPoliciesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListPoliciesGrantingServiceAccess.go b/service/iam/api_op_ListPoliciesGrantingServiceAccess.go index 3c92bd91e7d..a5e748eb59b 100644 --- a/service/iam/api_op_ListPoliciesGrantingServiceAccess.go +++ b/service/iam/api_op_ListPoliciesGrantingServiceAccess.go @@ -140,7 +140,10 @@ func addOperationListPoliciesGrantingServiceAccessMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListPolicyVersions.go b/service/iam/api_op_ListPolicyVersions.go index 26b060afcde..e8fa1fd32c4 100644 --- a/service/iam/api_op_ListPolicyVersions.go +++ b/service/iam/api_op_ListPolicyVersions.go @@ -114,7 +114,10 @@ func addOperationListPolicyVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListRolePolicies.go b/service/iam/api_op_ListRolePolicies.go index 02c2cb449b9..0966a294785 100644 --- a/service/iam/api_op_ListRolePolicies.go +++ b/service/iam/api_op_ListRolePolicies.go @@ -114,7 +114,10 @@ func addOperationListRolePoliciesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListRoleTags.go b/service/iam/api_op_ListRoleTags.go index ff1d94a9a57..943ec51d31c 100644 --- a/service/iam/api_op_ListRoleTags.go +++ b/service/iam/api_op_ListRoleTags.go @@ -111,7 +111,10 @@ func addOperationListRoleTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListRoles.go b/service/iam/api_op_ListRoles.go index 46c516f6fd6..b21b7ddf076 100644 --- a/service/iam/api_op_ListRoles.go +++ b/service/iam/api_op_ListRoles.go @@ -115,7 +115,10 @@ func addOperationListRolesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListSAMLProviders.go b/service/iam/api_op_ListSAMLProviders.go index 1fd4fec1555..e0d8dc8cd62 100644 --- a/service/iam/api_op_ListSAMLProviders.go +++ b/service/iam/api_op_ListSAMLProviders.go @@ -72,7 +72,10 @@ func addOperationListSAMLProvidersMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListSSHPublicKeys.go b/service/iam/api_op_ListSSHPublicKeys.go index 7c8511491f0..d5dcf1f0c65 100644 --- a/service/iam/api_op_ListSSHPublicKeys.go +++ b/service/iam/api_op_ListSSHPublicKeys.go @@ -115,7 +115,10 @@ func addOperationListSSHPublicKeysMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListServerCertificates.go b/service/iam/api_op_ListServerCertificates.go index 7cffc4f1efa..2fb0350542b 100644 --- a/service/iam/api_op_ListServerCertificates.go +++ b/service/iam/api_op_ListServerCertificates.go @@ -117,7 +117,10 @@ func addOperationListServerCertificatesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListServiceSpecificCredentials.go b/service/iam/api_op_ListServiceSpecificCredentials.go index a3f4bb84ec1..ddef3813dd6 100644 --- a/service/iam/api_op_ListServiceSpecificCredentials.go +++ b/service/iam/api_op_ListServiceSpecificCredentials.go @@ -89,7 +89,10 @@ func addOperationListServiceSpecificCredentialsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListSigningCertificates.go b/service/iam/api_op_ListSigningCertificates.go index 7493cba9dcf..4b30f0377e7 100644 --- a/service/iam/api_op_ListSigningCertificates.go +++ b/service/iam/api_op_ListSigningCertificates.go @@ -114,7 +114,10 @@ func addOperationListSigningCertificatesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListUserPolicies.go b/service/iam/api_op_ListUserPolicies.go index ffaa7ade5b4..943c9822b4b 100644 --- a/service/iam/api_op_ListUserPolicies.go +++ b/service/iam/api_op_ListUserPolicies.go @@ -114,7 +114,10 @@ func addOperationListUserPoliciesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListUserTags.go b/service/iam/api_op_ListUserTags.go index e4a6847549a..2929b3f16ba 100644 --- a/service/iam/api_op_ListUserTags.go +++ b/service/iam/api_op_ListUserTags.go @@ -110,7 +110,10 @@ func addOperationListUserTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListUsers.go b/service/iam/api_op_ListUsers.go index 86d2627755e..6b1dc846abb 100644 --- a/service/iam/api_op_ListUsers.go +++ b/service/iam/api_op_ListUsers.go @@ -114,7 +114,10 @@ func addOperationListUsersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ListVirtualMFADevices.go b/service/iam/api_op_ListVirtualMFADevices.go index 561fa74d1ad..25feaad16c4 100644 --- a/service/iam/api_op_ListVirtualMFADevices.go +++ b/service/iam/api_op_ListVirtualMFADevices.go @@ -109,7 +109,10 @@ func addOperationListVirtualMFADevicesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_PutGroupPolicy.go b/service/iam/api_op_PutGroupPolicy.go index e8b75888dce..49706f27c26 100644 --- a/service/iam/api_op_PutGroupPolicy.go +++ b/service/iam/api_op_PutGroupPolicy.go @@ -113,7 +113,10 @@ func addOperationPutGroupPolicyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_PutRolePermissionsBoundary.go b/service/iam/api_op_PutRolePermissionsBoundary.go index 7409ca85b35..001c58b941d 100644 --- a/service/iam/api_op_PutRolePermissionsBoundary.go +++ b/service/iam/api_op_PutRolePermissionsBoundary.go @@ -85,7 +85,10 @@ func addOperationPutRolePermissionsBoundaryMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_PutRolePolicy.go b/service/iam/api_op_PutRolePolicy.go index 9a4c06008cf..d828a7ea7b3 100644 --- a/service/iam/api_op_PutRolePolicy.go +++ b/service/iam/api_op_PutRolePolicy.go @@ -118,7 +118,10 @@ func addOperationPutRolePolicyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_PutUserPermissionsBoundary.go b/service/iam/api_op_PutUserPermissionsBoundary.go index 1a817c33918..57fbf05fcf6 100644 --- a/service/iam/api_op_PutUserPermissionsBoundary.go +++ b/service/iam/api_op_PutUserPermissionsBoundary.go @@ -84,7 +84,10 @@ func addOperationPutUserPermissionsBoundaryMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_PutUserPolicy.go b/service/iam/api_op_PutUserPolicy.go index e0ba5490dd0..995f4cf95ae 100644 --- a/service/iam/api_op_PutUserPolicy.go +++ b/service/iam/api_op_PutUserPolicy.go @@ -113,7 +113,10 @@ func addOperationPutUserPolicyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go b/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go index bc10dcd25ca..02082014c6b 100644 --- a/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go +++ b/service/iam/api_op_RemoveClientIDFromOpenIDConnectProvider.go @@ -84,7 +84,10 @@ func addOperationRemoveClientIDFromOpenIDConnectProviderMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_RemoveRoleFromInstanceProfile.go b/service/iam/api_op_RemoveRoleFromInstanceProfile.go index 010ff1072dd..7e8fd526ef0 100644 --- a/service/iam/api_op_RemoveRoleFromInstanceProfile.go +++ b/service/iam/api_op_RemoveRoleFromInstanceProfile.go @@ -88,7 +88,10 @@ func addOperationRemoveRoleFromInstanceProfileMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_RemoveUserFromGroup.go b/service/iam/api_op_RemoveUserFromGroup.go index 662d9b21a3b..51eefb8a143 100644 --- a/service/iam/api_op_RemoveUserFromGroup.go +++ b/service/iam/api_op_RemoveUserFromGroup.go @@ -80,7 +80,10 @@ func addOperationRemoveUserFromGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ResetServiceSpecificCredential.go b/service/iam/api_op_ResetServiceSpecificCredential.go index 73184feea9f..2b344b0ee41 100644 --- a/service/iam/api_op_ResetServiceSpecificCredential.go +++ b/service/iam/api_op_ResetServiceSpecificCredential.go @@ -89,7 +89,10 @@ func addOperationResetServiceSpecificCredentialMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_ResyncMFADevice.go b/service/iam/api_op_ResyncMFADevice.go index d91ec6354b5..eaf0b43c373 100644 --- a/service/iam/api_op_ResyncMFADevice.go +++ b/service/iam/api_op_ResyncMFADevice.go @@ -96,7 +96,10 @@ func addOperationResyncMFADeviceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_SetDefaultPolicyVersion.go b/service/iam/api_op_SetDefaultPolicyVersion.go index cd72ca80eeb..489831da064 100644 --- a/service/iam/api_op_SetDefaultPolicyVersion.go +++ b/service/iam/api_op_SetDefaultPolicyVersion.go @@ -87,7 +87,10 @@ func addOperationSetDefaultPolicyVersionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_SetSecurityTokenServicePreferences.go b/service/iam/api_op_SetSecurityTokenServicePreferences.go index a0913368a67..2cbb0c78887 100644 --- a/service/iam/api_op_SetSecurityTokenServicePreferences.go +++ b/service/iam/api_op_SetSecurityTokenServicePreferences.go @@ -95,7 +95,10 @@ func addOperationSetSecurityTokenServicePreferencesMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_SimulateCustomPolicy.go b/service/iam/api_op_SimulateCustomPolicy.go index f2f287a32f2..9f0c9420bfe 100644 --- a/service/iam/api_op_SimulateCustomPolicy.go +++ b/service/iam/api_op_SimulateCustomPolicy.go @@ -260,7 +260,10 @@ func addOperationSimulateCustomPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_SimulatePrincipalPolicy.go b/service/iam/api_op_SimulatePrincipalPolicy.go index 4beff60e8f5..fda70a25208 100644 --- a/service/iam/api_op_SimulatePrincipalPolicy.go +++ b/service/iam/api_op_SimulatePrincipalPolicy.go @@ -277,7 +277,10 @@ func addOperationSimulatePrincipalPolicyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_TagRole.go b/service/iam/api_op_TagRole.go index 11ace48d0ad..f76f5af8223 100644 --- a/service/iam/api_op_TagRole.go +++ b/service/iam/api_op_TagRole.go @@ -113,7 +113,10 @@ func addOperationTagRoleMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_TagUser.go b/service/iam/api_op_TagUser.go index 724a0ad1f0a..6bdb461ae93 100644 --- a/service/iam/api_op_TagUser.go +++ b/service/iam/api_op_TagUser.go @@ -112,7 +112,10 @@ func addOperationTagUserMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UntagRole.go b/service/iam/api_op_UntagRole.go index 19ae5705e88..2573cfd39e1 100644 --- a/service/iam/api_op_UntagRole.go +++ b/service/iam/api_op_UntagRole.go @@ -81,7 +81,10 @@ func addOperationUntagRoleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UntagUser.go b/service/iam/api_op_UntagUser.go index 90b1e46b473..87d898ae775 100644 --- a/service/iam/api_op_UntagUser.go +++ b/service/iam/api_op_UntagUser.go @@ -81,7 +81,10 @@ func addOperationUntagUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateAccessKey.go b/service/iam/api_op_UpdateAccessKey.go index 505595605b1..a386c854bdc 100644 --- a/service/iam/api_op_UpdateAccessKey.go +++ b/service/iam/api_op_UpdateAccessKey.go @@ -94,7 +94,10 @@ func addOperationUpdateAccessKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateAccountPasswordPolicy.go b/service/iam/api_op_UpdateAccountPasswordPolicy.go index c837810caf1..cff25f9f340 100644 --- a/service/iam/api_op_UpdateAccountPasswordPolicy.go +++ b/service/iam/api_op_UpdateAccountPasswordPolicy.go @@ -134,7 +134,10 @@ func addOperationUpdateAccountPasswordPolicyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateAssumeRolePolicy.go b/service/iam/api_op_UpdateAssumeRolePolicy.go index e2a64ac7d64..4904a113c2f 100644 --- a/service/iam/api_op_UpdateAssumeRolePolicy.go +++ b/service/iam/api_op_UpdateAssumeRolePolicy.go @@ -95,7 +95,10 @@ func addOperationUpdateAssumeRolePolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateGroup.go b/service/iam/api_op_UpdateGroup.go index 45931fada88..f23c185f271 100644 --- a/service/iam/api_op_UpdateGroup.go +++ b/service/iam/api_op_UpdateGroup.go @@ -97,7 +97,10 @@ func addOperationUpdateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateLoginProfile.go b/service/iam/api_op_UpdateLoginProfile.go index e344775ac62..620730b6bc0 100644 --- a/service/iam/api_op_UpdateLoginProfile.go +++ b/service/iam/api_op_UpdateLoginProfile.go @@ -99,7 +99,10 @@ func addOperationUpdateLoginProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go b/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go index 46063fffc65..09710ba79f6 100644 --- a/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go +++ b/service/iam/api_op_UpdateOpenIDConnectProviderThumbprint.go @@ -90,7 +90,10 @@ func addOperationUpdateOpenIDConnectProviderThumbprintMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateRole.go b/service/iam/api_op_UpdateRole.go index e7e6ead8280..3759bcebe60 100644 --- a/service/iam/api_op_UpdateRole.go +++ b/service/iam/api_op_UpdateRole.go @@ -87,7 +87,10 @@ func addOperationUpdateRoleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateRoleDescription.go b/service/iam/api_op_UpdateRoleDescription.go index 02ecdce6976..c39893d012a 100644 --- a/service/iam/api_op_UpdateRoleDescription.go +++ b/service/iam/api_op_UpdateRoleDescription.go @@ -81,7 +81,10 @@ func addOperationUpdateRoleDescriptionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateSAMLProvider.go b/service/iam/api_op_UpdateSAMLProvider.go index 4640fd45648..aef53dff875 100644 --- a/service/iam/api_op_UpdateSAMLProvider.go +++ b/service/iam/api_op_UpdateSAMLProvider.go @@ -89,7 +89,10 @@ func addOperationUpdateSAMLProviderMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateSSHPublicKey.go b/service/iam/api_op_UpdateSSHPublicKey.go index 270ce41786e..9afe93ecb76 100644 --- a/service/iam/api_op_UpdateSSHPublicKey.go +++ b/service/iam/api_op_UpdateSSHPublicKey.go @@ -95,7 +95,10 @@ func addOperationUpdateSSHPublicKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateServerCertificate.go b/service/iam/api_op_UpdateServerCertificate.go index 1e65eefc0aa..47ac008fd0d 100644 --- a/service/iam/api_op_UpdateServerCertificate.go +++ b/service/iam/api_op_UpdateServerCertificate.go @@ -106,7 +106,10 @@ func addOperationUpdateServerCertificateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateServiceSpecificCredential.go b/service/iam/api_op_UpdateServiceSpecificCredential.go index d17ecc8c411..2c7ec835196 100644 --- a/service/iam/api_op_UpdateServiceSpecificCredential.go +++ b/service/iam/api_op_UpdateServiceSpecificCredential.go @@ -88,7 +88,10 @@ func addOperationUpdateServiceSpecificCredentialMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateSigningCertificate.go b/service/iam/api_op_UpdateSigningCertificate.go index e0e3c006c27..5e6a59c6f84 100644 --- a/service/iam/api_op_UpdateSigningCertificate.go +++ b/service/iam/api_op_UpdateSigningCertificate.go @@ -91,7 +91,10 @@ func addOperationUpdateSigningCertificateMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UpdateUser.go b/service/iam/api_op_UpdateUser.go index be2a6ce6843..175f9249c63 100644 --- a/service/iam/api_op_UpdateUser.go +++ b/service/iam/api_op_UpdateUser.go @@ -99,7 +99,10 @@ func addOperationUpdateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UploadSSHPublicKey.go b/service/iam/api_op_UploadSSHPublicKey.go index d50e5e8de27..83576484b19 100644 --- a/service/iam/api_op_UploadSSHPublicKey.go +++ b/service/iam/api_op_UploadSSHPublicKey.go @@ -103,7 +103,10 @@ func addOperationUploadSSHPublicKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UploadServerCertificate.go b/service/iam/api_op_UploadServerCertificate.go index 24c7c53a058..920632a23d5 100644 --- a/service/iam/api_op_UploadServerCertificate.go +++ b/service/iam/api_op_UploadServerCertificate.go @@ -169,7 +169,10 @@ func addOperationUploadServerCertificateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iam/api_op_UploadSigningCertificate.go b/service/iam/api_op_UploadSigningCertificate.go index aee79108141..e447ac053b9 100644 --- a/service/iam/api_op_UploadSigningCertificate.go +++ b/service/iam/api_op_UploadSigningCertificate.go @@ -110,7 +110,10 @@ func addOperationUploadSigningCertificateMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/identitystore/api_op_DescribeGroup.go b/service/identitystore/api_op_DescribeGroup.go index 84e3f41d375..f8e5f2692b6 100644 --- a/service/identitystore/api_op_DescribeGroup.go +++ b/service/identitystore/api_op_DescribeGroup.go @@ -93,7 +93,10 @@ func addOperationDescribeGroupMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/identitystore/api_op_DescribeUser.go b/service/identitystore/api_op_DescribeUser.go index 6c126ad837f..c8b572956c1 100644 --- a/service/identitystore/api_op_DescribeUser.go +++ b/service/identitystore/api_op_DescribeUser.go @@ -92,7 +92,10 @@ func addOperationDescribeUserMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/identitystore/api_op_ListGroups.go b/service/identitystore/api_op_ListGroups.go index b217a63eaea..2592aec86d4 100644 --- a/service/identitystore/api_op_ListGroups.go +++ b/service/identitystore/api_op_ListGroups.go @@ -103,7 +103,10 @@ func addOperationListGroupsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/identitystore/api_op_ListUsers.go b/service/identitystore/api_op_ListUsers.go index e934ffea75f..f3ebb97b26e 100644 --- a/service/identitystore/api_op_ListUsers.go +++ b/service/identitystore/api_op_ListUsers.go @@ -103,7 +103,10 @@ func addOperationListUsersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_CancelImageCreation.go b/service/imagebuilder/api_op_CancelImageCreation.go index a37b8c8e88f..c490c0f1d3a 100644 --- a/service/imagebuilder/api_op_CancelImageCreation.go +++ b/service/imagebuilder/api_op_CancelImageCreation.go @@ -86,7 +86,10 @@ func addOperationCancelImageCreationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_CreateComponent.go b/service/imagebuilder/api_op_CreateComponent.go index 188136ac273..d59a069029f 100644 --- a/service/imagebuilder/api_op_CreateComponent.go +++ b/service/imagebuilder/api_op_CreateComponent.go @@ -129,7 +129,10 @@ func addOperationCreateComponentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_CreateContainerRecipe.go b/service/imagebuilder/api_op_CreateContainerRecipe.go index 2e22c08ea3b..5db2bbf3266 100644 --- a/service/imagebuilder/api_op_CreateContainerRecipe.go +++ b/service/imagebuilder/api_op_CreateContainerRecipe.go @@ -139,7 +139,10 @@ func addOperationCreateContainerRecipeMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_CreateDistributionConfiguration.go b/service/imagebuilder/api_op_CreateDistributionConfiguration.go index ed6a66b09db..370ae772039 100644 --- a/service/imagebuilder/api_op_CreateDistributionConfiguration.go +++ b/service/imagebuilder/api_op_CreateDistributionConfiguration.go @@ -99,7 +99,10 @@ func addOperationCreateDistributionConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_CreateImage.go b/service/imagebuilder/api_op_CreateImage.go index 261a5860c98..4044d8ce2cb 100644 --- a/service/imagebuilder/api_op_CreateImage.go +++ b/service/imagebuilder/api_op_CreateImage.go @@ -111,7 +111,10 @@ func addOperationCreateImageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_CreateImagePipeline.go b/service/imagebuilder/api_op_CreateImagePipeline.go index c982edb2906..ae7492d817b 100644 --- a/service/imagebuilder/api_op_CreateImagePipeline.go +++ b/service/imagebuilder/api_op_CreateImagePipeline.go @@ -126,7 +126,10 @@ func addOperationCreateImagePipelineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_CreateImageRecipe.go b/service/imagebuilder/api_op_CreateImageRecipe.go index 05cff5a9cf9..793c28d74ec 100644 --- a/service/imagebuilder/api_op_CreateImageRecipe.go +++ b/service/imagebuilder/api_op_CreateImageRecipe.go @@ -121,7 +121,10 @@ func addOperationCreateImageRecipeMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go b/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go index 7d1e4dee058..1d8ba963556 100644 --- a/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_CreateInfrastructureConfiguration.go @@ -130,7 +130,10 @@ func addOperationCreateInfrastructureConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_DeleteComponent.go b/service/imagebuilder/api_op_DeleteComponent.go index 165f1d551e3..b6dc0193087 100644 --- a/service/imagebuilder/api_op_DeleteComponent.go +++ b/service/imagebuilder/api_op_DeleteComponent.go @@ -76,7 +76,10 @@ func addOperationDeleteComponentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_DeleteContainerRecipe.go b/service/imagebuilder/api_op_DeleteContainerRecipe.go index 27246c8fdc5..58b16d5c513 100644 --- a/service/imagebuilder/api_op_DeleteContainerRecipe.go +++ b/service/imagebuilder/api_op_DeleteContainerRecipe.go @@ -76,7 +76,10 @@ func addOperationDeleteContainerRecipeMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_DeleteDistributionConfiguration.go b/service/imagebuilder/api_op_DeleteDistributionConfiguration.go index 6961849196c..42bed4c7b31 100644 --- a/service/imagebuilder/api_op_DeleteDistributionConfiguration.go +++ b/service/imagebuilder/api_op_DeleteDistributionConfiguration.go @@ -77,7 +77,10 @@ func addOperationDeleteDistributionConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_DeleteImage.go b/service/imagebuilder/api_op_DeleteImage.go index 386d1e51491..a7d7bea20b3 100644 --- a/service/imagebuilder/api_op_DeleteImage.go +++ b/service/imagebuilder/api_op_DeleteImage.go @@ -76,7 +76,10 @@ func addOperationDeleteImageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_DeleteImagePipeline.go b/service/imagebuilder/api_op_DeleteImagePipeline.go index 4f411ddea45..bbc066dda9f 100644 --- a/service/imagebuilder/api_op_DeleteImagePipeline.go +++ b/service/imagebuilder/api_op_DeleteImagePipeline.go @@ -76,7 +76,10 @@ func addOperationDeleteImagePipelineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_DeleteImageRecipe.go b/service/imagebuilder/api_op_DeleteImageRecipe.go index 80facfd0e86..7d1c677b6f8 100644 --- a/service/imagebuilder/api_op_DeleteImageRecipe.go +++ b/service/imagebuilder/api_op_DeleteImageRecipe.go @@ -76,7 +76,10 @@ func addOperationDeleteImageRecipeMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go b/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go index a7378945588..059a7c5c4f9 100644 --- a/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_DeleteInfrastructureConfiguration.go @@ -77,7 +77,10 @@ func addOperationDeleteInfrastructureConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetComponent.go b/service/imagebuilder/api_op_GetComponent.go index 41331b58896..f15d2a94d9f 100644 --- a/service/imagebuilder/api_op_GetComponent.go +++ b/service/imagebuilder/api_op_GetComponent.go @@ -78,7 +78,10 @@ func addOperationGetComponentMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetComponentPolicy.go b/service/imagebuilder/api_op_GetComponentPolicy.go index 49ef6dfe610..d98aa1fccf9 100644 --- a/service/imagebuilder/api_op_GetComponentPolicy.go +++ b/service/imagebuilder/api_op_GetComponentPolicy.go @@ -77,7 +77,10 @@ func addOperationGetComponentPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetContainerRecipe.go b/service/imagebuilder/api_op_GetContainerRecipe.go index ba296b6760e..b515f8f4eb3 100644 --- a/service/imagebuilder/api_op_GetContainerRecipe.go +++ b/service/imagebuilder/api_op_GetContainerRecipe.go @@ -77,7 +77,10 @@ func addOperationGetContainerRecipeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetContainerRecipePolicy.go b/service/imagebuilder/api_op_GetContainerRecipePolicy.go index b26391fe977..7636f655613 100644 --- a/service/imagebuilder/api_op_GetContainerRecipePolicy.go +++ b/service/imagebuilder/api_op_GetContainerRecipePolicy.go @@ -77,7 +77,10 @@ func addOperationGetContainerRecipePolicyMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetDistributionConfiguration.go b/service/imagebuilder/api_op_GetDistributionConfiguration.go index dd1baf8083a..8f1ce116239 100644 --- a/service/imagebuilder/api_op_GetDistributionConfiguration.go +++ b/service/imagebuilder/api_op_GetDistributionConfiguration.go @@ -78,7 +78,10 @@ func addOperationGetDistributionConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetImage.go b/service/imagebuilder/api_op_GetImage.go index 9b932ceae02..058cb379dad 100644 --- a/service/imagebuilder/api_op_GetImage.go +++ b/service/imagebuilder/api_op_GetImage.go @@ -77,7 +77,10 @@ func addOperationGetImageMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetImagePipeline.go b/service/imagebuilder/api_op_GetImagePipeline.go index 38802edd9b3..00284e12b5f 100644 --- a/service/imagebuilder/api_op_GetImagePipeline.go +++ b/service/imagebuilder/api_op_GetImagePipeline.go @@ -77,7 +77,10 @@ func addOperationGetImagePipelineMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetImagePolicy.go b/service/imagebuilder/api_op_GetImagePolicy.go index ee676adb458..cb7b6ccdc11 100644 --- a/service/imagebuilder/api_op_GetImagePolicy.go +++ b/service/imagebuilder/api_op_GetImagePolicy.go @@ -76,7 +76,10 @@ func addOperationGetImagePolicyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetImageRecipe.go b/service/imagebuilder/api_op_GetImageRecipe.go index ba05a4ecf78..19f9eb63980 100644 --- a/service/imagebuilder/api_op_GetImageRecipe.go +++ b/service/imagebuilder/api_op_GetImageRecipe.go @@ -77,7 +77,10 @@ func addOperationGetImageRecipeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetImageRecipePolicy.go b/service/imagebuilder/api_op_GetImageRecipePolicy.go index d6c5670b416..ea296e3c840 100644 --- a/service/imagebuilder/api_op_GetImageRecipePolicy.go +++ b/service/imagebuilder/api_op_GetImageRecipePolicy.go @@ -77,7 +77,10 @@ func addOperationGetImageRecipePolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_GetInfrastructureConfiguration.go b/service/imagebuilder/api_op_GetInfrastructureConfiguration.go index 6af7924af10..f9e35fde345 100644 --- a/service/imagebuilder/api_op_GetInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_GetInfrastructureConfiguration.go @@ -80,7 +80,10 @@ func addOperationGetInfrastructureConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ImportComponent.go b/service/imagebuilder/api_op_ImportComponent.go index 9ec4e5eed70..2ae4cfbaa20 100644 --- a/service/imagebuilder/api_op_ImportComponent.go +++ b/service/imagebuilder/api_op_ImportComponent.go @@ -133,7 +133,10 @@ func addOperationImportComponentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListComponentBuildVersions.go b/service/imagebuilder/api_op_ListComponentBuildVersions.go index 0a8c897bebd..1a5f34f99d3 100644 --- a/service/imagebuilder/api_op_ListComponentBuildVersions.go +++ b/service/imagebuilder/api_op_ListComponentBuildVersions.go @@ -90,7 +90,10 @@ func addOperationListComponentBuildVersionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListComponents.go b/service/imagebuilder/api_op_ListComponents.go index a6828e3ebdd..39a06bfb073 100644 --- a/service/imagebuilder/api_op_ListComponents.go +++ b/service/imagebuilder/api_op_ListComponents.go @@ -96,7 +96,10 @@ func addOperationListComponentsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListContainerRecipes.go b/service/imagebuilder/api_op_ListContainerRecipes.go index dffe08528c6..aa331b34433 100644 --- a/service/imagebuilder/api_op_ListContainerRecipes.go +++ b/service/imagebuilder/api_op_ListContainerRecipes.go @@ -94,7 +94,10 @@ func addOperationListContainerRecipesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListDistributionConfigurations.go b/service/imagebuilder/api_op_ListDistributionConfigurations.go index d008956496d..860901f1b8c 100644 --- a/service/imagebuilder/api_op_ListDistributionConfigurations.go +++ b/service/imagebuilder/api_op_ListDistributionConfigurations.go @@ -89,7 +89,10 @@ func addOperationListDistributionConfigurationsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListImageBuildVersions.go b/service/imagebuilder/api_op_ListImageBuildVersions.go index 45ae5115bcf..45178f135d0 100644 --- a/service/imagebuilder/api_op_ListImageBuildVersions.go +++ b/service/imagebuilder/api_op_ListImageBuildVersions.go @@ -93,7 +93,10 @@ func addOperationListImageBuildVersionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListImagePipelineImages.go b/service/imagebuilder/api_op_ListImagePipelineImages.go index f29b6f844c0..f056ba9406a 100644 --- a/service/imagebuilder/api_op_ListImagePipelineImages.go +++ b/service/imagebuilder/api_op_ListImagePipelineImages.go @@ -93,7 +93,10 @@ func addOperationListImagePipelineImagesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListImagePipelines.go b/service/imagebuilder/api_op_ListImagePipelines.go index b4577f17844..93903addc11 100644 --- a/service/imagebuilder/api_op_ListImagePipelines.go +++ b/service/imagebuilder/api_op_ListImagePipelines.go @@ -87,7 +87,10 @@ func addOperationListImagePipelinesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListImageRecipes.go b/service/imagebuilder/api_op_ListImageRecipes.go index 6b579b96fe0..e7d8f4fe24b 100644 --- a/service/imagebuilder/api_op_ListImageRecipes.go +++ b/service/imagebuilder/api_op_ListImageRecipes.go @@ -93,7 +93,10 @@ func addOperationListImageRecipesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListImages.go b/service/imagebuilder/api_op_ListImages.go index 5a23dd419ee..af10bfc67c9 100644 --- a/service/imagebuilder/api_op_ListImages.go +++ b/service/imagebuilder/api_op_ListImages.go @@ -99,7 +99,10 @@ func addOperationListImagesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListInfrastructureConfigurations.go b/service/imagebuilder/api_op_ListInfrastructureConfigurations.go index 0faab6faa14..9618eb3aad5 100644 --- a/service/imagebuilder/api_op_ListInfrastructureConfigurations.go +++ b/service/imagebuilder/api_op_ListInfrastructureConfigurations.go @@ -87,7 +87,10 @@ func addOperationListInfrastructureConfigurationsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_ListTagsForResource.go b/service/imagebuilder/api_op_ListTagsForResource.go index 6c360107237..027ddb43c93 100644 --- a/service/imagebuilder/api_op_ListTagsForResource.go +++ b/service/imagebuilder/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_PutComponentPolicy.go b/service/imagebuilder/api_op_PutComponentPolicy.go index da53ec6dd33..469d55805e1 100644 --- a/service/imagebuilder/api_op_PutComponentPolicy.go +++ b/service/imagebuilder/api_op_PutComponentPolicy.go @@ -89,7 +89,10 @@ func addOperationPutComponentPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_PutContainerRecipePolicy.go b/service/imagebuilder/api_op_PutContainerRecipePolicy.go index 758221b0711..dff4c2a9f47 100644 --- a/service/imagebuilder/api_op_PutContainerRecipePolicy.go +++ b/service/imagebuilder/api_op_PutContainerRecipePolicy.go @@ -90,7 +90,10 @@ func addOperationPutContainerRecipePolicyMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_PutImagePolicy.go b/service/imagebuilder/api_op_PutImagePolicy.go index ffff740a620..668d1325bb3 100644 --- a/service/imagebuilder/api_op_PutImagePolicy.go +++ b/service/imagebuilder/api_op_PutImagePolicy.go @@ -89,7 +89,10 @@ func addOperationPutImagePolicyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_PutImageRecipePolicy.go b/service/imagebuilder/api_op_PutImageRecipePolicy.go index 3fe07a0cb9b..d9650d7ef81 100644 --- a/service/imagebuilder/api_op_PutImageRecipePolicy.go +++ b/service/imagebuilder/api_op_PutImageRecipePolicy.go @@ -90,7 +90,10 @@ func addOperationPutImageRecipePolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_StartImagePipelineExecution.go b/service/imagebuilder/api_op_StartImagePipelineExecution.go index 1857565029c..7d0c5b6acda 100644 --- a/service/imagebuilder/api_op_StartImagePipelineExecution.go +++ b/service/imagebuilder/api_op_StartImagePipelineExecution.go @@ -86,7 +86,10 @@ func addOperationStartImagePipelineExecutionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_TagResource.go b/service/imagebuilder/api_op_TagResource.go index dc3dd93ab7c..4e58b4d6a83 100644 --- a/service/imagebuilder/api_op_TagResource.go +++ b/service/imagebuilder/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_UntagResource.go b/service/imagebuilder/api_op_UntagResource.go index 92f4a605181..3a24bb69627 100644 --- a/service/imagebuilder/api_op_UntagResource.go +++ b/service/imagebuilder/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_UpdateDistributionConfiguration.go b/service/imagebuilder/api_op_UpdateDistributionConfiguration.go index cf563f6b958..eae23407194 100644 --- a/service/imagebuilder/api_op_UpdateDistributionConfiguration.go +++ b/service/imagebuilder/api_op_UpdateDistributionConfiguration.go @@ -97,7 +97,10 @@ func addOperationUpdateDistributionConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_UpdateImagePipeline.go b/service/imagebuilder/api_op_UpdateImagePipeline.go index b91f0d73c55..7ed2aa5282d 100644 --- a/service/imagebuilder/api_op_UpdateImagePipeline.go +++ b/service/imagebuilder/api_op_UpdateImagePipeline.go @@ -122,7 +122,10 @@ func addOperationUpdateImagePipelineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go b/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go index 26aa118465a..c787f021b61 100644 --- a/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go +++ b/service/imagebuilder/api_op_UpdateInfrastructureConfiguration.go @@ -128,7 +128,10 @@ func addOperationUpdateInfrastructureConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_AddAttributesToFindings.go b/service/inspector/api_op_AddAttributesToFindings.go index fd1c1b6b4ed..074fbcf3ad9 100644 --- a/service/inspector/api_op_AddAttributesToFindings.go +++ b/service/inspector/api_op_AddAttributesToFindings.go @@ -83,7 +83,10 @@ func addOperationAddAttributesToFindingsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_CreateAssessmentTarget.go b/service/inspector/api_op_CreateAssessmentTarget.go index 639725ce9aa..9f811c49786 100644 --- a/service/inspector/api_op_CreateAssessmentTarget.go +++ b/service/inspector/api_op_CreateAssessmentTarget.go @@ -91,7 +91,10 @@ func addOperationCreateAssessmentTargetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_CreateAssessmentTemplate.go b/service/inspector/api_op_CreateAssessmentTemplate.go index 3e004ac7fee..aaf34fa8d5a 100644 --- a/service/inspector/api_op_CreateAssessmentTemplate.go +++ b/service/inspector/api_op_CreateAssessmentTemplate.go @@ -107,7 +107,10 @@ func addOperationCreateAssessmentTemplateMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_CreateExclusionsPreview.go b/service/inspector/api_op_CreateExclusionsPreview.go index aefdab93b36..640e5582350 100644 --- a/service/inspector/api_op_CreateExclusionsPreview.go +++ b/service/inspector/api_op_CreateExclusionsPreview.go @@ -80,7 +80,10 @@ func addOperationCreateExclusionsPreviewMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_CreateResourceGroup.go b/service/inspector/api_op_CreateResourceGroup.go index 8cbb537a35b..ac196454597 100644 --- a/service/inspector/api_op_CreateResourceGroup.go +++ b/service/inspector/api_op_CreateResourceGroup.go @@ -81,7 +81,10 @@ func addOperationCreateResourceGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DeleteAssessmentRun.go b/service/inspector/api_op_DeleteAssessmentRun.go index eff2542d5c5..bd0a22d3f85 100644 --- a/service/inspector/api_op_DeleteAssessmentRun.go +++ b/service/inspector/api_op_DeleteAssessmentRun.go @@ -69,7 +69,10 @@ func addOperationDeleteAssessmentRunMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DeleteAssessmentTarget.go b/service/inspector/api_op_DeleteAssessmentTarget.go index 58e20a64f0a..74e194d1006 100644 --- a/service/inspector/api_op_DeleteAssessmentTarget.go +++ b/service/inspector/api_op_DeleteAssessmentTarget.go @@ -70,7 +70,10 @@ func addOperationDeleteAssessmentTargetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DeleteAssessmentTemplate.go b/service/inspector/api_op_DeleteAssessmentTemplate.go index 896ba94cc24..c1bd214afb7 100644 --- a/service/inspector/api_op_DeleteAssessmentTemplate.go +++ b/service/inspector/api_op_DeleteAssessmentTemplate.go @@ -70,7 +70,10 @@ func addOperationDeleteAssessmentTemplateMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DescribeAssessmentRuns.go b/service/inspector/api_op_DescribeAssessmentRuns.go index 7bc5f14745f..7280be27353 100644 --- a/service/inspector/api_op_DescribeAssessmentRuns.go +++ b/service/inspector/api_op_DescribeAssessmentRuns.go @@ -83,7 +83,10 @@ func addOperationDescribeAssessmentRunsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DescribeAssessmentTargets.go b/service/inspector/api_op_DescribeAssessmentTargets.go index b79f4a2aaf7..78996ecedba 100644 --- a/service/inspector/api_op_DescribeAssessmentTargets.go +++ b/service/inspector/api_op_DescribeAssessmentTargets.go @@ -83,7 +83,10 @@ func addOperationDescribeAssessmentTargetsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DescribeAssessmentTemplates.go b/service/inspector/api_op_DescribeAssessmentTemplates.go index 81cdf8c43c9..a52c98c7682 100644 --- a/service/inspector/api_op_DescribeAssessmentTemplates.go +++ b/service/inspector/api_op_DescribeAssessmentTemplates.go @@ -81,7 +81,10 @@ func addOperationDescribeAssessmentTemplatesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DescribeCrossAccountAccessRole.go b/service/inspector/api_op_DescribeCrossAccountAccessRole.go index aac3439fe8c..f7e9f2986d9 100644 --- a/service/inspector/api_op_DescribeCrossAccountAccessRole.go +++ b/service/inspector/api_op_DescribeCrossAccountAccessRole.go @@ -83,7 +83,10 @@ func addOperationDescribeCrossAccountAccessRoleMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DescribeExclusions.go b/service/inspector/api_op_DescribeExclusions.go index bad6b0da6f9..3d359bb5358 100644 --- a/service/inspector/api_op_DescribeExclusions.go +++ b/service/inspector/api_op_DescribeExclusions.go @@ -86,7 +86,10 @@ func addOperationDescribeExclusionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DescribeFindings.go b/service/inspector/api_op_DescribeFindings.go index b2d612b4dd1..4c280133bf7 100644 --- a/service/inspector/api_op_DescribeFindings.go +++ b/service/inspector/api_op_DescribeFindings.go @@ -86,7 +86,10 @@ func addOperationDescribeFindingsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DescribeResourceGroups.go b/service/inspector/api_op_DescribeResourceGroups.go index 5f78107fbd4..2fbc1eaea1d 100644 --- a/service/inspector/api_op_DescribeResourceGroups.go +++ b/service/inspector/api_op_DescribeResourceGroups.go @@ -83,7 +83,10 @@ func addOperationDescribeResourceGroupsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_DescribeRulesPackages.go b/service/inspector/api_op_DescribeRulesPackages.go index 722401ce9f8..18daf3ee124 100644 --- a/service/inspector/api_op_DescribeRulesPackages.go +++ b/service/inspector/api_op_DescribeRulesPackages.go @@ -86,7 +86,10 @@ func addOperationDescribeRulesPackagesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_GetAssessmentReport.go b/service/inspector/api_op_GetAssessmentReport.go index ff9b04dfd86..c4e6239f1a3 100644 --- a/service/inspector/api_op_GetAssessmentReport.go +++ b/service/inspector/api_op_GetAssessmentReport.go @@ -96,7 +96,10 @@ func addOperationGetAssessmentReportMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_GetExclusionsPreview.go b/service/inspector/api_op_GetExclusionsPreview.go index 2eef59137c4..1f611734d4c 100644 --- a/service/inspector/api_op_GetExclusionsPreview.go +++ b/service/inspector/api_op_GetExclusionsPreview.go @@ -108,7 +108,10 @@ func addOperationGetExclusionsPreviewMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_GetTelemetryMetadata.go b/service/inspector/api_op_GetTelemetryMetadata.go index 7aa7f612803..f48c6ab9184 100644 --- a/service/inspector/api_op_GetTelemetryMetadata.go +++ b/service/inspector/api_op_GetTelemetryMetadata.go @@ -77,7 +77,10 @@ func addOperationGetTelemetryMetadataMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_ListAssessmentRunAgents.go b/service/inspector/api_op_ListAssessmentRunAgents.go index 85930567176..c004d60fb38 100644 --- a/service/inspector/api_op_ListAssessmentRunAgents.go +++ b/service/inspector/api_op_ListAssessmentRunAgents.go @@ -100,7 +100,10 @@ func addOperationListAssessmentRunAgentsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_ListAssessmentRuns.go b/service/inspector/api_op_ListAssessmentRuns.go index eaac7a37b54..c5514a58065 100644 --- a/service/inspector/api_op_ListAssessmentRuns.go +++ b/service/inspector/api_op_ListAssessmentRuns.go @@ -100,7 +100,10 @@ func addOperationListAssessmentRunsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_ListAssessmentTargets.go b/service/inspector/api_op_ListAssessmentTargets.go index 16fc7ea6891..2a4a15b68a0 100644 --- a/service/inspector/api_op_ListAssessmentTargets.go +++ b/service/inspector/api_op_ListAssessmentTargets.go @@ -97,7 +97,10 @@ func addOperationListAssessmentTargetsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_ListAssessmentTemplates.go b/service/inspector/api_op_ListAssessmentTemplates.go index f7448d4cae7..e0319be7493 100644 --- a/service/inspector/api_op_ListAssessmentTemplates.go +++ b/service/inspector/api_op_ListAssessmentTemplates.go @@ -99,7 +99,10 @@ func addOperationListAssessmentTemplatesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_ListEventSubscriptions.go b/service/inspector/api_op_ListEventSubscriptions.go index ca853094390..449d711fa24 100644 --- a/service/inspector/api_op_ListEventSubscriptions.go +++ b/service/inspector/api_op_ListEventSubscriptions.go @@ -94,7 +94,10 @@ func addOperationListEventSubscriptionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_ListExclusions.go b/service/inspector/api_op_ListExclusions.go index e3b7c51dda7..db66fc56142 100644 --- a/service/inspector/api_op_ListExclusions.go +++ b/service/inspector/api_op_ListExclusions.go @@ -93,7 +93,10 @@ func addOperationListExclusionsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_ListFindings.go b/service/inspector/api_op_ListFindings.go index 4f54df1a98f..296d1a65ce9 100644 --- a/service/inspector/api_op_ListFindings.go +++ b/service/inspector/api_op_ListFindings.go @@ -99,7 +99,10 @@ func addOperationListFindingsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_ListRulesPackages.go b/service/inspector/api_op_ListRulesPackages.go index b9247096551..a9b741bf0a3 100644 --- a/service/inspector/api_op_ListRulesPackages.go +++ b/service/inspector/api_op_ListRulesPackages.go @@ -87,7 +87,10 @@ func addOperationListRulesPackagesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_ListTagsForResource.go b/service/inspector/api_op_ListTagsForResource.go index cdfac2a10a6..75fbdf8573a 100644 --- a/service/inspector/api_op_ListTagsForResource.go +++ b/service/inspector/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_PreviewAgents.go b/service/inspector/api_op_PreviewAgents.go index eab7e629743..c08c4740603 100644 --- a/service/inspector/api_op_PreviewAgents.go +++ b/service/inspector/api_op_PreviewAgents.go @@ -94,7 +94,10 @@ func addOperationPreviewAgentsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_RegisterCrossAccountAccessRole.go b/service/inspector/api_op_RegisterCrossAccountAccessRole.go index 250ff894810..1262961c0c9 100644 --- a/service/inspector/api_op_RegisterCrossAccountAccessRole.go +++ b/service/inspector/api_op_RegisterCrossAccountAccessRole.go @@ -71,7 +71,10 @@ func addOperationRegisterCrossAccountAccessRoleMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_RemoveAttributesFromFindings.go b/service/inspector/api_op_RemoveAttributesFromFindings.go index 7d964384994..d9a8e4f6249 100644 --- a/service/inspector/api_op_RemoveAttributesFromFindings.go +++ b/service/inspector/api_op_RemoveAttributesFromFindings.go @@ -84,7 +84,10 @@ func addOperationRemoveAttributesFromFindingsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_SetTagsForResource.go b/service/inspector/api_op_SetTagsForResource.go index 47487bd6b78..97ffed934b1 100644 --- a/service/inspector/api_op_SetTagsForResource.go +++ b/service/inspector/api_op_SetTagsForResource.go @@ -75,7 +75,10 @@ func addOperationSetTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_StartAssessmentRun.go b/service/inspector/api_op_StartAssessmentRun.go index 4512649e7ab..277fb80d6a3 100644 --- a/service/inspector/api_op_StartAssessmentRun.go +++ b/service/inspector/api_op_StartAssessmentRun.go @@ -81,7 +81,10 @@ func addOperationStartAssessmentRunMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_StopAssessmentRun.go b/service/inspector/api_op_StopAssessmentRun.go index 8b25097e1ff..b229b8f93e4 100644 --- a/service/inspector/api_op_StopAssessmentRun.go +++ b/service/inspector/api_op_StopAssessmentRun.go @@ -77,7 +77,10 @@ func addOperationStopAssessmentRunMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_SubscribeToEvent.go b/service/inspector/api_op_SubscribeToEvent.go index f6bdb5e9774..6232dceae55 100644 --- a/service/inspector/api_op_SubscribeToEvent.go +++ b/service/inspector/api_op_SubscribeToEvent.go @@ -82,7 +82,10 @@ func addOperationSubscribeToEventMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_UnsubscribeFromEvent.go b/service/inspector/api_op_UnsubscribeFromEvent.go index ed12dae36b9..e1b75a8583e 100644 --- a/service/inspector/api_op_UnsubscribeFromEvent.go +++ b/service/inspector/api_op_UnsubscribeFromEvent.go @@ -82,7 +82,10 @@ func addOperationUnsubscribeFromEventMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/inspector/api_op_UpdateAssessmentTarget.go b/service/inspector/api_op_UpdateAssessmentTarget.go index 6b46144ad3b..a4cacd50ae3 100644 --- a/service/inspector/api_op_UpdateAssessmentTarget.go +++ b/service/inspector/api_op_UpdateAssessmentTarget.go @@ -80,7 +80,10 @@ func addOperationUpdateAssessmentTargetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_AcceptCertificateTransfer.go b/service/iot/api_op_AcceptCertificateTransfer.go index 0e150dadf86..42bb1414c5c 100644 --- a/service/iot/api_op_AcceptCertificateTransfer.go +++ b/service/iot/api_op_AcceptCertificateTransfer.go @@ -76,7 +76,10 @@ func addOperationAcceptCertificateTransferMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_AddThingToBillingGroup.go b/service/iot/api_op_AddThingToBillingGroup.go index f7c7810219e..dd917fff291 100644 --- a/service/iot/api_op_AddThingToBillingGroup.go +++ b/service/iot/api_op_AddThingToBillingGroup.go @@ -76,7 +76,10 @@ func addOperationAddThingToBillingGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_AddThingToThingGroup.go b/service/iot/api_op_AddThingToThingGroup.go index ffd7f4a11bb..70fbe3eb660 100644 --- a/service/iot/api_op_AddThingToThingGroup.go +++ b/service/iot/api_op_AddThingToThingGroup.go @@ -82,7 +82,10 @@ func addOperationAddThingToThingGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_AssociateTargetsWithJob.go b/service/iot/api_op_AssociateTargetsWithJob.go index 44e53d1f87e..2d41c9ea8fd 100644 --- a/service/iot/api_op_AssociateTargetsWithJob.go +++ b/service/iot/api_op_AssociateTargetsWithJob.go @@ -104,7 +104,10 @@ func addOperationAssociateTargetsWithJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_AttachPolicy.go b/service/iot/api_op_AttachPolicy.go index ecdd6b78404..8d18937fb69 100644 --- a/service/iot/api_op_AttachPolicy.go +++ b/service/iot/api_op_AttachPolicy.go @@ -76,7 +76,10 @@ func addOperationAttachPolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_AttachPrincipalPolicy.go b/service/iot/api_op_AttachPrincipalPolicy.go index e772ca6dc16..0168dcd45af 100644 --- a/service/iot/api_op_AttachPrincipalPolicy.go +++ b/service/iot/api_op_AttachPrincipalPolicy.go @@ -79,7 +79,10 @@ func addOperationAttachPrincipalPolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_AttachSecurityProfile.go b/service/iot/api_op_AttachSecurityProfile.go index 10e85fbec3d..feab23b77c8 100644 --- a/service/iot/api_op_AttachSecurityProfile.go +++ b/service/iot/api_op_AttachSecurityProfile.go @@ -76,7 +76,10 @@ func addOperationAttachSecurityProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_AttachThingPrincipal.go b/service/iot/api_op_AttachThingPrincipal.go index b4b6610ef18..4639047b6ed 100644 --- a/service/iot/api_op_AttachThingPrincipal.go +++ b/service/iot/api_op_AttachThingPrincipal.go @@ -79,7 +79,10 @@ func addOperationAttachThingPrincipalMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CancelAuditMitigationActionsTask.go b/service/iot/api_op_CancelAuditMitigationActionsTask.go index 92de5f33902..72dc74762f0 100644 --- a/service/iot/api_op_CancelAuditMitigationActionsTask.go +++ b/service/iot/api_op_CancelAuditMitigationActionsTask.go @@ -70,7 +70,10 @@ func addOperationCancelAuditMitigationActionsTaskMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CancelAuditTask.go b/service/iot/api_op_CancelAuditTask.go index 2748375647b..feba3d37a9b 100644 --- a/service/iot/api_op_CancelAuditTask.go +++ b/service/iot/api_op_CancelAuditTask.go @@ -71,7 +71,10 @@ func addOperationCancelAuditTaskMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CancelCertificateTransfer.go b/service/iot/api_op_CancelCertificateTransfer.go index fd342a02b23..48f541b3ef9 100644 --- a/service/iot/api_op_CancelCertificateTransfer.go +++ b/service/iot/api_op_CancelCertificateTransfer.go @@ -77,7 +77,10 @@ func addOperationCancelCertificateTransferMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CancelJob.go b/service/iot/api_op_CancelJob.go index 1678cd55771..4fbb33cc6cc 100644 --- a/service/iot/api_op_CancelJob.go +++ b/service/iot/api_op_CancelJob.go @@ -93,7 +93,10 @@ func addOperationCancelJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CancelJobExecution.go b/service/iot/api_op_CancelJobExecution.go index 902c5c7c6ed..9001122acd1 100644 --- a/service/iot/api_op_CancelJobExecution.go +++ b/service/iot/api_op_CancelJobExecution.go @@ -98,7 +98,10 @@ func addOperationCancelJobExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ClearDefaultAuthorizer.go b/service/iot/api_op_ClearDefaultAuthorizer.go index 98c2d9bc3f8..61e3df98136 100644 --- a/service/iot/api_op_ClearDefaultAuthorizer.go +++ b/service/iot/api_op_ClearDefaultAuthorizer.go @@ -64,7 +64,10 @@ func addOperationClearDefaultAuthorizerMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ConfirmTopicRuleDestination.go b/service/iot/api_op_ConfirmTopicRuleDestination.go index f79a732e15e..7c2578c1cf3 100644 --- a/service/iot/api_op_ConfirmTopicRuleDestination.go +++ b/service/iot/api_op_ConfirmTopicRuleDestination.go @@ -74,7 +74,10 @@ func addOperationConfirmTopicRuleDestinationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateAuditSuppression.go b/service/iot/api_op_CreateAuditSuppression.go index 6d3cdacc5c9..239cdc7a5b1 100644 --- a/service/iot/api_op_CreateAuditSuppression.go +++ b/service/iot/api_op_CreateAuditSuppression.go @@ -94,7 +94,10 @@ func addOperationCreateAuditSuppressionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateAuthorizer.go b/service/iot/api_op_CreateAuthorizer.go index 26c56593f5c..bbe2af0fd77 100644 --- a/service/iot/api_op_CreateAuthorizer.go +++ b/service/iot/api_op_CreateAuthorizer.go @@ -102,7 +102,10 @@ func addOperationCreateAuthorizerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateBillingGroup.go b/service/iot/api_op_CreateBillingGroup.go index 43b35a7ec27..e3c2b73fa2f 100644 --- a/service/iot/api_op_CreateBillingGroup.go +++ b/service/iot/api_op_CreateBillingGroup.go @@ -86,7 +86,10 @@ func addOperationCreateBillingGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateCertificateFromCsr.go b/service/iot/api_op_CreateCertificateFromCsr.go index 63ca8e2a437..e1e793b7d5a 100644 --- a/service/iot/api_op_CreateCertificateFromCsr.go +++ b/service/iot/api_op_CreateCertificateFromCsr.go @@ -108,7 +108,10 @@ func addOperationCreateCertificateFromCsrMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateDimension.go b/service/iot/api_op_CreateDimension.go index dd1959ad832..4dc82e80ca1 100644 --- a/service/iot/api_op_CreateDimension.go +++ b/service/iot/api_op_CreateDimension.go @@ -105,7 +105,10 @@ func addOperationCreateDimensionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateDomainConfiguration.go b/service/iot/api_op_CreateDomainConfiguration.go index c28dcaa4d2e..3e302fb3530 100644 --- a/service/iot/api_op_CreateDomainConfiguration.go +++ b/service/iot/api_op_CreateDomainConfiguration.go @@ -104,7 +104,10 @@ func addOperationCreateDomainConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateDynamicThingGroup.go b/service/iot/api_op_CreateDynamicThingGroup.go index 90639c957c4..3ec1af3be60 100644 --- a/service/iot/api_op_CreateDynamicThingGroup.go +++ b/service/iot/api_op_CreateDynamicThingGroup.go @@ -110,7 +110,10 @@ func addOperationCreateDynamicThingGroupMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateJob.go b/service/iot/api_op_CreateJob.go index 34123fd7328..35ed736d937 100644 --- a/service/iot/api_op_CreateJob.go +++ b/service/iot/api_op_CreateJob.go @@ -132,7 +132,10 @@ func addOperationCreateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateKeysAndCertificate.go b/service/iot/api_op_CreateKeysAndCertificate.go index 0aec8f474e4..6bfcd7ba647 100644 --- a/service/iot/api_op_CreateKeysAndCertificate.go +++ b/service/iot/api_op_CreateKeysAndCertificate.go @@ -89,7 +89,10 @@ func addOperationCreateKeysAndCertificateMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateMitigationAction.go b/service/iot/api_op_CreateMitigationAction.go index 088aff416be..7b20cb21bb1 100644 --- a/service/iot/api_op_CreateMitigationAction.go +++ b/service/iot/api_op_CreateMitigationAction.go @@ -95,7 +95,10 @@ func addOperationCreateMitigationActionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateOTAUpdate.go b/service/iot/api_op_CreateOTAUpdate.go index 9ab2b6b4433..d867c534527 100644 --- a/service/iot/api_op_CreateOTAUpdate.go +++ b/service/iot/api_op_CreateOTAUpdate.go @@ -139,7 +139,10 @@ func addOperationCreateOTAUpdateMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreatePolicy.go b/service/iot/api_op_CreatePolicy.go index 89ff7b24a8b..59e724ea608 100644 --- a/service/iot/api_op_CreatePolicy.go +++ b/service/iot/api_op_CreatePolicy.go @@ -99,7 +99,10 @@ func addOperationCreatePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreatePolicyVersion.go b/service/iot/api_op_CreatePolicyVersion.go index db4645f6908..215d9c96d00 100644 --- a/service/iot/api_op_CreatePolicyVersion.go +++ b/service/iot/api_op_CreatePolicyVersion.go @@ -101,7 +101,10 @@ func addOperationCreatePolicyVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateProvisioningClaim.go b/service/iot/api_op_CreateProvisioningClaim.go index d2a2c53c72b..0f0122b3d88 100644 --- a/service/iot/api_op_CreateProvisioningClaim.go +++ b/service/iot/api_op_CreateProvisioningClaim.go @@ -84,7 +84,10 @@ func addOperationCreateProvisioningClaimMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateProvisioningTemplate.go b/service/iot/api_op_CreateProvisioningTemplate.go index 9c35ffe20d9..cdb871b7b5a 100644 --- a/service/iot/api_op_CreateProvisioningTemplate.go +++ b/service/iot/api_op_CreateProvisioningTemplate.go @@ -106,7 +106,10 @@ func addOperationCreateProvisioningTemplateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateProvisioningTemplateVersion.go b/service/iot/api_op_CreateProvisioningTemplateVersion.go index cd14f5fcd29..37cdbbf6700 100644 --- a/service/iot/api_op_CreateProvisioningTemplateVersion.go +++ b/service/iot/api_op_CreateProvisioningTemplateVersion.go @@ -91,7 +91,10 @@ func addOperationCreateProvisioningTemplateVersionMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateRoleAlias.go b/service/iot/api_op_CreateRoleAlias.go index 36116ab6353..fa98920d2a2 100644 --- a/service/iot/api_op_CreateRoleAlias.go +++ b/service/iot/api_op_CreateRoleAlias.go @@ -92,7 +92,10 @@ func addOperationCreateRoleAliasMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateScheduledAudit.go b/service/iot/api_op_CreateScheduledAudit.go index 648d2b741a4..b430246fb28 100644 --- a/service/iot/api_op_CreateScheduledAudit.go +++ b/service/iot/api_op_CreateScheduledAudit.go @@ -103,7 +103,10 @@ func addOperationCreateScheduledAuditMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateSecurityProfile.go b/service/iot/api_op_CreateSecurityProfile.go index 6b9c456aa88..2b7bf178f46 100644 --- a/service/iot/api_op_CreateSecurityProfile.go +++ b/service/iot/api_op_CreateSecurityProfile.go @@ -103,7 +103,10 @@ func addOperationCreateSecurityProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateStream.go b/service/iot/api_op_CreateStream.go index 013b6e98167..5fcd3c8c7a3 100644 --- a/service/iot/api_op_CreateStream.go +++ b/service/iot/api_op_CreateStream.go @@ -102,7 +102,10 @@ func addOperationCreateStreamMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateThing.go b/service/iot/api_op_CreateThing.go index ff2b052bbc4..4d88ab36630 100644 --- a/service/iot/api_op_CreateThing.go +++ b/service/iot/api_op_CreateThing.go @@ -100,7 +100,10 @@ func addOperationCreateThingMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateThingGroup.go b/service/iot/api_op_CreateThingGroup.go index 309643e93d1..dcafb389950 100644 --- a/service/iot/api_op_CreateThingGroup.go +++ b/service/iot/api_op_CreateThingGroup.go @@ -91,7 +91,10 @@ func addOperationCreateThingGroupMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateThingType.go b/service/iot/api_op_CreateThingType.go index 9e2836275c0..1ab1b24b785 100644 --- a/service/iot/api_op_CreateThingType.go +++ b/service/iot/api_op_CreateThingType.go @@ -90,7 +90,10 @@ func addOperationCreateThingTypeMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateTopicRule.go b/service/iot/api_op_CreateTopicRule.go index 8c6b3b303ff..966146c8d21 100644 --- a/service/iot/api_op_CreateTopicRule.go +++ b/service/iot/api_op_CreateTopicRule.go @@ -84,7 +84,10 @@ func addOperationCreateTopicRuleMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_CreateTopicRuleDestination.go b/service/iot/api_op_CreateTopicRuleDestination.go index fdec10fffbd..20e9a1a4503 100644 --- a/service/iot/api_op_CreateTopicRuleDestination.go +++ b/service/iot/api_op_CreateTopicRuleDestination.go @@ -75,7 +75,10 @@ func addOperationCreateTopicRuleDestinationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteAccountAuditConfiguration.go b/service/iot/api_op_DeleteAccountAuditConfiguration.go index 1c24592dbde..c1214aa4b66 100644 --- a/service/iot/api_op_DeleteAccountAuditConfiguration.go +++ b/service/iot/api_op_DeleteAccountAuditConfiguration.go @@ -69,7 +69,10 @@ func addOperationDeleteAccountAuditConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteAuditSuppression.go b/service/iot/api_op_DeleteAuditSuppression.go index 863c45007a2..92f61034567 100644 --- a/service/iot/api_op_DeleteAuditSuppression.go +++ b/service/iot/api_op_DeleteAuditSuppression.go @@ -78,7 +78,10 @@ func addOperationDeleteAuditSuppressionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteAuthorizer.go b/service/iot/api_op_DeleteAuthorizer.go index 651ed896775..05229255ecb 100644 --- a/service/iot/api_op_DeleteAuthorizer.go +++ b/service/iot/api_op_DeleteAuthorizer.go @@ -69,7 +69,10 @@ func addOperationDeleteAuthorizerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteBillingGroup.go b/service/iot/api_op_DeleteBillingGroup.go index 6f87602adf2..e1e05ca80a7 100644 --- a/service/iot/api_op_DeleteBillingGroup.go +++ b/service/iot/api_op_DeleteBillingGroup.go @@ -74,7 +74,10 @@ func addOperationDeleteBillingGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteCACertificate.go b/service/iot/api_op_DeleteCACertificate.go index 7bccc0d9ce0..5f4a6b4ff52 100644 --- a/service/iot/api_op_DeleteCACertificate.go +++ b/service/iot/api_op_DeleteCACertificate.go @@ -72,7 +72,10 @@ func addOperationDeleteCACertificateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteCertificate.go b/service/iot/api_op_DeleteCertificate.go index c2736f7be95..1f20e60d366 100644 --- a/service/iot/api_op_DeleteCertificate.go +++ b/service/iot/api_op_DeleteCertificate.go @@ -79,7 +79,10 @@ func addOperationDeleteCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteDimension.go b/service/iot/api_op_DeleteDimension.go index d671f86ec64..6d6ca167ee4 100644 --- a/service/iot/api_op_DeleteDimension.go +++ b/service/iot/api_op_DeleteDimension.go @@ -69,7 +69,10 @@ func addOperationDeleteDimensionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteDomainConfiguration.go b/service/iot/api_op_DeleteDomainConfiguration.go index ef1835d9a73..3e7f86e3841 100644 --- a/service/iot/api_op_DeleteDomainConfiguration.go +++ b/service/iot/api_op_DeleteDomainConfiguration.go @@ -70,7 +70,10 @@ func addOperationDeleteDomainConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteDynamicThingGroup.go b/service/iot/api_op_DeleteDynamicThingGroup.go index 99f682ae2a8..b82d7d8f0be 100644 --- a/service/iot/api_op_DeleteDynamicThingGroup.go +++ b/service/iot/api_op_DeleteDynamicThingGroup.go @@ -72,7 +72,10 @@ func addOperationDeleteDynamicThingGroupMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteJob.go b/service/iot/api_op_DeleteJob.go index eb42a6d233d..f64af7e7fe6 100644 --- a/service/iot/api_op_DeleteJob.go +++ b/service/iot/api_op_DeleteJob.go @@ -94,7 +94,10 @@ func addOperationDeleteJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteJobExecution.go b/service/iot/api_op_DeleteJobExecution.go index eb4714cc08f..777c00e39f6 100644 --- a/service/iot/api_op_DeleteJobExecution.go +++ b/service/iot/api_op_DeleteJobExecution.go @@ -98,7 +98,10 @@ func addOperationDeleteJobExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteMitigationAction.go b/service/iot/api_op_DeleteMitigationAction.go index 5068d014aeb..33772fd3a4f 100644 --- a/service/iot/api_op_DeleteMitigationAction.go +++ b/service/iot/api_op_DeleteMitigationAction.go @@ -69,7 +69,10 @@ func addOperationDeleteMitigationActionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteOTAUpdate.go b/service/iot/api_op_DeleteOTAUpdate.go index 8c6a7656ba0..3332008c1d3 100644 --- a/service/iot/api_op_DeleteOTAUpdate.go +++ b/service/iot/api_op_DeleteOTAUpdate.go @@ -77,7 +77,10 @@ func addOperationDeleteOTAUpdateMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeletePolicy.go b/service/iot/api_op_DeletePolicy.go index a3c17b5b2fc..b53e4ab596f 100644 --- a/service/iot/api_op_DeletePolicy.go +++ b/service/iot/api_op_DeletePolicy.go @@ -75,7 +75,10 @@ func addOperationDeletePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeletePolicyVersion.go b/service/iot/api_op_DeletePolicyVersion.go index ba80053a5d7..638a89c11bd 100644 --- a/service/iot/api_op_DeletePolicyVersion.go +++ b/service/iot/api_op_DeletePolicyVersion.go @@ -78,7 +78,10 @@ func addOperationDeletePolicyVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteProvisioningTemplate.go b/service/iot/api_op_DeleteProvisioningTemplate.go index 6eff1f3268b..fe1011e2128 100644 --- a/service/iot/api_op_DeleteProvisioningTemplate.go +++ b/service/iot/api_op_DeleteProvisioningTemplate.go @@ -69,7 +69,10 @@ func addOperationDeleteProvisioningTemplateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteProvisioningTemplateVersion.go b/service/iot/api_op_DeleteProvisioningTemplateVersion.go index b6bcebb829a..862bd91c13e 100644 --- a/service/iot/api_op_DeleteProvisioningTemplateVersion.go +++ b/service/iot/api_op_DeleteProvisioningTemplateVersion.go @@ -74,7 +74,10 @@ func addOperationDeleteProvisioningTemplateVersionMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteRegistrationCode.go b/service/iot/api_op_DeleteRegistrationCode.go index 0eaf23cdb99..7390ce949ec 100644 --- a/service/iot/api_op_DeleteRegistrationCode.go +++ b/service/iot/api_op_DeleteRegistrationCode.go @@ -66,7 +66,10 @@ func addOperationDeleteRegistrationCodeMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteRoleAlias.go b/service/iot/api_op_DeleteRoleAlias.go index 63220e464a6..ed8c164e8ec 100644 --- a/service/iot/api_op_DeleteRoleAlias.go +++ b/service/iot/api_op_DeleteRoleAlias.go @@ -69,7 +69,10 @@ func addOperationDeleteRoleAliasMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteScheduledAudit.go b/service/iot/api_op_DeleteScheduledAudit.go index 05ec237bbe2..e6ade48cf73 100644 --- a/service/iot/api_op_DeleteScheduledAudit.go +++ b/service/iot/api_op_DeleteScheduledAudit.go @@ -69,7 +69,10 @@ func addOperationDeleteScheduledAuditMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteSecurityProfile.go b/service/iot/api_op_DeleteSecurityProfile.go index 5b427f8c0a4..adb002ca0ac 100644 --- a/service/iot/api_op_DeleteSecurityProfile.go +++ b/service/iot/api_op_DeleteSecurityProfile.go @@ -74,7 +74,10 @@ func addOperationDeleteSecurityProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteStream.go b/service/iot/api_op_DeleteStream.go index 7151a6421a7..0815d98e5a2 100644 --- a/service/iot/api_op_DeleteStream.go +++ b/service/iot/api_op_DeleteStream.go @@ -69,7 +69,10 @@ func addOperationDeleteStreamMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteThing.go b/service/iot/api_op_DeleteThing.go index 21ccacad8ed..2b042f1cdee 100644 --- a/service/iot/api_op_DeleteThing.go +++ b/service/iot/api_op_DeleteThing.go @@ -77,7 +77,10 @@ func addOperationDeleteThingMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteThingGroup.go b/service/iot/api_op_DeleteThingGroup.go index 80139cfbf27..7f2139473a0 100644 --- a/service/iot/api_op_DeleteThingGroup.go +++ b/service/iot/api_op_DeleteThingGroup.go @@ -72,7 +72,10 @@ func addOperationDeleteThingGroupMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteThingType.go b/service/iot/api_op_DeleteThingType.go index 4d87971301a..587e6d403f9 100644 --- a/service/iot/api_op_DeleteThingType.go +++ b/service/iot/api_op_DeleteThingType.go @@ -75,7 +75,10 @@ func addOperationDeleteThingTypeMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteTopicRule.go b/service/iot/api_op_DeleteTopicRule.go index 6ffa087555f..d7fecfbdad1 100644 --- a/service/iot/api_op_DeleteTopicRule.go +++ b/service/iot/api_op_DeleteTopicRule.go @@ -70,7 +70,10 @@ func addOperationDeleteTopicRuleMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteTopicRuleDestination.go b/service/iot/api_op_DeleteTopicRuleDestination.go index 60a0691a95b..335b0965936 100644 --- a/service/iot/api_op_DeleteTopicRuleDestination.go +++ b/service/iot/api_op_DeleteTopicRuleDestination.go @@ -69,7 +69,10 @@ func addOperationDeleteTopicRuleDestinationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeleteV2LoggingLevel.go b/service/iot/api_op_DeleteV2LoggingLevel.go index b00383ac92a..1d19422a414 100644 --- a/service/iot/api_op_DeleteV2LoggingLevel.go +++ b/service/iot/api_op_DeleteV2LoggingLevel.go @@ -75,7 +75,10 @@ func addOperationDeleteV2LoggingLevelMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DeprecateThingType.go b/service/iot/api_op_DeprecateThingType.go index b5dca21fdce..e8d95e818f0 100644 --- a/service/iot/api_op_DeprecateThingType.go +++ b/service/iot/api_op_DeprecateThingType.go @@ -76,7 +76,10 @@ func addOperationDeprecateThingTypeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeAccountAuditConfiguration.go b/service/iot/api_op_DescribeAccountAuditConfiguration.go index f45d1656e23..dc8ae5e11f8 100644 --- a/service/iot/api_op_DescribeAccountAuditConfiguration.go +++ b/service/iot/api_op_DescribeAccountAuditConfiguration.go @@ -81,7 +81,10 @@ func addOperationDescribeAccountAuditConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeAuditFinding.go b/service/iot/api_op_DescribeAuditFinding.go index 82f7560df75..52f20ff048b 100644 --- a/service/iot/api_op_DescribeAuditFinding.go +++ b/service/iot/api_op_DescribeAuditFinding.go @@ -77,7 +77,10 @@ func addOperationDescribeAuditFindingMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeAuditMitigationActionsTask.go b/service/iot/api_op_DescribeAuditMitigationActionsTask.go index c26be88c7da..cf469eec374 100644 --- a/service/iot/api_op_DescribeAuditMitigationActionsTask.go +++ b/service/iot/api_op_DescribeAuditMitigationActionsTask.go @@ -100,7 +100,10 @@ func addOperationDescribeAuditMitigationActionsTaskMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeAuditSuppression.go b/service/iot/api_op_DescribeAuditSuppression.go index 328d93d170b..6c309dad2a9 100644 --- a/service/iot/api_op_DescribeAuditSuppression.go +++ b/service/iot/api_op_DescribeAuditSuppression.go @@ -98,7 +98,10 @@ func addOperationDescribeAuditSuppressionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeAuditTask.go b/service/iot/api_op_DescribeAuditTask.go index 45e9960b98b..741002f5e0a 100644 --- a/service/iot/api_op_DescribeAuditTask.go +++ b/service/iot/api_op_DescribeAuditTask.go @@ -91,7 +91,10 @@ func addOperationDescribeAuditTaskMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeAuthorizer.go b/service/iot/api_op_DescribeAuthorizer.go index 1f7d7c1e200..8b15ebf8f1c 100644 --- a/service/iot/api_op_DescribeAuthorizer.go +++ b/service/iot/api_op_DescribeAuthorizer.go @@ -74,7 +74,10 @@ func addOperationDescribeAuthorizerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeBillingGroup.go b/service/iot/api_op_DescribeBillingGroup.go index f535b0b28b6..b932a0d2f66 100644 --- a/service/iot/api_op_DescribeBillingGroup.go +++ b/service/iot/api_op_DescribeBillingGroup.go @@ -89,7 +89,10 @@ func addOperationDescribeBillingGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeCACertificate.go b/service/iot/api_op_DescribeCACertificate.go index 6cf5ec3e85e..87f324879e4 100644 --- a/service/iot/api_op_DescribeCACertificate.go +++ b/service/iot/api_op_DescribeCACertificate.go @@ -79,7 +79,10 @@ func addOperationDescribeCACertificateMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeCertificate.go b/service/iot/api_op_DescribeCertificate.go index 05f3e682a9f..d0c5f4ceea7 100644 --- a/service/iot/api_op_DescribeCertificate.go +++ b/service/iot/api_op_DescribeCertificate.go @@ -77,7 +77,10 @@ func addOperationDescribeCertificateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeDefaultAuthorizer.go b/service/iot/api_op_DescribeDefaultAuthorizer.go index 3e0c067d744..6c308853e49 100644 --- a/service/iot/api_op_DescribeDefaultAuthorizer.go +++ b/service/iot/api_op_DescribeDefaultAuthorizer.go @@ -69,7 +69,10 @@ func addOperationDescribeDefaultAuthorizerMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeDimension.go b/service/iot/api_op_DescribeDimension.go index 9b1ae3c74d1..07506f3c7ed 100644 --- a/service/iot/api_op_DescribeDimension.go +++ b/service/iot/api_op_DescribeDimension.go @@ -91,7 +91,10 @@ func addOperationDescribeDimensionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeDomainConfiguration.go b/service/iot/api_op_DescribeDomainConfiguration.go index 4a8db6077e9..b9b098bf3ba 100644 --- a/service/iot/api_op_DescribeDomainConfiguration.go +++ b/service/iot/api_op_DescribeDomainConfiguration.go @@ -101,7 +101,10 @@ func addOperationDescribeDomainConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeEndpoint.go b/service/iot/api_op_DescribeEndpoint.go index 7f51ac9479e..34a3610569f 100644 --- a/service/iot/api_op_DescribeEndpoint.go +++ b/service/iot/api_op_DescribeEndpoint.go @@ -90,7 +90,10 @@ func addOperationDescribeEndpointMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeEventConfigurations.go b/service/iot/api_op_DescribeEventConfigurations.go index a0d5d2a156b..a213f96a453 100644 --- a/service/iot/api_op_DescribeEventConfigurations.go +++ b/service/iot/api_op_DescribeEventConfigurations.go @@ -76,7 +76,10 @@ func addOperationDescribeEventConfigurationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeIndex.go b/service/iot/api_op_DescribeIndex.go index 9ec0898a9fd..6d7fb9cbb0f 100644 --- a/service/iot/api_op_DescribeIndex.go +++ b/service/iot/api_op_DescribeIndex.go @@ -94,7 +94,10 @@ func addOperationDescribeIndexMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeJob.go b/service/iot/api_op_DescribeJob.go index cf867291454..87305199506 100644 --- a/service/iot/api_op_DescribeJob.go +++ b/service/iot/api_op_DescribeJob.go @@ -77,7 +77,10 @@ func addOperationDescribeJobMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeJobExecution.go b/service/iot/api_op_DescribeJobExecution.go index e4b65e5a3e7..5d70fe0aef2 100644 --- a/service/iot/api_op_DescribeJobExecution.go +++ b/service/iot/api_op_DescribeJobExecution.go @@ -83,7 +83,10 @@ func addOperationDescribeJobExecutionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeMitigationAction.go b/service/iot/api_op_DescribeMitigationAction.go index af0d60f08a3..6670725fb6b 100644 --- a/service/iot/api_op_DescribeMitigationAction.go +++ b/service/iot/api_op_DescribeMitigationAction.go @@ -97,7 +97,10 @@ func addOperationDescribeMitigationActionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeProvisioningTemplate.go b/service/iot/api_op_DescribeProvisioningTemplate.go index 52d4d742d1f..1b2672133c2 100644 --- a/service/iot/api_op_DescribeProvisioningTemplate.go +++ b/service/iot/api_op_DescribeProvisioningTemplate.go @@ -103,7 +103,10 @@ func addOperationDescribeProvisioningTemplateMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeProvisioningTemplateVersion.go b/service/iot/api_op_DescribeProvisioningTemplateVersion.go index dd91765f3ee..9d7229a6d69 100644 --- a/service/iot/api_op_DescribeProvisioningTemplateVersion.go +++ b/service/iot/api_op_DescribeProvisioningTemplateVersion.go @@ -88,7 +88,10 @@ func addOperationDescribeProvisioningTemplateVersionMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeRoleAlias.go b/service/iot/api_op_DescribeRoleAlias.go index 3b07da0f677..42daef0943e 100644 --- a/service/iot/api_op_DescribeRoleAlias.go +++ b/service/iot/api_op_DescribeRoleAlias.go @@ -74,7 +74,10 @@ func addOperationDescribeRoleAliasMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeScheduledAudit.go b/service/iot/api_op_DescribeScheduledAudit.go index 4c94b75b240..54f7e09ae19 100644 --- a/service/iot/api_op_DescribeScheduledAudit.go +++ b/service/iot/api_op_DescribeScheduledAudit.go @@ -96,7 +96,10 @@ func addOperationDescribeScheduledAuditMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeSecurityProfile.go b/service/iot/api_op_DescribeSecurityProfile.go index 3022b52538f..58e709d96a2 100644 --- a/service/iot/api_op_DescribeSecurityProfile.go +++ b/service/iot/api_op_DescribeSecurityProfile.go @@ -111,7 +111,10 @@ func addOperationDescribeSecurityProfileMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeStream.go b/service/iot/api_op_DescribeStream.go index 0e11664de83..ec0d33b09f0 100644 --- a/service/iot/api_op_DescribeStream.go +++ b/service/iot/api_op_DescribeStream.go @@ -74,7 +74,10 @@ func addOperationDescribeStreamMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeThing.go b/service/iot/api_op_DescribeThing.go index 0701d650c28..519a5291777 100644 --- a/service/iot/api_op_DescribeThing.go +++ b/service/iot/api_op_DescribeThing.go @@ -104,7 +104,10 @@ func addOperationDescribeThingMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeThingGroup.go b/service/iot/api_op_DescribeThingGroup.go index a550d9bb588..a23928bf327 100644 --- a/service/iot/api_op_DescribeThingGroup.go +++ b/service/iot/api_op_DescribeThingGroup.go @@ -101,7 +101,10 @@ func addOperationDescribeThingGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeThingRegistrationTask.go b/service/iot/api_op_DescribeThingRegistrationTask.go index 950cc5b9df5..bc27a0552d7 100644 --- a/service/iot/api_op_DescribeThingRegistrationTask.go +++ b/service/iot/api_op_DescribeThingRegistrationTask.go @@ -108,7 +108,10 @@ func addOperationDescribeThingRegistrationTaskMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DescribeThingType.go b/service/iot/api_op_DescribeThingType.go index a8629aae4ed..cc4ce814578 100644 --- a/service/iot/api_op_DescribeThingType.go +++ b/service/iot/api_op_DescribeThingType.go @@ -91,7 +91,10 @@ func addOperationDescribeThingTypeMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DetachPolicy.go b/service/iot/api_op_DetachPolicy.go index 36d7f50e9fa..8d5d3a1138a 100644 --- a/service/iot/api_op_DetachPolicy.go +++ b/service/iot/api_op_DetachPolicy.go @@ -74,7 +74,10 @@ func addOperationDetachPolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DetachPrincipalPolicy.go b/service/iot/api_op_DetachPrincipalPolicy.go index f1a3a654296..79a135b14e4 100644 --- a/service/iot/api_op_DetachPrincipalPolicy.go +++ b/service/iot/api_op_DetachPrincipalPolicy.go @@ -80,7 +80,10 @@ func addOperationDetachPrincipalPolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DetachSecurityProfile.go b/service/iot/api_op_DetachSecurityProfile.go index bf809db55ab..3fd997faf05 100644 --- a/service/iot/api_op_DetachSecurityProfile.go +++ b/service/iot/api_op_DetachSecurityProfile.go @@ -75,7 +75,10 @@ func addOperationDetachSecurityProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DetachThingPrincipal.go b/service/iot/api_op_DetachThingPrincipal.go index a961b43a8aa..1997a5d0a6e 100644 --- a/service/iot/api_op_DetachThingPrincipal.go +++ b/service/iot/api_op_DetachThingPrincipal.go @@ -81,7 +81,10 @@ func addOperationDetachThingPrincipalMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_DisableTopicRule.go b/service/iot/api_op_DisableTopicRule.go index 2dc42d83a15..e31c0941d82 100644 --- a/service/iot/api_op_DisableTopicRule.go +++ b/service/iot/api_op_DisableTopicRule.go @@ -70,7 +70,10 @@ func addOperationDisableTopicRuleMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_EnableTopicRule.go b/service/iot/api_op_EnableTopicRule.go index b80150b3f43..5f0df3f0e21 100644 --- a/service/iot/api_op_EnableTopicRule.go +++ b/service/iot/api_op_EnableTopicRule.go @@ -70,7 +70,10 @@ func addOperationEnableTopicRuleMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetCardinality.go b/service/iot/api_op_GetCardinality.go index 3a44af426ab..d97f2d0bad7 100644 --- a/service/iot/api_op_GetCardinality.go +++ b/service/iot/api_op_GetCardinality.go @@ -82,7 +82,10 @@ func addOperationGetCardinalityMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetEffectivePolicies.go b/service/iot/api_op_GetEffectivePolicies.go index 3d53460a993..c45137d2658 100644 --- a/service/iot/api_op_GetEffectivePolicies.go +++ b/service/iot/api_op_GetEffectivePolicies.go @@ -81,7 +81,10 @@ func addOperationGetEffectivePoliciesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetIndexingConfiguration.go b/service/iot/api_op_GetIndexingConfiguration.go index c3257a03658..210d37be949 100644 --- a/service/iot/api_op_GetIndexingConfiguration.go +++ b/service/iot/api_op_GetIndexingConfiguration.go @@ -72,7 +72,10 @@ func addOperationGetIndexingConfigurationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetJobDocument.go b/service/iot/api_op_GetJobDocument.go index afabae3ef01..804a112b7be 100644 --- a/service/iot/api_op_GetJobDocument.go +++ b/service/iot/api_op_GetJobDocument.go @@ -73,7 +73,10 @@ func addOperationGetJobDocumentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetLoggingOptions.go b/service/iot/api_op_GetLoggingOptions.go index 1a6d577f274..36d461b9fa8 100644 --- a/service/iot/api_op_GetLoggingOptions.go +++ b/service/iot/api_op_GetLoggingOptions.go @@ -75,7 +75,10 @@ func addOperationGetLoggingOptionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetOTAUpdate.go b/service/iot/api_op_GetOTAUpdate.go index 2964bbac04a..831e9516261 100644 --- a/service/iot/api_op_GetOTAUpdate.go +++ b/service/iot/api_op_GetOTAUpdate.go @@ -74,7 +74,10 @@ func addOperationGetOTAUpdateMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetPercentiles.go b/service/iot/api_op_GetPercentiles.go index f6018f0022d..6fd6b4c396a 100644 --- a/service/iot/api_op_GetPercentiles.go +++ b/service/iot/api_op_GetPercentiles.go @@ -94,7 +94,10 @@ func addOperationGetPercentilesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetPolicy.go b/service/iot/api_op_GetPolicy.go index d08003b4758..c7a9e78d340 100644 --- a/service/iot/api_op_GetPolicy.go +++ b/service/iot/api_op_GetPolicy.go @@ -95,7 +95,10 @@ func addOperationGetPolicyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetPolicyVersion.go b/service/iot/api_op_GetPolicyVersion.go index 77b22f0a4d8..6e1e5c3abbb 100644 --- a/service/iot/api_op_GetPolicyVersion.go +++ b/service/iot/api_op_GetPolicyVersion.go @@ -102,7 +102,10 @@ func addOperationGetPolicyVersionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetRegistrationCode.go b/service/iot/api_op_GetRegistrationCode.go index d1e7430a59e..7c8ffbfcdfc 100644 --- a/service/iot/api_op_GetRegistrationCode.go +++ b/service/iot/api_op_GetRegistrationCode.go @@ -70,7 +70,10 @@ func addOperationGetRegistrationCodeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetStatistics.go b/service/iot/api_op_GetStatistics.go index 9cbc82a4e6f..034d8c12c7c 100644 --- a/service/iot/api_op_GetStatistics.go +++ b/service/iot/api_op_GetStatistics.go @@ -87,7 +87,10 @@ func addOperationGetStatisticsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetTopicRule.go b/service/iot/api_op_GetTopicRule.go index 17e3d6091dd..538063c8e5d 100644 --- a/service/iot/api_op_GetTopicRule.go +++ b/service/iot/api_op_GetTopicRule.go @@ -79,7 +79,10 @@ func addOperationGetTopicRuleMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetTopicRuleDestination.go b/service/iot/api_op_GetTopicRuleDestination.go index 5c04344003e..791da8b9886 100644 --- a/service/iot/api_op_GetTopicRuleDestination.go +++ b/service/iot/api_op_GetTopicRuleDestination.go @@ -74,7 +74,10 @@ func addOperationGetTopicRuleDestinationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_GetV2LoggingOptions.go b/service/iot/api_op_GetV2LoggingOptions.go index 3e2fe2b2869..b83182aa61a 100644 --- a/service/iot/api_op_GetV2LoggingOptions.go +++ b/service/iot/api_op_GetV2LoggingOptions.go @@ -75,7 +75,10 @@ func addOperationGetV2LoggingOptionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListActiveViolations.go b/service/iot/api_op_ListActiveViolations.go index f6c411b67c6..783deac4f82 100644 --- a/service/iot/api_op_ListActiveViolations.go +++ b/service/iot/api_op_ListActiveViolations.go @@ -87,7 +87,10 @@ func addOperationListActiveViolationsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListAttachedPolicies.go b/service/iot/api_op_ListAttachedPolicies.go index c31eb03ee9c..d5a5aec7b10 100644 --- a/service/iot/api_op_ListAttachedPolicies.go +++ b/service/iot/api_op_ListAttachedPolicies.go @@ -91,7 +91,10 @@ func addOperationListAttachedPoliciesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListAuditFindings.go b/service/iot/api_op_ListAuditFindings.go index bd26f49bcfa..a45df110484 100644 --- a/service/iot/api_op_ListAuditFindings.go +++ b/service/iot/api_op_ListAuditFindings.go @@ -105,7 +105,10 @@ func addOperationListAuditFindingsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListAuditMitigationActionsExecutions.go b/service/iot/api_op_ListAuditMitigationActionsExecutions.go index 59e177ed7b7..748cad54199 100644 --- a/service/iot/api_op_ListAuditMitigationActionsExecutions.go +++ b/service/iot/api_op_ListAuditMitigationActionsExecutions.go @@ -95,7 +95,10 @@ func addOperationListAuditMitigationActionsExecutionsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListAuditMitigationActionsTasks.go b/service/iot/api_op_ListAuditMitigationActionsTasks.go index 002b4c428f3..1d664b165f1 100644 --- a/service/iot/api_op_ListAuditMitigationActionsTasks.go +++ b/service/iot/api_op_ListAuditMitigationActionsTasks.go @@ -103,7 +103,10 @@ func addOperationListAuditMitigationActionsTasksMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListAuditSuppressions.go b/service/iot/api_op_ListAuditSuppressions.go index 332754bdb63..f6c5c844f4c 100644 --- a/service/iot/api_op_ListAuditSuppressions.go +++ b/service/iot/api_op_ListAuditSuppressions.go @@ -93,7 +93,10 @@ func addOperationListAuditSuppressionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListAuditTasks.go b/service/iot/api_op_ListAuditTasks.go index 7575fab9868..88f474b648d 100644 --- a/service/iot/api_op_ListAuditTasks.go +++ b/service/iot/api_op_ListAuditTasks.go @@ -102,7 +102,10 @@ func addOperationListAuditTasksMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListAuthorizers.go b/service/iot/api_op_ListAuthorizers.go index 0c4236fc128..0b25cc90940 100644 --- a/service/iot/api_op_ListAuthorizers.go +++ b/service/iot/api_op_ListAuthorizers.go @@ -85,7 +85,10 @@ func addOperationListAuthorizersMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListBillingGroups.go b/service/iot/api_op_ListBillingGroups.go index 2166f868a2c..380b5baa542 100644 --- a/service/iot/api_op_ListBillingGroups.go +++ b/service/iot/api_op_ListBillingGroups.go @@ -84,7 +84,10 @@ func addOperationListBillingGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListCACertificates.go b/service/iot/api_op_ListCACertificates.go index a070a77173e..7ce37723a7c 100644 --- a/service/iot/api_op_ListCACertificates.go +++ b/service/iot/api_op_ListCACertificates.go @@ -86,7 +86,10 @@ func addOperationListCACertificatesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListCertificates.go b/service/iot/api_op_ListCertificates.go index d5c8e6d3d77..c0618c8a259 100644 --- a/service/iot/api_op_ListCertificates.go +++ b/service/iot/api_op_ListCertificates.go @@ -88,7 +88,10 @@ func addOperationListCertificatesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListCertificatesByCA.go b/service/iot/api_op_ListCertificatesByCA.go index 15a84a773aa..613395c39fd 100644 --- a/service/iot/api_op_ListCertificatesByCA.go +++ b/service/iot/api_op_ListCertificatesByCA.go @@ -92,7 +92,10 @@ func addOperationListCertificatesByCAMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListDimensions.go b/service/iot/api_op_ListDimensions.go index d470a2312fb..aea1b8793d2 100644 --- a/service/iot/api_op_ListDimensions.go +++ b/service/iot/api_op_ListDimensions.go @@ -80,7 +80,10 @@ func addOperationListDimensionsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListDomainConfigurations.go b/service/iot/api_op_ListDomainConfigurations.go index 9c92e1f4379..6bd6388a932 100644 --- a/service/iot/api_op_ListDomainConfigurations.go +++ b/service/iot/api_op_ListDomainConfigurations.go @@ -85,7 +85,10 @@ func addOperationListDomainConfigurationsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListIndices.go b/service/iot/api_op_ListIndices.go index 86629f3f9be..da7f8e0d09f 100644 --- a/service/iot/api_op_ListIndices.go +++ b/service/iot/api_op_ListIndices.go @@ -80,7 +80,10 @@ func addOperationListIndicesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListJobExecutionsForJob.go b/service/iot/api_op_ListJobExecutionsForJob.go index f163f15ef5f..6f0d118cf5e 100644 --- a/service/iot/api_op_ListJobExecutionsForJob.go +++ b/service/iot/api_op_ListJobExecutionsForJob.go @@ -88,7 +88,10 @@ func addOperationListJobExecutionsForJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListJobExecutionsForThing.go b/service/iot/api_op_ListJobExecutionsForThing.go index 7a8053569d9..f32bd358f44 100644 --- a/service/iot/api_op_ListJobExecutionsForThing.go +++ b/service/iot/api_op_ListJobExecutionsForThing.go @@ -95,7 +95,10 @@ func addOperationListJobExecutionsForThingMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListJobs.go b/service/iot/api_op_ListJobs.go index 1dc68b216c7..d68ad78444d 100644 --- a/service/iot/api_op_ListJobs.go +++ b/service/iot/api_op_ListJobs.go @@ -104,7 +104,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListMitigationActions.go b/service/iot/api_op_ListMitigationActions.go index 08e78f47e47..11d89318fb9 100644 --- a/service/iot/api_op_ListMitigationActions.go +++ b/service/iot/api_op_ListMitigationActions.go @@ -83,7 +83,10 @@ func addOperationListMitigationActionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListOTAUpdates.go b/service/iot/api_op_ListOTAUpdates.go index 2eaa26da2cb..7a446fde3a8 100644 --- a/service/iot/api_op_ListOTAUpdates.go +++ b/service/iot/api_op_ListOTAUpdates.go @@ -82,7 +82,10 @@ func addOperationListOTAUpdatesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListOutgoingCertificates.go b/service/iot/api_op_ListOutgoingCertificates.go index 0145751d10d..546f25ed313 100644 --- a/service/iot/api_op_ListOutgoingCertificates.go +++ b/service/iot/api_op_ListOutgoingCertificates.go @@ -85,7 +85,10 @@ func addOperationListOutgoingCertificatesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListPolicies.go b/service/iot/api_op_ListPolicies.go index 4634f802bde..c834818bcfa 100644 --- a/service/iot/api_op_ListPolicies.go +++ b/service/iot/api_op_ListPolicies.go @@ -86,7 +86,10 @@ func addOperationListPoliciesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListPolicyPrincipals.go b/service/iot/api_op_ListPolicyPrincipals.go index 4112800c3d2..435f1b36087 100644 --- a/service/iot/api_op_ListPolicyPrincipals.go +++ b/service/iot/api_op_ListPolicyPrincipals.go @@ -93,7 +93,10 @@ func addOperationListPolicyPrincipalsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListPolicyVersions.go b/service/iot/api_op_ListPolicyVersions.go index dcda0aeb822..bab365db09e 100644 --- a/service/iot/api_op_ListPolicyVersions.go +++ b/service/iot/api_op_ListPolicyVersions.go @@ -76,7 +76,10 @@ func addOperationListPolicyVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListPrincipalPolicies.go b/service/iot/api_op_ListPrincipalPolicies.go index 68fdc25f9ac..a7fa2d14c47 100644 --- a/service/iot/api_op_ListPrincipalPolicies.go +++ b/service/iot/api_op_ListPrincipalPolicies.go @@ -98,7 +98,10 @@ func addOperationListPrincipalPoliciesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListPrincipalThings.go b/service/iot/api_op_ListPrincipalThings.go index 38657a49128..c8d2f7b23c8 100644 --- a/service/iot/api_op_ListPrincipalThings.go +++ b/service/iot/api_op_ListPrincipalThings.go @@ -89,7 +89,10 @@ func addOperationListPrincipalThingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListProvisioningTemplateVersions.go b/service/iot/api_op_ListProvisioningTemplateVersions.go index 7403b719027..1d1a2c7ebb4 100644 --- a/service/iot/api_op_ListProvisioningTemplateVersions.go +++ b/service/iot/api_op_ListProvisioningTemplateVersions.go @@ -84,7 +84,10 @@ func addOperationListProvisioningTemplateVersionsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListProvisioningTemplates.go b/service/iot/api_op_ListProvisioningTemplates.go index 983fbd73882..eeb8505a5b4 100644 --- a/service/iot/api_op_ListProvisioningTemplates.go +++ b/service/iot/api_op_ListProvisioningTemplates.go @@ -79,7 +79,10 @@ func addOperationListProvisioningTemplatesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListRoleAliases.go b/service/iot/api_op_ListRoleAliases.go index eadda6e52f4..7aed57d3e01 100644 --- a/service/iot/api_op_ListRoleAliases.go +++ b/service/iot/api_op_ListRoleAliases.go @@ -81,7 +81,10 @@ func addOperationListRoleAliasesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListScheduledAudits.go b/service/iot/api_op_ListScheduledAudits.go index a9014f1fe0a..8c901997ffe 100644 --- a/service/iot/api_op_ListScheduledAudits.go +++ b/service/iot/api_op_ListScheduledAudits.go @@ -80,7 +80,10 @@ func addOperationListScheduledAuditsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListSecurityProfiles.go b/service/iot/api_op_ListSecurityProfiles.go index a4d833aed66..8a6eb15f1de 100644 --- a/service/iot/api_op_ListSecurityProfiles.go +++ b/service/iot/api_op_ListSecurityProfiles.go @@ -86,7 +86,10 @@ func addOperationListSecurityProfilesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListSecurityProfilesForTarget.go b/service/iot/api_op_ListSecurityProfilesForTarget.go index 99c945eaed3..855f7f50413 100644 --- a/service/iot/api_op_ListSecurityProfilesForTarget.go +++ b/service/iot/api_op_ListSecurityProfilesForTarget.go @@ -89,7 +89,10 @@ func addOperationListSecurityProfilesForTargetMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListStreams.go b/service/iot/api_op_ListStreams.go index 96808a83f53..18c86fd5790 100644 --- a/service/iot/api_op_ListStreams.go +++ b/service/iot/api_op_ListStreams.go @@ -82,7 +82,10 @@ func addOperationListStreamsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListTagsForResource.go b/service/iot/api_op_ListTagsForResource.go index 382f8fda1f9..ffff8813878 100644 --- a/service/iot/api_op_ListTagsForResource.go +++ b/service/iot/api_op_ListTagsForResource.go @@ -83,7 +83,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListTargetsForPolicy.go b/service/iot/api_op_ListTargetsForPolicy.go index 46ebeffb44a..7cf1036faa1 100644 --- a/service/iot/api_op_ListTargetsForPolicy.go +++ b/service/iot/api_op_ListTargetsForPolicy.go @@ -83,7 +83,10 @@ func addOperationListTargetsForPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListTargetsForSecurityProfile.go b/service/iot/api_op_ListTargetsForSecurityProfile.go index 50e4003ea07..cc959684a7f 100644 --- a/service/iot/api_op_ListTargetsForSecurityProfile.go +++ b/service/iot/api_op_ListTargetsForSecurityProfile.go @@ -86,7 +86,10 @@ func addOperationListTargetsForSecurityProfileMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListThingGroups.go b/service/iot/api_op_ListThingGroups.go index 028984059cd..eec6a95c1e5 100644 --- a/service/iot/api_op_ListThingGroups.go +++ b/service/iot/api_op_ListThingGroups.go @@ -90,7 +90,10 @@ func addOperationListThingGroupsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListThingGroupsForThing.go b/service/iot/api_op_ListThingGroupsForThing.go index e8893f6474f..20deef2f92a 100644 --- a/service/iot/api_op_ListThingGroupsForThing.go +++ b/service/iot/api_op_ListThingGroupsForThing.go @@ -86,7 +86,10 @@ func addOperationListThingGroupsForThingMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListThingPrincipals.go b/service/iot/api_op_ListThingPrincipals.go index 41af4b088c5..c4b75a23776 100644 --- a/service/iot/api_op_ListThingPrincipals.go +++ b/service/iot/api_op_ListThingPrincipals.go @@ -89,7 +89,10 @@ func addOperationListThingPrincipalsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListThingRegistrationTaskReports.go b/service/iot/api_op_ListThingRegistrationTaskReports.go index 5daa84edba9..d5d56e9c57c 100644 --- a/service/iot/api_op_ListThingRegistrationTaskReports.go +++ b/service/iot/api_op_ListThingRegistrationTaskReports.go @@ -94,7 +94,10 @@ func addOperationListThingRegistrationTaskReportsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListThingRegistrationTasks.go b/service/iot/api_op_ListThingRegistrationTasks.go index d87249ea14a..a5c23395472 100644 --- a/service/iot/api_op_ListThingRegistrationTasks.go +++ b/service/iot/api_op_ListThingRegistrationTasks.go @@ -84,7 +84,10 @@ func addOperationListThingRegistrationTasksMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListThingTypes.go b/service/iot/api_op_ListThingTypes.go index d9e5ddecfa9..b12a94c3da7 100644 --- a/service/iot/api_op_ListThingTypes.go +++ b/service/iot/api_op_ListThingTypes.go @@ -86,7 +86,10 @@ func addOperationListThingTypesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListThings.go b/service/iot/api_op_ListThings.go index 1f7a9513f5f..4a9e3e90c3a 100644 --- a/service/iot/api_op_ListThings.go +++ b/service/iot/api_op_ListThings.go @@ -98,7 +98,10 @@ func addOperationListThingsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListThingsInBillingGroup.go b/service/iot/api_op_ListThingsInBillingGroup.go index 5f41b8d4240..c51b081a1ce 100644 --- a/service/iot/api_op_ListThingsInBillingGroup.go +++ b/service/iot/api_op_ListThingsInBillingGroup.go @@ -85,7 +85,10 @@ func addOperationListThingsInBillingGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListThingsInThingGroup.go b/service/iot/api_op_ListThingsInThingGroup.go index 940e8e99984..0b9c8f8f7e6 100644 --- a/service/iot/api_op_ListThingsInThingGroup.go +++ b/service/iot/api_op_ListThingsInThingGroup.go @@ -88,7 +88,10 @@ func addOperationListThingsInThingGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListTopicRuleDestinations.go b/service/iot/api_op_ListTopicRuleDestinations.go index 792d2b761c1..7d7dd7d00a8 100644 --- a/service/iot/api_op_ListTopicRuleDestinations.go +++ b/service/iot/api_op_ListTopicRuleDestinations.go @@ -81,7 +81,10 @@ func addOperationListTopicRuleDestinationsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListTopicRules.go b/service/iot/api_op_ListTopicRules.go index 9f4cfba3981..a6ac00b0c16 100644 --- a/service/iot/api_op_ListTopicRules.go +++ b/service/iot/api_op_ListTopicRules.go @@ -89,7 +89,10 @@ func addOperationListTopicRulesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListV2LoggingLevels.go b/service/iot/api_op_ListV2LoggingLevels.go index 5d8c1d4acaf..68f01be9572 100644 --- a/service/iot/api_op_ListV2LoggingLevels.go +++ b/service/iot/api_op_ListV2LoggingLevels.go @@ -84,7 +84,10 @@ func addOperationListV2LoggingLevelsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ListViolationEvents.go b/service/iot/api_op_ListViolationEvents.go index 4467f62dc8d..edca21189f7 100644 --- a/service/iot/api_op_ListViolationEvents.go +++ b/service/iot/api_op_ListViolationEvents.go @@ -102,7 +102,10 @@ func addOperationListViolationEventsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_RegisterCACertificate.go b/service/iot/api_op_RegisterCACertificate.go index 4a6c3ea3f45..b81abb44729 100644 --- a/service/iot/api_op_RegisterCACertificate.go +++ b/service/iot/api_op_RegisterCACertificate.go @@ -106,7 +106,10 @@ func addOperationRegisterCACertificateMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_RegisterCertificate.go b/service/iot/api_op_RegisterCertificate.go index 1377261d595..cae3bf60a41 100644 --- a/service/iot/api_op_RegisterCertificate.go +++ b/service/iot/api_op_RegisterCertificate.go @@ -92,7 +92,10 @@ func addOperationRegisterCertificateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_RegisterCertificateWithoutCA.go b/service/iot/api_op_RegisterCertificateWithoutCA.go index fe1fe25a741..be81c5692b6 100644 --- a/service/iot/api_op_RegisterCertificateWithoutCA.go +++ b/service/iot/api_op_RegisterCertificateWithoutCA.go @@ -81,7 +81,10 @@ func addOperationRegisterCertificateWithoutCAMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_RegisterThing.go b/service/iot/api_op_RegisterThing.go index cb58e5fd5f3..53e2d995141 100644 --- a/service/iot/api_op_RegisterThing.go +++ b/service/iot/api_op_RegisterThing.go @@ -90,7 +90,10 @@ func addOperationRegisterThingMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_RejectCertificateTransfer.go b/service/iot/api_op_RejectCertificateTransfer.go index e01cbb927c1..002b855b6a5 100644 --- a/service/iot/api_op_RejectCertificateTransfer.go +++ b/service/iot/api_op_RejectCertificateTransfer.go @@ -79,7 +79,10 @@ func addOperationRejectCertificateTransferMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_RemoveThingFromBillingGroup.go b/service/iot/api_op_RemoveThingFromBillingGroup.go index 15ef9bb1c5e..91445e67cd5 100644 --- a/service/iot/api_op_RemoveThingFromBillingGroup.go +++ b/service/iot/api_op_RemoveThingFromBillingGroup.go @@ -76,7 +76,10 @@ func addOperationRemoveThingFromBillingGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_RemoveThingFromThingGroup.go b/service/iot/api_op_RemoveThingFromThingGroup.go index 7322832d324..1f5b8154d8b 100644 --- a/service/iot/api_op_RemoveThingFromThingGroup.go +++ b/service/iot/api_op_RemoveThingFromThingGroup.go @@ -78,7 +78,10 @@ func addOperationRemoveThingFromThingGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ReplaceTopicRule.go b/service/iot/api_op_ReplaceTopicRule.go index a3dcdc6a3d2..314dd60e521 100644 --- a/service/iot/api_op_ReplaceTopicRule.go +++ b/service/iot/api_op_ReplaceTopicRule.go @@ -78,7 +78,10 @@ func addOperationReplaceTopicRuleMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_SearchIndex.go b/service/iot/api_op_SearchIndex.go index 496d5cb78e3..e6ab272ee7b 100644 --- a/service/iot/api_op_SearchIndex.go +++ b/service/iot/api_op_SearchIndex.go @@ -94,7 +94,10 @@ func addOperationSearchIndexMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_SetDefaultAuthorizer.go b/service/iot/api_op_SetDefaultAuthorizer.go index 9710e3b0b0a..5c531dc8799 100644 --- a/service/iot/api_op_SetDefaultAuthorizer.go +++ b/service/iot/api_op_SetDefaultAuthorizer.go @@ -77,7 +77,10 @@ func addOperationSetDefaultAuthorizerMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_SetDefaultPolicyVersion.go b/service/iot/api_op_SetDefaultPolicyVersion.go index b53c0cc8407..12aa8aa5d17 100644 --- a/service/iot/api_op_SetDefaultPolicyVersion.go +++ b/service/iot/api_op_SetDefaultPolicyVersion.go @@ -78,7 +78,10 @@ func addOperationSetDefaultPolicyVersionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_SetLoggingOptions.go b/service/iot/api_op_SetLoggingOptions.go index 2e206c28834..adcea83df4c 100644 --- a/service/iot/api_op_SetLoggingOptions.go +++ b/service/iot/api_op_SetLoggingOptions.go @@ -72,7 +72,10 @@ func addOperationSetLoggingOptionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_SetV2LoggingLevel.go b/service/iot/api_op_SetV2LoggingLevel.go index bf3722714d5..d96fce20b37 100644 --- a/service/iot/api_op_SetV2LoggingLevel.go +++ b/service/iot/api_op_SetV2LoggingLevel.go @@ -75,7 +75,10 @@ func addOperationSetV2LoggingLevelMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_SetV2LoggingOptions.go b/service/iot/api_op_SetV2LoggingOptions.go index f77d01ff7a8..ca34a6904a7 100644 --- a/service/iot/api_op_SetV2LoggingOptions.go +++ b/service/iot/api_op_SetV2LoggingOptions.go @@ -74,7 +74,10 @@ func addOperationSetV2LoggingOptionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_StartAuditMitigationActionsTask.go b/service/iot/api_op_StartAuditMitigationActionsTask.go index a06b85791a5..5368b892f96 100644 --- a/service/iot/api_op_StartAuditMitigationActionsTask.go +++ b/service/iot/api_op_StartAuditMitigationActionsTask.go @@ -98,7 +98,10 @@ func addOperationStartAuditMitigationActionsTaskMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_StartOnDemandAuditTask.go b/service/iot/api_op_StartOnDemandAuditTask.go index af251ad8225..fc1b37c4591 100644 --- a/service/iot/api_op_StartOnDemandAuditTask.go +++ b/service/iot/api_op_StartOnDemandAuditTask.go @@ -77,7 +77,10 @@ func addOperationStartOnDemandAuditTaskMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_StartThingRegistrationTask.go b/service/iot/api_op_StartThingRegistrationTask.go index 63efd56b4b0..99d70b04a44 100644 --- a/service/iot/api_op_StartThingRegistrationTask.go +++ b/service/iot/api_op_StartThingRegistrationTask.go @@ -90,7 +90,10 @@ func addOperationStartThingRegistrationTaskMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_StopThingRegistrationTask.go b/service/iot/api_op_StopThingRegistrationTask.go index 0545824571d..1914e44e5e7 100644 --- a/service/iot/api_op_StopThingRegistrationTask.go +++ b/service/iot/api_op_StopThingRegistrationTask.go @@ -69,7 +69,10 @@ func addOperationStopThingRegistrationTaskMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_TagResource.go b/service/iot/api_op_TagResource.go index 7fe94efa08d..f05f9be1d71 100644 --- a/service/iot/api_op_TagResource.go +++ b/service/iot/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_TestAuthorization.go b/service/iot/api_op_TestAuthorization.go index 15f8e9deec0..6a26ee6b939 100644 --- a/service/iot/api_op_TestAuthorization.go +++ b/service/iot/api_op_TestAuthorization.go @@ -96,7 +96,10 @@ func addOperationTestAuthorizationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_TestInvokeAuthorizer.go b/service/iot/api_op_TestInvokeAuthorizer.go index 16c2fe31aba..59c41c7b30b 100644 --- a/service/iot/api_op_TestInvokeAuthorizer.go +++ b/service/iot/api_op_TestInvokeAuthorizer.go @@ -104,7 +104,10 @@ func addOperationTestInvokeAuthorizerMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_TransferCertificate.go b/service/iot/api_op_TransferCertificate.go index c1d475be045..c41222bd469 100644 --- a/service/iot/api_op_TransferCertificate.go +++ b/service/iot/api_op_TransferCertificate.go @@ -90,7 +90,10 @@ func addOperationTransferCertificateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UntagResource.go b/service/iot/api_op_UntagResource.go index e6efd78fe19..7d6f291e49e 100644 --- a/service/iot/api_op_UntagResource.go +++ b/service/iot/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateAccountAuditConfiguration.go b/service/iot/api_op_UpdateAccountAuditConfiguration.go index 5cc2db837ef..90c81dce8c0 100644 --- a/service/iot/api_op_UpdateAccountAuditConfiguration.go +++ b/service/iot/api_op_UpdateAccountAuditConfiguration.go @@ -86,7 +86,10 @@ func addOperationUpdateAccountAuditConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateAuditSuppression.go b/service/iot/api_op_UpdateAuditSuppression.go index c8ae5456f39..55ced1b2a0a 100644 --- a/service/iot/api_op_UpdateAuditSuppression.go +++ b/service/iot/api_op_UpdateAuditSuppression.go @@ -89,7 +89,10 @@ func addOperationUpdateAuditSuppressionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateAuthorizer.go b/service/iot/api_op_UpdateAuthorizer.go index 79f00897f2d..0725cf715cb 100644 --- a/service/iot/api_op_UpdateAuthorizer.go +++ b/service/iot/api_op_UpdateAuthorizer.go @@ -89,7 +89,10 @@ func addOperationUpdateAuthorizerMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateBillingGroup.go b/service/iot/api_op_UpdateBillingGroup.go index 0117569784e..4c5adb9fa21 100644 --- a/service/iot/api_op_UpdateBillingGroup.go +++ b/service/iot/api_op_UpdateBillingGroup.go @@ -84,7 +84,10 @@ func addOperationUpdateBillingGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateCACertificate.go b/service/iot/api_op_UpdateCACertificate.go index e3d6203cd62..1e1a3c633d5 100644 --- a/service/iot/api_op_UpdateCACertificate.go +++ b/service/iot/api_op_UpdateCACertificate.go @@ -85,7 +85,10 @@ func addOperationUpdateCACertificateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateCertificate.go b/service/iot/api_op_UpdateCertificate.go index 4d0b994e6f7..2774c595594 100644 --- a/service/iot/api_op_UpdateCertificate.go +++ b/service/iot/api_op_UpdateCertificate.go @@ -86,7 +86,10 @@ func addOperationUpdateCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateDimension.go b/service/iot/api_op_UpdateDimension.go index c7d8178b86e..abe12831583 100644 --- a/service/iot/api_op_UpdateDimension.go +++ b/service/iot/api_op_UpdateDimension.go @@ -102,7 +102,10 @@ func addOperationUpdateDimensionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateDomainConfiguration.go b/service/iot/api_op_UpdateDomainConfiguration.go index 4747f629408..7b4c892a06b 100644 --- a/service/iot/api_op_UpdateDomainConfiguration.go +++ b/service/iot/api_op_UpdateDomainConfiguration.go @@ -88,7 +88,10 @@ func addOperationUpdateDomainConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateDynamicThingGroup.go b/service/iot/api_op_UpdateDynamicThingGroup.go index 9553a1ff283..bc012820a53 100644 --- a/service/iot/api_op_UpdateDynamicThingGroup.go +++ b/service/iot/api_op_UpdateDynamicThingGroup.go @@ -94,7 +94,10 @@ func addOperationUpdateDynamicThingGroupMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateEventConfigurations.go b/service/iot/api_op_UpdateEventConfigurations.go index df98fe19c8e..535ce66a191 100644 --- a/service/iot/api_op_UpdateEventConfigurations.go +++ b/service/iot/api_op_UpdateEventConfigurations.go @@ -68,7 +68,10 @@ func addOperationUpdateEventConfigurationsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateIndexingConfiguration.go b/service/iot/api_op_UpdateIndexingConfiguration.go index c86a420c461..4731a6a591a 100644 --- a/service/iot/api_op_UpdateIndexingConfiguration.go +++ b/service/iot/api_op_UpdateIndexingConfiguration.go @@ -71,7 +71,10 @@ func addOperationUpdateIndexingConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateJob.go b/service/iot/api_op_UpdateJob.go index 67bb1a0cb59..7a8e8d50729 100644 --- a/service/iot/api_op_UpdateJob.go +++ b/service/iot/api_op_UpdateJob.go @@ -95,7 +95,10 @@ func addOperationUpdateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateMitigationAction.go b/service/iot/api_op_UpdateMitigationAction.go index 58006db4448..d015011750f 100644 --- a/service/iot/api_op_UpdateMitigationAction.go +++ b/service/iot/api_op_UpdateMitigationAction.go @@ -85,7 +85,10 @@ func addOperationUpdateMitigationActionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateProvisioningTemplate.go b/service/iot/api_op_UpdateProvisioningTemplate.go index 9e492afe7f6..d4bc1060260 100644 --- a/service/iot/api_op_UpdateProvisioningTemplate.go +++ b/service/iot/api_op_UpdateProvisioningTemplate.go @@ -89,7 +89,10 @@ func addOperationUpdateProvisioningTemplateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateRoleAlias.go b/service/iot/api_op_UpdateRoleAlias.go index d056b656b52..93193082ad4 100644 --- a/service/iot/api_op_UpdateRoleAlias.go +++ b/service/iot/api_op_UpdateRoleAlias.go @@ -82,7 +82,10 @@ func addOperationUpdateRoleAliasMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateScheduledAudit.go b/service/iot/api_op_UpdateScheduledAudit.go index aa4ce434ed0..aa208124668 100644 --- a/service/iot/api_op_UpdateScheduledAudit.go +++ b/service/iot/api_op_UpdateScheduledAudit.go @@ -97,7 +97,10 @@ func addOperationUpdateScheduledAuditMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateSecurityProfile.go b/service/iot/api_op_UpdateSecurityProfile.go index eb9f536163d..e9fa3166a93 100644 --- a/service/iot/api_op_UpdateSecurityProfile.go +++ b/service/iot/api_op_UpdateSecurityProfile.go @@ -149,7 +149,10 @@ func addOperationUpdateSecurityProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateStream.go b/service/iot/api_op_UpdateStream.go index c1fb503550e..0c276f4c3b6 100644 --- a/service/iot/api_op_UpdateStream.go +++ b/service/iot/api_op_UpdateStream.go @@ -93,7 +93,10 @@ func addOperationUpdateStreamMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateThing.go b/service/iot/api_op_UpdateThing.go index b69a5951959..f772883cbc0 100644 --- a/service/iot/api_op_UpdateThing.go +++ b/service/iot/api_op_UpdateThing.go @@ -90,7 +90,10 @@ func addOperationUpdateThingMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateThingGroup.go b/service/iot/api_op_UpdateThingGroup.go index f5c28f15176..f49e0481a46 100644 --- a/service/iot/api_op_UpdateThingGroup.go +++ b/service/iot/api_op_UpdateThingGroup.go @@ -83,7 +83,10 @@ func addOperationUpdateThingGroupMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateThingGroupsForThing.go b/service/iot/api_op_UpdateThingGroupsForThing.go index d3b718e456a..890aac71dec 100644 --- a/service/iot/api_op_UpdateThingGroupsForThing.go +++ b/service/iot/api_op_UpdateThingGroupsForThing.go @@ -79,7 +79,10 @@ func addOperationUpdateThingGroupsForThingMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_UpdateTopicRuleDestination.go b/service/iot/api_op_UpdateTopicRuleDestination.go index 22b412071d4..b5b8f24bcab 100644 --- a/service/iot/api_op_UpdateTopicRuleDestination.go +++ b/service/iot/api_op_UpdateTopicRuleDestination.go @@ -88,7 +88,10 @@ func addOperationUpdateTopicRuleDestinationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot/api_op_ValidateSecurityProfileBehaviors.go b/service/iot/api_op_ValidateSecurityProfileBehaviors.go index bd59208d376..fe1842c8856 100644 --- a/service/iot/api_op_ValidateSecurityProfileBehaviors.go +++ b/service/iot/api_op_ValidateSecurityProfileBehaviors.go @@ -77,7 +77,10 @@ func addOperationValidateSecurityProfileBehaviorsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_ClaimDevicesByClaimCode.go b/service/iot1clickdevicesservice/api_op_ClaimDevicesByClaimCode.go index 18051158da4..eaf04a614e3 100644 --- a/service/iot1clickdevicesservice/api_op_ClaimDevicesByClaimCode.go +++ b/service/iot1clickdevicesservice/api_op_ClaimDevicesByClaimCode.go @@ -78,7 +78,10 @@ func addOperationClaimDevicesByClaimCodeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_DescribeDevice.go b/service/iot1clickdevicesservice/api_op_DescribeDevice.go index ba06838ab24..c4bb950bba8 100644 --- a/service/iot1clickdevicesservice/api_op_DescribeDevice.go +++ b/service/iot1clickdevicesservice/api_op_DescribeDevice.go @@ -75,7 +75,10 @@ func addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_FinalizeDeviceClaim.go b/service/iot1clickdevicesservice/api_op_FinalizeDeviceClaim.go index 38ab7595e99..448de540d75 100644 --- a/service/iot1clickdevicesservice/api_op_FinalizeDeviceClaim.go +++ b/service/iot1clickdevicesservice/api_op_FinalizeDeviceClaim.go @@ -82,7 +82,10 @@ func addOperationFinalizeDeviceClaimMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_GetDeviceMethods.go b/service/iot1clickdevicesservice/api_op_GetDeviceMethods.go index 0eaa6849a14..f6d4833cf12 100644 --- a/service/iot1clickdevicesservice/api_op_GetDeviceMethods.go +++ b/service/iot1clickdevicesservice/api_op_GetDeviceMethods.go @@ -74,7 +74,10 @@ func addOperationGetDeviceMethodsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_InitiateDeviceClaim.go b/service/iot1clickdevicesservice/api_op_InitiateDeviceClaim.go index afacb650a51..1598804ea8e 100644 --- a/service/iot1clickdevicesservice/api_op_InitiateDeviceClaim.go +++ b/service/iot1clickdevicesservice/api_op_InitiateDeviceClaim.go @@ -76,7 +76,10 @@ func addOperationInitiateDeviceClaimMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_InvokeDeviceMethod.go b/service/iot1clickdevicesservice/api_op_InvokeDeviceMethod.go index 338f756b062..75c82252b2b 100644 --- a/service/iot1clickdevicesservice/api_op_InvokeDeviceMethod.go +++ b/service/iot1clickdevicesservice/api_op_InvokeDeviceMethod.go @@ -81,7 +81,10 @@ func addOperationInvokeDeviceMethodMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_ListDeviceEvents.go b/service/iot1clickdevicesservice/api_op_ListDeviceEvents.go index bbeaa33cd34..7d1b413d69c 100644 --- a/service/iot1clickdevicesservice/api_op_ListDeviceEvents.go +++ b/service/iot1clickdevicesservice/api_op_ListDeviceEvents.go @@ -99,7 +99,10 @@ func addOperationListDeviceEventsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_ListDevices.go b/service/iot1clickdevicesservice/api_op_ListDevices.go index 010021f3595..45521cdf753 100644 --- a/service/iot1clickdevicesservice/api_op_ListDevices.go +++ b/service/iot1clickdevicesservice/api_op_ListDevices.go @@ -82,7 +82,10 @@ func addOperationListDevicesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_ListTagsForResource.go b/service/iot1clickdevicesservice/api_op_ListTagsForResource.go index 6f05de762fe..53cf8f69ee7 100644 --- a/service/iot1clickdevicesservice/api_op_ListTagsForResource.go +++ b/service/iot1clickdevicesservice/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_TagResource.go b/service/iot1clickdevicesservice/api_op_TagResource.go index 03d313a4b34..e1f937db728 100644 --- a/service/iot1clickdevicesservice/api_op_TagResource.go +++ b/service/iot1clickdevicesservice/api_op_TagResource.go @@ -80,7 +80,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_UnclaimDevice.go b/service/iot1clickdevicesservice/api_op_UnclaimDevice.go index ab0dd94da9a..7a174b10967 100644 --- a/service/iot1clickdevicesservice/api_op_UnclaimDevice.go +++ b/service/iot1clickdevicesservice/api_op_UnclaimDevice.go @@ -73,7 +73,10 @@ func addOperationUnclaimDeviceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_UntagResource.go b/service/iot1clickdevicesservice/api_op_UntagResource.go index c19c04fe7ef..572a4b32984 100644 --- a/service/iot1clickdevicesservice/api_op_UntagResource.go +++ b/service/iot1clickdevicesservice/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickdevicesservice/api_op_UpdateDeviceState.go b/service/iot1clickdevicesservice/api_op_UpdateDeviceState.go index b399e0ad098..5aa23c924ed 100644 --- a/service/iot1clickdevicesservice/api_op_UpdateDeviceState.go +++ b/service/iot1clickdevicesservice/api_op_UpdateDeviceState.go @@ -73,7 +73,10 @@ func addOperationUpdateDeviceStateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_AssociateDeviceWithPlacement.go b/service/iot1clickprojects/api_op_AssociateDeviceWithPlacement.go index 6a871c39b34..1e552e6e675 100644 --- a/service/iot1clickprojects/api_op_AssociateDeviceWithPlacement.go +++ b/service/iot1clickprojects/api_op_AssociateDeviceWithPlacement.go @@ -87,7 +87,10 @@ func addOperationAssociateDeviceWithPlacementMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_CreatePlacement.go b/service/iot1clickprojects/api_op_CreatePlacement.go index 272b13efa2c..24c694023e2 100644 --- a/service/iot1clickprojects/api_op_CreatePlacement.go +++ b/service/iot1clickprojects/api_op_CreatePlacement.go @@ -78,7 +78,10 @@ func addOperationCreatePlacementMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_CreateProject.go b/service/iot1clickprojects/api_op_CreateProject.go index 70dccd641f1..cc6a28c95ab 100644 --- a/service/iot1clickprojects/api_op_CreateProject.go +++ b/service/iot1clickprojects/api_op_CreateProject.go @@ -86,7 +86,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_DeletePlacement.go b/service/iot1clickprojects/api_op_DeletePlacement.go index 9d60038f908..0be7380c063 100644 --- a/service/iot1clickprojects/api_op_DeletePlacement.go +++ b/service/iot1clickprojects/api_op_DeletePlacement.go @@ -76,7 +76,10 @@ func addOperationDeletePlacementMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_DeleteProject.go b/service/iot1clickprojects/api_op_DeleteProject.go index ab94f2f9e9e..22c33e395cc 100644 --- a/service/iot1clickprojects/api_op_DeleteProject.go +++ b/service/iot1clickprojects/api_op_DeleteProject.go @@ -71,7 +71,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_DescribePlacement.go b/service/iot1clickprojects/api_op_DescribePlacement.go index 5226dc13f92..4bdd3845321 100644 --- a/service/iot1clickprojects/api_op_DescribePlacement.go +++ b/service/iot1clickprojects/api_op_DescribePlacement.go @@ -81,7 +81,10 @@ func addOperationDescribePlacementMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_DescribeProject.go b/service/iot1clickprojects/api_op_DescribeProject.go index 68950c19896..3a583ec939d 100644 --- a/service/iot1clickprojects/api_op_DescribeProject.go +++ b/service/iot1clickprojects/api_op_DescribeProject.go @@ -76,7 +76,10 @@ func addOperationDescribeProjectMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_DisassociateDeviceFromPlacement.go b/service/iot1clickprojects/api_op_DisassociateDeviceFromPlacement.go index f78419e5f36..48950c3e170 100644 --- a/service/iot1clickprojects/api_op_DisassociateDeviceFromPlacement.go +++ b/service/iot1clickprojects/api_op_DisassociateDeviceFromPlacement.go @@ -79,7 +79,10 @@ func addOperationDisassociateDeviceFromPlacementMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_GetDevicesInPlacement.go b/service/iot1clickprojects/api_op_GetDevicesInPlacement.go index a8bac9a72ef..61c94aae868 100644 --- a/service/iot1clickprojects/api_op_GetDevicesInPlacement.go +++ b/service/iot1clickprojects/api_op_GetDevicesInPlacement.go @@ -80,7 +80,10 @@ func addOperationGetDevicesInPlacementMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_ListPlacements.go b/service/iot1clickprojects/api_op_ListPlacements.go index 34237dc01fe..9de5e3ce6e8 100644 --- a/service/iot1clickprojects/api_op_ListPlacements.go +++ b/service/iot1clickprojects/api_op_ListPlacements.go @@ -88,7 +88,10 @@ func addOperationListPlacementsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_ListProjects.go b/service/iot1clickprojects/api_op_ListProjects.go index d202bc42db1..74f1d9faf21 100644 --- a/service/iot1clickprojects/api_op_ListProjects.go +++ b/service/iot1clickprojects/api_op_ListProjects.go @@ -84,7 +84,10 @@ func addOperationListProjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_ListTagsForResource.go b/service/iot1clickprojects/api_op_ListTagsForResource.go index 091b1aa2533..4161ae085f5 100644 --- a/service/iot1clickprojects/api_op_ListTagsForResource.go +++ b/service/iot1clickprojects/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_TagResource.go b/service/iot1clickprojects/api_op_TagResource.go index 6c89e527f67..28a63210fdc 100644 --- a/service/iot1clickprojects/api_op_TagResource.go +++ b/service/iot1clickprojects/api_op_TagResource.go @@ -79,7 +79,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_UntagResource.go b/service/iot1clickprojects/api_op_UntagResource.go index 60d287462f4..f5a395a407c 100644 --- a/service/iot1clickprojects/api_op_UntagResource.go +++ b/service/iot1clickprojects/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_UpdatePlacement.go b/service/iot1clickprojects/api_op_UpdatePlacement.go index b4cae3c4069..fcd692c40a0 100644 --- a/service/iot1clickprojects/api_op_UpdatePlacement.go +++ b/service/iot1clickprojects/api_op_UpdatePlacement.go @@ -79,7 +79,10 @@ func addOperationUpdatePlacementMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iot1clickprojects/api_op_UpdateProject.go b/service/iot1clickprojects/api_op_UpdateProject.go index 1441b6d692c..4c359cdf0fc 100644 --- a/service/iot1clickprojects/api_op_UpdateProject.go +++ b/service/iot1clickprojects/api_op_UpdateProject.go @@ -82,7 +82,10 @@ func addOperationUpdateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_BatchPutMessage.go b/service/iotanalytics/api_op_BatchPutMessage.go index b4c5ae6b0f9..01b85a85892 100644 --- a/service/iotanalytics/api_op_BatchPutMessage.go +++ b/service/iotanalytics/api_op_BatchPutMessage.go @@ -103,7 +103,10 @@ func addOperationBatchPutMessageMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_CancelPipelineReprocessing.go b/service/iotanalytics/api_op_CancelPipelineReprocessing.go index 2a64ca0810b..237981c15d9 100644 --- a/service/iotanalytics/api_op_CancelPipelineReprocessing.go +++ b/service/iotanalytics/api_op_CancelPipelineReprocessing.go @@ -74,7 +74,10 @@ func addOperationCancelPipelineReprocessingMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_CreateChannel.go b/service/iotanalytics/api_op_CreateChannel.go index 3ee29889ee4..b9e1f4f0f71 100644 --- a/service/iotanalytics/api_op_CreateChannel.go +++ b/service/iotanalytics/api_op_CreateChannel.go @@ -93,7 +93,10 @@ func addOperationCreateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_CreateDataset.go b/service/iotanalytics/api_op_CreateDataset.go index 207aad15e82..0f6962abf0e 100644 --- a/service/iotanalytics/api_op_CreateDataset.go +++ b/service/iotanalytics/api_op_CreateDataset.go @@ -125,7 +125,10 @@ func addOperationCreateDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_CreateDatasetContent.go b/service/iotanalytics/api_op_CreateDatasetContent.go index 2df40ff2ada..2eee7bd189c 100644 --- a/service/iotanalytics/api_op_CreateDatasetContent.go +++ b/service/iotanalytics/api_op_CreateDatasetContent.go @@ -80,7 +80,10 @@ func addOperationCreateDatasetContentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_CreateDatastore.go b/service/iotanalytics/api_op_CreateDatastore.go index 4f453fa659e..620698655a2 100644 --- a/service/iotanalytics/api_op_CreateDatastore.go +++ b/service/iotanalytics/api_op_CreateDatastore.go @@ -98,7 +98,10 @@ func addOperationCreateDatastoreMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_CreatePipeline.go b/service/iotanalytics/api_op_CreatePipeline.go index 0e0abfb475c..9156f93028a 100644 --- a/service/iotanalytics/api_op_CreatePipeline.go +++ b/service/iotanalytics/api_op_CreatePipeline.go @@ -95,7 +95,10 @@ func addOperationCreatePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DeleteChannel.go b/service/iotanalytics/api_op_DeleteChannel.go index 5ff75de8595..4f9dc9c9f9a 100644 --- a/service/iotanalytics/api_op_DeleteChannel.go +++ b/service/iotanalytics/api_op_DeleteChannel.go @@ -69,7 +69,10 @@ func addOperationDeleteChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DeleteDataset.go b/service/iotanalytics/api_op_DeleteDataset.go index 22cca17b11e..4f6e4f4d250 100644 --- a/service/iotanalytics/api_op_DeleteDataset.go +++ b/service/iotanalytics/api_op_DeleteDataset.go @@ -70,7 +70,10 @@ func addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DeleteDatasetContent.go b/service/iotanalytics/api_op_DeleteDatasetContent.go index 0b1bf488c99..823b7fc6a09 100644 --- a/service/iotanalytics/api_op_DeleteDatasetContent.go +++ b/service/iotanalytics/api_op_DeleteDatasetContent.go @@ -75,7 +75,10 @@ func addOperationDeleteDatasetContentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DeleteDatastore.go b/service/iotanalytics/api_op_DeleteDatastore.go index e1f949f6026..3ee311253ef 100644 --- a/service/iotanalytics/api_op_DeleteDatastore.go +++ b/service/iotanalytics/api_op_DeleteDatastore.go @@ -69,7 +69,10 @@ func addOperationDeleteDatastoreMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DeletePipeline.go b/service/iotanalytics/api_op_DeletePipeline.go index 05e0a2f2eb7..5160be7eb1b 100644 --- a/service/iotanalytics/api_op_DeletePipeline.go +++ b/service/iotanalytics/api_op_DeletePipeline.go @@ -69,7 +69,10 @@ func addOperationDeletePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DescribeChannel.go b/service/iotanalytics/api_op_DescribeChannel.go index 56f30c19e48..a97771030fe 100644 --- a/service/iotanalytics/api_op_DescribeChannel.go +++ b/service/iotanalytics/api_op_DescribeChannel.go @@ -83,7 +83,10 @@ func addOperationDescribeChannelMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DescribeDataset.go b/service/iotanalytics/api_op_DescribeDataset.go index ca7b8daddda..3eb2bf05c0a 100644 --- a/service/iotanalytics/api_op_DescribeDataset.go +++ b/service/iotanalytics/api_op_DescribeDataset.go @@ -74,7 +74,10 @@ func addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DescribeDatastore.go b/service/iotanalytics/api_op_DescribeDatastore.go index e6bf2c490ac..4916de10e12 100644 --- a/service/iotanalytics/api_op_DescribeDatastore.go +++ b/service/iotanalytics/api_op_DescribeDatastore.go @@ -83,7 +83,10 @@ func addOperationDescribeDatastoreMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DescribeLoggingOptions.go b/service/iotanalytics/api_op_DescribeLoggingOptions.go index d0e2b1f32be..1dd1ff8313e 100644 --- a/service/iotanalytics/api_op_DescribeLoggingOptions.go +++ b/service/iotanalytics/api_op_DescribeLoggingOptions.go @@ -69,7 +69,10 @@ func addOperationDescribeLoggingOptionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_DescribePipeline.go b/service/iotanalytics/api_op_DescribePipeline.go index 35afc93388f..e583f6d9eea 100644 --- a/service/iotanalytics/api_op_DescribePipeline.go +++ b/service/iotanalytics/api_op_DescribePipeline.go @@ -74,7 +74,10 @@ func addOperationDescribePipelineMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_GetDatasetContent.go b/service/iotanalytics/api_op_GetDatasetContent.go index 8e1c7d3cc56..534cb7c95db 100644 --- a/service/iotanalytics/api_op_GetDatasetContent.go +++ b/service/iotanalytics/api_op_GetDatasetContent.go @@ -87,7 +87,10 @@ func addOperationGetDatasetContentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_ListChannels.go b/service/iotanalytics/api_op_ListChannels.go index 65b58080349..fd83bfea8e4 100644 --- a/service/iotanalytics/api_op_ListChannels.go +++ b/service/iotanalytics/api_op_ListChannels.go @@ -81,7 +81,10 @@ func addOperationListChannelsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_ListDatasetContents.go b/service/iotanalytics/api_op_ListDatasetContents.go index 4d7fbb131a4..5e69769c7fd 100644 --- a/service/iotanalytics/api_op_ListDatasetContents.go +++ b/service/iotanalytics/api_op_ListDatasetContents.go @@ -96,7 +96,10 @@ func addOperationListDatasetContentsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_ListDatasets.go b/service/iotanalytics/api_op_ListDatasets.go index ffb228235aa..aec6ffa947c 100644 --- a/service/iotanalytics/api_op_ListDatasets.go +++ b/service/iotanalytics/api_op_ListDatasets.go @@ -81,7 +81,10 @@ func addOperationListDatasetsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_ListDatastores.go b/service/iotanalytics/api_op_ListDatastores.go index 272870b47dd..fa7efa57c4f 100644 --- a/service/iotanalytics/api_op_ListDatastores.go +++ b/service/iotanalytics/api_op_ListDatastores.go @@ -81,7 +81,10 @@ func addOperationListDatastoresMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_ListPipelines.go b/service/iotanalytics/api_op_ListPipelines.go index 3e12bc49612..ba1271a6fbf 100644 --- a/service/iotanalytics/api_op_ListPipelines.go +++ b/service/iotanalytics/api_op_ListPipelines.go @@ -81,7 +81,10 @@ func addOperationListPipelinesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_ListTagsForResource.go b/service/iotanalytics/api_op_ListTagsForResource.go index dfe16a9ea95..4ffec705eba 100644 --- a/service/iotanalytics/api_op_ListTagsForResource.go +++ b/service/iotanalytics/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_PutLoggingOptions.go b/service/iotanalytics/api_op_PutLoggingOptions.go index c5e709f2f63..876f09b0bf2 100644 --- a/service/iotanalytics/api_op_PutLoggingOptions.go +++ b/service/iotanalytics/api_op_PutLoggingOptions.go @@ -74,7 +74,10 @@ func addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_RunPipelineActivity.go b/service/iotanalytics/api_op_RunPipelineActivity.go index 0f92493fe4c..acadcc7711b 100644 --- a/service/iotanalytics/api_op_RunPipelineActivity.go +++ b/service/iotanalytics/api_op_RunPipelineActivity.go @@ -88,7 +88,10 @@ func addOperationRunPipelineActivityMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_SampleChannelData.go b/service/iotanalytics/api_op_SampleChannelData.go index 631bc782608..33c7703793b 100644 --- a/service/iotanalytics/api_op_SampleChannelData.go +++ b/service/iotanalytics/api_op_SampleChannelData.go @@ -86,7 +86,10 @@ func addOperationSampleChannelDataMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_StartPipelineReprocessing.go b/service/iotanalytics/api_op_StartPipelineReprocessing.go index 9abe2837e4a..faf63bdd113 100644 --- a/service/iotanalytics/api_op_StartPipelineReprocessing.go +++ b/service/iotanalytics/api_op_StartPipelineReprocessing.go @@ -89,7 +89,10 @@ func addOperationStartPipelineReprocessingMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_TagResource.go b/service/iotanalytics/api_op_TagResource.go index 15607e0185d..bea517dff8c 100644 --- a/service/iotanalytics/api_op_TagResource.go +++ b/service/iotanalytics/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_UntagResource.go b/service/iotanalytics/api_op_UntagResource.go index a33f45cb09b..1859e39df09 100644 --- a/service/iotanalytics/api_op_UntagResource.go +++ b/service/iotanalytics/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_UpdateChannel.go b/service/iotanalytics/api_op_UpdateChannel.go index 7bb668b3af0..a9356cb2628 100644 --- a/service/iotanalytics/api_op_UpdateChannel.go +++ b/service/iotanalytics/api_op_UpdateChannel.go @@ -79,7 +79,10 @@ func addOperationUpdateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_UpdateDataset.go b/service/iotanalytics/api_op_UpdateDataset.go index 5f8ebcb798a..4c5548faf86 100644 --- a/service/iotanalytics/api_op_UpdateDataset.go +++ b/service/iotanalytics/api_op_UpdateDataset.go @@ -101,7 +101,10 @@ func addOperationUpdateDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_UpdateDatastore.go b/service/iotanalytics/api_op_UpdateDatastore.go index cf9c3bdd219..8318a951bdb 100644 --- a/service/iotanalytics/api_op_UpdateDatastore.go +++ b/service/iotanalytics/api_op_UpdateDatastore.go @@ -85,7 +85,10 @@ func addOperationUpdateDatastoreMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotanalytics/api_op_UpdatePipeline.go b/service/iotanalytics/api_op_UpdatePipeline.go index bd184c9c909..e3b08a6c872 100644 --- a/service/iotanalytics/api_op_UpdatePipeline.go +++ b/service/iotanalytics/api_op_UpdatePipeline.go @@ -84,7 +84,10 @@ func addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdataplane/api_op_DeleteThingShadow.go b/service/iotdataplane/api_op_DeleteThingShadow.go index 1f590398741..a9a58b6f525 100644 --- a/service/iotdataplane/api_op_DeleteThingShadow.go +++ b/service/iotdataplane/api_op_DeleteThingShadow.go @@ -83,7 +83,10 @@ func addOperationDeleteThingShadowMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdataplane/api_op_GetThingShadow.go b/service/iotdataplane/api_op_GetThingShadow.go index 3cf535b63ea..0e254fd0cca 100644 --- a/service/iotdataplane/api_op_GetThingShadow.go +++ b/service/iotdataplane/api_op_GetThingShadow.go @@ -81,7 +81,10 @@ func addOperationGetThingShadowMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdataplane/api_op_ListNamedShadowsForThing.go b/service/iotdataplane/api_op_ListNamedShadowsForThing.go index 571fb7b7e96..037c6091ede 100644 --- a/service/iotdataplane/api_op_ListNamedShadowsForThing.go +++ b/service/iotdataplane/api_op_ListNamedShadowsForThing.go @@ -86,7 +86,10 @@ func addOperationListNamedShadowsForThingMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdataplane/api_op_Publish.go b/service/iotdataplane/api_op_Publish.go index 10f5ed214d3..afa0885bcc2 100644 --- a/service/iotdataplane/api_op_Publish.go +++ b/service/iotdataplane/api_op_Publish.go @@ -78,7 +78,10 @@ func addOperationPublishMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdataplane/api_op_UpdateThingShadow.go b/service/iotdataplane/api_op_UpdateThingShadow.go index 88dd2cf5a94..e30899b1647 100644 --- a/service/iotdataplane/api_op_UpdateThingShadow.go +++ b/service/iotdataplane/api_op_UpdateThingShadow.go @@ -86,7 +86,10 @@ func addOperationUpdateThingShadowMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go b/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go index 1cd6c25a3ec..573b8929b44 100644 --- a/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_CreateSuiteDefinition.go @@ -85,7 +85,10 @@ func addOperationCreateSuiteDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go b/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go index df1fa9c6152..1984f258e84 100644 --- a/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_DeleteSuiteDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteSuiteDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go b/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go index a8f04482915..777fae69df0 100644 --- a/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_GetSuiteDefinition.go @@ -101,7 +101,10 @@ func addOperationGetSuiteDefinitionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_GetSuiteRun.go b/service/iotdeviceadvisor/api_op_GetSuiteRun.go index f3c6c515d22..526a0246379 100644 --- a/service/iotdeviceadvisor/api_op_GetSuiteRun.go +++ b/service/iotdeviceadvisor/api_op_GetSuiteRun.go @@ -116,7 +116,10 @@ func addOperationGetSuiteRunMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go b/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go index 3373007d347..af0ff80ee1e 100644 --- a/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go +++ b/service/iotdeviceadvisor/api_op_GetSuiteRunReport.go @@ -79,7 +79,10 @@ func addOperationGetSuiteRunReportMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go b/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go index a8353227838..12363cc9373 100644 --- a/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go +++ b/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go @@ -79,7 +79,10 @@ func addOperationListSuiteDefinitionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_ListSuiteRuns.go b/service/iotdeviceadvisor/api_op_ListSuiteRuns.go index 2fe6c7821ff..606d86ca5d5 100644 --- a/service/iotdeviceadvisor/api_op_ListSuiteRuns.go +++ b/service/iotdeviceadvisor/api_op_ListSuiteRuns.go @@ -88,7 +88,10 @@ func addOperationListSuiteRunsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_ListTagsForResource.go b/service/iotdeviceadvisor/api_op_ListTagsForResource.go index 954d0d190dc..5079364695f 100644 --- a/service/iotdeviceadvisor/api_op_ListTagsForResource.go +++ b/service/iotdeviceadvisor/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_ListTestCases.go b/service/iotdeviceadvisor/api_op_ListTestCases.go index 362fe79f330..1fafd37dc86 100644 --- a/service/iotdeviceadvisor/api_op_ListTestCases.go +++ b/service/iotdeviceadvisor/api_op_ListTestCases.go @@ -88,7 +88,10 @@ func addOperationListTestCasesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_StartSuiteRun.go b/service/iotdeviceadvisor/api_op_StartSuiteRun.go index 54fa5164241..6decfa9ee04 100644 --- a/service/iotdeviceadvisor/api_op_StartSuiteRun.go +++ b/service/iotdeviceadvisor/api_op_StartSuiteRun.go @@ -90,7 +90,10 @@ func addOperationStartSuiteRunMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_TagResource.go b/service/iotdeviceadvisor/api_op_TagResource.go index f8dd260d876..3c4b04fa53a 100644 --- a/service/iotdeviceadvisor/api_op_TagResource.go +++ b/service/iotdeviceadvisor/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_UntagResource.go b/service/iotdeviceadvisor/api_op_UntagResource.go index e874543d8bf..1b07325f2c4 100644 --- a/service/iotdeviceadvisor/api_op_UntagResource.go +++ b/service/iotdeviceadvisor/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go b/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go index 4e6cab11443..832fcfb4835 100644 --- a/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go +++ b/service/iotdeviceadvisor/api_op_UpdateSuiteDefinition.go @@ -93,7 +93,10 @@ func addOperationUpdateSuiteDefinitionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_CreateDetectorModel.go b/service/iotevents/api_op_CreateDetectorModel.go index 141186a8c5d..b2a54b9de22 100644 --- a/service/iotevents/api_op_CreateDetectorModel.go +++ b/service/iotevents/api_op_CreateDetectorModel.go @@ -102,7 +102,10 @@ func addOperationCreateDetectorModelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_CreateInput.go b/service/iotevents/api_op_CreateInput.go index c5e500f8c40..616d128c84b 100644 --- a/service/iotevents/api_op_CreateInput.go +++ b/service/iotevents/api_op_CreateInput.go @@ -85,7 +85,10 @@ func addOperationCreateInputMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_DeleteDetectorModel.go b/service/iotevents/api_op_DeleteDetectorModel.go index 249d505ea5c..9b429cf9356 100644 --- a/service/iotevents/api_op_DeleteDetectorModel.go +++ b/service/iotevents/api_op_DeleteDetectorModel.go @@ -70,7 +70,10 @@ func addOperationDeleteDetectorModelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_DeleteInput.go b/service/iotevents/api_op_DeleteInput.go index 85f58a6eeb4..b8fafff4f74 100644 --- a/service/iotevents/api_op_DeleteInput.go +++ b/service/iotevents/api_op_DeleteInput.go @@ -69,7 +69,10 @@ func addOperationDeleteInputMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_DescribeDetectorModel.go b/service/iotevents/api_op_DescribeDetectorModel.go index 45cdd6d48ca..475f8c5404f 100644 --- a/service/iotevents/api_op_DescribeDetectorModel.go +++ b/service/iotevents/api_op_DescribeDetectorModel.go @@ -78,7 +78,10 @@ func addOperationDescribeDetectorModelMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_DescribeInput.go b/service/iotevents/api_op_DescribeInput.go index f7336b74192..cedd782a93f 100644 --- a/service/iotevents/api_op_DescribeInput.go +++ b/service/iotevents/api_op_DescribeInput.go @@ -74,7 +74,10 @@ func addOperationDescribeInputMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_DescribeLoggingOptions.go b/service/iotevents/api_op_DescribeLoggingOptions.go index e31e7341e92..28abc75fbc2 100644 --- a/service/iotevents/api_op_DescribeLoggingOptions.go +++ b/service/iotevents/api_op_DescribeLoggingOptions.go @@ -69,7 +69,10 @@ func addOperationDescribeLoggingOptionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_ListDetectorModelVersions.go b/service/iotevents/api_op_ListDetectorModelVersions.go index f5221e572f3..814ed993577 100644 --- a/service/iotevents/api_op_ListDetectorModelVersions.go +++ b/service/iotevents/api_op_ListDetectorModelVersions.go @@ -85,7 +85,10 @@ func addOperationListDetectorModelVersionsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_ListDetectorModels.go b/service/iotevents/api_op_ListDetectorModels.go index 278bf300cd8..95dcc8a0475 100644 --- a/service/iotevents/api_op_ListDetectorModels.go +++ b/service/iotevents/api_op_ListDetectorModels.go @@ -80,7 +80,10 @@ func addOperationListDetectorModelsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_ListInputs.go b/service/iotevents/api_op_ListInputs.go index ca2ce0a1f65..72bb6481e28 100644 --- a/service/iotevents/api_op_ListInputs.go +++ b/service/iotevents/api_op_ListInputs.go @@ -79,7 +79,10 @@ func addOperationListInputsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_ListTagsForResource.go b/service/iotevents/api_op_ListTagsForResource.go index 049bb1c8815..2b23258d6ef 100644 --- a/service/iotevents/api_op_ListTagsForResource.go +++ b/service/iotevents/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_PutLoggingOptions.go b/service/iotevents/api_op_PutLoggingOptions.go index 5ce89805f62..a63edaa8326 100644 --- a/service/iotevents/api_op_PutLoggingOptions.go +++ b/service/iotevents/api_op_PutLoggingOptions.go @@ -74,7 +74,10 @@ func addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_TagResource.go b/service/iotevents/api_op_TagResource.go index fb57754b0fb..f4d8702126d 100644 --- a/service/iotevents/api_op_TagResource.go +++ b/service/iotevents/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_UntagResource.go b/service/iotevents/api_op_UntagResource.go index 9eb731122f5..8b98353e3f0 100644 --- a/service/iotevents/api_op_UntagResource.go +++ b/service/iotevents/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_UpdateDetectorModel.go b/service/iotevents/api_op_UpdateDetectorModel.go index 0acfd7a1092..9c42ffdf4ab 100644 --- a/service/iotevents/api_op_UpdateDetectorModel.go +++ b/service/iotevents/api_op_UpdateDetectorModel.go @@ -93,7 +93,10 @@ func addOperationUpdateDetectorModelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotevents/api_op_UpdateInput.go b/service/iotevents/api_op_UpdateInput.go index 09843700eb5..0f014115ee9 100644 --- a/service/iotevents/api_op_UpdateInput.go +++ b/service/iotevents/api_op_UpdateInput.go @@ -82,7 +82,10 @@ func addOperationUpdateInputMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ioteventsdata/api_op_BatchPutMessage.go b/service/ioteventsdata/api_op_BatchPutMessage.go index 4f80bd9ec85..6ccf053df74 100644 --- a/service/ioteventsdata/api_op_BatchPutMessage.go +++ b/service/ioteventsdata/api_op_BatchPutMessage.go @@ -79,7 +79,10 @@ func addOperationBatchPutMessageMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ioteventsdata/api_op_BatchUpdateDetector.go b/service/ioteventsdata/api_op_BatchUpdateDetector.go index 1327e437bb6..d1b9ea58525 100644 --- a/service/ioteventsdata/api_op_BatchUpdateDetector.go +++ b/service/ioteventsdata/api_op_BatchUpdateDetector.go @@ -76,7 +76,10 @@ func addOperationBatchUpdateDetectorMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ioteventsdata/api_op_DescribeDetector.go b/service/ioteventsdata/api_op_DescribeDetector.go index 518573798cc..e7132764303 100644 --- a/service/ioteventsdata/api_op_DescribeDetector.go +++ b/service/ioteventsdata/api_op_DescribeDetector.go @@ -79,7 +79,10 @@ func addOperationDescribeDetectorMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ioteventsdata/api_op_ListDetectors.go b/service/ioteventsdata/api_op_ListDetectors.go index c65a367a0a4..920a8bddd88 100644 --- a/service/ioteventsdata/api_op_ListDetectors.go +++ b/service/ioteventsdata/api_op_ListDetectors.go @@ -87,7 +87,10 @@ func addOperationListDetectorsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotfleethub/api_op_CreateApplication.go b/service/iotfleethub/api_op_CreateApplication.go index 29099631c58..f38e51b1baa 100644 --- a/service/iotfleethub/api_op_CreateApplication.go +++ b/service/iotfleethub/api_op_CreateApplication.go @@ -101,7 +101,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotfleethub/api_op_DeleteApplication.go b/service/iotfleethub/api_op_DeleteApplication.go index 2e9a0d0439a..aee467f7790 100644 --- a/service/iotfleethub/api_op_DeleteApplication.go +++ b/service/iotfleethub/api_op_DeleteApplication.go @@ -76,7 +76,10 @@ func addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotfleethub/api_op_DescribeApplication.go b/service/iotfleethub/api_op_DescribeApplication.go index fb477d6dd95..65ede19cc68 100644 --- a/service/iotfleethub/api_op_DescribeApplication.go +++ b/service/iotfleethub/api_op_DescribeApplication.go @@ -128,7 +128,10 @@ func addOperationDescribeApplicationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotfleethub/api_op_ListApplications.go b/service/iotfleethub/api_op_ListApplications.go index 78b8eb3336c..f7c90b8720d 100644 --- a/service/iotfleethub/api_op_ListApplications.go +++ b/service/iotfleethub/api_op_ListApplications.go @@ -79,7 +79,10 @@ func addOperationListApplicationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotfleethub/api_op_ListTagsForResource.go b/service/iotfleethub/api_op_ListTagsForResource.go index 74dc15d6d4b..6fc5eb112c6 100644 --- a/service/iotfleethub/api_op_ListTagsForResource.go +++ b/service/iotfleethub/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotfleethub/api_op_TagResource.go b/service/iotfleethub/api_op_TagResource.go index d820b6843e9..57c11f171f9 100644 --- a/service/iotfleethub/api_op_TagResource.go +++ b/service/iotfleethub/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotfleethub/api_op_UntagResource.go b/service/iotfleethub/api_op_UntagResource.go index c626e13caca..528352fd069 100644 --- a/service/iotfleethub/api_op_UntagResource.go +++ b/service/iotfleethub/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotfleethub/api_op_UpdateApplication.go b/service/iotfleethub/api_op_UpdateApplication.go index bfcda041dc7..a27819b0ba4 100644 --- a/service/iotfleethub/api_op_UpdateApplication.go +++ b/service/iotfleethub/api_op_UpdateApplication.go @@ -83,7 +83,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotjobsdataplane/api_op_DescribeJobExecution.go b/service/iotjobsdataplane/api_op_DescribeJobExecution.go index cff028918a2..50dfd3e3be3 100644 --- a/service/iotjobsdataplane/api_op_DescribeJobExecution.go +++ b/service/iotjobsdataplane/api_op_DescribeJobExecution.go @@ -87,7 +87,10 @@ func addOperationDescribeJobExecutionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go b/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go index 296b146c257..c7fe6081dc7 100644 --- a/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go +++ b/service/iotjobsdataplane/api_op_GetPendingJobExecutions.go @@ -77,7 +77,10 @@ func addOperationGetPendingJobExecutionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go b/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go index 39cd1ead190..0e5c8b2c5ba 100644 --- a/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go +++ b/service/iotjobsdataplane/api_op_StartNextPendingJobExecution.go @@ -89,7 +89,10 @@ func addOperationStartNextPendingJobExecutionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotjobsdataplane/api_op_UpdateJobExecution.go b/service/iotjobsdataplane/api_op_UpdateJobExecution.go index ce698557e77..776eda54364 100644 --- a/service/iotjobsdataplane/api_op_UpdateJobExecution.go +++ b/service/iotjobsdataplane/api_op_UpdateJobExecution.go @@ -123,7 +123,10 @@ func addOperationUpdateJobExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsecuretunneling/api_op_CloseTunnel.go b/service/iotsecuretunneling/api_op_CloseTunnel.go index e1eb460f0aa..3c4da486b55 100644 --- a/service/iotsecuretunneling/api_op_CloseTunnel.go +++ b/service/iotsecuretunneling/api_op_CloseTunnel.go @@ -74,7 +74,10 @@ func addOperationCloseTunnelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsecuretunneling/api_op_DescribeTunnel.go b/service/iotsecuretunneling/api_op_DescribeTunnel.go index 3a17dc86929..692544ed7b8 100644 --- a/service/iotsecuretunneling/api_op_DescribeTunnel.go +++ b/service/iotsecuretunneling/api_op_DescribeTunnel.go @@ -74,7 +74,10 @@ func addOperationDescribeTunnelMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsecuretunneling/api_op_ListTagsForResource.go b/service/iotsecuretunneling/api_op_ListTagsForResource.go index 74c9acc0d56..360ebcf8b5d 100644 --- a/service/iotsecuretunneling/api_op_ListTagsForResource.go +++ b/service/iotsecuretunneling/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsecuretunneling/api_op_ListTunnels.go b/service/iotsecuretunneling/api_op_ListTunnels.go index d5d266f015b..f027bde4b79 100644 --- a/service/iotsecuretunneling/api_op_ListTunnels.go +++ b/service/iotsecuretunneling/api_op_ListTunnels.go @@ -83,7 +83,10 @@ func addOperationListTunnelsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsecuretunneling/api_op_OpenTunnel.go b/service/iotsecuretunneling/api_op_OpenTunnel.go index 99b93a742f1..564760b8754 100644 --- a/service/iotsecuretunneling/api_op_OpenTunnel.go +++ b/service/iotsecuretunneling/api_op_OpenTunnel.go @@ -94,7 +94,10 @@ func addOperationOpenTunnelMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsecuretunneling/api_op_TagResource.go b/service/iotsecuretunneling/api_op_TagResource.go index 89fe344ea00..d9096ee3bb7 100644 --- a/service/iotsecuretunneling/api_op_TagResource.go +++ b/service/iotsecuretunneling/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsecuretunneling/api_op_UntagResource.go b/service/iotsecuretunneling/api_op_UntagResource.go index f4d827a634e..27ec23e9e2b 100644 --- a/service/iotsecuretunneling/api_op_UntagResource.go +++ b/service/iotsecuretunneling/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_AssociateAssets.go b/service/iotsitewise/api_op_AssociateAssets.go index c9485ad6013..9d0ef631925 100644 --- a/service/iotsitewise/api_op_AssociateAssets.go +++ b/service/iotsitewise/api_op_AssociateAssets.go @@ -92,7 +92,10 @@ func addOperationAssociateAssetsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_BatchAssociateProjectAssets.go b/service/iotsitewise/api_op_BatchAssociateProjectAssets.go index 2ea86a09ca5..ed72e18faf9 100644 --- a/service/iotsitewise/api_op_BatchAssociateProjectAssets.go +++ b/service/iotsitewise/api_op_BatchAssociateProjectAssets.go @@ -85,7 +85,10 @@ func addOperationBatchAssociateProjectAssetsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go b/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go index 91ee79d9d7f..60fe94561e2 100644 --- a/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go +++ b/service/iotsitewise/api_op_BatchDisassociateProjectAssets.go @@ -86,7 +86,10 @@ func addOperationBatchDisassociateProjectAssetsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go b/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go index e89e23bf7c7..66670b37edb 100644 --- a/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go +++ b/service/iotsitewise/api_op_BatchPutAssetPropertyValue.go @@ -105,7 +105,10 @@ func addOperationBatchPutAssetPropertyValueMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_CreateAccessPolicy.go b/service/iotsitewise/api_op_CreateAccessPolicy.go index 65f37c39f62..5a0f5e480fa 100644 --- a/service/iotsitewise/api_op_CreateAccessPolicy.go +++ b/service/iotsitewise/api_op_CreateAccessPolicy.go @@ -111,7 +111,10 @@ func addOperationCreateAccessPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_CreateAsset.go b/service/iotsitewise/api_op_CreateAsset.go index f3c12a6ef9d..aa33d65dbd1 100644 --- a/service/iotsitewise/api_op_CreateAsset.go +++ b/service/iotsitewise/api_op_CreateAsset.go @@ -111,7 +111,10 @@ func addOperationCreateAssetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_CreateAssetModel.go b/service/iotsitewise/api_op_CreateAssetModel.go index 2c10e10dc08..a285353d52d 100644 --- a/service/iotsitewise/api_op_CreateAssetModel.go +++ b/service/iotsitewise/api_op_CreateAssetModel.go @@ -137,7 +137,10 @@ func addOperationCreateAssetModelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_CreateDashboard.go b/service/iotsitewise/api_op_CreateDashboard.go index 304b1de2b48..ddde51ec641 100644 --- a/service/iotsitewise/api_op_CreateDashboard.go +++ b/service/iotsitewise/api_op_CreateDashboard.go @@ -111,7 +111,10 @@ func addOperationCreateDashboardMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_CreateGateway.go b/service/iotsitewise/api_op_CreateGateway.go index 30e0bca74d5..20ef99a91db 100644 --- a/service/iotsitewise/api_op_CreateGateway.go +++ b/service/iotsitewise/api_op_CreateGateway.go @@ -101,7 +101,10 @@ func addOperationCreateGatewayMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_CreatePortal.go b/service/iotsitewise/api_op_CreatePortal.go index ae21456283a..e8ead8d99b6 100644 --- a/service/iotsitewise/api_op_CreatePortal.go +++ b/service/iotsitewise/api_op_CreatePortal.go @@ -162,7 +162,10 @@ func addOperationCreatePortalMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_CreateProject.go b/service/iotsitewise/api_op_CreateProject.go index 4be152d0281..5cd20458032 100644 --- a/service/iotsitewise/api_op_CreateProject.go +++ b/service/iotsitewise/api_op_CreateProject.go @@ -103,7 +103,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DeleteAccessPolicy.go b/service/iotsitewise/api_op_DeleteAccessPolicy.go index 9a976a9d5c8..9cd7f38c55c 100644 --- a/service/iotsitewise/api_op_DeleteAccessPolicy.go +++ b/service/iotsitewise/api_op_DeleteAccessPolicy.go @@ -77,7 +77,10 @@ func addOperationDeleteAccessPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DeleteAsset.go b/service/iotsitewise/api_op_DeleteAsset.go index 0187ad155b2..fe74daa590a 100644 --- a/service/iotsitewise/api_op_DeleteAsset.go +++ b/service/iotsitewise/api_op_DeleteAsset.go @@ -88,7 +88,10 @@ func addOperationDeleteAssetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DeleteAssetModel.go b/service/iotsitewise/api_op_DeleteAssetModel.go index 3d1d6820d11..45bcb6e5c53 100644 --- a/service/iotsitewise/api_op_DeleteAssetModel.go +++ b/service/iotsitewise/api_op_DeleteAssetModel.go @@ -89,7 +89,10 @@ func addOperationDeleteAssetModelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DeleteDashboard.go b/service/iotsitewise/api_op_DeleteDashboard.go index a3b43549cf9..149e97b8704 100644 --- a/service/iotsitewise/api_op_DeleteDashboard.go +++ b/service/iotsitewise/api_op_DeleteDashboard.go @@ -75,7 +75,10 @@ func addOperationDeleteDashboardMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DeleteGateway.go b/service/iotsitewise/api_op_DeleteGateway.go index 48d6052902a..4aa823d2c07 100644 --- a/service/iotsitewise/api_op_DeleteGateway.go +++ b/service/iotsitewise/api_op_DeleteGateway.go @@ -71,7 +71,10 @@ func addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DeletePortal.go b/service/iotsitewise/api_op_DeletePortal.go index 16766548e45..0d8f63e6808 100644 --- a/service/iotsitewise/api_op_DeletePortal.go +++ b/service/iotsitewise/api_op_DeletePortal.go @@ -83,7 +83,10 @@ func addOperationDeletePortalMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DeleteProject.go b/service/iotsitewise/api_op_DeleteProject.go index d165f405726..b5af14c4856 100644 --- a/service/iotsitewise/api_op_DeleteProject.go +++ b/service/iotsitewise/api_op_DeleteProject.go @@ -75,7 +75,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeAccessPolicy.go b/service/iotsitewise/api_op_DescribeAccessPolicy.go index cee1aa68c1a..70a93d4cc0f 100644 --- a/service/iotsitewise/api_op_DescribeAccessPolicy.go +++ b/service/iotsitewise/api_op_DescribeAccessPolicy.go @@ -115,7 +115,10 @@ func addOperationDescribeAccessPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeAsset.go b/service/iotsitewise/api_op_DescribeAsset.go index c04d095db70..ca1e43022d4 100644 --- a/service/iotsitewise/api_op_DescribeAsset.go +++ b/service/iotsitewise/api_op_DescribeAsset.go @@ -131,7 +131,10 @@ func addOperationDescribeAssetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeAssetModel.go b/service/iotsitewise/api_op_DescribeAssetModel.go index f78aa35581b..f5eb9173c9b 100644 --- a/service/iotsitewise/api_op_DescribeAssetModel.go +++ b/service/iotsitewise/api_op_DescribeAssetModel.go @@ -133,7 +133,10 @@ func addOperationDescribeAssetModelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeAssetProperty.go b/service/iotsitewise/api_op_DescribeAssetProperty.go index 32732acbe6b..90e5abdd595 100644 --- a/service/iotsitewise/api_op_DescribeAssetProperty.go +++ b/service/iotsitewise/api_op_DescribeAssetProperty.go @@ -108,7 +108,10 @@ func addOperationDescribeAssetPropertyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeDashboard.go b/service/iotsitewise/api_op_DescribeDashboard.go index 16c9867396b..cfed3552bd1 100644 --- a/service/iotsitewise/api_op_DescribeDashboard.go +++ b/service/iotsitewise/api_op_DescribeDashboard.go @@ -116,7 +116,10 @@ func addOperationDescribeDashboardMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go b/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go index 58cd9163e47..14afdac51d6 100644 --- a/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go +++ b/service/iotsitewise/api_op_DescribeDefaultEncryptionConfiguration.go @@ -85,7 +85,10 @@ func addOperationDescribeDefaultEncryptionConfigurationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeGateway.go b/service/iotsitewise/api_op_DescribeGateway.go index d033006c3fc..6c176b5d977 100644 --- a/service/iotsitewise/api_op_DescribeGateway.go +++ b/service/iotsitewise/api_op_DescribeGateway.go @@ -113,7 +113,10 @@ func addOperationDescribeGatewayMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go b/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go index 89802204349..6b75c9b107d 100644 --- a/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go +++ b/service/iotsitewise/api_op_DescribeGatewayCapabilityConfiguration.go @@ -119,7 +119,10 @@ func addOperationDescribeGatewayCapabilityConfigurationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeLoggingOptions.go b/service/iotsitewise/api_op_DescribeLoggingOptions.go index ebf0bc6c71e..7d54f458430 100644 --- a/service/iotsitewise/api_op_DescribeLoggingOptions.go +++ b/service/iotsitewise/api_op_DescribeLoggingOptions.go @@ -72,7 +72,10 @@ func addOperationDescribeLoggingOptionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribePortal.go b/service/iotsitewise/api_op_DescribePortal.go index 90959784361..278f9da14da 100644 --- a/service/iotsitewise/api_op_DescribePortal.go +++ b/service/iotsitewise/api_op_DescribePortal.go @@ -148,7 +148,10 @@ func addOperationDescribePortalMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DescribeProject.go b/service/iotsitewise/api_op_DescribeProject.go index dc3bdc08752..46d9a7b84c8 100644 --- a/service/iotsitewise/api_op_DescribeProject.go +++ b/service/iotsitewise/api_op_DescribeProject.go @@ -108,7 +108,10 @@ func addOperationDescribeProjectMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_DisassociateAssets.go b/service/iotsitewise/api_op_DisassociateAssets.go index 720a5c75719..00dc3074964 100644 --- a/service/iotsitewise/api_op_DisassociateAssets.go +++ b/service/iotsitewise/api_op_DisassociateAssets.go @@ -91,7 +91,10 @@ func addOperationDisassociateAssetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_GetAssetPropertyAggregates.go b/service/iotsitewise/api_op_GetAssetPropertyAggregates.go index 3c035f5dd65..140d327831e 100644 --- a/service/iotsitewise/api_op_GetAssetPropertyAggregates.go +++ b/service/iotsitewise/api_op_GetAssetPropertyAggregates.go @@ -136,7 +136,10 @@ func addOperationGetAssetPropertyAggregatesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_GetAssetPropertyValue.go b/service/iotsitewise/api_op_GetAssetPropertyValue.go index 29fab8174c8..e33dd43d0b9 100644 --- a/service/iotsitewise/api_op_GetAssetPropertyValue.go +++ b/service/iotsitewise/api_op_GetAssetPropertyValue.go @@ -95,7 +95,10 @@ func addOperationGetAssetPropertyValueMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go b/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go index 6006d7654c4..655ad886b6c 100644 --- a/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go +++ b/service/iotsitewise/api_op_GetAssetPropertyValueHistory.go @@ -122,7 +122,10 @@ func addOperationGetAssetPropertyValueHistoryMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListAccessPolicies.go b/service/iotsitewise/api_op_ListAccessPolicies.go index 5865e84d5f1..a9e84df6fbc 100644 --- a/service/iotsitewise/api_op_ListAccessPolicies.go +++ b/service/iotsitewise/api_op_ListAccessPolicies.go @@ -105,7 +105,10 @@ func addOperationListAccessPoliciesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListAssetModels.go b/service/iotsitewise/api_op_ListAssetModels.go index 3c0bb0a5668..0c8b16135ec 100644 --- a/service/iotsitewise/api_op_ListAssetModels.go +++ b/service/iotsitewise/api_op_ListAssetModels.go @@ -82,7 +82,10 @@ func addOperationListAssetModelsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListAssetRelationships.go b/service/iotsitewise/api_op_ListAssetRelationships.go index a906b1ed643..0441bd47e6f 100644 --- a/service/iotsitewise/api_op_ListAssetRelationships.go +++ b/service/iotsitewise/api_op_ListAssetRelationships.go @@ -99,7 +99,10 @@ func addOperationListAssetRelationshipsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListAssets.go b/service/iotsitewise/api_op_ListAssets.go index d8a0ef94a38..9e9bd16cbfd 100644 --- a/service/iotsitewise/api_op_ListAssets.go +++ b/service/iotsitewise/api_op_ListAssets.go @@ -110,7 +110,10 @@ func addOperationListAssetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListAssociatedAssets.go b/service/iotsitewise/api_op_ListAssociatedAssets.go index 97f99e41e33..1fac1ca099c 100644 --- a/service/iotsitewise/api_op_ListAssociatedAssets.go +++ b/service/iotsitewise/api_op_ListAssociatedAssets.go @@ -116,7 +116,10 @@ func addOperationListAssociatedAssetsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListDashboards.go b/service/iotsitewise/api_op_ListDashboards.go index 12d57c5dd18..1cde09c12e9 100644 --- a/service/iotsitewise/api_op_ListDashboards.go +++ b/service/iotsitewise/api_op_ListDashboards.go @@ -88,7 +88,10 @@ func addOperationListDashboardsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListGateways.go b/service/iotsitewise/api_op_ListGateways.go index 173a9c2f5a2..b78ada17968 100644 --- a/service/iotsitewise/api_op_ListGateways.go +++ b/service/iotsitewise/api_op_ListGateways.go @@ -82,7 +82,10 @@ func addOperationListGatewaysMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListPortals.go b/service/iotsitewise/api_op_ListPortals.go index 3edd80cf1fa..e93f251742d 100644 --- a/service/iotsitewise/api_op_ListPortals.go +++ b/service/iotsitewise/api_op_ListPortals.go @@ -80,7 +80,10 @@ func addOperationListPortalsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListProjectAssets.go b/service/iotsitewise/api_op_ListProjectAssets.go index d9371add478..a8558597872 100644 --- a/service/iotsitewise/api_op_ListProjectAssets.go +++ b/service/iotsitewise/api_op_ListProjectAssets.go @@ -87,7 +87,10 @@ func addOperationListProjectAssetsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListProjects.go b/service/iotsitewise/api_op_ListProjects.go index 15dda4c8ae3..bc3c991fda1 100644 --- a/service/iotsitewise/api_op_ListProjects.go +++ b/service/iotsitewise/api_op_ListProjects.go @@ -87,7 +87,10 @@ func addOperationListProjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_ListTagsForResource.go b/service/iotsitewise/api_op_ListTagsForResource.go index 39e2c3dd21a..1458beb5329 100644 --- a/service/iotsitewise/api_op_ListTagsForResource.go +++ b/service/iotsitewise/api_op_ListTagsForResource.go @@ -78,7 +78,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go b/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go index fd9cc75904c..1839d830a11 100644 --- a/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go +++ b/service/iotsitewise/api_op_PutDefaultEncryptionConfiguration.go @@ -93,7 +93,10 @@ func addOperationPutDefaultEncryptionConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_PutLoggingOptions.go b/service/iotsitewise/api_op_PutLoggingOptions.go index 5724446fd10..a8176f00702 100644 --- a/service/iotsitewise/api_op_PutLoggingOptions.go +++ b/service/iotsitewise/api_op_PutLoggingOptions.go @@ -71,7 +71,10 @@ func addOperationPutLoggingOptionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_TagResource.go b/service/iotsitewise/api_op_TagResource.go index 79fb0f05fcf..fb11c8c10ac 100644 --- a/service/iotsitewise/api_op_TagResource.go +++ b/service/iotsitewise/api_op_TagResource.go @@ -80,7 +80,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UntagResource.go b/service/iotsitewise/api_op_UntagResource.go index f694450908f..6bed467909d 100644 --- a/service/iotsitewise/api_op_UntagResource.go +++ b/service/iotsitewise/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UpdateAccessPolicy.go b/service/iotsitewise/api_op_UpdateAccessPolicy.go index 105eace97fb..25507504d54 100644 --- a/service/iotsitewise/api_op_UpdateAccessPolicy.go +++ b/service/iotsitewise/api_op_UpdateAccessPolicy.go @@ -95,7 +95,10 @@ func addOperationUpdateAccessPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UpdateAsset.go b/service/iotsitewise/api_op_UpdateAsset.go index f1b5b90fe5f..ded8b97f886 100644 --- a/service/iotsitewise/api_op_UpdateAsset.go +++ b/service/iotsitewise/api_op_UpdateAsset.go @@ -90,7 +90,10 @@ func addOperationUpdateAssetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UpdateAssetModel.go b/service/iotsitewise/api_op_UpdateAssetModel.go index 2b3b9660212..69da661df8e 100644 --- a/service/iotsitewise/api_op_UpdateAssetModel.go +++ b/service/iotsitewise/api_op_UpdateAssetModel.go @@ -128,7 +128,10 @@ func addOperationUpdateAssetModelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UpdateAssetProperty.go b/service/iotsitewise/api_op_UpdateAssetProperty.go index 6de4af370bf..4c185c3b363 100644 --- a/service/iotsitewise/api_op_UpdateAssetProperty.go +++ b/service/iotsitewise/api_op_UpdateAssetProperty.go @@ -103,7 +103,10 @@ func addOperationUpdateAssetPropertyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UpdateDashboard.go b/service/iotsitewise/api_op_UpdateDashboard.go index 8ae48cdcfaf..6e1190abeab 100644 --- a/service/iotsitewise/api_op_UpdateDashboard.go +++ b/service/iotsitewise/api_op_UpdateDashboard.go @@ -91,7 +91,10 @@ func addOperationUpdateDashboardMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UpdateGateway.go b/service/iotsitewise/api_op_UpdateGateway.go index a4c5cebe17a..bb495b7d3bb 100644 --- a/service/iotsitewise/api_op_UpdateGateway.go +++ b/service/iotsitewise/api_op_UpdateGateway.go @@ -75,7 +75,10 @@ func addOperationUpdateGatewayMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go b/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go index fab72b6cc21..d088f728883 100644 --- a/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go +++ b/service/iotsitewise/api_op_UpdateGatewayCapabilityConfiguration.go @@ -118,7 +118,10 @@ func addOperationUpdateGatewayCapabilityConfigurationMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UpdatePortal.go b/service/iotsitewise/api_op_UpdatePortal.go index b452bb642b2..9d11ebee646 100644 --- a/service/iotsitewise/api_op_UpdatePortal.go +++ b/service/iotsitewise/api_op_UpdatePortal.go @@ -116,7 +116,10 @@ func addOperationUpdatePortalMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotsitewise/api_op_UpdateProject.go b/service/iotsitewise/api_op_UpdateProject.go index 642a4e15600..bb0d9b3c2d0 100644 --- a/service/iotsitewise/api_op_UpdateProject.go +++ b/service/iotsitewise/api_op_UpdateProject.go @@ -83,7 +83,10 @@ func addOperationUpdateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_AssociateEntityToThing.go b/service/iotthingsgraph/api_op_AssociateEntityToThing.go index bc64ebf27e0..92f340e246d 100644 --- a/service/iotthingsgraph/api_op_AssociateEntityToThing.go +++ b/service/iotthingsgraph/api_op_AssociateEntityToThing.go @@ -81,7 +81,10 @@ func addOperationAssociateEntityToThingMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_CreateFlowTemplate.go b/service/iotthingsgraph/api_op_CreateFlowTemplate.go index 8ea11a4c7b8..d64222cc3a8 100644 --- a/service/iotthingsgraph/api_op_CreateFlowTemplate.go +++ b/service/iotthingsgraph/api_op_CreateFlowTemplate.go @@ -82,7 +82,10 @@ func addOperationCreateFlowTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_CreateSystemInstance.go b/service/iotthingsgraph/api_op_CreateSystemInstance.go index 58e76a31ce6..4da278aa4f3 100644 --- a/service/iotthingsgraph/api_op_CreateSystemInstance.go +++ b/service/iotthingsgraph/api_op_CreateSystemInstance.go @@ -114,7 +114,10 @@ func addOperationCreateSystemInstanceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_CreateSystemTemplate.go b/service/iotthingsgraph/api_op_CreateSystemTemplate.go index d640e2581cd..ec66d5e115c 100644 --- a/service/iotthingsgraph/api_op_CreateSystemTemplate.go +++ b/service/iotthingsgraph/api_op_CreateSystemTemplate.go @@ -80,7 +80,10 @@ func addOperationCreateSystemTemplateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_DeleteFlowTemplate.go b/service/iotthingsgraph/api_op_DeleteFlowTemplate.go index a33aba2a914..0660986641f 100644 --- a/service/iotthingsgraph/api_op_DeleteFlowTemplate.go +++ b/service/iotthingsgraph/api_op_DeleteFlowTemplate.go @@ -73,7 +73,10 @@ func addOperationDeleteFlowTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_DeleteNamespace.go b/service/iotthingsgraph/api_op_DeleteNamespace.go index 547e44b5e57..b88c34716f1 100644 --- a/service/iotthingsgraph/api_op_DeleteNamespace.go +++ b/service/iotthingsgraph/api_op_DeleteNamespace.go @@ -73,7 +73,10 @@ func addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_DeleteSystemInstance.go b/service/iotthingsgraph/api_op_DeleteSystemInstance.go index 62d8c5aea24..94a09761df2 100644 --- a/service/iotthingsgraph/api_op_DeleteSystemInstance.go +++ b/service/iotthingsgraph/api_op_DeleteSystemInstance.go @@ -69,7 +69,10 @@ func addOperationDeleteSystemInstanceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_DeleteSystemTemplate.go b/service/iotthingsgraph/api_op_DeleteSystemTemplate.go index 178b6b6413c..08f64976fc0 100644 --- a/service/iotthingsgraph/api_op_DeleteSystemTemplate.go +++ b/service/iotthingsgraph/api_op_DeleteSystemTemplate.go @@ -72,7 +72,10 @@ func addOperationDeleteSystemTemplateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_DeploySystemInstance.go b/service/iotthingsgraph/api_op_DeploySystemInstance.go index c93ad726229..6502487becd 100644 --- a/service/iotthingsgraph/api_op_DeploySystemInstance.go +++ b/service/iotthingsgraph/api_op_DeploySystemInstance.go @@ -90,7 +90,10 @@ func addOperationDeploySystemInstanceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go b/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go index 669c88cefaa..2213d832ed2 100644 --- a/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go +++ b/service/iotthingsgraph/api_op_DeprecateFlowTemplate.go @@ -72,7 +72,10 @@ func addOperationDeprecateFlowTemplateMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go b/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go index 062356c33ec..53315debbc4 100644 --- a/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go +++ b/service/iotthingsgraph/api_op_DeprecateSystemTemplate.go @@ -70,7 +70,10 @@ func addOperationDeprecateSystemTemplateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_DescribeNamespace.go b/service/iotthingsgraph/api_op_DescribeNamespace.go index d24a3b574f9..a2e71eb564e 100644 --- a/service/iotthingsgraph/api_op_DescribeNamespace.go +++ b/service/iotthingsgraph/api_op_DescribeNamespace.go @@ -84,7 +84,10 @@ func addOperationDescribeNamespaceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_DissociateEntityFromThing.go b/service/iotthingsgraph/api_op_DissociateEntityFromThing.go index f0562d53a1e..4f8b781c660 100644 --- a/service/iotthingsgraph/api_op_DissociateEntityFromThing.go +++ b/service/iotthingsgraph/api_op_DissociateEntityFromThing.go @@ -77,7 +77,10 @@ func addOperationDissociateEntityFromThingMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_GetEntities.go b/service/iotthingsgraph/api_op_GetEntities.go index 5ffb666d745..5b65dc2b3c6 100644 --- a/service/iotthingsgraph/api_op_GetEntities.go +++ b/service/iotthingsgraph/api_op_GetEntities.go @@ -103,7 +103,10 @@ func addOperationGetEntitiesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_GetFlowTemplate.go b/service/iotthingsgraph/api_op_GetFlowTemplate.go index 2ebe8cce2e3..b2393545037 100644 --- a/service/iotthingsgraph/api_op_GetFlowTemplate.go +++ b/service/iotthingsgraph/api_op_GetFlowTemplate.go @@ -79,7 +79,10 @@ func addOperationGetFlowTemplateMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go b/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go index de791e7b4a6..2ce9f70f2f8 100644 --- a/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go +++ b/service/iotthingsgraph/api_op_GetFlowTemplateRevisions.go @@ -89,7 +89,10 @@ func addOperationGetFlowTemplateRevisionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go b/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go index c95842cf05c..43117792da3 100644 --- a/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go +++ b/service/iotthingsgraph/api_op_GetNamespaceDeletionStatus.go @@ -81,7 +81,10 @@ func addOperationGetNamespaceDeletionStatusMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_GetSystemInstance.go b/service/iotthingsgraph/api_op_GetSystemInstance.go index 23c1ff89a0b..5efdc00c3c9 100644 --- a/service/iotthingsgraph/api_op_GetSystemInstance.go +++ b/service/iotthingsgraph/api_op_GetSystemInstance.go @@ -76,7 +76,10 @@ func addOperationGetSystemInstanceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_GetSystemTemplate.go b/service/iotthingsgraph/api_op_GetSystemTemplate.go index 75db6df2053..8f262aded84 100644 --- a/service/iotthingsgraph/api_op_GetSystemTemplate.go +++ b/service/iotthingsgraph/api_op_GetSystemTemplate.go @@ -79,7 +79,10 @@ func addOperationGetSystemTemplateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go b/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go index 7ad983a6e41..838a5ce0e56 100644 --- a/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go +++ b/service/iotthingsgraph/api_op_GetSystemTemplateRevisions.go @@ -90,7 +90,10 @@ func addOperationGetSystemTemplateRevisionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_GetUploadStatus.go b/service/iotthingsgraph/api_op_GetUploadStatus.go index fe2b5bf344d..70dcb9616a6 100644 --- a/service/iotthingsgraph/api_op_GetUploadStatus.go +++ b/service/iotthingsgraph/api_op_GetUploadStatus.go @@ -102,7 +102,10 @@ func addOperationGetUploadStatusMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go b/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go index 21661b5b8a0..b4002459c2a 100644 --- a/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go +++ b/service/iotthingsgraph/api_op_ListFlowExecutionMessages.go @@ -87,7 +87,10 @@ func addOperationListFlowExecutionMessagesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_ListTagsForResource.go b/service/iotthingsgraph/api_op_ListTagsForResource.go index f67e016554d..ef1f2c749cd 100644 --- a/service/iotthingsgraph/api_op_ListTagsForResource.go +++ b/service/iotthingsgraph/api_op_ListTagsForResource.go @@ -84,7 +84,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_SearchEntities.go b/service/iotthingsgraph/api_op_SearchEntities.go index 9c8493f2dd4..8f077cdff62 100644 --- a/service/iotthingsgraph/api_op_SearchEntities.go +++ b/service/iotthingsgraph/api_op_SearchEntities.go @@ -98,7 +98,10 @@ func addOperationSearchEntitiesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_SearchFlowExecutions.go b/service/iotthingsgraph/api_op_SearchFlowExecutions.go index e62a15f725b..e4612b2d89f 100644 --- a/service/iotthingsgraph/api_op_SearchFlowExecutions.go +++ b/service/iotthingsgraph/api_op_SearchFlowExecutions.go @@ -96,7 +96,10 @@ func addOperationSearchFlowExecutionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_SearchFlowTemplates.go b/service/iotthingsgraph/api_op_SearchFlowTemplates.go index dad3bafb935..20601ef4fed 100644 --- a/service/iotthingsgraph/api_op_SearchFlowTemplates.go +++ b/service/iotthingsgraph/api_op_SearchFlowTemplates.go @@ -85,7 +85,10 @@ func addOperationSearchFlowTemplatesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_SearchSystemInstances.go b/service/iotthingsgraph/api_op_SearchSystemInstances.go index abdadf1f478..9197ab49128 100644 --- a/service/iotthingsgraph/api_op_SearchSystemInstances.go +++ b/service/iotthingsgraph/api_op_SearchSystemInstances.go @@ -86,7 +86,10 @@ func addOperationSearchSystemInstancesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_SearchSystemTemplates.go b/service/iotthingsgraph/api_op_SearchSystemTemplates.go index a19146e4a28..5cf82e466c6 100644 --- a/service/iotthingsgraph/api_op_SearchSystemTemplates.go +++ b/service/iotthingsgraph/api_op_SearchSystemTemplates.go @@ -87,7 +87,10 @@ func addOperationSearchSystemTemplatesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_SearchThings.go b/service/iotthingsgraph/api_op_SearchThings.go index 390b5b0d2c7..43658e4fd70 100644 --- a/service/iotthingsgraph/api_op_SearchThings.go +++ b/service/iotthingsgraph/api_op_SearchThings.go @@ -95,7 +95,10 @@ func addOperationSearchThingsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_TagResource.go b/service/iotthingsgraph/api_op_TagResource.go index 9d2af2984ad..c3f643c00ae 100644 --- a/service/iotthingsgraph/api_op_TagResource.go +++ b/service/iotthingsgraph/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_UndeploySystemInstance.go b/service/iotthingsgraph/api_op_UndeploySystemInstance.go index 3c3faaa2e4f..f21080b9322 100644 --- a/service/iotthingsgraph/api_op_UndeploySystemInstance.go +++ b/service/iotthingsgraph/api_op_UndeploySystemInstance.go @@ -73,7 +73,10 @@ func addOperationUndeploySystemInstanceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_UntagResource.go b/service/iotthingsgraph/api_op_UntagResource.go index 54b318f98d4..8326eeff84a 100644 --- a/service/iotthingsgraph/api_op_UntagResource.go +++ b/service/iotthingsgraph/api_op_UntagResource.go @@ -80,7 +80,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_UpdateFlowTemplate.go b/service/iotthingsgraph/api_op_UpdateFlowTemplate.go index 393fe42dfcd..d4bea2652ca 100644 --- a/service/iotthingsgraph/api_op_UpdateFlowTemplate.go +++ b/service/iotthingsgraph/api_op_UpdateFlowTemplate.go @@ -89,7 +89,10 @@ func addOperationUpdateFlowTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_UpdateSystemTemplate.go b/service/iotthingsgraph/api_op_UpdateSystemTemplate.go index ca734d5597d..e765bd94ac5 100644 --- a/service/iotthingsgraph/api_op_UpdateSystemTemplate.go +++ b/service/iotthingsgraph/api_op_UpdateSystemTemplate.go @@ -87,7 +87,10 @@ func addOperationUpdateSystemTemplateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotthingsgraph/api_op_UploadEntityDefinitions.go b/service/iotthingsgraph/api_op_UploadEntityDefinitions.go index 4da5f185bd5..3d697e69f25 100644 --- a/service/iotthingsgraph/api_op_UploadEntityDefinitions.go +++ b/service/iotthingsgraph/api_op_UploadEntityDefinitions.go @@ -101,7 +101,10 @@ func addOperationUploadEntityDefinitionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go b/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go index 0f665267109..83e086d4ce4 100644 --- a/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go +++ b/service/iotwireless/api_op_AssociateAwsAccountWithPartnerAccount.go @@ -81,7 +81,10 @@ func addOperationAssociateAwsAccountWithPartnerAccountMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go b/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go index 720246b4177..11e64f12dc0 100644 --- a/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go +++ b/service/iotwireless/api_op_AssociateWirelessDeviceWithThing.go @@ -74,7 +74,10 @@ func addOperationAssociateWirelessDeviceWithThingMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go b/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go index 188a93be6ae..fe49e7190bf 100644 --- a/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go +++ b/service/iotwireless/api_op_AssociateWirelessGatewayWithCertificate.go @@ -78,7 +78,10 @@ func addOperationAssociateWirelessGatewayWithCertificateMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go b/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go index 9c369a7516d..4f81907392f 100644 --- a/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go +++ b/service/iotwireless/api_op_AssociateWirelessGatewayWithThing.go @@ -74,7 +74,10 @@ func addOperationAssociateWirelessGatewayWithThingMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_CreateDestination.go b/service/iotwireless/api_op_CreateDestination.go index d4f8686fa32..4e7f95587c6 100644 --- a/service/iotwireless/api_op_CreateDestination.go +++ b/service/iotwireless/api_op_CreateDestination.go @@ -106,7 +106,10 @@ func addOperationCreateDestinationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_CreateDeviceProfile.go b/service/iotwireless/api_op_CreateDeviceProfile.go index 59ee131e675..c998d970ca9 100644 --- a/service/iotwireless/api_op_CreateDeviceProfile.go +++ b/service/iotwireless/api_op_CreateDeviceProfile.go @@ -89,7 +89,10 @@ func addOperationCreateDeviceProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_CreateServiceProfile.go b/service/iotwireless/api_op_CreateServiceProfile.go index 90e99b2516f..5a16dfeba18 100644 --- a/service/iotwireless/api_op_CreateServiceProfile.go +++ b/service/iotwireless/api_op_CreateServiceProfile.go @@ -89,7 +89,10 @@ func addOperationCreateServiceProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_CreateWirelessDevice.go b/service/iotwireless/api_op_CreateWirelessDevice.go index e34a97c6cf1..4cc30b9a67a 100644 --- a/service/iotwireless/api_op_CreateWirelessDevice.go +++ b/service/iotwireless/api_op_CreateWirelessDevice.go @@ -98,7 +98,10 @@ func addOperationCreateWirelessDeviceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_CreateWirelessGateway.go b/service/iotwireless/api_op_CreateWirelessGateway.go index e38be8d8cdf..4670ac7dff4 100644 --- a/service/iotwireless/api_op_CreateWirelessGateway.go +++ b/service/iotwireless/api_op_CreateWirelessGateway.go @@ -94,7 +94,10 @@ func addOperationCreateWirelessGatewayMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_CreateWirelessGatewayTask.go b/service/iotwireless/api_op_CreateWirelessGatewayTask.go index 38f30fac22b..2f41abff233 100644 --- a/service/iotwireless/api_op_CreateWirelessGatewayTask.go +++ b/service/iotwireless/api_op_CreateWirelessGatewayTask.go @@ -82,7 +82,10 @@ func addOperationCreateWirelessGatewayTaskMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go b/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go index 6556591a65b..37325c56823 100644 --- a/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go +++ b/service/iotwireless/api_op_CreateWirelessGatewayTaskDefinition.go @@ -89,7 +89,10 @@ func addOperationCreateWirelessGatewayTaskDefinitionMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DeleteDestination.go b/service/iotwireless/api_op_DeleteDestination.go index 3fc82711eb9..11c853f91d4 100644 --- a/service/iotwireless/api_op_DeleteDestination.go +++ b/service/iotwireless/api_op_DeleteDestination.go @@ -69,7 +69,10 @@ func addOperationDeleteDestinationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DeleteDeviceProfile.go b/service/iotwireless/api_op_DeleteDeviceProfile.go index 4bdf0a05ab5..99706b58b97 100644 --- a/service/iotwireless/api_op_DeleteDeviceProfile.go +++ b/service/iotwireless/api_op_DeleteDeviceProfile.go @@ -69,7 +69,10 @@ func addOperationDeleteDeviceProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DeleteServiceProfile.go b/service/iotwireless/api_op_DeleteServiceProfile.go index cdc55b3da4c..205ffb0d67c 100644 --- a/service/iotwireless/api_op_DeleteServiceProfile.go +++ b/service/iotwireless/api_op_DeleteServiceProfile.go @@ -69,7 +69,10 @@ func addOperationDeleteServiceProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DeleteWirelessDevice.go b/service/iotwireless/api_op_DeleteWirelessDevice.go index 0ca7ab1b07a..f848847dfe7 100644 --- a/service/iotwireless/api_op_DeleteWirelessDevice.go +++ b/service/iotwireless/api_op_DeleteWirelessDevice.go @@ -69,7 +69,10 @@ func addOperationDeleteWirelessDeviceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DeleteWirelessGateway.go b/service/iotwireless/api_op_DeleteWirelessGateway.go index 444d1aa43b8..3c67e1e52af 100644 --- a/service/iotwireless/api_op_DeleteWirelessGateway.go +++ b/service/iotwireless/api_op_DeleteWirelessGateway.go @@ -69,7 +69,10 @@ func addOperationDeleteWirelessGatewayMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DeleteWirelessGatewayTask.go b/service/iotwireless/api_op_DeleteWirelessGatewayTask.go index 23073c0f01d..2fcec2cc4fb 100644 --- a/service/iotwireless/api_op_DeleteWirelessGatewayTask.go +++ b/service/iotwireless/api_op_DeleteWirelessGatewayTask.go @@ -69,7 +69,10 @@ func addOperationDeleteWirelessGatewayTaskMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go b/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go index 591d926fd8b..0db3ad34a13 100644 --- a/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go +++ b/service/iotwireless/api_op_DeleteWirelessGatewayTaskDefinition.go @@ -70,7 +70,10 @@ func addOperationDeleteWirelessGatewayTaskDefinitionMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go b/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go index 08984b3bbf3..95a3d899f29 100644 --- a/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go +++ b/service/iotwireless/api_op_DisassociateAwsAccountFromPartnerAccount.go @@ -76,7 +76,10 @@ func addOperationDisassociateAwsAccountFromPartnerAccountMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go b/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go index d2a59461b88..458c3c8fd66 100644 --- a/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go +++ b/service/iotwireless/api_op_DisassociateWirelessDeviceFromThing.go @@ -69,7 +69,10 @@ func addOperationDisassociateWirelessDeviceFromThingMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go b/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go index 6ce427a49ac..165f55214f2 100644 --- a/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go +++ b/service/iotwireless/api_op_DisassociateWirelessGatewayFromCertificate.go @@ -69,7 +69,10 @@ func addOperationDisassociateWirelessGatewayFromCertificateMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go b/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go index 679e883ef8e..22933ec5b01 100644 --- a/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go +++ b/service/iotwireless/api_op_DisassociateWirelessGatewayFromThing.go @@ -69,7 +69,10 @@ func addOperationDisassociateWirelessGatewayFromThingMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetDestination.go b/service/iotwireless/api_op_GetDestination.go index 78230e54bb4..b3091988fe3 100644 --- a/service/iotwireless/api_op_GetDestination.go +++ b/service/iotwireless/api_op_GetDestination.go @@ -89,7 +89,10 @@ func addOperationGetDestinationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetDeviceProfile.go b/service/iotwireless/api_op_GetDeviceProfile.go index b60a31d4228..4f84d196cc8 100644 --- a/service/iotwireless/api_op_GetDeviceProfile.go +++ b/service/iotwireless/api_op_GetDeviceProfile.go @@ -83,7 +83,10 @@ func addOperationGetDeviceProfileMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetPartnerAccount.go b/service/iotwireless/api_op_GetPartnerAccount.go index 88c3a882433..11e0829dbb3 100644 --- a/service/iotwireless/api_op_GetPartnerAccount.go +++ b/service/iotwireless/api_op_GetPartnerAccount.go @@ -83,7 +83,10 @@ func addOperationGetPartnerAccountMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetServiceEndpoint.go b/service/iotwireless/api_op_GetServiceEndpoint.go index f8ef3163d06..4b572e428ba 100644 --- a/service/iotwireless/api_op_GetServiceEndpoint.go +++ b/service/iotwireless/api_op_GetServiceEndpoint.go @@ -81,7 +81,10 @@ func addOperationGetServiceEndpointMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetServiceProfile.go b/service/iotwireless/api_op_GetServiceProfile.go index 734e41410de..54b3b645181 100644 --- a/service/iotwireless/api_op_GetServiceProfile.go +++ b/service/iotwireless/api_op_GetServiceProfile.go @@ -83,7 +83,10 @@ func addOperationGetServiceProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetWirelessDevice.go b/service/iotwireless/api_op_GetWirelessDevice.go index 8bcff24f041..798c8cc7078 100644 --- a/service/iotwireless/api_op_GetWirelessDevice.go +++ b/service/iotwireless/api_op_GetWirelessDevice.go @@ -104,7 +104,10 @@ func addOperationGetWirelessDeviceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetWirelessDeviceStatistics.go b/service/iotwireless/api_op_GetWirelessDeviceStatistics.go index c8df4201862..dc36490786a 100644 --- a/service/iotwireless/api_op_GetWirelessDeviceStatistics.go +++ b/service/iotwireless/api_op_GetWirelessDeviceStatistics.go @@ -80,7 +80,10 @@ func addOperationGetWirelessDeviceStatisticsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetWirelessGateway.go b/service/iotwireless/api_op_GetWirelessGateway.go index c2ac376fb7c..c44aed0f8ad 100644 --- a/service/iotwireless/api_op_GetWirelessGateway.go +++ b/service/iotwireless/api_op_GetWirelessGateway.go @@ -98,7 +98,10 @@ func addOperationGetWirelessGatewayMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetWirelessGatewayCertificate.go b/service/iotwireless/api_op_GetWirelessGatewayCertificate.go index 671020e1978..c2cab84a7a3 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayCertificate.go +++ b/service/iotwireless/api_op_GetWirelessGatewayCertificate.go @@ -74,7 +74,10 @@ func addOperationGetWirelessGatewayCertificateMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go b/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go index e445a08bbc0..fd335e9ac5b 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go +++ b/service/iotwireless/api_op_GetWirelessGatewayFirmwareInformation.go @@ -74,7 +74,10 @@ func addOperationGetWirelessGatewayFirmwareInformationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetWirelessGatewayStatistics.go b/service/iotwireless/api_op_GetWirelessGatewayStatistics.go index f99041e257f..8ec11cf1dd9 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayStatistics.go +++ b/service/iotwireless/api_op_GetWirelessGatewayStatistics.go @@ -76,7 +76,10 @@ func addOperationGetWirelessGatewayStatisticsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetWirelessGatewayTask.go b/service/iotwireless/api_op_GetWirelessGatewayTask.go index 451eb57a2e0..fdb88b0ac1d 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayTask.go +++ b/service/iotwireless/api_op_GetWirelessGatewayTask.go @@ -86,7 +86,10 @@ func addOperationGetWirelessGatewayTaskMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go b/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go index 107deb093d2..227784570d3 100644 --- a/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go +++ b/service/iotwireless/api_op_GetWirelessGatewayTaskDefinition.go @@ -82,7 +82,10 @@ func addOperationGetWirelessGatewayTaskDefinitionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_ListDestinations.go b/service/iotwireless/api_op_ListDestinations.go index a71d2d05a3f..7208aea4a59 100644 --- a/service/iotwireless/api_op_ListDestinations.go +++ b/service/iotwireless/api_op_ListDestinations.go @@ -81,7 +81,10 @@ func addOperationListDestinationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_ListDeviceProfiles.go b/service/iotwireless/api_op_ListDeviceProfiles.go index 7f467402bd0..b84f85e0230 100644 --- a/service/iotwireless/api_op_ListDeviceProfiles.go +++ b/service/iotwireless/api_op_ListDeviceProfiles.go @@ -81,7 +81,10 @@ func addOperationListDeviceProfilesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_ListPartnerAccounts.go b/service/iotwireless/api_op_ListPartnerAccounts.go index ebc075492e1..045a5c6681a 100644 --- a/service/iotwireless/api_op_ListPartnerAccounts.go +++ b/service/iotwireless/api_op_ListPartnerAccounts.go @@ -80,7 +80,10 @@ func addOperationListPartnerAccountsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_ListServiceProfiles.go b/service/iotwireless/api_op_ListServiceProfiles.go index 46524a01871..d2517c99c8d 100644 --- a/service/iotwireless/api_op_ListServiceProfiles.go +++ b/service/iotwireless/api_op_ListServiceProfiles.go @@ -81,7 +81,10 @@ func addOperationListServiceProfilesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_ListTagsForResource.go b/service/iotwireless/api_op_ListTagsForResource.go index e5f044fd48a..882e51ac3dc 100644 --- a/service/iotwireless/api_op_ListTagsForResource.go +++ b/service/iotwireless/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_ListWirelessDevices.go b/service/iotwireless/api_op_ListWirelessDevices.go index 7fd3818207f..f8ff68e98b0 100644 --- a/service/iotwireless/api_op_ListWirelessDevices.go +++ b/service/iotwireless/api_op_ListWirelessDevices.go @@ -93,7 +93,10 @@ func addOperationListWirelessDevicesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go b/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go index 0f744db790e..6ed4a246131 100644 --- a/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go +++ b/service/iotwireless/api_op_ListWirelessGatewayTaskDefinitions.go @@ -84,7 +84,10 @@ func addOperationListWirelessGatewayTaskDefinitionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_ListWirelessGateways.go b/service/iotwireless/api_op_ListWirelessGateways.go index 964c627891a..80d7083f1ed 100644 --- a/service/iotwireless/api_op_ListWirelessGateways.go +++ b/service/iotwireless/api_op_ListWirelessGateways.go @@ -81,7 +81,10 @@ func addOperationListWirelessGatewaysMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_SendDataToWirelessDevice.go b/service/iotwireless/api_op_SendDataToWirelessDevice.go index 2b4a6714382..524793bfc31 100644 --- a/service/iotwireless/api_op_SendDataToWirelessDevice.go +++ b/service/iotwireless/api_op_SendDataToWirelessDevice.go @@ -89,7 +89,10 @@ func addOperationSendDataToWirelessDeviceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_TagResource.go b/service/iotwireless/api_op_TagResource.go index 683de00e0b0..90e293705cb 100644 --- a/service/iotwireless/api_op_TagResource.go +++ b/service/iotwireless/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_TestWirelessDevice.go b/service/iotwireless/api_op_TestWirelessDevice.go index 8bc3e47d239..554992bcbd0 100644 --- a/service/iotwireless/api_op_TestWirelessDevice.go +++ b/service/iotwireless/api_op_TestWirelessDevice.go @@ -73,7 +73,10 @@ func addOperationTestWirelessDeviceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_UntagResource.go b/service/iotwireless/api_op_UntagResource.go index cbe60364129..54742c78cfe 100644 --- a/service/iotwireless/api_op_UntagResource.go +++ b/service/iotwireless/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_UpdateDestination.go b/service/iotwireless/api_op_UpdateDestination.go index d0cc2ced913..22e7d9994e9 100644 --- a/service/iotwireless/api_op_UpdateDestination.go +++ b/service/iotwireless/api_op_UpdateDestination.go @@ -82,7 +82,10 @@ func addOperationUpdateDestinationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_UpdatePartnerAccount.go b/service/iotwireless/api_op_UpdatePartnerAccount.go index cf7834ff49f..c3e7442c2c1 100644 --- a/service/iotwireless/api_op_UpdatePartnerAccount.go +++ b/service/iotwireless/api_op_UpdatePartnerAccount.go @@ -80,7 +80,10 @@ func addOperationUpdatePartnerAccountMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_UpdateWirelessDevice.go b/service/iotwireless/api_op_UpdateWirelessDevice.go index c236da6ec3e..b47311a2ba4 100644 --- a/service/iotwireless/api_op_UpdateWirelessDevice.go +++ b/service/iotwireless/api_op_UpdateWirelessDevice.go @@ -82,7 +82,10 @@ func addOperationUpdateWirelessDeviceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/iotwireless/api_op_UpdateWirelessGateway.go b/service/iotwireless/api_op_UpdateWirelessGateway.go index 6e0aa96cead..2471f8cdf23 100644 --- a/service/iotwireless/api_op_UpdateWirelessGateway.go +++ b/service/iotwireless/api_op_UpdateWirelessGateway.go @@ -75,7 +75,10 @@ func addOperationUpdateWirelessGatewayMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_BatchGetChannel.go b/service/ivs/api_op_BatchGetChannel.go index 8397406d8a9..a45bca0e2c1 100644 --- a/service/ivs/api_op_BatchGetChannel.go +++ b/service/ivs/api_op_BatchGetChannel.go @@ -75,7 +75,10 @@ func addOperationBatchGetChannelMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_BatchGetStreamKey.go b/service/ivs/api_op_BatchGetStreamKey.go index 72bdd4b56c4..e8b4e049333 100644 --- a/service/ivs/api_op_BatchGetStreamKey.go +++ b/service/ivs/api_op_BatchGetStreamKey.go @@ -74,7 +74,10 @@ func addOperationBatchGetStreamKeyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_CreateChannel.go b/service/ivs/api_op_CreateChannel.go index f3d32a4cf0a..e41bd079a71 100644 --- a/service/ivs/api_op_CreateChannel.go +++ b/service/ivs/api_op_CreateChannel.go @@ -101,7 +101,10 @@ func addOperationCreateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_CreateStreamKey.go b/service/ivs/api_op_CreateStreamKey.go index b125f8435c8..97a52a269cf 100644 --- a/service/ivs/api_op_CreateStreamKey.go +++ b/service/ivs/api_op_CreateStreamKey.go @@ -81,7 +81,10 @@ func addOperationCreateStreamKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_DeleteChannel.go b/service/ivs/api_op_DeleteChannel.go index a73b82b2b5c..0245ef01919 100644 --- a/service/ivs/api_op_DeleteChannel.go +++ b/service/ivs/api_op_DeleteChannel.go @@ -69,7 +69,10 @@ func addOperationDeleteChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_DeletePlaybackKeyPair.go b/service/ivs/api_op_DeletePlaybackKeyPair.go index f1a0e66c842..48f21057524 100644 --- a/service/ivs/api_op_DeletePlaybackKeyPair.go +++ b/service/ivs/api_op_DeletePlaybackKeyPair.go @@ -70,7 +70,10 @@ func addOperationDeletePlaybackKeyPairMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_DeleteStreamKey.go b/service/ivs/api_op_DeleteStreamKey.go index a278cbf587b..6640ed7324f 100644 --- a/service/ivs/api_op_DeleteStreamKey.go +++ b/service/ivs/api_op_DeleteStreamKey.go @@ -70,7 +70,10 @@ func addOperationDeleteStreamKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_GetChannel.go b/service/ivs/api_op_GetChannel.go index a16d2347897..217d9bc5b88 100644 --- a/service/ivs/api_op_GetChannel.go +++ b/service/ivs/api_op_GetChannel.go @@ -75,7 +75,10 @@ func addOperationGetChannelMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_GetPlaybackKeyPair.go b/service/ivs/api_op_GetPlaybackKeyPair.go index 5b4ff890218..149203f9567 100644 --- a/service/ivs/api_op_GetPlaybackKeyPair.go +++ b/service/ivs/api_op_GetPlaybackKeyPair.go @@ -76,7 +76,10 @@ func addOperationGetPlaybackKeyPairMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_GetStream.go b/service/ivs/api_op_GetStream.go index 55e20a4869f..a1c75e80e02 100644 --- a/service/ivs/api_op_GetStream.go +++ b/service/ivs/api_op_GetStream.go @@ -74,7 +74,10 @@ func addOperationGetStreamMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_GetStreamKey.go b/service/ivs/api_op_GetStreamKey.go index 5ff935810db..f44b31c4cc6 100644 --- a/service/ivs/api_op_GetStreamKey.go +++ b/service/ivs/api_op_GetStreamKey.go @@ -74,7 +74,10 @@ func addOperationGetStreamKeyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_ImportPlaybackKeyPair.go b/service/ivs/api_op_ImportPlaybackKeyPair.go index f1b48cc4f72..f1c04d029f9 100644 --- a/service/ivs/api_op_ImportPlaybackKeyPair.go +++ b/service/ivs/api_op_ImportPlaybackKeyPair.go @@ -83,7 +83,10 @@ func addOperationImportPlaybackKeyPairMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_ListChannels.go b/service/ivs/api_op_ListChannels.go index 1d263ffdab0..42cd1b5f959 100644 --- a/service/ivs/api_op_ListChannels.go +++ b/service/ivs/api_op_ListChannels.go @@ -88,7 +88,10 @@ func addOperationListChannelsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_ListPlaybackKeyPairs.go b/service/ivs/api_op_ListPlaybackKeyPairs.go index fb974b5292c..71718645985 100644 --- a/service/ivs/api_op_ListPlaybackKeyPairs.go +++ b/service/ivs/api_op_ListPlaybackKeyPairs.go @@ -83,7 +83,10 @@ func addOperationListPlaybackKeyPairsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_ListStreamKeys.go b/service/ivs/api_op_ListStreamKeys.go index ef289f91018..0b26ed742bb 100644 --- a/service/ivs/api_op_ListStreamKeys.go +++ b/service/ivs/api_op_ListStreamKeys.go @@ -88,7 +88,10 @@ func addOperationListStreamKeysMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_ListStreams.go b/service/ivs/api_op_ListStreams.go index 32fb78f7e84..f9c64e9cf66 100644 --- a/service/ivs/api_op_ListStreams.go +++ b/service/ivs/api_op_ListStreams.go @@ -84,7 +84,10 @@ func addOperationListStreamsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_ListTagsForResource.go b/service/ivs/api_op_ListTagsForResource.go index c50398b850b..5ee715b693b 100644 --- a/service/ivs/api_op_ListTagsForResource.go +++ b/service/ivs/api_op_ListTagsForResource.go @@ -85,7 +85,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_PutMetadata.go b/service/ivs/api_op_PutMetadata.go index 57c1791c049..83cef424a1f 100644 --- a/service/ivs/api_op_PutMetadata.go +++ b/service/ivs/api_op_PutMetadata.go @@ -76,7 +76,10 @@ func addOperationPutMetadataMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_StopStream.go b/service/ivs/api_op_StopStream.go index 47c29d35173..09982d73b28 100644 --- a/service/ivs/api_op_StopStream.go +++ b/service/ivs/api_op_StopStream.go @@ -73,7 +73,10 @@ func addOperationStopStreamMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_TagResource.go b/service/ivs/api_op_TagResource.go index 006a18a4e75..3275bde5c64 100644 --- a/service/ivs/api_op_TagResource.go +++ b/service/ivs/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_UntagResource.go b/service/ivs/api_op_UntagResource.go index 3569ec054b3..035ce389cb2 100644 --- a/service/ivs/api_op_UntagResource.go +++ b/service/ivs/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ivs/api_op_UpdateChannel.go b/service/ivs/api_op_UpdateChannel.go index 7b3ece51cbc..2f277fa8f23 100644 --- a/service/ivs/api_op_UpdateChannel.go +++ b/service/ivs/api_op_UpdateChannel.go @@ -102,7 +102,10 @@ func addOperationUpdateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_BatchAssociateScramSecret.go b/service/kafka/api_op_BatchAssociateScramSecret.go index 4d71f0b29e8..19086451d63 100644 --- a/service/kafka/api_op_BatchAssociateScramSecret.go +++ b/service/kafka/api_op_BatchAssociateScramSecret.go @@ -83,7 +83,10 @@ func addOperationBatchAssociateScramSecretMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_BatchDisassociateScramSecret.go b/service/kafka/api_op_BatchDisassociateScramSecret.go index 4e6fe366765..adcbaabc9eb 100644 --- a/service/kafka/api_op_BatchDisassociateScramSecret.go +++ b/service/kafka/api_op_BatchDisassociateScramSecret.go @@ -83,7 +83,10 @@ func addOperationBatchDisassociateScramSecretMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_CreateCluster.go b/service/kafka/api_op_CreateCluster.go index c05e80e2759..8bdfb4b3d13 100644 --- a/service/kafka/api_op_CreateCluster.go +++ b/service/kafka/api_op_CreateCluster.go @@ -118,7 +118,10 @@ func addOperationCreateClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_CreateConfiguration.go b/service/kafka/api_op_CreateConfiguration.go index addb1036798..c1409a33ba3 100644 --- a/service/kafka/api_op_CreateConfiguration.go +++ b/service/kafka/api_op_CreateConfiguration.go @@ -102,7 +102,10 @@ func addOperationCreateConfigurationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_DeleteCluster.go b/service/kafka/api_op_DeleteCluster.go index 75147bb1fb3..7b633f4dfec 100644 --- a/service/kafka/api_op_DeleteCluster.go +++ b/service/kafka/api_op_DeleteCluster.go @@ -82,7 +82,10 @@ func addOperationDeleteClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_DeleteConfiguration.go b/service/kafka/api_op_DeleteConfiguration.go index af3e23f7107..cf2b16cfb9f 100644 --- a/service/kafka/api_op_DeleteConfiguration.go +++ b/service/kafka/api_op_DeleteConfiguration.go @@ -78,7 +78,10 @@ func addOperationDeleteConfigurationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_DescribeCluster.go b/service/kafka/api_op_DescribeCluster.go index 8b2a830fa23..3e80a1aa1ee 100644 --- a/service/kafka/api_op_DescribeCluster.go +++ b/service/kafka/api_op_DescribeCluster.go @@ -75,7 +75,10 @@ func addOperationDescribeClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_DescribeClusterOperation.go b/service/kafka/api_op_DescribeClusterOperation.go index a7cea62da3f..b1036516ca0 100644 --- a/service/kafka/api_op_DescribeClusterOperation.go +++ b/service/kafka/api_op_DescribeClusterOperation.go @@ -75,7 +75,10 @@ func addOperationDescribeClusterOperationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_DescribeConfiguration.go b/service/kafka/api_op_DescribeConfiguration.go index 162de787b50..915d52f8c95 100644 --- a/service/kafka/api_op_DescribeConfiguration.go +++ b/service/kafka/api_op_DescribeConfiguration.go @@ -95,7 +95,10 @@ func addOperationDescribeConfigurationMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_DescribeConfigurationRevision.go b/service/kafka/api_op_DescribeConfigurationRevision.go index d487e0f56de..bfd781edeb8 100644 --- a/service/kafka/api_op_DescribeConfigurationRevision.go +++ b/service/kafka/api_op_DescribeConfigurationRevision.go @@ -95,7 +95,10 @@ func addOperationDescribeConfigurationRevisionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_GetBootstrapBrokers.go b/service/kafka/api_op_GetBootstrapBrokers.go index e34db2fc98d..8226a7bff06 100644 --- a/service/kafka/api_op_GetBootstrapBrokers.go +++ b/service/kafka/api_op_GetBootstrapBrokers.go @@ -79,7 +79,10 @@ func addOperationGetBootstrapBrokersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_GetCompatibleKafkaVersions.go b/service/kafka/api_op_GetCompatibleKafkaVersions.go index c1ce8ec8947..5656a585c81 100644 --- a/service/kafka/api_op_GetCompatibleKafkaVersions.go +++ b/service/kafka/api_op_GetCompatibleKafkaVersions.go @@ -72,7 +72,10 @@ func addOperationGetCompatibleKafkaVersionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_ListClusterOperations.go b/service/kafka/api_op_ListClusterOperations.go index 1cc83cedf79..f42fefe01b1 100644 --- a/service/kafka/api_op_ListClusterOperations.go +++ b/service/kafka/api_op_ListClusterOperations.go @@ -90,7 +90,10 @@ func addOperationListClusterOperationsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_ListClusters.go b/service/kafka/api_op_ListClusters.go index 08d79d046a7..2f59bd8edfc 100644 --- a/service/kafka/api_op_ListClusters.go +++ b/service/kafka/api_op_ListClusters.go @@ -88,7 +88,10 @@ func addOperationListClustersMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_ListConfigurationRevisions.go b/service/kafka/api_op_ListConfigurationRevisions.go index ac76974f4ed..f1fcf6531c6 100644 --- a/service/kafka/api_op_ListConfigurationRevisions.go +++ b/service/kafka/api_op_ListConfigurationRevisions.go @@ -88,7 +88,10 @@ func addOperationListConfigurationRevisionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_ListConfigurations.go b/service/kafka/api_op_ListConfigurations.go index 6e3a08cf18e..19f2a652c78 100644 --- a/service/kafka/api_op_ListConfigurations.go +++ b/service/kafka/api_op_ListConfigurations.go @@ -84,7 +84,10 @@ func addOperationListConfigurationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_ListKafkaVersions.go b/service/kafka/api_op_ListKafkaVersions.go index 178ccef344a..7076eb5cda7 100644 --- a/service/kafka/api_op_ListKafkaVersions.go +++ b/service/kafka/api_op_ListKafkaVersions.go @@ -79,7 +79,10 @@ func addOperationListKafkaVersionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_ListNodes.go b/service/kafka/api_op_ListNodes.go index 40a8ab1951a..6c55365411f 100644 --- a/service/kafka/api_op_ListNodes.go +++ b/service/kafka/api_op_ListNodes.go @@ -89,7 +89,10 @@ func addOperationListNodesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_ListScramSecrets.go b/service/kafka/api_op_ListScramSecrets.go index 5e8f59b8083..cd199183f10 100644 --- a/service/kafka/api_op_ListScramSecrets.go +++ b/service/kafka/api_op_ListScramSecrets.go @@ -83,7 +83,10 @@ func addOperationListScramSecretsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_ListTagsForResource.go b/service/kafka/api_op_ListTagsForResource.go index db31c794f67..0c9aef9539a 100644 --- a/service/kafka/api_op_ListTagsForResource.go +++ b/service/kafka/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_RebootBroker.go b/service/kafka/api_op_RebootBroker.go index af3e7c716f8..df72e8d3215 100644 --- a/service/kafka/api_op_RebootBroker.go +++ b/service/kafka/api_op_RebootBroker.go @@ -83,7 +83,10 @@ func addOperationRebootBrokerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_TagResource.go b/service/kafka/api_op_TagResource.go index d3b37e603ec..223c4e22998 100644 --- a/service/kafka/api_op_TagResource.go +++ b/service/kafka/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_UntagResource.go b/service/kafka/api_op_UntagResource.go index a1c09c2704b..c6fcef7f6eb 100644 --- a/service/kafka/api_op_UntagResource.go +++ b/service/kafka/api_op_UntagResource.go @@ -90,7 +90,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_UpdateBrokerCount.go b/service/kafka/api_op_UpdateBrokerCount.go index bf16e022e07..abe04ae1244 100644 --- a/service/kafka/api_op_UpdateBrokerCount.go +++ b/service/kafka/api_op_UpdateBrokerCount.go @@ -88,7 +88,10 @@ func addOperationUpdateBrokerCountMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_UpdateBrokerStorage.go b/service/kafka/api_op_UpdateBrokerStorage.go index d8406761b33..808ffdc35bd 100644 --- a/service/kafka/api_op_UpdateBrokerStorage.go +++ b/service/kafka/api_op_UpdateBrokerStorage.go @@ -89,7 +89,10 @@ func addOperationUpdateBrokerStorageMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_UpdateClusterConfiguration.go b/service/kafka/api_op_UpdateClusterConfiguration.go index 38c301c1bd2..ec1a02f4ac2 100644 --- a/service/kafka/api_op_UpdateClusterConfiguration.go +++ b/service/kafka/api_op_UpdateClusterConfiguration.go @@ -89,7 +89,10 @@ func addOperationUpdateClusterConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_UpdateClusterKafkaVersion.go b/service/kafka/api_op_UpdateClusterKafkaVersion.go index 9ab6ec154f0..a1dd286e0fe 100644 --- a/service/kafka/api_op_UpdateClusterKafkaVersion.go +++ b/service/kafka/api_op_UpdateClusterKafkaVersion.go @@ -90,7 +90,10 @@ func addOperationUpdateClusterKafkaVersionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_UpdateConfiguration.go b/service/kafka/api_op_UpdateConfiguration.go index 8729e7fb0fe..8ac00d3cd58 100644 --- a/service/kafka/api_op_UpdateConfiguration.go +++ b/service/kafka/api_op_UpdateConfiguration.go @@ -88,7 +88,10 @@ func addOperationUpdateConfigurationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kafka/api_op_UpdateMonitoring.go b/service/kafka/api_op_UpdateMonitoring.go index 52e7ffeaba6..8fe941bedb3 100644 --- a/service/kafka/api_op_UpdateMonitoring.go +++ b/service/kafka/api_op_UpdateMonitoring.go @@ -96,7 +96,10 @@ func addOperationUpdateMonitoringMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_BatchDeleteDocument.go b/service/kendra/api_op_BatchDeleteDocument.go index 51952695daa..1e0771c5426 100644 --- a/service/kendra/api_op_BatchDeleteDocument.go +++ b/service/kendra/api_op_BatchDeleteDocument.go @@ -87,7 +87,10 @@ func addOperationBatchDeleteDocumentMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_BatchPutDocument.go b/service/kendra/api_op_BatchPutDocument.go index 28e8acc831e..416e6150c26 100644 --- a/service/kendra/api_op_BatchPutDocument.go +++ b/service/kendra/api_op_BatchPutDocument.go @@ -109,7 +109,10 @@ func addOperationBatchPutDocumentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_CreateDataSource.go b/service/kendra/api_op_CreateDataSource.go index 916875fee5c..9ac4204b01c 100644 --- a/service/kendra/api_op_CreateDataSource.go +++ b/service/kendra/api_op_CreateDataSource.go @@ -127,7 +127,10 @@ func addOperationCreateDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_CreateFaq.go b/service/kendra/api_op_CreateFaq.go index 7cf878d3bd0..eb7be3a7bf2 100644 --- a/service/kendra/api_op_CreateFaq.go +++ b/service/kendra/api_op_CreateFaq.go @@ -112,7 +112,10 @@ func addOperationCreateFaqMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_CreateIndex.go b/service/kendra/api_op_CreateIndex.go index 43768667582..281c5328373 100644 --- a/service/kendra/api_op_CreateIndex.go +++ b/service/kendra/api_op_CreateIndex.go @@ -121,7 +121,10 @@ func addOperationCreateIndexMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_CreateThesaurus.go b/service/kendra/api_op_CreateThesaurus.go index ba08f835cd1..2bc13f4d03d 100644 --- a/service/kendra/api_op_CreateThesaurus.go +++ b/service/kendra/api_op_CreateThesaurus.go @@ -104,7 +104,10 @@ func addOperationCreateThesaurusMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_DeleteDataSource.go b/service/kendra/api_op_DeleteDataSource.go index ebdff7d17c2..8e4d6a167fe 100644 --- a/service/kendra/api_op_DeleteDataSource.go +++ b/service/kendra/api_op_DeleteDataSource.go @@ -78,7 +78,10 @@ func addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_DeleteFaq.go b/service/kendra/api_op_DeleteFaq.go index c3253f19ed3..a61c174b48d 100644 --- a/service/kendra/api_op_DeleteFaq.go +++ b/service/kendra/api_op_DeleteFaq.go @@ -74,7 +74,10 @@ func addOperationDeleteFaqMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_DeleteIndex.go b/service/kendra/api_op_DeleteIndex.go index 1f6228929a8..45ff8c98f75 100644 --- a/service/kendra/api_op_DeleteIndex.go +++ b/service/kendra/api_op_DeleteIndex.go @@ -71,7 +71,10 @@ func addOperationDeleteIndexMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_DeleteThesaurus.go b/service/kendra/api_op_DeleteThesaurus.go index a7fe97bb2e9..eab21c183d9 100644 --- a/service/kendra/api_op_DeleteThesaurus.go +++ b/service/kendra/api_op_DeleteThesaurus.go @@ -74,7 +74,10 @@ func addOperationDeleteThesaurusMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_DescribeDataSource.go b/service/kendra/api_op_DescribeDataSource.go index ce77aae1b98..a025f8d28b8 100644 --- a/service/kendra/api_op_DescribeDataSource.go +++ b/service/kendra/api_op_DescribeDataSource.go @@ -119,7 +119,10 @@ func addOperationDescribeDataSourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_DescribeFaq.go b/service/kendra/api_op_DescribeFaq.go index ecb8422c6ae..49ed5d18b47 100644 --- a/service/kendra/api_op_DescribeFaq.go +++ b/service/kendra/api_op_DescribeFaq.go @@ -112,7 +112,10 @@ func addOperationDescribeFaqMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_DescribeIndex.go b/service/kendra/api_op_DescribeIndex.go index 6210e01eb0b..1a6831941b5 100644 --- a/service/kendra/api_op_DescribeIndex.go +++ b/service/kendra/api_op_DescribeIndex.go @@ -127,7 +127,10 @@ func addOperationDescribeIndexMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_DescribeThesaurus.go b/service/kendra/api_op_DescribeThesaurus.go index 6d33aba9cf0..f394ba7000b 100644 --- a/service/kendra/api_op_DescribeThesaurus.go +++ b/service/kendra/api_op_DescribeThesaurus.go @@ -123,7 +123,10 @@ func addOperationDescribeThesaurusMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_ListDataSourceSyncJobs.go b/service/kendra/api_op_ListDataSourceSyncJobs.go index 0f393dee77d..b735d21900d 100644 --- a/service/kendra/api_op_ListDataSourceSyncJobs.go +++ b/service/kendra/api_op_ListDataSourceSyncJobs.go @@ -103,7 +103,10 @@ func addOperationListDataSourceSyncJobsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_ListDataSources.go b/service/kendra/api_op_ListDataSources.go index 2ca97da92f8..b35668d8734 100644 --- a/service/kendra/api_op_ListDataSources.go +++ b/service/kendra/api_op_ListDataSources.go @@ -88,7 +88,10 @@ func addOperationListDataSourcesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_ListFaqs.go b/service/kendra/api_op_ListFaqs.go index e80fedf3894..696c0522baa 100644 --- a/service/kendra/api_op_ListFaqs.go +++ b/service/kendra/api_op_ListFaqs.go @@ -88,7 +88,10 @@ func addOperationListFaqsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_ListIndices.go b/service/kendra/api_op_ListIndices.go index 014239ed4be..2448c1ec262 100644 --- a/service/kendra/api_op_ListIndices.go +++ b/service/kendra/api_op_ListIndices.go @@ -83,7 +83,10 @@ func addOperationListIndicesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_ListTagsForResource.go b/service/kendra/api_op_ListTagsForResource.go index 0ea00bdf748..1454b32438c 100644 --- a/service/kendra/api_op_ListTagsForResource.go +++ b/service/kendra/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_ListThesauri.go b/service/kendra/api_op_ListThesauri.go index 4b14cc03e84..069d984dc17 100644 --- a/service/kendra/api_op_ListThesauri.go +++ b/service/kendra/api_op_ListThesauri.go @@ -87,7 +87,10 @@ func addOperationListThesauriMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_Query.go b/service/kendra/api_op_Query.go index 54bf8a7408a..cdb1ba1d187 100644 --- a/service/kendra/api_op_Query.go +++ b/service/kendra/api_op_Query.go @@ -155,7 +155,10 @@ func addOperationQueryMiddlewares(stack *middleware.Stack, options Options) (err if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_StartDataSourceSyncJob.go b/service/kendra/api_op_StartDataSourceSyncJob.go index 9cb336b26da..b6f8824dcad 100644 --- a/service/kendra/api_op_StartDataSourceSyncJob.go +++ b/service/kendra/api_op_StartDataSourceSyncJob.go @@ -79,7 +79,10 @@ func addOperationStartDataSourceSyncJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_StopDataSourceSyncJob.go b/service/kendra/api_op_StopDataSourceSyncJob.go index a57f5bdd0a4..e1e767bee3e 100644 --- a/service/kendra/api_op_StopDataSourceSyncJob.go +++ b/service/kendra/api_op_StopDataSourceSyncJob.go @@ -75,7 +75,10 @@ func addOperationStopDataSourceSyncJobMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_SubmitFeedback.go b/service/kendra/api_op_SubmitFeedback.go index f20277737d0..6a2f919f1de 100644 --- a/service/kendra/api_op_SubmitFeedback.go +++ b/service/kendra/api_op_SubmitFeedback.go @@ -84,7 +84,10 @@ func addOperationSubmitFeedbackMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_TagResource.go b/service/kendra/api_op_TagResource.go index 586a3c69e27..661c895387c 100644 --- a/service/kendra/api_op_TagResource.go +++ b/service/kendra/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_UntagResource.go b/service/kendra/api_op_UntagResource.go index cc9c15f5c1b..2ab55cf82ca 100644 --- a/service/kendra/api_op_UntagResource.go +++ b/service/kendra/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_UpdateDataSource.go b/service/kendra/api_op_UpdateDataSource.go index 32a47445af4..58e7f04251d 100644 --- a/service/kendra/api_op_UpdateDataSource.go +++ b/service/kendra/api_op_UpdateDataSource.go @@ -93,7 +93,10 @@ func addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_UpdateIndex.go b/service/kendra/api_op_UpdateIndex.go index a74786651ed..ebd4f0735f2 100644 --- a/service/kendra/api_op_UpdateIndex.go +++ b/service/kendra/api_op_UpdateIndex.go @@ -95,7 +95,10 @@ func addOperationUpdateIndexMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kendra/api_op_UpdateThesaurus.go b/service/kendra/api_op_UpdateThesaurus.go index 4e37989c950..835f4774d87 100644 --- a/service/kendra/api_op_UpdateThesaurus.go +++ b/service/kendra/api_op_UpdateThesaurus.go @@ -87,7 +87,10 @@ func addOperationUpdateThesaurusMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_AddTagsToStream.go b/service/kinesis/api_op_AddTagsToStream.go index d2b0b39c18f..d10a28a08f2 100644 --- a/service/kinesis/api_op_AddTagsToStream.go +++ b/service/kinesis/api_op_AddTagsToStream.go @@ -81,7 +81,10 @@ func addOperationAddTagsToStreamMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_CreateStream.go b/service/kinesis/api_op_CreateStream.go index e01e22c2b57..6e468bcd12d 100644 --- a/service/kinesis/api_op_CreateStream.go +++ b/service/kinesis/api_op_CreateStream.go @@ -114,7 +114,10 @@ func addOperationCreateStreamMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go b/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go index 140ec64d5ad..d4468b25abe 100644 --- a/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go +++ b/service/kinesis/api_op_DecreaseStreamRetentionPeriod.go @@ -81,7 +81,10 @@ func addOperationDecreaseStreamRetentionPeriodMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_DeleteStream.go b/service/kinesis/api_op_DeleteStream.go index 04eac487a53..950dc91bcdb 100644 --- a/service/kinesis/api_op_DeleteStream.go +++ b/service/kinesis/api_op_DeleteStream.go @@ -87,7 +87,10 @@ func addOperationDeleteStreamMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_DeregisterStreamConsumer.go b/service/kinesis/api_op_DeregisterStreamConsumer.go index 124b3fdba16..8d887462dea 100644 --- a/service/kinesis/api_op_DeregisterStreamConsumer.go +++ b/service/kinesis/api_op_DeregisterStreamConsumer.go @@ -86,7 +86,10 @@ func addOperationDeregisterStreamConsumerMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_DescribeLimits.go b/service/kinesis/api_op_DescribeLimits.go index b5b5990bc2a..d2ab354f152 100644 --- a/service/kinesis/api_op_DescribeLimits.go +++ b/service/kinesis/api_op_DescribeLimits.go @@ -77,7 +77,10 @@ func addOperationDescribeLimitsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_DescribeStream.go b/service/kinesis/api_op_DescribeStream.go index a812298809a..47f9b8baf33 100644 --- a/service/kinesis/api_op_DescribeStream.go +++ b/service/kinesis/api_op_DescribeStream.go @@ -107,7 +107,10 @@ func addOperationDescribeStreamMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_DescribeStreamConsumer.go b/service/kinesis/api_op_DescribeStreamConsumer.go index 7e4b78351d7..b52ae9a048a 100644 --- a/service/kinesis/api_op_DescribeStreamConsumer.go +++ b/service/kinesis/api_op_DescribeStreamConsumer.go @@ -89,7 +89,10 @@ func addOperationDescribeStreamConsumerMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_DescribeStreamSummary.go b/service/kinesis/api_op_DescribeStreamSummary.go index 487351ee6ee..cb002f3dbe4 100644 --- a/service/kinesis/api_op_DescribeStreamSummary.go +++ b/service/kinesis/api_op_DescribeStreamSummary.go @@ -80,7 +80,10 @@ func addOperationDescribeStreamSummaryMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_DisableEnhancedMonitoring.go b/service/kinesis/api_op_DisableEnhancedMonitoring.go index 7aec599d315..f825ea7be47 100644 --- a/service/kinesis/api_op_DisableEnhancedMonitoring.go +++ b/service/kinesis/api_op_DisableEnhancedMonitoring.go @@ -115,7 +115,10 @@ func addOperationDisableEnhancedMonitoringMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_EnableEnhancedMonitoring.go b/service/kinesis/api_op_EnableEnhancedMonitoring.go index 2d48e602f2e..d0bb00af880 100644 --- a/service/kinesis/api_op_EnableEnhancedMonitoring.go +++ b/service/kinesis/api_op_EnableEnhancedMonitoring.go @@ -115,7 +115,10 @@ func addOperationEnableEnhancedMonitoringMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_GetRecords.go b/service/kinesis/api_op_GetRecords.go index 5433ac67751..54f20689d08 100644 --- a/service/kinesis/api_op_GetRecords.go +++ b/service/kinesis/api_op_GetRecords.go @@ -146,7 +146,10 @@ func addOperationGetRecordsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_GetShardIterator.go b/service/kinesis/api_op_GetShardIterator.go index 702bfc75d76..bbe13b3bc14 100644 --- a/service/kinesis/api_op_GetShardIterator.go +++ b/service/kinesis/api_op_GetShardIterator.go @@ -151,7 +151,10 @@ func addOperationGetShardIteratorMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go b/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go index 120df3cb59b..a0557e7b51f 100644 --- a/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go +++ b/service/kinesis/api_op_IncreaseStreamRetentionPeriod.go @@ -84,7 +84,10 @@ func addOperationIncreaseStreamRetentionPeriodMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_ListShards.go b/service/kinesis/api_op_ListShards.go index 415f8fd2ad4..70936963316 100644 --- a/service/kinesis/api_op_ListShards.go +++ b/service/kinesis/api_op_ListShards.go @@ -136,7 +136,10 @@ func addOperationListShardsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_ListStreamConsumers.go b/service/kinesis/api_op_ListStreamConsumers.go index be9af9a8a6a..c801a80361b 100644 --- a/service/kinesis/api_op_ListStreamConsumers.go +++ b/service/kinesis/api_op_ListStreamConsumers.go @@ -124,7 +124,10 @@ func addOperationListStreamConsumersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_ListStreams.go b/service/kinesis/api_op_ListStreams.go index e3dbf2984cb..73b7dd761ef 100644 --- a/service/kinesis/api_op_ListStreams.go +++ b/service/kinesis/api_op_ListStreams.go @@ -95,7 +95,10 @@ func addOperationListStreamsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_ListTagsForStream.go b/service/kinesis/api_op_ListTagsForStream.go index 4a106103ed9..84fc7d2bcd3 100644 --- a/service/kinesis/api_op_ListTagsForStream.go +++ b/service/kinesis/api_op_ListTagsForStream.go @@ -95,7 +95,10 @@ func addOperationListTagsForStreamMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_MergeShards.go b/service/kinesis/api_op_MergeShards.go index 359729281cf..3cbfa896cbe 100644 --- a/service/kinesis/api_op_MergeShards.go +++ b/service/kinesis/api_op_MergeShards.go @@ -107,7 +107,10 @@ func addOperationMergeShardsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_PutRecord.go b/service/kinesis/api_op_PutRecord.go index 07575972e59..4194bd3f50e 100644 --- a/service/kinesis/api_op_PutRecord.go +++ b/service/kinesis/api_op_PutRecord.go @@ -160,7 +160,10 @@ func addOperationPutRecordMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_PutRecords.go b/service/kinesis/api_op_PutRecords.go index e9d02499fff..da740f2ac8f 100644 --- a/service/kinesis/api_op_PutRecords.go +++ b/service/kinesis/api_op_PutRecords.go @@ -150,7 +150,10 @@ func addOperationPutRecordsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_RegisterStreamConsumer.go b/service/kinesis/api_op_RegisterStreamConsumer.go index 2c675c7607b..e2615735840 100644 --- a/service/kinesis/api_op_RegisterStreamConsumer.go +++ b/service/kinesis/api_op_RegisterStreamConsumer.go @@ -96,7 +96,10 @@ func addOperationRegisterStreamConsumerMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_RemoveTagsFromStream.go b/service/kinesis/api_op_RemoveTagsFromStream.go index 943b619a53b..99d8d56ea24 100644 --- a/service/kinesis/api_op_RemoveTagsFromStream.go +++ b/service/kinesis/api_op_RemoveTagsFromStream.go @@ -78,7 +78,10 @@ func addOperationRemoveTagsFromStreamMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_SplitShard.go b/service/kinesis/api_op_SplitShard.go index 9f11732233a..36d275b6612 100644 --- a/service/kinesis/api_op_SplitShard.go +++ b/service/kinesis/api_op_SplitShard.go @@ -123,7 +123,10 @@ func addOperationSplitShardMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_StartStreamEncryption.go b/service/kinesis/api_op_StartStreamEncryption.go index 0bd329d5748..22d0dfadf1b 100644 --- a/service/kinesis/api_op_StartStreamEncryption.go +++ b/service/kinesis/api_op_StartStreamEncryption.go @@ -112,7 +112,10 @@ func addOperationStartStreamEncryptionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_StopStreamEncryption.go b/service/kinesis/api_op_StopStreamEncryption.go index 21eba61e2af..a095366ef44 100644 --- a/service/kinesis/api_op_StopStreamEncryption.go +++ b/service/kinesis/api_op_StopStreamEncryption.go @@ -111,7 +111,10 @@ func addOperationStopStreamEncryptionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesis/api_op_UpdateShardCount.go b/service/kinesis/api_op_UpdateShardCount.go index 5710ef5d49c..4d920a43c7b 100644 --- a/service/kinesis/api_op_UpdateShardCount.go +++ b/service/kinesis/api_op_UpdateShardCount.go @@ -143,7 +143,10 @@ func addOperationUpdateShardCountMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go b/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go index 71dc0e72242..7d968a9828e 100644 --- a/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalytics/api_op_AddApplicationCloudWatchLoggingOption.go @@ -89,7 +89,10 @@ func addOperationAddApplicationCloudWatchLoggingOptionMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_AddApplicationInput.go b/service/kinesisanalytics/api_op_AddApplicationInput.go index 5fdf3460156..277b588cfa8 100644 --- a/service/kinesisanalytics/api_op_AddApplicationInput.go +++ b/service/kinesisanalytics/api_op_AddApplicationInput.go @@ -102,7 +102,10 @@ func addOperationAddApplicationInputMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go b/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go index 5d152cd36a2..827cff33a45 100644 --- a/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalytics/api_op_AddApplicationInputProcessingConfiguration.go @@ -103,7 +103,10 @@ func addOperationAddApplicationInputProcessingConfigurationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_AddApplicationOutput.go b/service/kinesisanalytics/api_op_AddApplicationOutput.go index 7c187bdc71b..c17d3a3dbb3 100644 --- a/service/kinesisanalytics/api_op_AddApplicationOutput.go +++ b/service/kinesisanalytics/api_op_AddApplicationOutput.go @@ -113,7 +113,10 @@ func addOperationAddApplicationOutputMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go b/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go index d0be4dfb1e2..38987d60aef 100644 --- a/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go +++ b/service/kinesisanalytics/api_op_AddApplicationReferenceDataSource.go @@ -106,7 +106,10 @@ func addOperationAddApplicationReferenceDataSourceMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_CreateApplication.go b/service/kinesisanalytics/api_op_CreateApplication.go index f7092a464ca..fe7959655b2 100644 --- a/service/kinesisanalytics/api_op_CreateApplication.go +++ b/service/kinesisanalytics/api_op_CreateApplication.go @@ -162,7 +162,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_DeleteApplication.go b/service/kinesisanalytics/api_op_DeleteApplication.go index edf5b7ca26c..1c5a555d02b 100644 --- a/service/kinesisanalytics/api_op_DeleteApplication.go +++ b/service/kinesisanalytics/api_op_DeleteApplication.go @@ -84,7 +84,10 @@ func addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go b/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go index d3999eee889..352e7b78496 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationCloudWatchLoggingOption.go @@ -88,7 +88,10 @@ func addOperationDeleteApplicationCloudWatchLoggingOptionMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go b/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go index d56c43f00e0..025c2ead993 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationInputProcessingConfiguration.go @@ -88,7 +88,10 @@ func addOperationDeleteApplicationInputProcessingConfigurationMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_DeleteApplicationOutput.go b/service/kinesisanalytics/api_op_DeleteApplicationOutput.go index ec593bab2f8..2158d55141e 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationOutput.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationOutput.go @@ -100,7 +100,10 @@ func addOperationDeleteApplicationOutputMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go b/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go index 4247c607d6b..a36511ab94f 100644 --- a/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go +++ b/service/kinesisanalytics/api_op_DeleteApplicationReferenceDataSource.go @@ -96,7 +96,10 @@ func addOperationDeleteApplicationReferenceDataSourceMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_DescribeApplication.go b/service/kinesisanalytics/api_op_DescribeApplication.go index a4055f0ba19..441cb994d50 100644 --- a/service/kinesisanalytics/api_op_DescribeApplication.go +++ b/service/kinesisanalytics/api_op_DescribeApplication.go @@ -90,7 +90,10 @@ func addOperationDescribeApplicationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_DiscoverInputSchema.go b/service/kinesisanalytics/api_op_DiscoverInputSchema.go index 803d537acd4..56667191df1 100644 --- a/service/kinesisanalytics/api_op_DiscoverInputSchema.go +++ b/service/kinesisanalytics/api_op_DiscoverInputSchema.go @@ -115,7 +115,10 @@ func addOperationDiscoverInputSchemaMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_ListApplications.go b/service/kinesisanalytics/api_op_ListApplications.go index 861293dd7f3..e25d9b7142c 100644 --- a/service/kinesisanalytics/api_op_ListApplications.go +++ b/service/kinesisanalytics/api_op_ListApplications.go @@ -101,7 +101,10 @@ func addOperationListApplicationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_ListTagsForResource.go b/service/kinesisanalytics/api_op_ListTagsForResource.go index 4332f08769e..b04aba5b1d4 100644 --- a/service/kinesisanalytics/api_op_ListTagsForResource.go +++ b/service/kinesisanalytics/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_StartApplication.go b/service/kinesisanalytics/api_op_StartApplication.go index 5d19d0ba671..d3951a3d44c 100644 --- a/service/kinesisanalytics/api_op_StartApplication.go +++ b/service/kinesisanalytics/api_op_StartApplication.go @@ -95,7 +95,10 @@ func addOperationStartApplicationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_StopApplication.go b/service/kinesisanalytics/api_op_StopApplication.go index 2fe2608ebd1..d46ddb64f94 100644 --- a/service/kinesisanalytics/api_op_StopApplication.go +++ b/service/kinesisanalytics/api_op_StopApplication.go @@ -82,7 +82,10 @@ func addOperationStopApplicationMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_TagResource.go b/service/kinesisanalytics/api_op_TagResource.go index 300f9fa7e11..ec1c65b383d 100644 --- a/service/kinesisanalytics/api_op_TagResource.go +++ b/service/kinesisanalytics/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_UntagResource.go b/service/kinesisanalytics/api_op_UntagResource.go index fd05f1828b8..9f174469ae3 100644 --- a/service/kinesisanalytics/api_op_UntagResource.go +++ b/service/kinesisanalytics/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalytics/api_op_UpdateApplication.go b/service/kinesisanalytics/api_op_UpdateApplication.go index 6dd5faa35fa..0aa79e7be20 100644 --- a/service/kinesisanalytics/api_op_UpdateApplication.go +++ b/service/kinesisanalytics/api_op_UpdateApplication.go @@ -90,7 +90,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go b/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go index 6969e9844f6..d7dafc6712e 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationCloudWatchLoggingOption.go @@ -95,7 +95,10 @@ func addOperationAddApplicationCloudWatchLoggingOptionMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationInput.go b/service/kinesisanalyticsv2/api_op_AddApplicationInput.go index 3f6115df5eb..9a21bff6ee8 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationInput.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationInput.go @@ -98,7 +98,10 @@ func addOperationAddApplicationInputMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go b/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go index 66e9ebad0e0..2a51f195500 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationInputProcessingConfiguration.go @@ -110,7 +110,10 @@ func addOperationAddApplicationInputProcessingConfigurationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go b/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go index aaf9aac8db1..9e5cace5c2b 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationOutput.go @@ -111,7 +111,10 @@ func addOperationAddApplicationOutputMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go b/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go index db3d11b8e11..c7b86738b7a 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationReferenceDataSource.go @@ -103,7 +103,10 @@ func addOperationAddApplicationReferenceDataSourceMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go b/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go index cb8b204671f..464c4de223b 100644 --- a/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_AddApplicationVpcConfiguration.go @@ -104,7 +104,10 @@ func addOperationAddApplicationVpcConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_CreateApplication.go b/service/kinesisanalyticsv2/api_op_CreateApplication.go index aa45fff71f4..6fef8148aa6 100644 --- a/service/kinesisanalyticsv2/api_op_CreateApplication.go +++ b/service/kinesisanalyticsv2/api_op_CreateApplication.go @@ -107,7 +107,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go b/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go index 6e4582d9fee..90bf3275b72 100644 --- a/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go +++ b/service/kinesisanalyticsv2/api_op_CreateApplicationPresignedUrl.go @@ -91,7 +91,10 @@ func addOperationCreateApplicationPresignedUrlMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go b/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go index 151864a5c47..345f3232209 100644 --- a/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go +++ b/service/kinesisanalyticsv2/api_op_CreateApplicationSnapshot.go @@ -74,7 +74,10 @@ func addOperationCreateApplicationSnapshotMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplication.go b/service/kinesisanalyticsv2/api_op_DeleteApplication.go index 1fc6cf092c0..962b9f490ad 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplication.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplication.go @@ -76,7 +76,10 @@ func addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go index 2f81613d61b..46e8520448a 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationCloudWatchLoggingOption.go @@ -96,7 +96,10 @@ func addOperationDeleteApplicationCloudWatchLoggingOptionMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go index 7c187ba89c3..41683e32708 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationInputProcessingConfiguration.go @@ -90,7 +90,10 @@ func addOperationDeleteApplicationInputProcessingConfigurationMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go index 1b91f7b6058..73d43a0e805 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationOutput.go @@ -96,7 +96,10 @@ func addOperationDeleteApplicationOutputMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go index 247b349b842..b9a58b029c2 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationReferenceDataSource.go @@ -94,7 +94,10 @@ func addOperationDeleteApplicationReferenceDataSourceMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go index 87e3c7fa224..861f906ee39 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationSnapshot.go @@ -81,7 +81,10 @@ func addOperationDeleteApplicationSnapshotMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go b/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go index a267314edf9..70d95989678 100644 --- a/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go +++ b/service/kinesisanalyticsv2/api_op_DeleteApplicationVpcConfiguration.go @@ -87,7 +87,10 @@ func addOperationDeleteApplicationVpcConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DescribeApplication.go b/service/kinesisanalyticsv2/api_op_DescribeApplication.go index 6d9c2d5dda3..496c363d66f 100644 --- a/service/kinesisanalyticsv2/api_op_DescribeApplication.go +++ b/service/kinesisanalyticsv2/api_op_DescribeApplication.go @@ -83,7 +83,10 @@ func addOperationDescribeApplicationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go b/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go index ff38022f06c..24c33f177af 100644 --- a/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go +++ b/service/kinesisanalyticsv2/api_op_DescribeApplicationSnapshot.go @@ -81,7 +81,10 @@ func addOperationDescribeApplicationSnapshotMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go b/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go index 51acf91370b..3fba365eec3 100644 --- a/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go +++ b/service/kinesisanalyticsv2/api_op_DiscoverInputSchema.go @@ -108,7 +108,10 @@ func addOperationDiscoverInputSchemaMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go b/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go index d3cda58f047..0d8c9d6ca9d 100644 --- a/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go +++ b/service/kinesisanalyticsv2/api_op_ListApplicationSnapshots.go @@ -87,7 +87,10 @@ func addOperationListApplicationSnapshotsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_ListApplications.go b/service/kinesisanalyticsv2/api_op_ListApplications.go index 432fcd58aaa..ac62d6862f5 100644 --- a/service/kinesisanalyticsv2/api_op_ListApplications.go +++ b/service/kinesisanalyticsv2/api_op_ListApplications.go @@ -90,7 +90,10 @@ func addOperationListApplicationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_ListTagsForResource.go b/service/kinesisanalyticsv2/api_op_ListTagsForResource.go index 3c31004baa4..b76a5867e78 100644 --- a/service/kinesisanalyticsv2/api_op_ListTagsForResource.go +++ b/service/kinesisanalyticsv2/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_StartApplication.go b/service/kinesisanalyticsv2/api_op_StartApplication.go index 741f119b726..ccb490dc80f 100644 --- a/service/kinesisanalyticsv2/api_op_StartApplication.go +++ b/service/kinesisanalyticsv2/api_op_StartApplication.go @@ -77,7 +77,10 @@ func addOperationStartApplicationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_StopApplication.go b/service/kinesisanalyticsv2/api_op_StopApplication.go index e83a0e93652..d3c511813cb 100644 --- a/service/kinesisanalyticsv2/api_op_StopApplication.go +++ b/service/kinesisanalyticsv2/api_op_StopApplication.go @@ -83,7 +83,10 @@ func addOperationStopApplicationMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_TagResource.go b/service/kinesisanalyticsv2/api_op_TagResource.go index 2bc76968d90..2e9ef595ee8 100644 --- a/service/kinesisanalyticsv2/api_op_TagResource.go +++ b/service/kinesisanalyticsv2/api_op_TagResource.go @@ -79,7 +79,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_UntagResource.go b/service/kinesisanalyticsv2/api_op_UntagResource.go index 2050226bf32..1f328a8db47 100644 --- a/service/kinesisanalyticsv2/api_op_UntagResource.go +++ b/service/kinesisanalyticsv2/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisanalyticsv2/api_op_UpdateApplication.go b/service/kinesisanalyticsv2/api_op_UpdateApplication.go index bac09ab32e0..55b801db481 100644 --- a/service/kinesisanalyticsv2/api_op_UpdateApplication.go +++ b/service/kinesisanalyticsv2/api_op_UpdateApplication.go @@ -101,7 +101,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_CreateSignalingChannel.go b/service/kinesisvideo/api_op_CreateSignalingChannel.go index 62ef6859bc6..6a32426e5d6 100644 --- a/service/kinesisvideo/api_op_CreateSignalingChannel.go +++ b/service/kinesisvideo/api_op_CreateSignalingChannel.go @@ -86,7 +86,10 @@ func addOperationCreateSignalingChannelMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_CreateStream.go b/service/kinesisvideo/api_op_CreateStream.go index eae1335ceae..10875320f56 100644 --- a/service/kinesisvideo/api_op_CreateStream.go +++ b/service/kinesisvideo/api_op_CreateStream.go @@ -112,7 +112,10 @@ func addOperationCreateStreamMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_DeleteSignalingChannel.go b/service/kinesisvideo/api_op_DeleteSignalingChannel.go index e9ed37dd975..32d23c4f597 100644 --- a/service/kinesisvideo/api_op_DeleteSignalingChannel.go +++ b/service/kinesisvideo/api_op_DeleteSignalingChannel.go @@ -76,7 +76,10 @@ func addOperationDeleteSignalingChannelMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_DeleteStream.go b/service/kinesisvideo/api_op_DeleteStream.go index 0a115633b0d..8a7281ccac0 100644 --- a/service/kinesisvideo/api_op_DeleteStream.go +++ b/service/kinesisvideo/api_op_DeleteStream.go @@ -82,7 +82,10 @@ func addOperationDeleteStreamMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_DescribeSignalingChannel.go b/service/kinesisvideo/api_op_DescribeSignalingChannel.go index d7519a8b751..91458f7f351 100644 --- a/service/kinesisvideo/api_op_DescribeSignalingChannel.go +++ b/service/kinesisvideo/api_op_DescribeSignalingChannel.go @@ -78,7 +78,10 @@ func addOperationDescribeSignalingChannelMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_DescribeStream.go b/service/kinesisvideo/api_op_DescribeStream.go index ce021511b5c..02d62bf8448 100644 --- a/service/kinesisvideo/api_op_DescribeStream.go +++ b/service/kinesisvideo/api_op_DescribeStream.go @@ -76,7 +76,10 @@ func addOperationDescribeStreamMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_GetDataEndpoint.go b/service/kinesisvideo/api_op_GetDataEndpoint.go index 6b46c68301f..384077a6165 100644 --- a/service/kinesisvideo/api_op_GetDataEndpoint.go +++ b/service/kinesisvideo/api_op_GetDataEndpoint.go @@ -88,7 +88,10 @@ func addOperationGetDataEndpointMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go b/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go index 14ed2947df4..399726829d0 100644 --- a/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go +++ b/service/kinesisvideo/api_op_GetSignalingChannelEndpoint.go @@ -88,7 +88,10 @@ func addOperationGetSignalingChannelEndpointMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_ListSignalingChannels.go b/service/kinesisvideo/api_op_ListSignalingChannels.go index c0ee4dd560c..d3bcc18e11b 100644 --- a/service/kinesisvideo/api_op_ListSignalingChannels.go +++ b/service/kinesisvideo/api_op_ListSignalingChannels.go @@ -87,7 +87,10 @@ func addOperationListSignalingChannelsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_ListStreams.go b/service/kinesisvideo/api_op_ListStreams.go index edaa4b58078..70d8e1ec154 100644 --- a/service/kinesisvideo/api_op_ListStreams.go +++ b/service/kinesisvideo/api_op_ListStreams.go @@ -88,7 +88,10 @@ func addOperationListStreamsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_ListTagsForResource.go b/service/kinesisvideo/api_op_ListTagsForResource.go index 97572d8dfed..c87b82cc82a 100644 --- a/service/kinesisvideo/api_op_ListTagsForResource.go +++ b/service/kinesisvideo/api_op_ListTagsForResource.go @@ -84,7 +84,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_ListTagsForStream.go b/service/kinesisvideo/api_op_ListTagsForStream.go index 72020a0603c..07c53c9a3aa 100644 --- a/service/kinesisvideo/api_op_ListTagsForStream.go +++ b/service/kinesisvideo/api_op_ListTagsForStream.go @@ -85,7 +85,10 @@ func addOperationListTagsForStreamMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_TagResource.go b/service/kinesisvideo/api_op_TagResource.go index 4f843dc6c3c..f4da40b80de 100644 --- a/service/kinesisvideo/api_op_TagResource.go +++ b/service/kinesisvideo/api_op_TagResource.go @@ -82,7 +82,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_TagStream.go b/service/kinesisvideo/api_op_TagStream.go index 13ea55e21d8..ac6f1791dcf 100644 --- a/service/kinesisvideo/api_op_TagStream.go +++ b/service/kinesisvideo/api_op_TagStream.go @@ -84,7 +84,10 @@ func addOperationTagStreamMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_UntagResource.go b/service/kinesisvideo/api_op_UntagResource.go index d3b52841650..2a8c27d6e5a 100644 --- a/service/kinesisvideo/api_op_UntagResource.go +++ b/service/kinesisvideo/api_op_UntagResource.go @@ -77,7 +77,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_UntagStream.go b/service/kinesisvideo/api_op_UntagStream.go index e389eab8beb..6bbb08c43ec 100644 --- a/service/kinesisvideo/api_op_UntagStream.go +++ b/service/kinesisvideo/api_op_UntagStream.go @@ -77,7 +77,10 @@ func addOperationUntagStreamMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_UpdateDataRetention.go b/service/kinesisvideo/api_op_UpdateDataRetention.go index 30b6405f2a3..d12df04af69 100644 --- a/service/kinesisvideo/api_op_UpdateDataRetention.go +++ b/service/kinesisvideo/api_op_UpdateDataRetention.go @@ -106,7 +106,10 @@ func addOperationUpdateDataRetentionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_UpdateSignalingChannel.go b/service/kinesisvideo/api_op_UpdateSignalingChannel.go index 1d597738711..8cffb4e8781 100644 --- a/service/kinesisvideo/api_op_UpdateSignalingChannel.go +++ b/service/kinesisvideo/api_op_UpdateSignalingChannel.go @@ -83,7 +83,10 @@ func addOperationUpdateSignalingChannelMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideo/api_op_UpdateStream.go b/service/kinesisvideo/api_op_UpdateStream.go index 10f11612be2..79d0025e46e 100644 --- a/service/kinesisvideo/api_op_UpdateStream.go +++ b/service/kinesisvideo/api_op_UpdateStream.go @@ -96,7 +96,10 @@ func addOperationUpdateStreamMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideoarchivedmedia/api_op_GetClip.go b/service/kinesisvideoarchivedmedia/api_op_GetClip.go index d999cf90d86..0d75b6f0cb3 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetClip.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetClip.go @@ -126,7 +126,10 @@ func addOperationGetClipMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go b/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go index f61d7a37400..b0d150d3734 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetDASHStreamingSessionURL.go @@ -311,7 +311,10 @@ func addOperationGetDASHStreamingSessionURLMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go b/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go index 1ec0f64123b..dc4c77b976e 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetHLSStreamingSessionURL.go @@ -361,7 +361,10 @@ func addOperationGetHLSStreamingSessionURLMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go b/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go index 38a93872cca..f1004c3ecc8 100644 --- a/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go +++ b/service/kinesisvideoarchivedmedia/api_op_GetMediaForFragmentList.go @@ -141,7 +141,10 @@ func addOperationGetMediaForFragmentListMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideoarchivedmedia/api_op_ListFragments.go b/service/kinesisvideoarchivedmedia/api_op_ListFragments.go index ed03ecaa58a..2e52904f059 100644 --- a/service/kinesisvideoarchivedmedia/api_op_ListFragments.go +++ b/service/kinesisvideoarchivedmedia/api_op_ListFragments.go @@ -120,7 +120,10 @@ func addOperationListFragmentsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideomedia/api_op_GetMedia.go b/service/kinesisvideomedia/api_op_GetMedia.go index b9f7f638dbc..cb846afa51d 100644 --- a/service/kinesisvideomedia/api_op_GetMedia.go +++ b/service/kinesisvideomedia/api_op_GetMedia.go @@ -183,7 +183,10 @@ func addOperationGetMediaMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideosignaling/api_op_GetIceServerConfig.go b/service/kinesisvideosignaling/api_op_GetIceServerConfig.go index 130ada5d61d..a6ddb65a70e 100644 --- a/service/kinesisvideosignaling/api_op_GetIceServerConfig.go +++ b/service/kinesisvideosignaling/api_op_GetIceServerConfig.go @@ -97,7 +97,10 @@ func addOperationGetIceServerConfigMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go b/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go index 37502c32576..b63bfc3fbad 100644 --- a/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go +++ b/service/kinesisvideosignaling/api_op_SendAlexaOfferToMaster.go @@ -88,7 +88,10 @@ func addOperationSendAlexaOfferToMasterMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_CancelKeyDeletion.go b/service/kms/api_op_CancelKeyDeletion.go index 631c388a625..acf520627b2 100644 --- a/service/kms/api_op_CancelKeyDeletion.go +++ b/service/kms/api_op_CancelKeyDeletion.go @@ -98,7 +98,10 @@ func addOperationCancelKeyDeletionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ConnectCustomKeyStore.go b/service/kms/api_op_ConnectCustomKeyStore.go index 58adcb4ab66..7d1de34d527 100644 --- a/service/kms/api_op_ConnectCustomKeyStore.go +++ b/service/kms/api_op_ConnectCustomKeyStore.go @@ -119,7 +119,10 @@ func addOperationConnectCustomKeyStoreMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_CreateAlias.go b/service/kms/api_op_CreateAlias.go index 3d1da1519fb..9417f316075 100644 --- a/service/kms/api_op_CreateAlias.go +++ b/service/kms/api_op_CreateAlias.go @@ -134,7 +134,10 @@ func addOperationCreateAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_CreateCustomKeyStore.go b/service/kms/api_op_CreateCustomKeyStore.go index 7710cca7277..1599afc53be 100644 --- a/service/kms/api_op_CreateCustomKeyStore.go +++ b/service/kms/api_op_CreateCustomKeyStore.go @@ -138,7 +138,10 @@ func addOperationCreateCustomKeyStoreMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_CreateGrant.go b/service/kms/api_op_CreateGrant.go index 8deae534a1e..da7523b2533 100644 --- a/service/kms/api_op_CreateGrant.go +++ b/service/kms/api_op_CreateGrant.go @@ -210,7 +210,10 @@ func addOperationCreateGrantMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_CreateKey.go b/service/kms/api_op_CreateKey.go index 30c04a865fa..4dcadf93f11 100644 --- a/service/kms/api_op_CreateKey.go +++ b/service/kms/api_op_CreateKey.go @@ -299,7 +299,10 @@ func addOperationCreateKeyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_Decrypt.go b/service/kms/api_op_Decrypt.go index 2165f7c9ae1..3ca25ba666c 100644 --- a/service/kms/api_op_Decrypt.go +++ b/service/kms/api_op_Decrypt.go @@ -200,7 +200,10 @@ func addOperationDecryptMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_DeleteAlias.go b/service/kms/api_op_DeleteAlias.go index df37d6bcf24..0909ce33510 100644 --- a/service/kms/api_op_DeleteAlias.go +++ b/service/kms/api_op_DeleteAlias.go @@ -97,7 +97,10 @@ func addOperationDeleteAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_DeleteCustomKeyStore.go b/service/kms/api_op_DeleteCustomKeyStore.go index 55bc98248e0..9b6a0565be0 100644 --- a/service/kms/api_op_DeleteCustomKeyStore.go +++ b/service/kms/api_op_DeleteCustomKeyStore.go @@ -111,7 +111,10 @@ func addOperationDeleteCustomKeyStoreMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_DeleteImportedKeyMaterial.go b/service/kms/api_op_DeleteImportedKeyMaterial.go index c0344ecd61b..83d24111859 100644 --- a/service/kms/api_op_DeleteImportedKeyMaterial.go +++ b/service/kms/api_op_DeleteImportedKeyMaterial.go @@ -99,7 +99,10 @@ func addOperationDeleteImportedKeyMaterialMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_DescribeCustomKeyStores.go b/service/kms/api_op_DescribeCustomKeyStores.go index 28be936e62d..f35111c8ccd 100644 --- a/service/kms/api_op_DescribeCustomKeyStores.go +++ b/service/kms/api_op_DescribeCustomKeyStores.go @@ -141,7 +141,10 @@ func addOperationDescribeCustomKeyStoresMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_DescribeKey.go b/service/kms/api_op_DescribeKey.go index cfeb10d6335..70ff4674f68 100644 --- a/service/kms/api_op_DescribeKey.go +++ b/service/kms/api_op_DescribeKey.go @@ -157,7 +157,10 @@ func addOperationDescribeKeyMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_DisableKey.go b/service/kms/api_op_DisableKey.go index 96f87929a31..474f024a4d4 100644 --- a/service/kms/api_op_DisableKey.go +++ b/service/kms/api_op_DisableKey.go @@ -93,7 +93,10 @@ func addOperationDisableKeyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_DisableKeyRotation.go b/service/kms/api_op_DisableKeyRotation.go index 0f3fc34f322..1fc8516de9c 100644 --- a/service/kms/api_op_DisableKeyRotation.go +++ b/service/kms/api_op_DisableKeyRotation.go @@ -102,7 +102,10 @@ func addOperationDisableKeyRotationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_DisconnectCustomKeyStore.go b/service/kms/api_op_DisconnectCustomKeyStore.go index 0aed0bb9bac..1d35ae965a2 100644 --- a/service/kms/api_op_DisconnectCustomKeyStore.go +++ b/service/kms/api_op_DisconnectCustomKeyStore.go @@ -103,7 +103,10 @@ func addOperationDisconnectCustomKeyStoreMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_EnableKey.go b/service/kms/api_op_EnableKey.go index 53b2a3d5f62..8c11f910899 100644 --- a/service/kms/api_op_EnableKey.go +++ b/service/kms/api_op_EnableKey.go @@ -89,7 +89,10 @@ func addOperationEnableKeyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_EnableKeyRotation.go b/service/kms/api_op_EnableKeyRotation.go index bce14a5ec1b..d5b805b22c0 100644 --- a/service/kms/api_op_EnableKeyRotation.go +++ b/service/kms/api_op_EnableKeyRotation.go @@ -99,7 +99,10 @@ func addOperationEnableKeyRotationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_Encrypt.go b/service/kms/api_op_Encrypt.go index 4b45fa19cce..90aef10184f 100644 --- a/service/kms/api_op_Encrypt.go +++ b/service/kms/api_op_Encrypt.go @@ -214,7 +214,10 @@ func addOperationEncryptMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_GenerateDataKey.go b/service/kms/api_op_GenerateDataKey.go index de305c578d3..0596acab736 100644 --- a/service/kms/api_op_GenerateDataKey.go +++ b/service/kms/api_op_GenerateDataKey.go @@ -206,7 +206,10 @@ func addOperationGenerateDataKeyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_GenerateDataKeyPair.go b/service/kms/api_op_GenerateDataKeyPair.go index d4143153910..bb5dbe6ae34 100644 --- a/service/kms/api_op_GenerateDataKeyPair.go +++ b/service/kms/api_op_GenerateDataKeyPair.go @@ -182,7 +182,10 @@ func addOperationGenerateDataKeyPairMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go b/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go index 61152401837..5ae511cfe77 100644 --- a/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go +++ b/service/kms/api_op_GenerateDataKeyPairWithoutPlaintext.go @@ -172,7 +172,10 @@ func addOperationGenerateDataKeyPairWithoutPlaintextMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go b/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go index 49597957b97..1156abfe660 100644 --- a/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go +++ b/service/kms/api_op_GenerateDataKeyWithoutPlaintext.go @@ -173,7 +173,10 @@ func addOperationGenerateDataKeyWithoutPlaintextMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_GenerateRandom.go b/service/kms/api_op_GenerateRandom.go index f48b7693af2..efa53bf70ed 100644 --- a/service/kms/api_op_GenerateRandom.go +++ b/service/kms/api_op_GenerateRandom.go @@ -87,7 +87,10 @@ func addOperationGenerateRandomMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_GetKeyPolicy.go b/service/kms/api_op_GetKeyPolicy.go index 72597650382..4a39a902ab8 100644 --- a/service/kms/api_op_GetKeyPolicy.go +++ b/service/kms/api_op_GetKeyPolicy.go @@ -93,7 +93,10 @@ func addOperationGetKeyPolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_GetKeyRotationStatus.go b/service/kms/api_op_GetKeyRotationStatus.go index 365867647be..18eddb0a9ea 100644 --- a/service/kms/api_op_GetKeyRotationStatus.go +++ b/service/kms/api_op_GetKeyRotationStatus.go @@ -114,7 +114,10 @@ func addOperationGetKeyRotationStatusMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_GetParametersForImport.go b/service/kms/api_op_GetParametersForImport.go index d737810e31d..92bd6334392 100644 --- a/service/kms/api_op_GetParametersForImport.go +++ b/service/kms/api_op_GetParametersForImport.go @@ -144,7 +144,10 @@ func addOperationGetParametersForImportMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_GetPublicKey.go b/service/kms/api_op_GetPublicKey.go index ff9faf3c12f..b59664e9f2f 100644 --- a/service/kms/api_op_GetPublicKey.go +++ b/service/kms/api_op_GetPublicKey.go @@ -175,7 +175,10 @@ func addOperationGetPublicKeyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ImportKeyMaterial.go b/service/kms/api_op_ImportKeyMaterial.go index 82c494da3b5..2e4669497ae 100644 --- a/service/kms/api_op_ImportKeyMaterial.go +++ b/service/kms/api_op_ImportKeyMaterial.go @@ -163,7 +163,10 @@ func addOperationImportKeyMaterialMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ListAliases.go b/service/kms/api_op_ListAliases.go index a1ad45d92b6..c9b351500f5 100644 --- a/service/kms/api_op_ListAliases.go +++ b/service/kms/api_op_ListAliases.go @@ -134,7 +134,10 @@ func addOperationListAliasesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ListGrants.go b/service/kms/api_op_ListGrants.go index 6e952f0acbc..33760f6d51e 100644 --- a/service/kms/api_op_ListGrants.go +++ b/service/kms/api_op_ListGrants.go @@ -128,7 +128,10 @@ func addOperationListGrantsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ListKeyPolicies.go b/service/kms/api_op_ListKeyPolicies.go index 71a0b3ffead..61749984fcf 100644 --- a/service/kms/api_op_ListKeyPolicies.go +++ b/service/kms/api_op_ListKeyPolicies.go @@ -116,7 +116,10 @@ func addOperationListKeyPoliciesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ListKeys.go b/service/kms/api_op_ListKeys.go index 802a4c40b77..e2a74a3048e 100644 --- a/service/kms/api_op_ListKeys.go +++ b/service/kms/api_op_ListKeys.go @@ -105,7 +105,10 @@ func addOperationListKeysMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ListResourceTags.go b/service/kms/api_op_ListResourceTags.go index 5b6de6c91e2..6ecfbce2632 100644 --- a/service/kms/api_op_ListResourceTags.go +++ b/service/kms/api_op_ListResourceTags.go @@ -121,7 +121,10 @@ func addOperationListResourceTagsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ListRetirableGrants.go b/service/kms/api_op_ListRetirableGrants.go index d761c288dcc..f12efbdbaa7 100644 --- a/service/kms/api_op_ListRetirableGrants.go +++ b/service/kms/api_op_ListRetirableGrants.go @@ -122,7 +122,10 @@ func addOperationListRetirableGrantsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_PutKeyPolicy.go b/service/kms/api_op_PutKeyPolicy.go index b4c10f55874..6bbab2f2828 100644 --- a/service/kms/api_op_PutKeyPolicy.go +++ b/service/kms/api_op_PutKeyPolicy.go @@ -136,7 +136,10 @@ func addOperationPutKeyPolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ReEncrypt.go b/service/kms/api_op_ReEncrypt.go index a1305362490..e38c3c406ae 100644 --- a/service/kms/api_op_ReEncrypt.go +++ b/service/kms/api_op_ReEncrypt.go @@ -272,7 +272,10 @@ func addOperationReEncryptMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_RetireGrant.go b/service/kms/api_op_RetireGrant.go index 556d7324245..cc7c4800335 100644 --- a/service/kms/api_op_RetireGrant.go +++ b/service/kms/api_op_RetireGrant.go @@ -110,7 +110,10 @@ func addOperationRetireGrantMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_RevokeGrant.go b/service/kms/api_op_RevokeGrant.go index 2bd374affd9..0a09b380d9d 100644 --- a/service/kms/api_op_RevokeGrant.go +++ b/service/kms/api_op_RevokeGrant.go @@ -100,7 +100,10 @@ func addOperationRevokeGrantMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_ScheduleKeyDeletion.go b/service/kms/api_op_ScheduleKeyDeletion.go index 2219aaf69c6..811bb835323 100644 --- a/service/kms/api_op_ScheduleKeyDeletion.go +++ b/service/kms/api_op_ScheduleKeyDeletion.go @@ -127,7 +127,10 @@ func addOperationScheduleKeyDeletionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_Sign.go b/service/kms/api_op_Sign.go index f721783b14e..26d0066140b 100644 --- a/service/kms/api_op_Sign.go +++ b/service/kms/api_op_Sign.go @@ -181,7 +181,10 @@ func addOperationSignMiddlewares(stack *middleware.Stack, options Options) (err if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_TagResource.go b/service/kms/api_op_TagResource.go index c2a7bfce673..0907638cd76 100644 --- a/service/kms/api_op_TagResource.go +++ b/service/kms/api_op_TagResource.go @@ -116,7 +116,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_UntagResource.go b/service/kms/api_op_UntagResource.go index 9f2b740d2ed..3589955eff2 100644 --- a/service/kms/api_op_UntagResource.go +++ b/service/kms/api_op_UntagResource.go @@ -106,7 +106,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_UpdateAlias.go b/service/kms/api_op_UpdateAlias.go index 5db04aa9125..77266d77f41 100644 --- a/service/kms/api_op_UpdateAlias.go +++ b/service/kms/api_op_UpdateAlias.go @@ -136,7 +136,10 @@ func addOperationUpdateAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_UpdateCustomKeyStore.go b/service/kms/api_op_UpdateCustomKeyStore.go index e6f6a5d5841..7a03edb0729 100644 --- a/service/kms/api_op_UpdateCustomKeyStore.go +++ b/service/kms/api_op_UpdateCustomKeyStore.go @@ -143,7 +143,10 @@ func addOperationUpdateCustomKeyStoreMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_UpdateKeyDescription.go b/service/kms/api_op_UpdateKeyDescription.go index c4349b199b3..cc07505fbba 100644 --- a/service/kms/api_op_UpdateKeyDescription.go +++ b/service/kms/api_op_UpdateKeyDescription.go @@ -97,7 +97,10 @@ func addOperationUpdateKeyDescriptionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/kms/api_op_Verify.go b/service/kms/api_op_Verify.go index 8e9726809eb..4cf11ffca93 100644 --- a/service/kms/api_op_Verify.go +++ b/service/kms/api_op_Verify.go @@ -165,7 +165,10 @@ func addOperationVerifyMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_BatchGrantPermissions.go b/service/lakeformation/api_op_BatchGrantPermissions.go index 2178ad8c99e..f7af5922fbe 100644 --- a/service/lakeformation/api_op_BatchGrantPermissions.go +++ b/service/lakeformation/api_op_BatchGrantPermissions.go @@ -81,7 +81,10 @@ func addOperationBatchGrantPermissionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_BatchRevokePermissions.go b/service/lakeformation/api_op_BatchRevokePermissions.go index a2937b692fc..7b61b4cd2d5 100644 --- a/service/lakeformation/api_op_BatchRevokePermissions.go +++ b/service/lakeformation/api_op_BatchRevokePermissions.go @@ -81,7 +81,10 @@ func addOperationBatchRevokePermissionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_DeregisterResource.go b/service/lakeformation/api_op_DeregisterResource.go index 4368318b0b0..e52636c6772 100644 --- a/service/lakeformation/api_op_DeregisterResource.go +++ b/service/lakeformation/api_op_DeregisterResource.go @@ -71,7 +71,10 @@ func addOperationDeregisterResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_DescribeResource.go b/service/lakeformation/api_op_DescribeResource.go index f44e564dcc0..1cc496f5c2b 100644 --- a/service/lakeformation/api_op_DescribeResource.go +++ b/service/lakeformation/api_op_DescribeResource.go @@ -75,7 +75,10 @@ func addOperationDescribeResourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_GetDataLakeSettings.go b/service/lakeformation/api_op_GetDataLakeSettings.go index 10e9eacbaa6..027fc6c129f 100644 --- a/service/lakeformation/api_op_GetDataLakeSettings.go +++ b/service/lakeformation/api_op_GetDataLakeSettings.go @@ -77,7 +77,10 @@ func addOperationGetDataLakeSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_GetEffectivePermissionsForPath.go b/service/lakeformation/api_op_GetEffectivePermissionsForPath.go index 720ea2db326..85a0916f1b5 100644 --- a/service/lakeformation/api_op_GetEffectivePermissionsForPath.go +++ b/service/lakeformation/api_op_GetEffectivePermissionsForPath.go @@ -94,7 +94,10 @@ func addOperationGetEffectivePermissionsForPathMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_GrantPermissions.go b/service/lakeformation/api_op_GrantPermissions.go index c36acfce272..de72d252bf3 100644 --- a/service/lakeformation/api_op_GrantPermissions.go +++ b/service/lakeformation/api_op_GrantPermissions.go @@ -103,7 +103,10 @@ func addOperationGrantPermissionsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_ListPermissions.go b/service/lakeformation/api_op_ListPermissions.go index 28c23f16fdf..1fdabb90630 100644 --- a/service/lakeformation/api_op_ListPermissions.go +++ b/service/lakeformation/api_op_ListPermissions.go @@ -104,7 +104,10 @@ func addOperationListPermissionsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_ListResources.go b/service/lakeformation/api_op_ListResources.go index e50a7acae8e..7955d4742e2 100644 --- a/service/lakeformation/api_op_ListResources.go +++ b/service/lakeformation/api_op_ListResources.go @@ -83,7 +83,10 @@ func addOperationListResourcesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_PutDataLakeSettings.go b/service/lakeformation/api_op_PutDataLakeSettings.go index 9cb900deb0f..4e38378fa08 100644 --- a/service/lakeformation/api_op_PutDataLakeSettings.go +++ b/service/lakeformation/api_op_PutDataLakeSettings.go @@ -83,7 +83,10 @@ func addOperationPutDataLakeSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_RegisterResource.go b/service/lakeformation/api_op_RegisterResource.go index 69ef570129c..707d298eec7 100644 --- a/service/lakeformation/api_op_RegisterResource.go +++ b/service/lakeformation/api_op_RegisterResource.go @@ -91,7 +91,10 @@ func addOperationRegisterResourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_RevokePermissions.go b/service/lakeformation/api_op_RevokePermissions.go index 133459f4405..14b359553e9 100644 --- a/service/lakeformation/api_op_RevokePermissions.go +++ b/service/lakeformation/api_op_RevokePermissions.go @@ -93,7 +93,10 @@ func addOperationRevokePermissionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lakeformation/api_op_UpdateResource.go b/service/lakeformation/api_op_UpdateResource.go index 7b2ee49f9bf..d645407efae 100644 --- a/service/lakeformation/api_op_UpdateResource.go +++ b/service/lakeformation/api_op_UpdateResource.go @@ -75,7 +75,10 @@ func addOperationUpdateResourceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_AddLayerVersionPermission.go b/service/lambda/api_op_AddLayerVersionPermission.go index f7a3844eabd..ce76b442869 100644 --- a/service/lambda/api_op_AddLayerVersionPermission.go +++ b/service/lambda/api_op_AddLayerVersionPermission.go @@ -111,7 +111,10 @@ func addOperationAddLayerVersionPermissionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_AddPermission.go b/service/lambda/api_op_AddPermission.go index 4f6873f77ef..8025e316196 100644 --- a/service/lambda/api_op_AddPermission.go +++ b/service/lambda/api_op_AddPermission.go @@ -139,7 +139,10 @@ func addOperationAddPermissionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_CreateAlias.go b/service/lambda/api_op_CreateAlias.go index 992db11bdb9..0d92563ce90 100644 --- a/service/lambda/api_op_CreateAlias.go +++ b/service/lambda/api_op_CreateAlias.go @@ -129,7 +129,10 @@ func addOperationCreateAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_CreateCodeSigningConfig.go b/service/lambda/api_op_CreateCodeSigningConfig.go index 3478be90ac4..ef35ae5a649 100644 --- a/service/lambda/api_op_CreateCodeSigningConfig.go +++ b/service/lambda/api_op_CreateCodeSigningConfig.go @@ -86,7 +86,10 @@ func addOperationCreateCodeSigningConfigMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_CreateEventSourceMapping.go b/service/lambda/api_op_CreateEventSourceMapping.go index 88778a5238f..dd671bc7858 100644 --- a/service/lambda/api_op_CreateEventSourceMapping.go +++ b/service/lambda/api_op_CreateEventSourceMapping.go @@ -304,7 +304,10 @@ func addOperationCreateEventSourceMappingMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_CreateFunction.go b/service/lambda/api_op_CreateFunction.go index 16c874438c2..8a4862217e8 100644 --- a/service/lambda/api_op_CreateFunction.go +++ b/service/lambda/api_op_CreateFunction.go @@ -309,7 +309,10 @@ func addOperationCreateFunctionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_DeleteAlias.go b/service/lambda/api_op_DeleteAlias.go index 28d1ea3b7b8..55853dd69ee 100644 --- a/service/lambda/api_op_DeleteAlias.go +++ b/service/lambda/api_op_DeleteAlias.go @@ -87,7 +87,10 @@ func addOperationDeleteAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_DeleteCodeSigningConfig.go b/service/lambda/api_op_DeleteCodeSigningConfig.go index 35ea5b4d04e..4bde20ffb99 100644 --- a/service/lambda/api_op_DeleteCodeSigningConfig.go +++ b/service/lambda/api_op_DeleteCodeSigningConfig.go @@ -70,7 +70,10 @@ func addOperationDeleteCodeSigningConfigMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_DeleteEventSourceMapping.go b/service/lambda/api_op_DeleteEventSourceMapping.go index daca8222382..59441ac4119 100644 --- a/service/lambda/api_op_DeleteEventSourceMapping.go +++ b/service/lambda/api_op_DeleteEventSourceMapping.go @@ -159,7 +159,10 @@ func addOperationDeleteEventSourceMappingMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_DeleteFunction.go b/service/lambda/api_op_DeleteFunction.go index 0212993c253..4343d77236d 100644 --- a/service/lambda/api_op_DeleteFunction.go +++ b/service/lambda/api_op_DeleteFunction.go @@ -91,7 +91,10 @@ func addOperationDeleteFunctionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go b/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go index a24dc9f2966..f33b0e4c3e5 100644 --- a/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go +++ b/service/lambda/api_op_DeleteFunctionCodeSigningConfig.go @@ -81,7 +81,10 @@ func addOperationDeleteFunctionCodeSigningConfigMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_DeleteFunctionConcurrency.go b/service/lambda/api_op_DeleteFunctionConcurrency.go index e76e8495d53..474598f6220 100644 --- a/service/lambda/api_op_DeleteFunctionConcurrency.go +++ b/service/lambda/api_op_DeleteFunctionConcurrency.go @@ -81,7 +81,10 @@ func addOperationDeleteFunctionConcurrencyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go b/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go index 215995ff87f..360844bd863 100644 --- a/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_DeleteFunctionEventInvokeConfig.go @@ -87,7 +87,10 @@ func addOperationDeleteFunctionEventInvokeConfigMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_DeleteLayerVersion.go b/service/lambda/api_op_DeleteLayerVersion.go index 0df1bc54c9a..e3357ea9d0a 100644 --- a/service/lambda/api_op_DeleteLayerVersion.go +++ b/service/lambda/api_op_DeleteLayerVersion.go @@ -78,7 +78,10 @@ func addOperationDeleteLayerVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go b/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go index e1381ad2acd..b37f8c0552b 100644 --- a/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go +++ b/service/lambda/api_op_DeleteProvisionedConcurrencyConfig.go @@ -86,7 +86,10 @@ func addOperationDeleteProvisionedConcurrencyConfigMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetAccountSettings.go b/service/lambda/api_op_GetAccountSettings.go index 429ce58c592..f22cf67709b 100644 --- a/service/lambda/api_op_GetAccountSettings.go +++ b/service/lambda/api_op_GetAccountSettings.go @@ -74,7 +74,10 @@ func addOperationGetAccountSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetAlias.go b/service/lambda/api_op_GetAlias.go index 4c623696c12..3d2b17cd785 100644 --- a/service/lambda/api_op_GetAlias.go +++ b/service/lambda/api_op_GetAlias.go @@ -111,7 +111,10 @@ func addOperationGetAliasMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetCodeSigningConfig.go b/service/lambda/api_op_GetCodeSigningConfig.go index a723ff24c2e..270d578b455 100644 --- a/service/lambda/api_op_GetCodeSigningConfig.go +++ b/service/lambda/api_op_GetCodeSigningConfig.go @@ -76,7 +76,10 @@ func addOperationGetCodeSigningConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetEventSourceMapping.go b/service/lambda/api_op_GetEventSourceMapping.go index 8359b8f582b..5dc0012b042 100644 --- a/service/lambda/api_op_GetEventSourceMapping.go +++ b/service/lambda/api_op_GetEventSourceMapping.go @@ -156,7 +156,10 @@ func addOperationGetEventSourceMappingMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetFunction.go b/service/lambda/api_op_GetFunction.go index c11d442025f..9f942b4944a 100644 --- a/service/lambda/api_op_GetFunction.go +++ b/service/lambda/api_op_GetFunction.go @@ -108,7 +108,10 @@ func addOperationGetFunctionMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetFunctionCodeSigningConfig.go b/service/lambda/api_op_GetFunctionCodeSigningConfig.go index 62f955ded20..881c92331c0 100644 --- a/service/lambda/api_op_GetFunctionCodeSigningConfig.go +++ b/service/lambda/api_op_GetFunctionCodeSigningConfig.go @@ -104,7 +104,10 @@ func addOperationGetFunctionCodeSigningConfigMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetFunctionConcurrency.go b/service/lambda/api_op_GetFunctionConcurrency.go index 014ebd68831..fb45ec13fb2 100644 --- a/service/lambda/api_op_GetFunctionConcurrency.go +++ b/service/lambda/api_op_GetFunctionConcurrency.go @@ -86,7 +86,10 @@ func addOperationGetFunctionConcurrencyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetFunctionConfiguration.go b/service/lambda/api_op_GetFunctionConfiguration.go index 5c980849192..8ce5a5660d0 100644 --- a/service/lambda/api_op_GetFunctionConfiguration.go +++ b/service/lambda/api_op_GetFunctionConfiguration.go @@ -198,7 +198,10 @@ func addOperationGetFunctionConfigurationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetFunctionEventInvokeConfig.go b/service/lambda/api_op_GetFunctionEventInvokeConfig.go index 210e07636f3..bf4881b1243 100644 --- a/service/lambda/api_op_GetFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_GetFunctionEventInvokeConfig.go @@ -116,7 +116,10 @@ func addOperationGetFunctionEventInvokeConfigMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetLayerVersion.go b/service/lambda/api_op_GetLayerVersion.go index e5f4504a997..5ebb00f0a09 100644 --- a/service/lambda/api_op_GetLayerVersion.go +++ b/service/lambda/api_op_GetLayerVersion.go @@ -103,7 +103,10 @@ func addOperationGetLayerVersionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetLayerVersionByArn.go b/service/lambda/api_op_GetLayerVersionByArn.go index 679b885e451..9d44a72ebf1 100644 --- a/service/lambda/api_op_GetLayerVersionByArn.go +++ b/service/lambda/api_op_GetLayerVersionByArn.go @@ -98,7 +98,10 @@ func addOperationGetLayerVersionByArnMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetLayerVersionPolicy.go b/service/lambda/api_op_GetLayerVersionPolicy.go index cf2cacf8524..fb8b4bde6c8 100644 --- a/service/lambda/api_op_GetLayerVersionPolicy.go +++ b/service/lambda/api_op_GetLayerVersionPolicy.go @@ -83,7 +83,10 @@ func addOperationGetLayerVersionPolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetPolicy.go b/service/lambda/api_op_GetPolicy.go index 1985b15714e..d0e90de70e7 100644 --- a/service/lambda/api_op_GetPolicy.go +++ b/service/lambda/api_op_GetPolicy.go @@ -94,7 +94,10 @@ func addOperationGetPolicyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_GetProvisionedConcurrencyConfig.go b/service/lambda/api_op_GetProvisionedConcurrencyConfig.go index 3eb08cb11a0..ea70148c8c4 100644 --- a/service/lambda/api_op_GetProvisionedConcurrencyConfig.go +++ b/service/lambda/api_op_GetProvisionedConcurrencyConfig.go @@ -109,7 +109,10 @@ func addOperationGetProvisionedConcurrencyConfigMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_Invoke.go b/service/lambda/api_op_Invoke.go index f34bcc6910c..ba3356a7f0f 100644 --- a/service/lambda/api_op_Invoke.go +++ b/service/lambda/api_op_Invoke.go @@ -167,7 +167,10 @@ func addOperationInvokeMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_InvokeAsync.go b/service/lambda/api_op_InvokeAsync.go index b6e58e0ba7a..9c327c1040b 100644 --- a/service/lambda/api_op_InvokeAsync.go +++ b/service/lambda/api_op_InvokeAsync.go @@ -96,7 +96,10 @@ func addOperationInvokeAsyncMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListAliases.go b/service/lambda/api_op_ListAliases.go index f61e517ddbe..a88d73807dd 100644 --- a/service/lambda/api_op_ListAliases.go +++ b/service/lambda/api_op_ListAliases.go @@ -102,7 +102,10 @@ func addOperationListAliasesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListCodeSigningConfigs.go b/service/lambda/api_op_ListCodeSigningConfigs.go index 45d5fcbba3f..ccae9a6f433 100644 --- a/service/lambda/api_op_ListCodeSigningConfigs.go +++ b/service/lambda/api_op_ListCodeSigningConfigs.go @@ -83,7 +83,10 @@ func addOperationListCodeSigningConfigsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListEventSourceMappings.go b/service/lambda/api_op_ListEventSourceMappings.go index ecbe2249ae3..453ad861cea 100644 --- a/service/lambda/api_op_ListEventSourceMappings.go +++ b/service/lambda/api_op_ListEventSourceMappings.go @@ -114,7 +114,10 @@ func addOperationListEventSourceMappingsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListFunctionEventInvokeConfigs.go b/service/lambda/api_op_ListFunctionEventInvokeConfigs.go index 6404f08ac80..09872a75dc5 100644 --- a/service/lambda/api_op_ListFunctionEventInvokeConfigs.go +++ b/service/lambda/api_op_ListFunctionEventInvokeConfigs.go @@ -99,7 +99,10 @@ func addOperationListFunctionEventInvokeConfigsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListFunctions.go b/service/lambda/api_op_ListFunctions.go index c809f08c346..176731e47eb 100644 --- a/service/lambda/api_op_ListFunctions.go +++ b/service/lambda/api_op_ListFunctions.go @@ -93,7 +93,10 @@ func addOperationListFunctionsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go b/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go index 31900051b15..0f09b3246f8 100644 --- a/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go +++ b/service/lambda/api_op_ListFunctionsByCodeSigningConfig.go @@ -86,7 +86,10 @@ func addOperationListFunctionsByCodeSigningConfigMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListLayerVersions.go b/service/lambda/api_op_ListLayerVersions.go index f5f8dda1832..88b3501b549 100644 --- a/service/lambda/api_op_ListLayerVersions.go +++ b/service/lambda/api_op_ListLayerVersions.go @@ -91,7 +91,10 @@ func addOperationListLayerVersionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListLayers.go b/service/lambda/api_op_ListLayers.go index 36388555c48..2b566d10f21 100644 --- a/service/lambda/api_op_ListLayers.go +++ b/service/lambda/api_op_ListLayers.go @@ -86,7 +86,10 @@ func addOperationListLayersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go b/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go index 8b6a4c4e14f..3e6c1683fa9 100644 --- a/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go +++ b/service/lambda/api_op_ListProvisionedConcurrencyConfigs.go @@ -97,7 +97,10 @@ func addOperationListProvisionedConcurrencyConfigsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListTags.go b/service/lambda/api_op_ListTags.go index 5ba58eb8737..a5a90c5bbb8 100644 --- a/service/lambda/api_op_ListTags.go +++ b/service/lambda/api_op_ListTags.go @@ -75,7 +75,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_ListVersionsByFunction.go b/service/lambda/api_op_ListVersionsByFunction.go index b69c113dc1f..f46b736dfc7 100644 --- a/service/lambda/api_op_ListVersionsByFunction.go +++ b/service/lambda/api_op_ListVersionsByFunction.go @@ -100,7 +100,10 @@ func addOperationListVersionsByFunctionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_PublishLayerVersion.go b/service/lambda/api_op_PublishLayerVersion.go index 61e1106a580..9c15c56e7cc 100644 --- a/service/lambda/api_op_PublishLayerVersion.go +++ b/service/lambda/api_op_PublishLayerVersion.go @@ -125,7 +125,10 @@ func addOperationPublishLayerVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_PublishVersion.go b/service/lambda/api_op_PublishVersion.go index 3593b55b2fe..1b77c62ba9e 100644 --- a/service/lambda/api_op_PublishVersion.go +++ b/service/lambda/api_op_PublishVersion.go @@ -207,7 +207,10 @@ func addOperationPublishVersionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_PutFunctionCodeSigningConfig.go b/service/lambda/api_op_PutFunctionCodeSigningConfig.go index 6ffbd735f39..1519b8cde55 100644 --- a/service/lambda/api_op_PutFunctionCodeSigningConfig.go +++ b/service/lambda/api_op_PutFunctionCodeSigningConfig.go @@ -111,7 +111,10 @@ func addOperationPutFunctionCodeSigningConfigMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_PutFunctionConcurrency.go b/service/lambda/api_op_PutFunctionConcurrency.go index 5d24bebcb8e..96d6a81c2e7 100644 --- a/service/lambda/api_op_PutFunctionConcurrency.go +++ b/service/lambda/api_op_PutFunctionConcurrency.go @@ -102,7 +102,10 @@ func addOperationPutFunctionConcurrencyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_PutFunctionEventInvokeConfig.go b/service/lambda/api_op_PutFunctionEventInvokeConfig.go index 39b0677d1f7..264a7d81be4 100644 --- a/service/lambda/api_op_PutFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_PutFunctionEventInvokeConfig.go @@ -149,7 +149,10 @@ func addOperationPutFunctionEventInvokeConfigMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_PutProvisionedConcurrencyConfig.go b/service/lambda/api_op_PutProvisionedConcurrencyConfig.go index 8a6e5f0d0a8..48de6d8cff5 100644 --- a/service/lambda/api_op_PutProvisionedConcurrencyConfig.go +++ b/service/lambda/api_op_PutProvisionedConcurrencyConfig.go @@ -113,7 +113,10 @@ func addOperationPutProvisionedConcurrencyConfigMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_RemoveLayerVersionPermission.go b/service/lambda/api_op_RemoveLayerVersionPermission.go index 764be92a240..99ebc3c9a8e 100644 --- a/service/lambda/api_op_RemoveLayerVersionPermission.go +++ b/service/lambda/api_op_RemoveLayerVersionPermission.go @@ -85,7 +85,10 @@ func addOperationRemoveLayerVersionPermissionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_RemovePermission.go b/service/lambda/api_op_RemovePermission.go index 130871e7619..c9989822965 100644 --- a/service/lambda/api_op_RemovePermission.go +++ b/service/lambda/api_op_RemovePermission.go @@ -96,7 +96,10 @@ func addOperationRemovePermissionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_TagResource.go b/service/lambda/api_op_TagResource.go index 2c2d736c148..c21e2ac6308 100644 --- a/service/lambda/api_op_TagResource.go +++ b/service/lambda/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_UntagResource.go b/service/lambda/api_op_UntagResource.go index 861b632ec07..3c6f805f2f9 100644 --- a/service/lambda/api_op_UntagResource.go +++ b/service/lambda/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_UpdateAlias.go b/service/lambda/api_op_UpdateAlias.go index 0e602810502..e4d73d758ed 100644 --- a/service/lambda/api_op_UpdateAlias.go +++ b/service/lambda/api_op_UpdateAlias.go @@ -126,7 +126,10 @@ func addOperationUpdateAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_UpdateCodeSigningConfig.go b/service/lambda/api_op_UpdateCodeSigningConfig.go index 8a75b50a543..8cce599497d 100644 --- a/service/lambda/api_op_UpdateCodeSigningConfig.go +++ b/service/lambda/api_op_UpdateCodeSigningConfig.go @@ -86,7 +86,10 @@ func addOperationUpdateCodeSigningConfigMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_UpdateEventSourceMapping.go b/service/lambda/api_op_UpdateEventSourceMapping.go index 1867a37c47a..5bbc433ef20 100644 --- a/service/lambda/api_op_UpdateEventSourceMapping.go +++ b/service/lambda/api_op_UpdateEventSourceMapping.go @@ -251,7 +251,10 @@ func addOperationUpdateEventSourceMappingMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_UpdateFunctionCode.go b/service/lambda/api_op_UpdateFunctionCode.go index b0b88251ca3..9e927051315 100644 --- a/service/lambda/api_op_UpdateFunctionCode.go +++ b/service/lambda/api_op_UpdateFunctionCode.go @@ -223,7 +223,10 @@ func addOperationUpdateFunctionCodeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_UpdateFunctionConfiguration.go b/service/lambda/api_op_UpdateFunctionConfiguration.go index 3dc6e67a1a0..3df2e482284 100644 --- a/service/lambda/api_op_UpdateFunctionConfiguration.go +++ b/service/lambda/api_op_UpdateFunctionConfiguration.go @@ -266,7 +266,10 @@ func addOperationUpdateFunctionConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go b/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go index 7bd60b5a059..60b27ed6793 100644 --- a/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go +++ b/service/lambda/api_op_UpdateFunctionEventInvokeConfig.go @@ -136,7 +136,10 @@ func addOperationUpdateFunctionEventInvokeConfigMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_CreateBotVersion.go b/service/lexmodelbuildingservice/api_op_CreateBotVersion.go index e5e7991b639..94b1d815722 100644 --- a/service/lexmodelbuildingservice/api_op_CreateBotVersion.go +++ b/service/lexmodelbuildingservice/api_op_CreateBotVersion.go @@ -168,7 +168,10 @@ func addOperationCreateBotVersionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go b/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go index 1eb71f9caab..71122bc9fb0 100644 --- a/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go +++ b/service/lexmodelbuildingservice/api_op_CreateIntentVersion.go @@ -150,7 +150,10 @@ func addOperationCreateIntentVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go b/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go index 9ea1b36c876..7fe919a7d1c 100644 --- a/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go +++ b/service/lexmodelbuildingservice/api_op_CreateSlotTypeVersion.go @@ -121,7 +121,10 @@ func addOperationCreateSlotTypeVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_DeleteBot.go b/service/lexmodelbuildingservice/api_op_DeleteBot.go index 23aefc10bc2..78019197bd4 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBot.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBot.go @@ -80,7 +80,10 @@ func addOperationDeleteBotMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go b/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go index 27ba46b4b1e..b6089503bef 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBotAlias.go @@ -80,7 +80,10 @@ func addOperationDeleteBotAliasMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go b/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go index 60fd9e5fbb0..32601f75afb 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBotChannelAssociation.go @@ -81,7 +81,10 @@ func addOperationDeleteBotChannelAssociationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go b/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go index 4faef5d72df..bcafbeca247 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go +++ b/service/lexmodelbuildingservice/api_op_DeleteBotVersion.go @@ -77,7 +77,10 @@ func addOperationDeleteBotVersionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_DeleteIntent.go b/service/lexmodelbuildingservice/api_op_DeleteIntent.go index f54ad6ca488..296b6f2d1f8 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteIntent.go +++ b/service/lexmodelbuildingservice/api_op_DeleteIntent.go @@ -78,7 +78,10 @@ func addOperationDeleteIntentMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go b/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go index df95cab74ae..613865eed5d 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go +++ b/service/lexmodelbuildingservice/api_op_DeleteIntentVersion.go @@ -77,7 +77,10 @@ func addOperationDeleteIntentVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_DeleteSlotType.go b/service/lexmodelbuildingservice/api_op_DeleteSlotType.go index e984ee67b17..b124d2e5e02 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteSlotType.go +++ b/service/lexmodelbuildingservice/api_op_DeleteSlotType.go @@ -79,7 +79,10 @@ func addOperationDeleteSlotTypeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go b/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go index cc4ee7153e6..dc27819c22e 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go +++ b/service/lexmodelbuildingservice/api_op_DeleteSlotTypeVersion.go @@ -77,7 +77,10 @@ func addOperationDeleteSlotTypeVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_DeleteUtterances.go b/service/lexmodelbuildingservice/api_op_DeleteUtterances.go index 0726e2b4f9c..9e0b3de63ee 100644 --- a/service/lexmodelbuildingservice/api_op_DeleteUtterances.go +++ b/service/lexmodelbuildingservice/api_op_DeleteUtterances.go @@ -86,7 +86,10 @@ func addOperationDeleteUtterancesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBot.go b/service/lexmodelbuildingservice/api_op_GetBot.go index cb1ae70489c..60edbf85d1a 100644 --- a/service/lexmodelbuildingservice/api_op_GetBot.go +++ b/service/lexmodelbuildingservice/api_op_GetBot.go @@ -174,7 +174,10 @@ func addOperationGetBotMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBotAlias.go b/service/lexmodelbuildingservice/api_op_GetBotAlias.go index 301c6889395..3dc5cd52720 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotAlias.go +++ b/service/lexmodelbuildingservice/api_op_GetBotAlias.go @@ -104,7 +104,10 @@ func addOperationGetBotAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBotAliases.go b/service/lexmodelbuildingservice/api_op_GetBotAliases.go index e65f23c46e1..62e1bb24c73 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotAliases.go +++ b/service/lexmodelbuildingservice/api_op_GetBotAliases.go @@ -96,7 +96,10 @@ func addOperationGetBotAliasesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go index 0345f4488cc..34f1afff331 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go +++ b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociation.go @@ -125,7 +125,10 @@ func addOperationGetBotChannelAssociationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go index 1a6459e21da..7beb392ac02 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go +++ b/service/lexmodelbuildingservice/api_op_GetBotChannelAssociations.go @@ -105,7 +105,10 @@ func addOperationGetBotChannelAssociationsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBotVersions.go b/service/lexmodelbuildingservice/api_op_GetBotVersions.go index 61ea9167d73..c1e5f1167b7 100644 --- a/service/lexmodelbuildingservice/api_op_GetBotVersions.go +++ b/service/lexmodelbuildingservice/api_op_GetBotVersions.go @@ -97,7 +97,10 @@ func addOperationGetBotVersionsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBots.go b/service/lexmodelbuildingservice/api_op_GetBots.go index ffdc20d2aa5..487c981d17c 100644 --- a/service/lexmodelbuildingservice/api_op_GetBots.go +++ b/service/lexmodelbuildingservice/api_op_GetBots.go @@ -97,7 +97,10 @@ func addOperationGetBotsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go b/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go index 9a20d45efa5..7e4fd9904b0 100644 --- a/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go +++ b/service/lexmodelbuildingservice/api_op_GetBuiltinIntent.go @@ -85,7 +85,10 @@ func addOperationGetBuiltinIntentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go b/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go index 0fd549f0ba0..7e764eb877e 100644 --- a/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go +++ b/service/lexmodelbuildingservice/api_op_GetBuiltinIntents.go @@ -96,7 +96,10 @@ func addOperationGetBuiltinIntentsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go b/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go index 948146c9464..773947fd8d3 100644 --- a/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go +++ b/service/lexmodelbuildingservice/api_op_GetBuiltinSlotTypes.go @@ -96,7 +96,10 @@ func addOperationGetBuiltinSlotTypesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetExport.go b/service/lexmodelbuildingservice/api_op_GetExport.go index 164c16499df..10f2a888095 100644 --- a/service/lexmodelbuildingservice/api_op_GetExport.go +++ b/service/lexmodelbuildingservice/api_op_GetExport.go @@ -118,7 +118,10 @@ func addOperationGetExportMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetImport.go b/service/lexmodelbuildingservice/api_op_GetImport.go index 287d2a92b62..d9dccfa3dfc 100644 --- a/service/lexmodelbuildingservice/api_op_GetImport.go +++ b/service/lexmodelbuildingservice/api_op_GetImport.go @@ -95,7 +95,10 @@ func addOperationGetImportMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetIntent.go b/service/lexmodelbuildingservice/api_op_GetIntent.go index 4db1244f1dd..c532f097d1d 100644 --- a/service/lexmodelbuildingservice/api_op_GetIntent.go +++ b/service/lexmodelbuildingservice/api_op_GetIntent.go @@ -142,7 +142,10 @@ func addOperationGetIntentMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetIntentVersions.go b/service/lexmodelbuildingservice/api_op_GetIntentVersions.go index 6c08d455d53..bc345ec8baf 100644 --- a/service/lexmodelbuildingservice/api_op_GetIntentVersions.go +++ b/service/lexmodelbuildingservice/api_op_GetIntentVersions.go @@ -98,7 +98,10 @@ func addOperationGetIntentVersionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetIntents.go b/service/lexmodelbuildingservice/api_op_GetIntents.go index 2a9f6cda460..fbe64a3b7cc 100644 --- a/service/lexmodelbuildingservice/api_op_GetIntents.go +++ b/service/lexmodelbuildingservice/api_op_GetIntents.go @@ -98,7 +98,10 @@ func addOperationGetIntentsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetSlotType.go b/service/lexmodelbuildingservice/api_op_GetSlotType.go index 7688f835191..d63c5f64ad6 100644 --- a/service/lexmodelbuildingservice/api_op_GetSlotType.go +++ b/service/lexmodelbuildingservice/api_op_GetSlotType.go @@ -112,7 +112,10 @@ func addOperationGetSlotTypeMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go b/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go index eb5bb48c88c..0560cc7f818 100644 --- a/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go +++ b/service/lexmodelbuildingservice/api_op_GetSlotTypeVersions.go @@ -98,7 +98,10 @@ func addOperationGetSlotTypeVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetSlotTypes.go b/service/lexmodelbuildingservice/api_op_GetSlotTypes.go index 84097bf28af..6d8b8a05951 100644 --- a/service/lexmodelbuildingservice/api_op_GetSlotTypes.go +++ b/service/lexmodelbuildingservice/api_op_GetSlotTypes.go @@ -99,7 +99,10 @@ func addOperationGetSlotTypesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_GetUtterancesView.go b/service/lexmodelbuildingservice/api_op_GetUtterancesView.go index 3e0b099b958..67ff447f9e5 100644 --- a/service/lexmodelbuildingservice/api_op_GetUtterancesView.go +++ b/service/lexmodelbuildingservice/api_op_GetUtterancesView.go @@ -109,7 +109,10 @@ func addOperationGetUtterancesViewMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_ListTagsForResource.go b/service/lexmodelbuildingservice/api_op_ListTagsForResource.go index 6b009dbe636..c30611c1ca5 100644 --- a/service/lexmodelbuildingservice/api_op_ListTagsForResource.go +++ b/service/lexmodelbuildingservice/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_PutBot.go b/service/lexmodelbuildingservice/api_op_PutBot.go index db28b1678ff..8438896e1dd 100644 --- a/service/lexmodelbuildingservice/api_op_PutBot.go +++ b/service/lexmodelbuildingservice/api_op_PutBot.go @@ -383,7 +383,10 @@ func addOperationPutBotMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_PutBotAlias.go b/service/lexmodelbuildingservice/api_op_PutBotAlias.go index 11b9325cd19..03a2c76211c 100644 --- a/service/lexmodelbuildingservice/api_op_PutBotAlias.go +++ b/service/lexmodelbuildingservice/api_op_PutBotAlias.go @@ -132,7 +132,10 @@ func addOperationPutBotAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_PutIntent.go b/service/lexmodelbuildingservice/api_op_PutIntent.go index 9281b31d17f..9cf1ae6ec87 100644 --- a/service/lexmodelbuildingservice/api_op_PutIntent.go +++ b/service/lexmodelbuildingservice/api_op_PutIntent.go @@ -299,7 +299,10 @@ func addOperationPutIntentMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_PutSlotType.go b/service/lexmodelbuildingservice/api_op_PutSlotType.go index 95de7a9c100..98327caa9d8 100644 --- a/service/lexmodelbuildingservice/api_op_PutSlotType.go +++ b/service/lexmodelbuildingservice/api_op_PutSlotType.go @@ -179,7 +179,10 @@ func addOperationPutSlotTypeMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_StartImport.go b/service/lexmodelbuildingservice/api_op_StartImport.go index 95b4e8b42f5..73e27397b7f 100644 --- a/service/lexmodelbuildingservice/api_op_StartImport.go +++ b/service/lexmodelbuildingservice/api_op_StartImport.go @@ -125,7 +125,10 @@ func addOperationStartImportMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_TagResource.go b/service/lexmodelbuildingservice/api_op_TagResource.go index 842baa6e00f..ebe123aeac4 100644 --- a/service/lexmodelbuildingservice/api_op_TagResource.go +++ b/service/lexmodelbuildingservice/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexmodelbuildingservice/api_op_UntagResource.go b/service/lexmodelbuildingservice/api_op_UntagResource.go index 33bd5f0f93a..1ac68df5c6b 100644 --- a/service/lexmodelbuildingservice/api_op_UntagResource.go +++ b/service/lexmodelbuildingservice/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexruntimeservice/api_op_DeleteSession.go b/service/lexruntimeservice/api_op_DeleteSession.go index 2082e352ef7..304de38488e 100644 --- a/service/lexruntimeservice/api_op_DeleteSession.go +++ b/service/lexruntimeservice/api_op_DeleteSession.go @@ -92,7 +92,10 @@ func addOperationDeleteSessionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexruntimeservice/api_op_GetSession.go b/service/lexruntimeservice/api_op_GetSession.go index 95946b64b14..8b3f2820414 100644 --- a/service/lexruntimeservice/api_op_GetSession.go +++ b/service/lexruntimeservice/api_op_GetSession.go @@ -111,7 +111,10 @@ func addOperationGetSessionMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexruntimeservice/api_op_PostContent.go b/service/lexruntimeservice/api_op_PostContent.go index 303d99e1242..c87fe70db95 100644 --- a/service/lexruntimeservice/api_op_PostContent.go +++ b/service/lexruntimeservice/api_op_PostContent.go @@ -411,7 +411,10 @@ func addOperationPostContentMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexruntimeservice/api_op_PostText.go b/service/lexruntimeservice/api_op_PostText.go index 18636c52e41..7c167d6a873 100644 --- a/service/lexruntimeservice/api_op_PostText.go +++ b/service/lexruntimeservice/api_op_PostText.go @@ -307,7 +307,10 @@ func addOperationPostTextMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lexruntimeservice/api_op_PutSession.go b/service/lexruntimeservice/api_op_PutSession.go index d675ad836ad..1f35a7864c6 100644 --- a/service/lexruntimeservice/api_op_PutSession.go +++ b/service/lexruntimeservice/api_op_PutSession.go @@ -230,7 +230,10 @@ func addOperationPutSessionMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_AcceptGrant.go b/service/licensemanager/api_op_AcceptGrant.go index a6695bce916..cb363a73835 100644 --- a/service/licensemanager/api_op_AcceptGrant.go +++ b/service/licensemanager/api_op_AcceptGrant.go @@ -80,7 +80,10 @@ func addOperationAcceptGrantMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_CheckInLicense.go b/service/licensemanager/api_op_CheckInLicense.go index 74e14b01117..5924e59e991 100644 --- a/service/licensemanager/api_op_CheckInLicense.go +++ b/service/licensemanager/api_op_CheckInLicense.go @@ -72,7 +72,10 @@ func addOperationCheckInLicenseMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_CheckoutBorrowLicense.go b/service/licensemanager/api_op_CheckoutBorrowLicense.go index c47ee209660..1b352323992 100644 --- a/service/licensemanager/api_op_CheckoutBorrowLicense.go +++ b/service/licensemanager/api_op_CheckoutBorrowLicense.go @@ -120,7 +120,10 @@ func addOperationCheckoutBorrowLicenseMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_CheckoutLicense.go b/service/licensemanager/api_op_CheckoutLicense.go index c7b77291005..46edf0ed781 100644 --- a/service/licensemanager/api_op_CheckoutLicense.go +++ b/service/licensemanager/api_op_CheckoutLicense.go @@ -119,7 +119,10 @@ func addOperationCheckoutLicenseMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_CreateGrant.go b/service/licensemanager/api_op_CreateGrant.go index 6f7daa5d0ab..6994de02570 100644 --- a/service/licensemanager/api_op_CreateGrant.go +++ b/service/licensemanager/api_op_CreateGrant.go @@ -107,7 +107,10 @@ func addOperationCreateGrantMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_CreateGrantVersion.go b/service/licensemanager/api_op_CreateGrantVersion.go index 8943f85646c..ddf90b8b2b7 100644 --- a/service/licensemanager/api_op_CreateGrantVersion.go +++ b/service/licensemanager/api_op_CreateGrantVersion.go @@ -98,7 +98,10 @@ func addOperationCreateGrantVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_CreateLicense.go b/service/licensemanager/api_op_CreateLicense.go index 690d4acc9e2..08a128106fa 100644 --- a/service/licensemanager/api_op_CreateLicense.go +++ b/service/licensemanager/api_op_CreateLicense.go @@ -131,7 +131,10 @@ func addOperationCreateLicenseMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_CreateLicenseConfiguration.go b/service/licensemanager/api_op_CreateLicenseConfiguration.go index e9a8886e098..0a5f2c4c895 100644 --- a/service/licensemanager/api_op_CreateLicenseConfiguration.go +++ b/service/licensemanager/api_op_CreateLicenseConfiguration.go @@ -126,7 +126,10 @@ func addOperationCreateLicenseConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_CreateLicenseVersion.go b/service/licensemanager/api_op_CreateLicenseVersion.go index 4e9fdaab295..16c866b7814 100644 --- a/service/licensemanager/api_op_CreateLicenseVersion.go +++ b/service/licensemanager/api_op_CreateLicenseVersion.go @@ -134,7 +134,10 @@ func addOperationCreateLicenseVersionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_CreateToken.go b/service/licensemanager/api_op_CreateToken.go index 2ee576bc17b..0bdb4ae7464 100644 --- a/service/licensemanager/api_op_CreateToken.go +++ b/service/licensemanager/api_op_CreateToken.go @@ -100,7 +100,10 @@ func addOperationCreateTokenMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_DeleteGrant.go b/service/licensemanager/api_op_DeleteGrant.go index 4683e57e02d..8a0df516ce4 100644 --- a/service/licensemanager/api_op_DeleteGrant.go +++ b/service/licensemanager/api_op_DeleteGrant.go @@ -85,7 +85,10 @@ func addOperationDeleteGrantMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_DeleteLicense.go b/service/licensemanager/api_op_DeleteLicense.go index 043696e613b..b1301edcf8b 100644 --- a/service/licensemanager/api_op_DeleteLicense.go +++ b/service/licensemanager/api_op_DeleteLicense.go @@ -82,7 +82,10 @@ func addOperationDeleteLicenseMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_DeleteLicenseConfiguration.go b/service/licensemanager/api_op_DeleteLicenseConfiguration.go index 3e8e9546947..5272e4da6d1 100644 --- a/service/licensemanager/api_op_DeleteLicenseConfiguration.go +++ b/service/licensemanager/api_op_DeleteLicenseConfiguration.go @@ -70,7 +70,10 @@ func addOperationDeleteLicenseConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_DeleteToken.go b/service/licensemanager/api_op_DeleteToken.go index ed83b32877c..ad22c08b4ba 100644 --- a/service/licensemanager/api_op_DeleteToken.go +++ b/service/licensemanager/api_op_DeleteToken.go @@ -69,7 +69,10 @@ func addOperationDeleteTokenMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ExtendLicenseConsumption.go b/service/licensemanager/api_op_ExtendLicenseConsumption.go index c003e01bb6a..1b25698b0a9 100644 --- a/service/licensemanager/api_op_ExtendLicenseConsumption.go +++ b/service/licensemanager/api_op_ExtendLicenseConsumption.go @@ -81,7 +81,10 @@ func addOperationExtendLicenseConsumptionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_GetAccessToken.go b/service/licensemanager/api_op_GetAccessToken.go index d854f9f6f48..1b84e3dfcd1 100644 --- a/service/licensemanager/api_op_GetAccessToken.go +++ b/service/licensemanager/api_op_GetAccessToken.go @@ -77,7 +77,10 @@ func addOperationGetAccessTokenMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_GetGrant.go b/service/licensemanager/api_op_GetGrant.go index d8f813e9c46..5016f1d89e0 100644 --- a/service/licensemanager/api_op_GetGrant.go +++ b/service/licensemanager/api_op_GetGrant.go @@ -77,7 +77,10 @@ func addOperationGetGrantMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_GetLicense.go b/service/licensemanager/api_op_GetLicense.go index f8d44cb66d3..a66876958a8 100644 --- a/service/licensemanager/api_op_GetLicense.go +++ b/service/licensemanager/api_op_GetLicense.go @@ -77,7 +77,10 @@ func addOperationGetLicenseMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_GetLicenseConfiguration.go b/service/licensemanager/api_op_GetLicenseConfiguration.go index bbe9c583d64..e71e56f324d 100644 --- a/service/licensemanager/api_op_GetLicenseConfiguration.go +++ b/service/licensemanager/api_op_GetLicenseConfiguration.go @@ -122,7 +122,10 @@ func addOperationGetLicenseConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_GetLicenseUsage.go b/service/licensemanager/api_op_GetLicenseUsage.go index 004a098df1d..d0e7672dc22 100644 --- a/service/licensemanager/api_op_GetLicenseUsage.go +++ b/service/licensemanager/api_op_GetLicenseUsage.go @@ -74,7 +74,10 @@ func addOperationGetLicenseUsageMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_GetServiceSettings.go b/service/licensemanager/api_op_GetServiceSettings.go index c0fe1c639f9..7111af9eae4 100644 --- a/service/licensemanager/api_op_GetServiceSettings.go +++ b/service/licensemanager/api_op_GetServiceSettings.go @@ -84,7 +84,10 @@ func addOperationGetServiceSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go b/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go index d579eb8fcf9..cf6ff0f17c1 100644 --- a/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go +++ b/service/licensemanager/api_op_ListAssociationsForLicenseConfiguration.go @@ -86,7 +86,10 @@ func addOperationListAssociationsForLicenseConfigurationMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListDistributedGrants.go b/service/licensemanager/api_op_ListDistributedGrants.go index da68c4642bf..3b984a593e5 100644 --- a/service/licensemanager/api_op_ListDistributedGrants.go +++ b/service/licensemanager/api_op_ListDistributedGrants.go @@ -93,7 +93,10 @@ func addOperationListDistributedGrantsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go b/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go index c19a5813fec..6b268e94547 100644 --- a/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go +++ b/service/licensemanager/api_op_ListFailuresForLicenseConfigurationOperations.go @@ -83,7 +83,10 @@ func addOperationListFailuresForLicenseConfigurationOperationsMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListLicenseConfigurations.go b/service/licensemanager/api_op_ListLicenseConfigurations.go index 0aaca148e44..fff3725ebc0 100644 --- a/service/licensemanager/api_op_ListLicenseConfigurations.go +++ b/service/licensemanager/api_op_ListLicenseConfigurations.go @@ -97,7 +97,10 @@ func addOperationListLicenseConfigurationsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go b/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go index 1b934863839..551109c0e67 100644 --- a/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go +++ b/service/licensemanager/api_op_ListLicenseSpecificationsForResource.go @@ -84,7 +84,10 @@ func addOperationListLicenseSpecificationsForResourceMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListLicenseVersions.go b/service/licensemanager/api_op_ListLicenseVersions.go index 0a4d65633f7..f3cdbddf556 100644 --- a/service/licensemanager/api_op_ListLicenseVersions.go +++ b/service/licensemanager/api_op_ListLicenseVersions.go @@ -83,7 +83,10 @@ func addOperationListLicenseVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListLicenses.go b/service/licensemanager/api_op_ListLicenses.go index 66eaf289924..fff5fc22462 100644 --- a/service/licensemanager/api_op_ListLicenses.go +++ b/service/licensemanager/api_op_ListLicenses.go @@ -93,7 +93,10 @@ func addOperationListLicensesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListReceivedGrants.go b/service/licensemanager/api_op_ListReceivedGrants.go index f710923ad7b..f3248a3a0f3 100644 --- a/service/licensemanager/api_op_ListReceivedGrants.go +++ b/service/licensemanager/api_op_ListReceivedGrants.go @@ -89,7 +89,10 @@ func addOperationListReceivedGrantsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListReceivedLicenses.go b/service/licensemanager/api_op_ListReceivedLicenses.go index 6622a82cf1d..bc3990cb6f2 100644 --- a/service/licensemanager/api_op_ListReceivedLicenses.go +++ b/service/licensemanager/api_op_ListReceivedLicenses.go @@ -93,7 +93,10 @@ func addOperationListReceivedLicensesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListResourceInventory.go b/service/licensemanager/api_op_ListResourceInventory.go index ee7a80191e9..b0f2f284795 100644 --- a/service/licensemanager/api_op_ListResourceInventory.go +++ b/service/licensemanager/api_op_ListResourceInventory.go @@ -103,7 +103,10 @@ func addOperationListResourceInventoryMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListTagsForResource.go b/service/licensemanager/api_op_ListTagsForResource.go index ff8342edcf4..ab4a03981f7 100644 --- a/service/licensemanager/api_op_ListTagsForResource.go +++ b/service/licensemanager/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListTokens.go b/service/licensemanager/api_op_ListTokens.go index e40b634ba3c..19b49d3c7bd 100644 --- a/service/licensemanager/api_op_ListTokens.go +++ b/service/licensemanager/api_op_ListTokens.go @@ -86,7 +86,10 @@ func addOperationListTokensMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go b/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go index d58da679901..d19c0869f1b 100644 --- a/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go +++ b/service/licensemanager/api_op_ListUsageForLicenseConfiguration.go @@ -100,7 +100,10 @@ func addOperationListUsageForLicenseConfigurationMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_RejectGrant.go b/service/licensemanager/api_op_RejectGrant.go index c8dbcbd4631..3457c5c6228 100644 --- a/service/licensemanager/api_op_RejectGrant.go +++ b/service/licensemanager/api_op_RejectGrant.go @@ -80,7 +80,10 @@ func addOperationRejectGrantMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_TagResource.go b/service/licensemanager/api_op_TagResource.go index faf8252f5a2..3473a3bbf0d 100644 --- a/service/licensemanager/api_op_TagResource.go +++ b/service/licensemanager/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_UntagResource.go b/service/licensemanager/api_op_UntagResource.go index 66900994db2..188e66c7c8a 100644 --- a/service/licensemanager/api_op_UntagResource.go +++ b/service/licensemanager/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_UpdateLicenseConfiguration.go b/service/licensemanager/api_op_UpdateLicenseConfiguration.go index 07a7740cfba..f1ae0ea1593 100644 --- a/service/licensemanager/api_op_UpdateLicenseConfiguration.go +++ b/service/licensemanager/api_op_UpdateLicenseConfiguration.go @@ -95,7 +95,10 @@ func addOperationUpdateLicenseConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go b/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go index 7b751c267eb..179d55cf453 100644 --- a/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go +++ b/service/licensemanager/api_op_UpdateLicenseSpecificationsForResource.go @@ -80,7 +80,10 @@ func addOperationUpdateLicenseSpecificationsForResourceMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/licensemanager/api_op_UpdateServiceSettings.go b/service/licensemanager/api_op_UpdateServiceSettings.go index ebaa363e205..c9ecbc5936d 100644 --- a/service/licensemanager/api_op_UpdateServiceSettings.go +++ b/service/licensemanager/api_op_UpdateServiceSettings.go @@ -79,7 +79,10 @@ func addOperationUpdateServiceSettingsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_AllocateStaticIp.go b/service/lightsail/api_op_AllocateStaticIp.go index a923ce1c91f..8c39c59444f 100644 --- a/service/lightsail/api_op_AllocateStaticIp.go +++ b/service/lightsail/api_op_AllocateStaticIp.go @@ -76,7 +76,10 @@ func addOperationAllocateStaticIpMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_AttachCertificateToDistribution.go b/service/lightsail/api_op_AttachCertificateToDistribution.go index 30299e20830..a5e77e84599 100644 --- a/service/lightsail/api_op_AttachCertificateToDistribution.go +++ b/service/lightsail/api_op_AttachCertificateToDistribution.go @@ -98,7 +98,10 @@ func addOperationAttachCertificateToDistributionMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_AttachDisk.go b/service/lightsail/api_op_AttachDisk.go index 3d73068bcf6..2c73da9e183 100644 --- a/service/lightsail/api_op_AttachDisk.go +++ b/service/lightsail/api_op_AttachDisk.go @@ -91,7 +91,10 @@ func addOperationAttachDiskMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_AttachInstancesToLoadBalancer.go b/service/lightsail/api_op_AttachInstancesToLoadBalancer.go index 63e282e4d0d..4cb1928e782 100644 --- a/service/lightsail/api_op_AttachInstancesToLoadBalancer.go +++ b/service/lightsail/api_op_AttachInstancesToLoadBalancer.go @@ -90,7 +90,10 @@ func addOperationAttachInstancesToLoadBalancerMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go b/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go index fdd52dfd8d3..0d56555d525 100644 --- a/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go +++ b/service/lightsail/api_op_AttachLoadBalancerTlsCertificate.go @@ -92,7 +92,10 @@ func addOperationAttachLoadBalancerTlsCertificateMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_AttachStaticIp.go b/service/lightsail/api_op_AttachStaticIp.go index 28dd5d8df64..edf6955c7bf 100644 --- a/service/lightsail/api_op_AttachStaticIp.go +++ b/service/lightsail/api_op_AttachStaticIp.go @@ -81,7 +81,10 @@ func addOperationAttachStaticIpMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CloseInstancePublicPorts.go b/service/lightsail/api_op_CloseInstancePublicPorts.go index f73a984036d..1b164da99d6 100644 --- a/service/lightsail/api_op_CloseInstancePublicPorts.go +++ b/service/lightsail/api_op_CloseInstancePublicPorts.go @@ -85,7 +85,10 @@ func addOperationCloseInstancePublicPortsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CopySnapshot.go b/service/lightsail/api_op_CopySnapshot.go index 999fcbdd654..8b5947fc081 100644 --- a/service/lightsail/api_op_CopySnapshot.go +++ b/service/lightsail/api_op_CopySnapshot.go @@ -131,7 +131,10 @@ func addOperationCopySnapshotMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateCertificate.go b/service/lightsail/api_op_CreateCertificate.go index ecc336d9f18..434acf04272 100644 --- a/service/lightsail/api_op_CreateCertificate.go +++ b/service/lightsail/api_op_CreateCertificate.go @@ -101,7 +101,10 @@ func addOperationCreateCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateCloudFormationStack.go b/service/lightsail/api_op_CreateCloudFormationStack.go index 87369948282..4ac30282403 100644 --- a/service/lightsail/api_op_CreateCloudFormationStack.go +++ b/service/lightsail/api_op_CreateCloudFormationStack.go @@ -84,7 +84,10 @@ func addOperationCreateCloudFormationStackMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateContactMethod.go b/service/lightsail/api_op_CreateContactMethod.go index c067094d109..8dc39b53748 100644 --- a/service/lightsail/api_op_CreateContactMethod.go +++ b/service/lightsail/api_op_CreateContactMethod.go @@ -119,7 +119,10 @@ func addOperationCreateContactMethodMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateContainerService.go b/service/lightsail/api_op_CreateContainerService.go index 0e762c1e411..45299ed115a 100644 --- a/service/lightsail/api_op_CreateContainerService.go +++ b/service/lightsail/api_op_CreateContainerService.go @@ -141,7 +141,10 @@ func addOperationCreateContainerServiceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateContainerServiceDeployment.go b/service/lightsail/api_op_CreateContainerServiceDeployment.go index 43527d1c306..ce7ca8e446a 100644 --- a/service/lightsail/api_op_CreateContainerServiceDeployment.go +++ b/service/lightsail/api_op_CreateContainerServiceDeployment.go @@ -92,7 +92,10 @@ func addOperationCreateContainerServiceDeploymentMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go b/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go index e86b65556ba..3ccb328470e 100644 --- a/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go +++ b/service/lightsail/api_op_CreateContainerServiceRegistryLogin.go @@ -85,7 +85,10 @@ func addOperationCreateContainerServiceRegistryLoginMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateDisk.go b/service/lightsail/api_op_CreateDisk.go index 082056882e0..d9bb47309c0 100644 --- a/service/lightsail/api_op_CreateDisk.go +++ b/service/lightsail/api_op_CreateDisk.go @@ -100,7 +100,10 @@ func addOperationCreateDiskMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateDiskFromSnapshot.go b/service/lightsail/api_op_CreateDiskFromSnapshot.go index 236898863de..5a79cfeda6c 100644 --- a/service/lightsail/api_op_CreateDiskFromSnapshot.go +++ b/service/lightsail/api_op_CreateDiskFromSnapshot.go @@ -151,7 +151,10 @@ func addOperationCreateDiskFromSnapshotMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateDiskSnapshot.go b/service/lightsail/api_op_CreateDiskSnapshot.go index 2ad85ca6541..d0ce491293b 100644 --- a/service/lightsail/api_op_CreateDiskSnapshot.go +++ b/service/lightsail/api_op_CreateDiskSnapshot.go @@ -113,7 +113,10 @@ func addOperationCreateDiskSnapshotMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateDistribution.go b/service/lightsail/api_op_CreateDistribution.go index b74d611c88b..5b5f27cea7b 100644 --- a/service/lightsail/api_op_CreateDistribution.go +++ b/service/lightsail/api_op_CreateDistribution.go @@ -115,7 +115,10 @@ func addOperationCreateDistributionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateDomain.go b/service/lightsail/api_op_CreateDomain.go index 10f438b0981..9ff26f954ff 100644 --- a/service/lightsail/api_op_CreateDomain.go +++ b/service/lightsail/api_op_CreateDomain.go @@ -86,7 +86,10 @@ func addOperationCreateDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateDomainEntry.go b/service/lightsail/api_op_CreateDomainEntry.go index 95ecc6918bf..5ce30e42547 100644 --- a/service/lightsail/api_op_CreateDomainEntry.go +++ b/service/lightsail/api_op_CreateDomainEntry.go @@ -89,7 +89,10 @@ func addOperationCreateDomainEntryMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateInstanceSnapshot.go b/service/lightsail/api_op_CreateInstanceSnapshot.go index 896b7ec64e7..32e658e087b 100644 --- a/service/lightsail/api_op_CreateInstanceSnapshot.go +++ b/service/lightsail/api_op_CreateInstanceSnapshot.go @@ -89,7 +89,10 @@ func addOperationCreateInstanceSnapshotMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateInstances.go b/service/lightsail/api_op_CreateInstances.go index 9a3c5f7e25a..328348c9bf6 100644 --- a/service/lightsail/api_op_CreateInstances.go +++ b/service/lightsail/api_op_CreateInstances.go @@ -132,7 +132,10 @@ func addOperationCreateInstancesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateInstancesFromSnapshot.go b/service/lightsail/api_op_CreateInstancesFromSnapshot.go index 6d5d42b6bbd..7dab0b4a9d3 100644 --- a/service/lightsail/api_op_CreateInstancesFromSnapshot.go +++ b/service/lightsail/api_op_CreateInstancesFromSnapshot.go @@ -168,7 +168,10 @@ func addOperationCreateInstancesFromSnapshotMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateKeyPair.go b/service/lightsail/api_op_CreateKeyPair.go index a106da5f2c8..65b74446c24 100644 --- a/service/lightsail/api_op_CreateKeyPair.go +++ b/service/lightsail/api_op_CreateKeyPair.go @@ -92,7 +92,10 @@ func addOperationCreateKeyPairMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateLoadBalancer.go b/service/lightsail/api_op_CreateLoadBalancer.go index 93ee91e6bd2..190206d9912 100644 --- a/service/lightsail/api_op_CreateLoadBalancer.go +++ b/service/lightsail/api_op_CreateLoadBalancer.go @@ -115,7 +115,10 @@ func addOperationCreateLoadBalancerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go b/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go index 1e1f386efc8..8121c74708a 100644 --- a/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go +++ b/service/lightsail/api_op_CreateLoadBalancerTlsCertificate.go @@ -105,7 +105,10 @@ func addOperationCreateLoadBalancerTlsCertificateMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateRelationalDatabase.go b/service/lightsail/api_op_CreateRelationalDatabase.go index 0c874086761..9d57d95e2c8 100644 --- a/service/lightsail/api_op_CreateRelationalDatabase.go +++ b/service/lightsail/api_op_CreateRelationalDatabase.go @@ -188,7 +188,10 @@ func addOperationCreateRelationalDatabaseMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go b/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go index ed548d50915..84fb878474c 100644 --- a/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go +++ b/service/lightsail/api_op_CreateRelationalDatabaseFromSnapshot.go @@ -140,7 +140,10 @@ func addOperationCreateRelationalDatabaseFromSnapshotMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go b/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go index ef679b9e257..119276bea2a 100644 --- a/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go +++ b/service/lightsail/api_op_CreateRelationalDatabaseSnapshot.go @@ -96,7 +96,10 @@ func addOperationCreateRelationalDatabaseSnapshotMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteAlarm.go b/service/lightsail/api_op_DeleteAlarm.go index ae1e48a4c6b..59d3bdf1f87 100644 --- a/service/lightsail/api_op_DeleteAlarm.go +++ b/service/lightsail/api_op_DeleteAlarm.go @@ -80,7 +80,10 @@ func addOperationDeleteAlarmMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteAutoSnapshot.go b/service/lightsail/api_op_DeleteAutoSnapshot.go index 9109550b228..6ee3ce46f54 100644 --- a/service/lightsail/api_op_DeleteAutoSnapshot.go +++ b/service/lightsail/api_op_DeleteAutoSnapshot.go @@ -86,7 +86,10 @@ func addOperationDeleteAutoSnapshotMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteCertificate.go b/service/lightsail/api_op_DeleteCertificate.go index e631b1b68e2..6dbd6c0198d 100644 --- a/service/lightsail/api_op_DeleteCertificate.go +++ b/service/lightsail/api_op_DeleteCertificate.go @@ -80,7 +80,10 @@ func addOperationDeleteCertificateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteContactMethod.go b/service/lightsail/api_op_DeleteContactMethod.go index fb0038be56c..7aa9fc092a8 100644 --- a/service/lightsail/api_op_DeleteContactMethod.go +++ b/service/lightsail/api_op_DeleteContactMethod.go @@ -84,7 +84,10 @@ func addOperationDeleteContactMethodMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteContainerImage.go b/service/lightsail/api_op_DeleteContainerImage.go index f77dc115775..88d4844b19b 100644 --- a/service/lightsail/api_op_DeleteContainerImage.go +++ b/service/lightsail/api_op_DeleteContainerImage.go @@ -82,7 +82,10 @@ func addOperationDeleteContainerImageMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteContainerService.go b/service/lightsail/api_op_DeleteContainerService.go index 7371d379d2e..1b2768be9a5 100644 --- a/service/lightsail/api_op_DeleteContainerService.go +++ b/service/lightsail/api_op_DeleteContainerService.go @@ -69,7 +69,10 @@ func addOperationDeleteContainerServiceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteDisk.go b/service/lightsail/api_op_DeleteDisk.go index 6ab8d4c5339..5afe10e3fbf 100644 --- a/service/lightsail/api_op_DeleteDisk.go +++ b/service/lightsail/api_op_DeleteDisk.go @@ -84,7 +84,10 @@ func addOperationDeleteDiskMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteDiskSnapshot.go b/service/lightsail/api_op_DeleteDiskSnapshot.go index 2df04359231..5917278f98e 100644 --- a/service/lightsail/api_op_DeleteDiskSnapshot.go +++ b/service/lightsail/api_op_DeleteDiskSnapshot.go @@ -85,7 +85,10 @@ func addOperationDeleteDiskSnapshotMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteDistribution.go b/service/lightsail/api_op_DeleteDistribution.go index 99765d314d8..f6ff9a5446a 100644 --- a/service/lightsail/api_op_DeleteDistribution.go +++ b/service/lightsail/api_op_DeleteDistribution.go @@ -75,7 +75,10 @@ func addOperationDeleteDistributionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteDomain.go b/service/lightsail/api_op_DeleteDomain.go index bd7dfb8f8eb..c0871ef2837 100644 --- a/service/lightsail/api_op_DeleteDomain.go +++ b/service/lightsail/api_op_DeleteDomain.go @@ -80,7 +80,10 @@ func addOperationDeleteDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteDomainEntry.go b/service/lightsail/api_op_DeleteDomainEntry.go index 08b689afce7..65dace6a7b0 100644 --- a/service/lightsail/api_op_DeleteDomainEntry.go +++ b/service/lightsail/api_op_DeleteDomainEntry.go @@ -84,7 +84,10 @@ func addOperationDeleteDomainEntryMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteInstance.go b/service/lightsail/api_op_DeleteInstance.go index cfb313649a4..80fc392988e 100644 --- a/service/lightsail/api_op_DeleteInstance.go +++ b/service/lightsail/api_op_DeleteInstance.go @@ -82,7 +82,10 @@ func addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteInstanceSnapshot.go b/service/lightsail/api_op_DeleteInstanceSnapshot.go index 1984158bf1d..b1889d1464b 100644 --- a/service/lightsail/api_op_DeleteInstanceSnapshot.go +++ b/service/lightsail/api_op_DeleteInstanceSnapshot.go @@ -80,7 +80,10 @@ func addOperationDeleteInstanceSnapshotMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteKeyPair.go b/service/lightsail/api_op_DeleteKeyPair.go index ed26d5a7871..b2c6d107377 100644 --- a/service/lightsail/api_op_DeleteKeyPair.go +++ b/service/lightsail/api_op_DeleteKeyPair.go @@ -79,7 +79,10 @@ func addOperationDeleteKeyPairMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteKnownHostKeys.go b/service/lightsail/api_op_DeleteKnownHostKeys.go index d851ff3effb..5d6d15b4964 100644 --- a/service/lightsail/api_op_DeleteKnownHostKeys.go +++ b/service/lightsail/api_op_DeleteKnownHostKeys.go @@ -85,7 +85,10 @@ func addOperationDeleteKnownHostKeysMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteLoadBalancer.go b/service/lightsail/api_op_DeleteLoadBalancer.go index 7a33296d505..18992c58000 100644 --- a/service/lightsail/api_op_DeleteLoadBalancer.go +++ b/service/lightsail/api_op_DeleteLoadBalancer.go @@ -82,7 +82,10 @@ func addOperationDeleteLoadBalancerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go b/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go index b2a897f4fed..cc48552f1c6 100644 --- a/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go +++ b/service/lightsail/api_op_DeleteLoadBalancerTlsCertificate.go @@ -91,7 +91,10 @@ func addOperationDeleteLoadBalancerTlsCertificateMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteRelationalDatabase.go b/service/lightsail/api_op_DeleteRelationalDatabase.go index e3c7c51ee63..a4d7f9ad22d 100644 --- a/service/lightsail/api_op_DeleteRelationalDatabase.go +++ b/service/lightsail/api_op_DeleteRelationalDatabase.go @@ -98,7 +98,10 @@ func addOperationDeleteRelationalDatabaseMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go b/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go index bc97eca11e1..061da24a9ac 100644 --- a/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go +++ b/service/lightsail/api_op_DeleteRelationalDatabaseSnapshot.go @@ -80,7 +80,10 @@ func addOperationDeleteRelationalDatabaseSnapshotMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DetachCertificateFromDistribution.go b/service/lightsail/api_op_DetachCertificateFromDistribution.go index 46faed87c14..c0ceac072e6 100644 --- a/service/lightsail/api_op_DetachCertificateFromDistribution.go +++ b/service/lightsail/api_op_DetachCertificateFromDistribution.go @@ -81,7 +81,10 @@ func addOperationDetachCertificateFromDistributionMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DetachDisk.go b/service/lightsail/api_op_DetachDisk.go index 07575128f5c..fb9d5f0bd55 100644 --- a/service/lightsail/api_op_DetachDisk.go +++ b/service/lightsail/api_op_DetachDisk.go @@ -82,7 +82,10 @@ func addOperationDetachDiskMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go b/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go index ab74c06372c..54b397f29aa 100644 --- a/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go +++ b/service/lightsail/api_op_DetachInstancesFromLoadBalancer.go @@ -87,7 +87,10 @@ func addOperationDetachInstancesFromLoadBalancerMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DetachStaticIp.go b/service/lightsail/api_op_DetachStaticIp.go index 7faa106ac27..c10ef18c686 100644 --- a/service/lightsail/api_op_DetachStaticIp.go +++ b/service/lightsail/api_op_DetachStaticIp.go @@ -76,7 +76,10 @@ func addOperationDetachStaticIpMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DisableAddOn.go b/service/lightsail/api_op_DisableAddOn.go index 55a331e061e..620cfffa21e 100644 --- a/service/lightsail/api_op_DisableAddOn.go +++ b/service/lightsail/api_op_DisableAddOn.go @@ -83,7 +83,10 @@ func addOperationDisableAddOnMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_DownloadDefaultKeyPair.go b/service/lightsail/api_op_DownloadDefaultKeyPair.go index 5cc15bce9cc..a1ce94e5d07 100644 --- a/service/lightsail/api_op_DownloadDefaultKeyPair.go +++ b/service/lightsail/api_op_DownloadDefaultKeyPair.go @@ -71,7 +71,10 @@ func addOperationDownloadDefaultKeyPairMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_EnableAddOn.go b/service/lightsail/api_op_EnableAddOn.go index 9f87f06219b..51b6fa89a39 100644 --- a/service/lightsail/api_op_EnableAddOn.go +++ b/service/lightsail/api_op_EnableAddOn.go @@ -83,7 +83,10 @@ func addOperationEnableAddOnMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_ExportSnapshot.go b/service/lightsail/api_op_ExportSnapshot.go index e637f4b3460..4a77f84224b 100644 --- a/service/lightsail/api_op_ExportSnapshot.go +++ b/service/lightsail/api_op_ExportSnapshot.go @@ -89,7 +89,10 @@ func addOperationExportSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetActiveNames.go b/service/lightsail/api_op_GetActiveNames.go index 3508022cb89..2e49e66d15f 100644 --- a/service/lightsail/api_op_GetActiveNames.go +++ b/service/lightsail/api_op_GetActiveNames.go @@ -80,7 +80,10 @@ func addOperationGetActiveNamesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetAlarms.go b/service/lightsail/api_op_GetAlarms.go index fa8fc5eebd7..6c64a774c44 100644 --- a/service/lightsail/api_op_GetAlarms.go +++ b/service/lightsail/api_op_GetAlarms.go @@ -97,7 +97,10 @@ func addOperationGetAlarmsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetAutoSnapshots.go b/service/lightsail/api_op_GetAutoSnapshots.go index 5da02657fe9..35f3d3c94e1 100644 --- a/service/lightsail/api_op_GetAutoSnapshots.go +++ b/service/lightsail/api_op_GetAutoSnapshots.go @@ -84,7 +84,10 @@ func addOperationGetAutoSnapshotsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetBlueprints.go b/service/lightsail/api_op_GetBlueprints.go index 968cd95af52..a81a683d07e 100644 --- a/service/lightsail/api_op_GetBlueprints.go +++ b/service/lightsail/api_op_GetBlueprints.go @@ -92,7 +92,10 @@ func addOperationGetBlueprintsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetBundles.go b/service/lightsail/api_op_GetBundles.go index c279d0034e7..124e56a9fdd 100644 --- a/service/lightsail/api_op_GetBundles.go +++ b/service/lightsail/api_op_GetBundles.go @@ -87,7 +87,10 @@ func addOperationGetBundlesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetCertificates.go b/service/lightsail/api_op_GetCertificates.go index c8914a2e1be..68918f0d8fd 100644 --- a/service/lightsail/api_op_GetCertificates.go +++ b/service/lightsail/api_op_GetCertificates.go @@ -88,7 +88,10 @@ func addOperationGetCertificatesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetCloudFormationStackRecords.go b/service/lightsail/api_op_GetCloudFormationStackRecords.go index 491b09b5d2f..672d3c51741 100644 --- a/service/lightsail/api_op_GetCloudFormationStackRecords.go +++ b/service/lightsail/api_op_GetCloudFormationStackRecords.go @@ -83,7 +83,10 @@ func addOperationGetCloudFormationStackRecordsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetContactMethods.go b/service/lightsail/api_op_GetContactMethods.go index 49fc136d896..b48e1e7d308 100644 --- a/service/lightsail/api_op_GetContactMethods.go +++ b/service/lightsail/api_op_GetContactMethods.go @@ -81,7 +81,10 @@ func addOperationGetContactMethodsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetContainerAPIMetadata.go b/service/lightsail/api_op_GetContainerAPIMetadata.go index d46bb9e6b56..9ea002cf454 100644 --- a/service/lightsail/api_op_GetContainerAPIMetadata.go +++ b/service/lightsail/api_op_GetContainerAPIMetadata.go @@ -70,7 +70,10 @@ func addOperationGetContainerAPIMetadataMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetContainerImages.go b/service/lightsail/api_op_GetContainerImages.go index 2e8db69e4d5..2594b32f46e 100644 --- a/service/lightsail/api_op_GetContainerImages.go +++ b/service/lightsail/api_op_GetContainerImages.go @@ -80,7 +80,10 @@ func addOperationGetContainerImagesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetContainerLog.go b/service/lightsail/api_op_GetContainerLog.go index 359434372a1..566d5f37910 100644 --- a/service/lightsail/api_op_GetContainerLog.go +++ b/service/lightsail/api_op_GetContainerLog.go @@ -148,7 +148,10 @@ func addOperationGetContainerLogMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetContainerServiceDeployments.go b/service/lightsail/api_op_GetContainerServiceDeployments.go index f59e65b12a1..ee2f5698a61 100644 --- a/service/lightsail/api_op_GetContainerServiceDeployments.go +++ b/service/lightsail/api_op_GetContainerServiceDeployments.go @@ -81,7 +81,10 @@ func addOperationGetContainerServiceDeploymentsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetContainerServiceMetricData.go b/service/lightsail/api_op_GetContainerServiceMetricData.go index 4cec4063c61..1a551927ee0 100644 --- a/service/lightsail/api_op_GetContainerServiceMetricData.go +++ b/service/lightsail/api_op_GetContainerServiceMetricData.go @@ -143,7 +143,10 @@ func addOperationGetContainerServiceMetricDataMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetContainerServicePowers.go b/service/lightsail/api_op_GetContainerServicePowers.go index b3fa85c53a8..571dd8ac62f 100644 --- a/service/lightsail/api_op_GetContainerServicePowers.go +++ b/service/lightsail/api_op_GetContainerServicePowers.go @@ -72,7 +72,10 @@ func addOperationGetContainerServicePowersMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetContainerServices.go b/service/lightsail/api_op_GetContainerServices.go index aa4ed4145d9..acf8e02646d 100644 --- a/service/lightsail/api_op_GetContainerServices.go +++ b/service/lightsail/api_op_GetContainerServices.go @@ -75,7 +75,10 @@ func addOperationGetContainerServicesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDisk.go b/service/lightsail/api_op_GetDisk.go index 790f872bd29..1acfe3cd64c 100644 --- a/service/lightsail/api_op_GetDisk.go +++ b/service/lightsail/api_op_GetDisk.go @@ -74,7 +74,10 @@ func addOperationGetDiskMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDiskSnapshot.go b/service/lightsail/api_op_GetDiskSnapshot.go index f49baef1e20..48a7c426d3d 100644 --- a/service/lightsail/api_op_GetDiskSnapshot.go +++ b/service/lightsail/api_op_GetDiskSnapshot.go @@ -74,7 +74,10 @@ func addOperationGetDiskSnapshotMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDiskSnapshots.go b/service/lightsail/api_op_GetDiskSnapshots.go index febc7893dd7..8789ce43d1b 100644 --- a/service/lightsail/api_op_GetDiskSnapshots.go +++ b/service/lightsail/api_op_GetDiskSnapshots.go @@ -83,7 +83,10 @@ func addOperationGetDiskSnapshotsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDisks.go b/service/lightsail/api_op_GetDisks.go index 90169b70509..fd7c96e42d7 100644 --- a/service/lightsail/api_op_GetDisks.go +++ b/service/lightsail/api_op_GetDisks.go @@ -82,7 +82,10 @@ func addOperationGetDisksMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDistributionBundles.go b/service/lightsail/api_op_GetDistributionBundles.go index e6d66618700..90f4e453183 100644 --- a/service/lightsail/api_op_GetDistributionBundles.go +++ b/service/lightsail/api_op_GetDistributionBundles.go @@ -71,7 +71,10 @@ func addOperationGetDistributionBundlesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDistributionLatestCacheReset.go b/service/lightsail/api_op_GetDistributionLatestCacheReset.go index 8d2c5503440..4df4caec906 100644 --- a/service/lightsail/api_op_GetDistributionLatestCacheReset.go +++ b/service/lightsail/api_op_GetDistributionLatestCacheReset.go @@ -79,7 +79,10 @@ func addOperationGetDistributionLatestCacheResetMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDistributionMetricData.go b/service/lightsail/api_op_GetDistributionMetricData.go index d680482f359..c5eef92c9cd 100644 --- a/service/lightsail/api_op_GetDistributionMetricData.go +++ b/service/lightsail/api_op_GetDistributionMetricData.go @@ -193,7 +193,10 @@ func addOperationGetDistributionMetricDataMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDistributions.go b/service/lightsail/api_op_GetDistributions.go index 32746018d37..c8695b5c1f7 100644 --- a/service/lightsail/api_op_GetDistributions.go +++ b/service/lightsail/api_op_GetDistributions.go @@ -88,7 +88,10 @@ func addOperationGetDistributionsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDomain.go b/service/lightsail/api_op_GetDomain.go index 4de7dd822a1..ec2a32a9647 100644 --- a/service/lightsail/api_op_GetDomain.go +++ b/service/lightsail/api_op_GetDomain.go @@ -75,7 +75,10 @@ func addOperationGetDomainMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetDomains.go b/service/lightsail/api_op_GetDomains.go index 366188ce0e2..bd63a92b521 100644 --- a/service/lightsail/api_op_GetDomains.go +++ b/service/lightsail/api_op_GetDomains.go @@ -82,7 +82,10 @@ func addOperationGetDomainsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetExportSnapshotRecords.go b/service/lightsail/api_op_GetExportSnapshotRecords.go index 1f3ccc136c6..12f94d242e0 100644 --- a/service/lightsail/api_op_GetExportSnapshotRecords.go +++ b/service/lightsail/api_op_GetExportSnapshotRecords.go @@ -84,7 +84,10 @@ func addOperationGetExportSnapshotRecordsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetInstance.go b/service/lightsail/api_op_GetInstance.go index 6811100432e..2c62a3c2ab3 100644 --- a/service/lightsail/api_op_GetInstance.go +++ b/service/lightsail/api_op_GetInstance.go @@ -75,7 +75,10 @@ func addOperationGetInstanceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetInstanceAccessDetails.go b/service/lightsail/api_op_GetInstanceAccessDetails.go index 7b74100a987..8260a62d32d 100644 --- a/service/lightsail/api_op_GetInstanceAccessDetails.go +++ b/service/lightsail/api_op_GetInstanceAccessDetails.go @@ -82,7 +82,10 @@ func addOperationGetInstanceAccessDetailsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetInstanceMetricData.go b/service/lightsail/api_op_GetInstanceMetricData.go index 79069bc5846..f77ddca39a8 100644 --- a/service/lightsail/api_op_GetInstanceMetricData.go +++ b/service/lightsail/api_op_GetInstanceMetricData.go @@ -203,7 +203,10 @@ func addOperationGetInstanceMetricDataMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetInstancePortStates.go b/service/lightsail/api_op_GetInstancePortStates.go index 390652dc383..ab205e41133 100644 --- a/service/lightsail/api_op_GetInstancePortStates.go +++ b/service/lightsail/api_op_GetInstancePortStates.go @@ -77,7 +77,10 @@ func addOperationGetInstancePortStatesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetInstanceSnapshot.go b/service/lightsail/api_op_GetInstanceSnapshot.go index 84693be09f4..1737b109b3f 100644 --- a/service/lightsail/api_op_GetInstanceSnapshot.go +++ b/service/lightsail/api_op_GetInstanceSnapshot.go @@ -75,7 +75,10 @@ func addOperationGetInstanceSnapshotMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetInstanceSnapshots.go b/service/lightsail/api_op_GetInstanceSnapshots.go index e49a7a7cf91..48607f159c7 100644 --- a/service/lightsail/api_op_GetInstanceSnapshots.go +++ b/service/lightsail/api_op_GetInstanceSnapshots.go @@ -82,7 +82,10 @@ func addOperationGetInstanceSnapshotsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetInstanceState.go b/service/lightsail/api_op_GetInstanceState.go index f4a77c8ffd3..07c261c9795 100644 --- a/service/lightsail/api_op_GetInstanceState.go +++ b/service/lightsail/api_op_GetInstanceState.go @@ -74,7 +74,10 @@ func addOperationGetInstanceStateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetInstances.go b/service/lightsail/api_op_GetInstances.go index a8709154cf6..3e2fba169ab 100644 --- a/service/lightsail/api_op_GetInstances.go +++ b/service/lightsail/api_op_GetInstances.go @@ -82,7 +82,10 @@ func addOperationGetInstancesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetKeyPair.go b/service/lightsail/api_op_GetKeyPair.go index eeda6558ab1..4ed4732a9d4 100644 --- a/service/lightsail/api_op_GetKeyPair.go +++ b/service/lightsail/api_op_GetKeyPair.go @@ -74,7 +74,10 @@ func addOperationGetKeyPairMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetKeyPairs.go b/service/lightsail/api_op_GetKeyPairs.go index 1852942f68f..d3da81bc3be 100644 --- a/service/lightsail/api_op_GetKeyPairs.go +++ b/service/lightsail/api_op_GetKeyPairs.go @@ -81,7 +81,10 @@ func addOperationGetKeyPairsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetLoadBalancer.go b/service/lightsail/api_op_GetLoadBalancer.go index 979c6937950..45327bdb578 100644 --- a/service/lightsail/api_op_GetLoadBalancer.go +++ b/service/lightsail/api_op_GetLoadBalancer.go @@ -74,7 +74,10 @@ func addOperationGetLoadBalancerMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetLoadBalancerMetricData.go b/service/lightsail/api_op_GetLoadBalancerMetricData.go index 09b0038a64d..cadc808dda7 100644 --- a/service/lightsail/api_op_GetLoadBalancerMetricData.go +++ b/service/lightsail/api_op_GetLoadBalancerMetricData.go @@ -208,7 +208,10 @@ func addOperationGetLoadBalancerMetricDataMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go b/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go index 32e313fb27b..8dbf17fcc7d 100644 --- a/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go +++ b/service/lightsail/api_op_GetLoadBalancerTlsCertificates.go @@ -79,7 +79,10 @@ func addOperationGetLoadBalancerTlsCertificatesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetLoadBalancers.go b/service/lightsail/api_op_GetLoadBalancers.go index d275e8740d5..8195020b7cf 100644 --- a/service/lightsail/api_op_GetLoadBalancers.go +++ b/service/lightsail/api_op_GetLoadBalancers.go @@ -81,7 +81,10 @@ func addOperationGetLoadBalancersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetOperation.go b/service/lightsail/api_op_GetOperation.go index 2c34ba2eb76..186e335700b 100644 --- a/service/lightsail/api_op_GetOperation.go +++ b/service/lightsail/api_op_GetOperation.go @@ -78,7 +78,10 @@ func addOperationGetOperationMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetOperations.go b/service/lightsail/api_op_GetOperations.go index 966bf45f210..8ea9baf7371 100644 --- a/service/lightsail/api_op_GetOperations.go +++ b/service/lightsail/api_op_GetOperations.go @@ -86,7 +86,10 @@ func addOperationGetOperationsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetOperationsForResource.go b/service/lightsail/api_op_GetOperationsForResource.go index d883fe77f7b..8e8aed1f8e1 100644 --- a/service/lightsail/api_op_GetOperationsForResource.go +++ b/service/lightsail/api_op_GetOperationsForResource.go @@ -95,7 +95,10 @@ func addOperationGetOperationsForResourceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRegions.go b/service/lightsail/api_op_GetRegions.go index f3430d4ef65..0ede8557861 100644 --- a/service/lightsail/api_op_GetRegions.go +++ b/service/lightsail/api_op_GetRegions.go @@ -81,7 +81,10 @@ func addOperationGetRegionsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabase.go b/service/lightsail/api_op_GetRelationalDatabase.go index 877bac4d8b1..7e9c85c56c8 100644 --- a/service/lightsail/api_op_GetRelationalDatabase.go +++ b/service/lightsail/api_op_GetRelationalDatabase.go @@ -74,7 +74,10 @@ func addOperationGetRelationalDatabaseMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go b/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go index 2ef09cfa13f..ec707775a78 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go +++ b/service/lightsail/api_op_GetRelationalDatabaseBlueprints.go @@ -84,7 +84,10 @@ func addOperationGetRelationalDatabaseBlueprintsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseBundles.go b/service/lightsail/api_op_GetRelationalDatabaseBundles.go index 93e338f6109..bbffbcf5c00 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseBundles.go +++ b/service/lightsail/api_op_GetRelationalDatabaseBundles.go @@ -83,7 +83,10 @@ func addOperationGetRelationalDatabaseBundlesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseEvents.go b/service/lightsail/api_op_GetRelationalDatabaseEvents.go index f133c2e0b0d..05bff84820c 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseEvents.go +++ b/service/lightsail/api_op_GetRelationalDatabaseEvents.go @@ -91,7 +91,10 @@ func addOperationGetRelationalDatabaseEventsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go b/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go index f3e06833f3f..df1a273ae59 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go +++ b/service/lightsail/api_op_GetRelationalDatabaseLogEvents.go @@ -123,7 +123,10 @@ func addOperationGetRelationalDatabaseLogEventsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go b/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go index 42b3217a911..899f17d1905 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go +++ b/service/lightsail/api_op_GetRelationalDatabaseLogStreams.go @@ -75,7 +75,10 @@ func addOperationGetRelationalDatabaseLogStreamsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go b/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go index b48e35b1847..b462701b515 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go +++ b/service/lightsail/api_op_GetRelationalDatabaseMasterUserPassword.go @@ -89,7 +89,10 @@ func addOperationGetRelationalDatabaseMasterUserPasswordMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseMetricData.go b/service/lightsail/api_op_GetRelationalDatabaseMetricData.go index 38f864cec67..8e4af6ab1b3 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseMetricData.go +++ b/service/lightsail/api_op_GetRelationalDatabaseMetricData.go @@ -180,7 +180,10 @@ func addOperationGetRelationalDatabaseMetricDataMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseParameters.go b/service/lightsail/api_op_GetRelationalDatabaseParameters.go index c9447e2aa4d..285588e943b 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseParameters.go +++ b/service/lightsail/api_op_GetRelationalDatabaseParameters.go @@ -91,7 +91,10 @@ func addOperationGetRelationalDatabaseParametersMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go b/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go index f6486ac3903..6caeb83ee25 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go +++ b/service/lightsail/api_op_GetRelationalDatabaseSnapshot.go @@ -74,7 +74,10 @@ func addOperationGetRelationalDatabaseSnapshotMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go b/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go index 3a06e6901f9..422ee334446 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go +++ b/service/lightsail/api_op_GetRelationalDatabaseSnapshots.go @@ -82,7 +82,10 @@ func addOperationGetRelationalDatabaseSnapshotsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetRelationalDatabases.go b/service/lightsail/api_op_GetRelationalDatabases.go index 04da50197e1..a32cef57ac0 100644 --- a/service/lightsail/api_op_GetRelationalDatabases.go +++ b/service/lightsail/api_op_GetRelationalDatabases.go @@ -81,7 +81,10 @@ func addOperationGetRelationalDatabasesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetStaticIp.go b/service/lightsail/api_op_GetStaticIp.go index 8a4785986d2..93373fd48e0 100644 --- a/service/lightsail/api_op_GetStaticIp.go +++ b/service/lightsail/api_op_GetStaticIp.go @@ -75,7 +75,10 @@ func addOperationGetStaticIpMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_GetStaticIps.go b/service/lightsail/api_op_GetStaticIps.go index 911cb6ad801..6bbd16105a5 100644 --- a/service/lightsail/api_op_GetStaticIps.go +++ b/service/lightsail/api_op_GetStaticIps.go @@ -82,7 +82,10 @@ func addOperationGetStaticIpsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_ImportKeyPair.go b/service/lightsail/api_op_ImportKeyPair.go index 00f91e9b803..5d351d1c0d6 100644 --- a/service/lightsail/api_op_ImportKeyPair.go +++ b/service/lightsail/api_op_ImportKeyPair.go @@ -81,7 +81,10 @@ func addOperationImportKeyPairMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_IsVpcPeered.go b/service/lightsail/api_op_IsVpcPeered.go index d4d5dc30c35..b86cf2adeaf 100644 --- a/service/lightsail/api_op_IsVpcPeered.go +++ b/service/lightsail/api_op_IsVpcPeered.go @@ -68,7 +68,10 @@ func addOperationIsVpcPeeredMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_OpenInstancePublicPorts.go b/service/lightsail/api_op_OpenInstancePublicPorts.go index 690a29cd571..cddba5ce306 100644 --- a/service/lightsail/api_op_OpenInstancePublicPorts.go +++ b/service/lightsail/api_op_OpenInstancePublicPorts.go @@ -86,7 +86,10 @@ func addOperationOpenInstancePublicPortsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_PeerVpc.go b/service/lightsail/api_op_PeerVpc.go index ac24826321c..ee1d72058fe 100644 --- a/service/lightsail/api_op_PeerVpc.go +++ b/service/lightsail/api_op_PeerVpc.go @@ -71,7 +71,10 @@ func addOperationPeerVpcMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_PutAlarm.go b/service/lightsail/api_op_PutAlarm.go index e3abb34cf6d..5c99ec311d5 100644 --- a/service/lightsail/api_op_PutAlarm.go +++ b/service/lightsail/api_op_PutAlarm.go @@ -212,7 +212,10 @@ func addOperationPutAlarmMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_PutInstancePublicPorts.go b/service/lightsail/api_op_PutInstancePublicPorts.go index 82f6edc23cf..c8df04d590d 100644 --- a/service/lightsail/api_op_PutInstancePublicPorts.go +++ b/service/lightsail/api_op_PutInstancePublicPorts.go @@ -90,7 +90,10 @@ func addOperationPutInstancePublicPortsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_RebootInstance.go b/service/lightsail/api_op_RebootInstance.go index 2692d956d71..a335a9454d2 100644 --- a/service/lightsail/api_op_RebootInstance.go +++ b/service/lightsail/api_op_RebootInstance.go @@ -79,7 +79,10 @@ func addOperationRebootInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_RebootRelationalDatabase.go b/service/lightsail/api_op_RebootRelationalDatabase.go index e06a3640c16..6a6d223c253 100644 --- a/service/lightsail/api_op_RebootRelationalDatabase.go +++ b/service/lightsail/api_op_RebootRelationalDatabase.go @@ -80,7 +80,10 @@ func addOperationRebootRelationalDatabaseMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_RegisterContainerImage.go b/service/lightsail/api_op_RegisterContainerImage.go index 9d7d83037e8..2e78f8c92ca 100644 --- a/service/lightsail/api_op_RegisterContainerImage.go +++ b/service/lightsail/api_op_RegisterContainerImage.go @@ -105,7 +105,10 @@ func addOperationRegisterContainerImageMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_ReleaseStaticIp.go b/service/lightsail/api_op_ReleaseStaticIp.go index 53a2cc82b4f..8a231c25698 100644 --- a/service/lightsail/api_op_ReleaseStaticIp.go +++ b/service/lightsail/api_op_ReleaseStaticIp.go @@ -76,7 +76,10 @@ func addOperationReleaseStaticIpMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_ResetDistributionCache.go b/service/lightsail/api_op_ResetDistributionCache.go index bb84fdd0285..bb29d202b6e 100644 --- a/service/lightsail/api_op_ResetDistributionCache.go +++ b/service/lightsail/api_op_ResetDistributionCache.go @@ -85,7 +85,10 @@ func addOperationResetDistributionCacheMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_SendContactMethodVerification.go b/service/lightsail/api_op_SendContactMethodVerification.go index 950247d63a0..38756a2683f 100644 --- a/service/lightsail/api_op_SendContactMethodVerification.go +++ b/service/lightsail/api_op_SendContactMethodVerification.go @@ -87,7 +87,10 @@ func addOperationSendContactMethodVerificationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_StartInstance.go b/service/lightsail/api_op_StartInstance.go index 3871d681859..d54f95b86e5 100644 --- a/service/lightsail/api_op_StartInstance.go +++ b/service/lightsail/api_op_StartInstance.go @@ -85,7 +85,10 @@ func addOperationStartInstanceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_StartRelationalDatabase.go b/service/lightsail/api_op_StartRelationalDatabase.go index c8f107f158b..fb723f184cc 100644 --- a/service/lightsail/api_op_StartRelationalDatabase.go +++ b/service/lightsail/api_op_StartRelationalDatabase.go @@ -81,7 +81,10 @@ func addOperationStartRelationalDatabaseMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_StopInstance.go b/service/lightsail/api_op_StopInstance.go index 3ba3fcebb8b..a7bd4c70dc7 100644 --- a/service/lightsail/api_op_StopInstance.go +++ b/service/lightsail/api_op_StopInstance.go @@ -91,7 +91,10 @@ func addOperationStopInstanceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_StopRelationalDatabase.go b/service/lightsail/api_op_StopRelationalDatabase.go index a030747b9e5..017e140500a 100644 --- a/service/lightsail/api_op_StopRelationalDatabase.go +++ b/service/lightsail/api_op_StopRelationalDatabase.go @@ -84,7 +84,10 @@ func addOperationStopRelationalDatabaseMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_TagResource.go b/service/lightsail/api_op_TagResource.go index e0058b5da26..344f46cdf3d 100644 --- a/service/lightsail/api_op_TagResource.go +++ b/service/lightsail/api_op_TagResource.go @@ -92,7 +92,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_TestAlarm.go b/service/lightsail/api_op_TestAlarm.go index a003af6dfbe..9ea5aa8fa19 100644 --- a/service/lightsail/api_op_TestAlarm.go +++ b/service/lightsail/api_op_TestAlarm.go @@ -98,7 +98,10 @@ func addOperationTestAlarmMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_UnpeerVpc.go b/service/lightsail/api_op_UnpeerVpc.go index 015b77f4cb9..6c5448053e6 100644 --- a/service/lightsail/api_op_UnpeerVpc.go +++ b/service/lightsail/api_op_UnpeerVpc.go @@ -71,7 +71,10 @@ func addOperationUnpeerVpcMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_UntagResource.go b/service/lightsail/api_op_UntagResource.go index 6ea4bcbdfb6..7805c9ba299 100644 --- a/service/lightsail/api_op_UntagResource.go +++ b/service/lightsail/api_op_UntagResource.go @@ -89,7 +89,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_UpdateContainerService.go b/service/lightsail/api_op_UpdateContainerService.go index e21b9b7ca1b..463b6fd6787 100644 --- a/service/lightsail/api_op_UpdateContainerService.go +++ b/service/lightsail/api_op_UpdateContainerService.go @@ -106,7 +106,10 @@ func addOperationUpdateContainerServiceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_UpdateDistribution.go b/service/lightsail/api_op_UpdateDistribution.go index 36e710400a6..d42dd466b1f 100644 --- a/service/lightsail/api_op_UpdateDistribution.go +++ b/service/lightsail/api_op_UpdateDistribution.go @@ -99,7 +99,10 @@ func addOperationUpdateDistributionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_UpdateDistributionBundle.go b/service/lightsail/api_op_UpdateDistributionBundle.go index 186abeea5b7..1ffc075feda 100644 --- a/service/lightsail/api_op_UpdateDistributionBundle.go +++ b/service/lightsail/api_op_UpdateDistributionBundle.go @@ -87,7 +87,10 @@ func addOperationUpdateDistributionBundleMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_UpdateDomainEntry.go b/service/lightsail/api_op_UpdateDomainEntry.go index b5e5ce9725e..bcfdedd90be 100644 --- a/service/lightsail/api_op_UpdateDomainEntry.go +++ b/service/lightsail/api_op_UpdateDomainEntry.go @@ -85,7 +85,10 @@ func addOperationUpdateDomainEntryMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_UpdateLoadBalancerAttribute.go b/service/lightsail/api_op_UpdateLoadBalancerAttribute.go index 17fce1ad3a6..4f78006d3a0 100644 --- a/service/lightsail/api_op_UpdateLoadBalancerAttribute.go +++ b/service/lightsail/api_op_UpdateLoadBalancerAttribute.go @@ -90,7 +90,10 @@ func addOperationUpdateLoadBalancerAttributeMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_UpdateRelationalDatabase.go b/service/lightsail/api_op_UpdateRelationalDatabase.go index 45525a65f70..9a12535ad7e 100644 --- a/service/lightsail/api_op_UpdateRelationalDatabase.go +++ b/service/lightsail/api_op_UpdateRelationalDatabase.go @@ -149,7 +149,10 @@ func addOperationUpdateRelationalDatabaseMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go b/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go index 04661eeee65..e32964bcecd 100644 --- a/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go +++ b/service/lightsail/api_op_UpdateRelationalDatabaseParameters.go @@ -91,7 +91,10 @@ func addOperationUpdateRelationalDatabaseParametersMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_CreateDataset.go b/service/lookoutvision/api_op_CreateDataset.go index 9ff2a7ba5bd..80d853da137 100644 --- a/service/lookoutvision/api_op_CreateDataset.go +++ b/service/lookoutvision/api_op_CreateDataset.go @@ -107,7 +107,10 @@ func addOperationCreateDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_CreateModel.go b/service/lookoutvision/api_op_CreateModel.go index f91378fe913..9fafac54454 100644 --- a/service/lookoutvision/api_op_CreateModel.go +++ b/service/lookoutvision/api_op_CreateModel.go @@ -105,7 +105,10 @@ func addOperationCreateModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_CreateProject.go b/service/lookoutvision/api_op_CreateProject.go index 37ee8321e97..d90689c4d7f 100644 --- a/service/lookoutvision/api_op_CreateProject.go +++ b/service/lookoutvision/api_op_CreateProject.go @@ -86,7 +86,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_DeleteDataset.go b/service/lookoutvision/api_op_DeleteDataset.go index 543d1db3817..6b59f45f090 100644 --- a/service/lookoutvision/api_op_DeleteDataset.go +++ b/service/lookoutvision/api_op_DeleteDataset.go @@ -101,7 +101,10 @@ func addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_DeleteModel.go b/service/lookoutvision/api_op_DeleteModel.go index 30d23d6f5bc..0e39ba78d33 100644 --- a/service/lookoutvision/api_op_DeleteModel.go +++ b/service/lookoutvision/api_op_DeleteModel.go @@ -89,7 +89,10 @@ func addOperationDeleteModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_DeleteProject.go b/service/lookoutvision/api_op_DeleteProject.go index 7a2d91352e5..fe6e35ca6b7 100644 --- a/service/lookoutvision/api_op_DeleteProject.go +++ b/service/lookoutvision/api_op_DeleteProject.go @@ -88,7 +88,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_DescribeDataset.go b/service/lookoutvision/api_op_DescribeDataset.go index 283b2c9f51e..0c2b168bfb8 100644 --- a/service/lookoutvision/api_op_DescribeDataset.go +++ b/service/lookoutvision/api_op_DescribeDataset.go @@ -81,7 +81,10 @@ func addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_DescribeModel.go b/service/lookoutvision/api_op_DescribeModel.go index 8fe7ab4b065..23dc72d7731 100644 --- a/service/lookoutvision/api_op_DescribeModel.go +++ b/service/lookoutvision/api_op_DescribeModel.go @@ -79,7 +79,10 @@ func addOperationDescribeModelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_DescribeProject.go b/service/lookoutvision/api_op_DescribeProject.go index 3dffa625f84..fe7781a335e 100644 --- a/service/lookoutvision/api_op_DescribeProject.go +++ b/service/lookoutvision/api_op_DescribeProject.go @@ -74,7 +74,10 @@ func addOperationDescribeProjectMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_DetectAnomalies.go b/service/lookoutvision/api_op_DetectAnomalies.go index 0c399fc6feb..a27b3bc4d01 100644 --- a/service/lookoutvision/api_op_DetectAnomalies.go +++ b/service/lookoutvision/api_op_DetectAnomalies.go @@ -97,7 +97,10 @@ func addOperationDetectAnomaliesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_ListDatasetEntries.go b/service/lookoutvision/api_op_ListDatasetEntries.go index 9a81678a3ab..1679a4b4c57 100644 --- a/service/lookoutvision/api_op_ListDatasetEntries.go +++ b/service/lookoutvision/api_op_ListDatasetEntries.go @@ -121,7 +121,10 @@ func addOperationListDatasetEntriesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_ListModels.go b/service/lookoutvision/api_op_ListModels.go index 0caad8cae7d..4f3a055760d 100644 --- a/service/lookoutvision/api_op_ListModels.go +++ b/service/lookoutvision/api_op_ListModels.go @@ -89,7 +89,10 @@ func addOperationListModelsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_ListProjects.go b/service/lookoutvision/api_op_ListProjects.go index c608803c730..16c01497c92 100644 --- a/service/lookoutvision/api_op_ListProjects.go +++ b/service/lookoutvision/api_op_ListProjects.go @@ -84,7 +84,10 @@ func addOperationListProjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_StartModel.go b/service/lookoutvision/api_op_StartModel.go index 7caecc0d087..1b0ec9c0a58 100644 --- a/service/lookoutvision/api_op_StartModel.go +++ b/service/lookoutvision/api_op_StartModel.go @@ -101,7 +101,10 @@ func addOperationStartModelMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_StopModel.go b/service/lookoutvision/api_op_StopModel.go index 1f9b7b52794..801059ec539 100644 --- a/service/lookoutvision/api_op_StopModel.go +++ b/service/lookoutvision/api_op_StopModel.go @@ -90,7 +90,10 @@ func addOperationStopModelMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/lookoutvision/api_op_UpdateDatasetEntries.go b/service/lookoutvision/api_op_UpdateDatasetEntries.go index d6847b360ce..dd38ab3cc82 100644 --- a/service/lookoutvision/api_op_UpdateDatasetEntries.go +++ b/service/lookoutvision/api_op_UpdateDatasetEntries.go @@ -101,7 +101,10 @@ func addOperationUpdateDatasetEntriesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_AddTags.go b/service/machinelearning/api_op_AddTags.go index 8c2ec795bf3..f3a4d5913a1 100644 --- a/service/machinelearning/api_op_AddTags.go +++ b/service/machinelearning/api_op_AddTags.go @@ -92,7 +92,10 @@ func addOperationAddTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_CreateBatchPrediction.go b/service/machinelearning/api_op_CreateBatchPrediction.go index 901f58be187..c1975b2bec8 100644 --- a/service/machinelearning/api_op_CreateBatchPrediction.go +++ b/service/machinelearning/api_op_CreateBatchPrediction.go @@ -113,7 +113,10 @@ func addOperationCreateBatchPredictionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_CreateDataSourceFromRDS.go b/service/machinelearning/api_op_CreateDataSourceFromRDS.go index 4dc00854366..7a6c96ce6eb 100644 --- a/service/machinelearning/api_op_CreateDataSourceFromRDS.go +++ b/service/machinelearning/api_op_CreateDataSourceFromRDS.go @@ -162,7 +162,10 @@ func addOperationCreateDataSourceFromRDSMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_CreateDataSourceFromRedshift.go b/service/machinelearning/api_op_CreateDataSourceFromRedshift.go index a046b9f506f..f6039409bb4 100644 --- a/service/machinelearning/api_op_CreateDataSourceFromRedshift.go +++ b/service/machinelearning/api_op_CreateDataSourceFromRedshift.go @@ -162,7 +162,10 @@ func addOperationCreateDataSourceFromRedshiftMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_CreateDataSourceFromS3.go b/service/machinelearning/api_op_CreateDataSourceFromS3.go index e0cd0c9e1cf..4355c25616c 100644 --- a/service/machinelearning/api_op_CreateDataSourceFromS3.go +++ b/service/machinelearning/api_op_CreateDataSourceFromS3.go @@ -129,7 +129,10 @@ func addOperationCreateDataSourceFromS3Middlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_CreateEvaluation.go b/service/machinelearning/api_op_CreateEvaluation.go index 28429e54c8b..989aa138307 100644 --- a/service/machinelearning/api_op_CreateEvaluation.go +++ b/service/machinelearning/api_op_CreateEvaluation.go @@ -105,7 +105,10 @@ func addOperationCreateEvaluationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_CreateMLModel.go b/service/machinelearning/api_op_CreateMLModel.go index fa893a11f9a..35472fef51f 100644 --- a/service/machinelearning/api_op_CreateMLModel.go +++ b/service/machinelearning/api_op_CreateMLModel.go @@ -160,7 +160,10 @@ func addOperationCreateMLModelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_CreateRealtimeEndpoint.go b/service/machinelearning/api_op_CreateRealtimeEndpoint.go index c461ca86766..538dac7e580 100644 --- a/service/machinelearning/api_op_CreateRealtimeEndpoint.go +++ b/service/machinelearning/api_op_CreateRealtimeEndpoint.go @@ -84,7 +84,10 @@ func addOperationCreateRealtimeEndpointMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DeleteBatchPrediction.go b/service/machinelearning/api_op_DeleteBatchPrediction.go index 442086a823b..f863505721d 100644 --- a/service/machinelearning/api_op_DeleteBatchPrediction.go +++ b/service/machinelearning/api_op_DeleteBatchPrediction.go @@ -80,7 +80,10 @@ func addOperationDeleteBatchPredictionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DeleteDataSource.go b/service/machinelearning/api_op_DeleteDataSource.go index 269eb699eec..f05321577e1 100644 --- a/service/machinelearning/api_op_DeleteDataSource.go +++ b/service/machinelearning/api_op_DeleteDataSource.go @@ -78,7 +78,10 @@ func addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DeleteEvaluation.go b/service/machinelearning/api_op_DeleteEvaluation.go index 4ea96b855b8..c9cc27be6e0 100644 --- a/service/machinelearning/api_op_DeleteEvaluation.go +++ b/service/machinelearning/api_op_DeleteEvaluation.go @@ -81,7 +81,10 @@ func addOperationDeleteEvaluationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DeleteMLModel.go b/service/machinelearning/api_op_DeleteMLModel.go index 3f015736b63..c4e84e9d82e 100644 --- a/service/machinelearning/api_op_DeleteMLModel.go +++ b/service/machinelearning/api_op_DeleteMLModel.go @@ -80,7 +80,10 @@ func addOperationDeleteMLModelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DeleteRealtimeEndpoint.go b/service/machinelearning/api_op_DeleteRealtimeEndpoint.go index 3b99cccadb3..19126cc222a 100644 --- a/service/machinelearning/api_op_DeleteRealtimeEndpoint.go +++ b/service/machinelearning/api_op_DeleteRealtimeEndpoint.go @@ -80,7 +80,10 @@ func addOperationDeleteRealtimeEndpointMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DeleteTags.go b/service/machinelearning/api_op_DeleteTags.go index 691bb704633..1c4aa4ecf03 100644 --- a/service/machinelearning/api_op_DeleteTags.go +++ b/service/machinelearning/api_op_DeleteTags.go @@ -90,7 +90,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DescribeBatchPredictions.go b/service/machinelearning/api_op_DescribeBatchPredictions.go index 00058065206..0db68d15e83 100644 --- a/service/machinelearning/api_op_DescribeBatchPredictions.go +++ b/service/machinelearning/api_op_DescribeBatchPredictions.go @@ -161,7 +161,10 @@ func addOperationDescribeBatchPredictionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DescribeDataSources.go b/service/machinelearning/api_op_DescribeDataSources.go index 78beeee2fb1..ebd4018888b 100644 --- a/service/machinelearning/api_op_DescribeDataSources.go +++ b/service/machinelearning/api_op_DescribeDataSources.go @@ -152,7 +152,10 @@ func addOperationDescribeDataSourcesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DescribeEvaluations.go b/service/machinelearning/api_op_DescribeEvaluations.go index 073e103edcf..736eecbbff4 100644 --- a/service/machinelearning/api_op_DescribeEvaluations.go +++ b/service/machinelearning/api_op_DescribeEvaluations.go @@ -159,7 +159,10 @@ func addOperationDescribeEvaluationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DescribeMLModels.go b/service/machinelearning/api_op_DescribeMLModels.go index 1bc6469b37a..0501609109d 100644 --- a/service/machinelearning/api_op_DescribeMLModels.go +++ b/service/machinelearning/api_op_DescribeMLModels.go @@ -164,7 +164,10 @@ func addOperationDescribeMLModelsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_DescribeTags.go b/service/machinelearning/api_op_DescribeTags.go index fac7f27cf59..830bdda163b 100644 --- a/service/machinelearning/api_op_DescribeTags.go +++ b/service/machinelearning/api_op_DescribeTags.go @@ -86,7 +86,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_GetBatchPrediction.go b/service/machinelearning/api_op_GetBatchPrediction.go index a7eebd7c4f9..88e32077918 100644 --- a/service/machinelearning/api_op_GetBatchPrediction.go +++ b/service/machinelearning/api_op_GetBatchPrediction.go @@ -159,7 +159,10 @@ func addOperationGetBatchPredictionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_GetDataSource.go b/service/machinelearning/api_op_GetDataSource.go index 02b6a3cb374..5f08a8262f1 100644 --- a/service/machinelearning/api_op_GetDataSource.go +++ b/service/machinelearning/api_op_GetDataSource.go @@ -172,7 +172,10 @@ func addOperationGetDataSourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_GetEvaluation.go b/service/machinelearning/api_op_GetEvaluation.go index 2568aad72fc..31188735fd7 100644 --- a/service/machinelearning/api_op_GetEvaluation.go +++ b/service/machinelearning/api_op_GetEvaluation.go @@ -160,7 +160,10 @@ func addOperationGetEvaluationMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_GetMLModel.go b/service/machinelearning/api_op_GetMLModel.go index bb51f7dc0ac..195e7485558 100644 --- a/service/machinelearning/api_op_GetMLModel.go +++ b/service/machinelearning/api_op_GetMLModel.go @@ -219,7 +219,10 @@ func addOperationGetMLModelMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_Predict.go b/service/machinelearning/api_op_Predict.go index 6a7133bf117..71f699654e7 100644 --- a/service/machinelearning/api_op_Predict.go +++ b/service/machinelearning/api_op_Predict.go @@ -102,7 +102,10 @@ func addOperationPredictMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_UpdateBatchPrediction.go b/service/machinelearning/api_op_UpdateBatchPrediction.go index 85cd1989051..84f147752c0 100644 --- a/service/machinelearning/api_op_UpdateBatchPrediction.go +++ b/service/machinelearning/api_op_UpdateBatchPrediction.go @@ -82,7 +82,10 @@ func addOperationUpdateBatchPredictionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_UpdateDataSource.go b/service/machinelearning/api_op_UpdateDataSource.go index 261b672b2ca..6cc4a948ddf 100644 --- a/service/machinelearning/api_op_UpdateDataSource.go +++ b/service/machinelearning/api_op_UpdateDataSource.go @@ -83,7 +83,10 @@ func addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_UpdateEvaluation.go b/service/machinelearning/api_op_UpdateEvaluation.go index b64ecbc1d6f..6748f979560 100644 --- a/service/machinelearning/api_op_UpdateEvaluation.go +++ b/service/machinelearning/api_op_UpdateEvaluation.go @@ -83,7 +83,10 @@ func addOperationUpdateEvaluationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/machinelearning/api_op_UpdateMLModel.go b/service/machinelearning/api_op_UpdateMLModel.go index ea46b000884..0886776a938 100644 --- a/service/machinelearning/api_op_UpdateMLModel.go +++ b/service/machinelearning/api_op_UpdateMLModel.go @@ -87,7 +87,10 @@ func addOperationUpdateMLModelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie/api_op_AssociateMemberAccount.go b/service/macie/api_op_AssociateMemberAccount.go index 06d049ad6e7..b285ed57a37 100644 --- a/service/macie/api_op_AssociateMemberAccount.go +++ b/service/macie/api_op_AssociateMemberAccount.go @@ -71,7 +71,10 @@ func addOperationAssociateMemberAccountMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie/api_op_AssociateS3Resources.go b/service/macie/api_op_AssociateS3Resources.go index 191f6ab8c3e..aad1774dc2b 100644 --- a/service/macie/api_op_AssociateS3Resources.go +++ b/service/macie/api_op_AssociateS3Resources.go @@ -84,7 +84,10 @@ func addOperationAssociateS3ResourcesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie/api_op_DisassociateMemberAccount.go b/service/macie/api_op_DisassociateMemberAccount.go index 17009ce1b3e..5846a645748 100644 --- a/service/macie/api_op_DisassociateMemberAccount.go +++ b/service/macie/api_op_DisassociateMemberAccount.go @@ -69,7 +69,10 @@ func addOperationDisassociateMemberAccountMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie/api_op_DisassociateS3Resources.go b/service/macie/api_op_DisassociateS3Resources.go index 318b8e5500f..531e9163e23 100644 --- a/service/macie/api_op_DisassociateS3Resources.go +++ b/service/macie/api_op_DisassociateS3Resources.go @@ -85,7 +85,10 @@ func addOperationDisassociateS3ResourcesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie/api_op_ListMemberAccounts.go b/service/macie/api_op_ListMemberAccounts.go index 106550377a8..4c9280bab02 100644 --- a/service/macie/api_op_ListMemberAccounts.go +++ b/service/macie/api_op_ListMemberAccounts.go @@ -88,7 +88,10 @@ func addOperationListMemberAccountsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie/api_op_ListS3Resources.go b/service/macie/api_op_ListS3Resources.go index c329f8e9408..552a3fc0c1e 100644 --- a/service/macie/api_op_ListS3Resources.go +++ b/service/macie/api_op_ListS3Resources.go @@ -94,7 +94,10 @@ func addOperationListS3ResourcesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie/api_op_UpdateS3Resources.go b/service/macie/api_op_UpdateS3Resources.go index a533429884c..4cb88126977 100644 --- a/service/macie/api_op_UpdateS3Resources.go +++ b/service/macie/api_op_UpdateS3Resources.go @@ -84,7 +84,10 @@ func addOperationUpdateS3ResourcesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_AcceptInvitation.go b/service/macie2/api_op_AcceptInvitation.go index 8418dbf5ccf..0166da6972d 100644 --- a/service/macie2/api_op_AcceptInvitation.go +++ b/service/macie2/api_op_AcceptInvitation.go @@ -75,7 +75,10 @@ func addOperationAcceptInvitationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_BatchGetCustomDataIdentifiers.go b/service/macie2/api_op_BatchGetCustomDataIdentifiers.go index 97d9ee973a5..813bb44f4be 100644 --- a/service/macie2/api_op_BatchGetCustomDataIdentifiers.go +++ b/service/macie2/api_op_BatchGetCustomDataIdentifiers.go @@ -78,7 +78,10 @@ func addOperationBatchGetCustomDataIdentifiersMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_CreateClassificationJob.go b/service/macie2/api_op_CreateClassificationJob.go index f66e4b71158..cb651fcdbac 100644 --- a/service/macie2/api_op_CreateClassificationJob.go +++ b/service/macie2/api_op_CreateClassificationJob.go @@ -132,7 +132,10 @@ func addOperationCreateClassificationJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_CreateCustomDataIdentifier.go b/service/macie2/api_op_CreateCustomDataIdentifier.go index b9444b2f8fe..bb0445a6f36 100644 --- a/service/macie2/api_op_CreateCustomDataIdentifier.go +++ b/service/macie2/api_op_CreateCustomDataIdentifier.go @@ -118,7 +118,10 @@ func addOperationCreateCustomDataIdentifierMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_CreateFindingsFilter.go b/service/macie2/api_op_CreateFindingsFilter.go index 92d305f4102..1a980467809 100644 --- a/service/macie2/api_op_CreateFindingsFilter.go +++ b/service/macie2/api_op_CreateFindingsFilter.go @@ -116,7 +116,10 @@ func addOperationCreateFindingsFilterMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_CreateInvitations.go b/service/macie2/api_op_CreateInvitations.go index c6aaef831c4..bacd9083053 100644 --- a/service/macie2/api_op_CreateInvitations.go +++ b/service/macie2/api_op_CreateInvitations.go @@ -87,7 +87,10 @@ func addOperationCreateInvitationsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_CreateMember.go b/service/macie2/api_op_CreateMember.go index afc7703cb24..d2f63aaef52 100644 --- a/service/macie2/api_op_CreateMember.go +++ b/service/macie2/api_op_CreateMember.go @@ -81,7 +81,10 @@ func addOperationCreateMemberMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_CreateSampleFindings.go b/service/macie2/api_op_CreateSampleFindings.go index c1196cfa458..d752ccfaf8d 100644 --- a/service/macie2/api_op_CreateSampleFindings.go +++ b/service/macie2/api_op_CreateSampleFindings.go @@ -70,7 +70,10 @@ func addOperationCreateSampleFindingsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DeclineInvitations.go b/service/macie2/api_op_DeclineInvitations.go index 664a495dccc..3940f1d0222 100644 --- a/service/macie2/api_op_DeclineInvitations.go +++ b/service/macie2/api_op_DeclineInvitations.go @@ -78,7 +78,10 @@ func addOperationDeclineInvitationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DeleteCustomDataIdentifier.go b/service/macie2/api_op_DeleteCustomDataIdentifier.go index e21d56adc29..64a91ca897f 100644 --- a/service/macie2/api_op_DeleteCustomDataIdentifier.go +++ b/service/macie2/api_op_DeleteCustomDataIdentifier.go @@ -70,7 +70,10 @@ func addOperationDeleteCustomDataIdentifierMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DeleteFindingsFilter.go b/service/macie2/api_op_DeleteFindingsFilter.go index b88433f334d..02c5d2ad841 100644 --- a/service/macie2/api_op_DeleteFindingsFilter.go +++ b/service/macie2/api_op_DeleteFindingsFilter.go @@ -70,7 +70,10 @@ func addOperationDeleteFindingsFilterMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DeleteInvitations.go b/service/macie2/api_op_DeleteInvitations.go index 26111b3672d..6fa86e450cd 100644 --- a/service/macie2/api_op_DeleteInvitations.go +++ b/service/macie2/api_op_DeleteInvitations.go @@ -78,7 +78,10 @@ func addOperationDeleteInvitationsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DeleteMember.go b/service/macie2/api_op_DeleteMember.go index 543664702b7..f5470504ffc 100644 --- a/service/macie2/api_op_DeleteMember.go +++ b/service/macie2/api_op_DeleteMember.go @@ -70,7 +70,10 @@ func addOperationDeleteMemberMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DescribeBuckets.go b/service/macie2/api_op_DescribeBuckets.go index bf0200e6657..5bcc54ae52b 100644 --- a/service/macie2/api_op_DescribeBuckets.go +++ b/service/macie2/api_op_DescribeBuckets.go @@ -90,7 +90,10 @@ func addOperationDescribeBucketsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DescribeClassificationJob.go b/service/macie2/api_op_DescribeClassificationJob.go index 80c51a38921..2685f4f5360 100644 --- a/service/macie2/api_op_DescribeClassificationJob.go +++ b/service/macie2/api_op_DescribeClassificationJob.go @@ -172,7 +172,10 @@ func addOperationDescribeClassificationJobMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DescribeOrganizationConfiguration.go b/service/macie2/api_op_DescribeOrganizationConfiguration.go index 8c468c0992f..98bda97d5ee 100644 --- a/service/macie2/api_op_DescribeOrganizationConfiguration.go +++ b/service/macie2/api_op_DescribeOrganizationConfiguration.go @@ -73,7 +73,10 @@ func addOperationDescribeOrganizationConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DisableMacie.go b/service/macie2/api_op_DisableMacie.go index 0c6d73235ef..9d7d0e0b52e 100644 --- a/service/macie2/api_op_DisableMacie.go +++ b/service/macie2/api_op_DisableMacie.go @@ -64,7 +64,10 @@ func addOperationDisableMacieMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DisableOrganizationAdminAccount.go b/service/macie2/api_op_DisableOrganizationAdminAccount.go index a140542aaf4..4e41afeea6c 100644 --- a/service/macie2/api_op_DisableOrganizationAdminAccount.go +++ b/service/macie2/api_op_DisableOrganizationAdminAccount.go @@ -70,7 +70,10 @@ func addOperationDisableOrganizationAdminAccountMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DisassociateFromMasterAccount.go b/service/macie2/api_op_DisassociateFromMasterAccount.go index 324b7c442fe..83957fbba40 100644 --- a/service/macie2/api_op_DisassociateFromMasterAccount.go +++ b/service/macie2/api_op_DisassociateFromMasterAccount.go @@ -64,7 +64,10 @@ func addOperationDisassociateFromMasterAccountMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_DisassociateMember.go b/service/macie2/api_op_DisassociateMember.go index d23fb771261..624a9c22900 100644 --- a/service/macie2/api_op_DisassociateMember.go +++ b/service/macie2/api_op_DisassociateMember.go @@ -70,7 +70,10 @@ func addOperationDisassociateMemberMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_EnableMacie.go b/service/macie2/api_op_EnableMacie.go index 86498cb7373..8253ffc9f99 100644 --- a/service/macie2/api_op_EnableMacie.go +++ b/service/macie2/api_op_EnableMacie.go @@ -80,7 +80,10 @@ func addOperationEnableMacieMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_EnableOrganizationAdminAccount.go b/service/macie2/api_op_EnableOrganizationAdminAccount.go index 716d1dc3a7c..1567b27efb1 100644 --- a/service/macie2/api_op_EnableOrganizationAdminAccount.go +++ b/service/macie2/api_op_EnableOrganizationAdminAccount.go @@ -76,7 +76,10 @@ func addOperationEnableOrganizationAdminAccountMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetBucketStatistics.go b/service/macie2/api_op_GetBucketStatistics.go index c788cf129a4..630f5dec020 100644 --- a/service/macie2/api_op_GetBucketStatistics.go +++ b/service/macie2/api_op_GetBucketStatistics.go @@ -118,7 +118,10 @@ func addOperationGetBucketStatisticsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetClassificationExportConfiguration.go b/service/macie2/api_op_GetClassificationExportConfiguration.go index c0d10ad6f3c..1090f1ee588 100644 --- a/service/macie2/api_op_GetClassificationExportConfiguration.go +++ b/service/macie2/api_op_GetClassificationExportConfiguration.go @@ -70,7 +70,10 @@ func addOperationGetClassificationExportConfigurationMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetCustomDataIdentifier.go b/service/macie2/api_op_GetCustomDataIdentifier.go index e1ea17acbe5..e833bab7f18 100644 --- a/service/macie2/api_op_GetCustomDataIdentifier.go +++ b/service/macie2/api_op_GetCustomDataIdentifier.go @@ -116,7 +116,10 @@ func addOperationGetCustomDataIdentifierMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetFindingStatistics.go b/service/macie2/api_op_GetFindingStatistics.go index 15c262f59a7..4fe9a35453f 100644 --- a/service/macie2/api_op_GetFindingStatistics.go +++ b/service/macie2/api_op_GetFindingStatistics.go @@ -97,7 +97,10 @@ func addOperationGetFindingStatisticsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetFindings.go b/service/macie2/api_op_GetFindings.go index 48659b35758..109f8080634 100644 --- a/service/macie2/api_op_GetFindings.go +++ b/service/macie2/api_op_GetFindings.go @@ -79,7 +79,10 @@ func addOperationGetFindingsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetFindingsFilter.go b/service/macie2/api_op_GetFindingsFilter.go index bbc9e05636a..89e51454921 100644 --- a/service/macie2/api_op_GetFindingsFilter.go +++ b/service/macie2/api_op_GetFindingsFilter.go @@ -101,7 +101,10 @@ func addOperationGetFindingsFilterMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetInvitationsCount.go b/service/macie2/api_op_GetInvitationsCount.go index 2d70a4462ea..a00829a2ab0 100644 --- a/service/macie2/api_op_GetInvitationsCount.go +++ b/service/macie2/api_op_GetInvitationsCount.go @@ -70,7 +70,10 @@ func addOperationGetInvitationsCountMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetMacieSession.go b/service/macie2/api_op_GetMacieSession.go index 1699c241eac..785f70ca816 100644 --- a/service/macie2/api_op_GetMacieSession.go +++ b/service/macie2/api_op_GetMacieSession.go @@ -91,7 +91,10 @@ func addOperationGetMacieSessionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetMasterAccount.go b/service/macie2/api_op_GetMasterAccount.go index 60535eeeef0..41748c83af4 100644 --- a/service/macie2/api_op_GetMasterAccount.go +++ b/service/macie2/api_op_GetMasterAccount.go @@ -72,7 +72,10 @@ func addOperationGetMasterAccountMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetMember.go b/service/macie2/api_op_GetMember.go index 3b32aca4666..8c0e9b34497 100644 --- a/service/macie2/api_op_GetMember.go +++ b/service/macie2/api_op_GetMember.go @@ -104,7 +104,10 @@ func addOperationGetMemberMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetUsageStatistics.go b/service/macie2/api_op_GetUsageStatistics.go index 09dfc416024..fdcf55b815d 100644 --- a/service/macie2/api_op_GetUsageStatistics.go +++ b/service/macie2/api_op_GetUsageStatistics.go @@ -90,7 +90,10 @@ func addOperationGetUsageStatisticsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_GetUsageTotals.go b/service/macie2/api_op_GetUsageTotals.go index 4a765f7d114..4c31d386616 100644 --- a/service/macie2/api_op_GetUsageTotals.go +++ b/service/macie2/api_op_GetUsageTotals.go @@ -70,7 +70,10 @@ func addOperationGetUsageTotalsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_ListClassificationJobs.go b/service/macie2/api_op_ListClassificationJobs.go index e3f01d9dbc3..161050e7074 100644 --- a/service/macie2/api_op_ListClassificationJobs.go +++ b/service/macie2/api_op_ListClassificationJobs.go @@ -88,7 +88,10 @@ func addOperationListClassificationJobsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_ListCustomDataIdentifiers.go b/service/macie2/api_op_ListCustomDataIdentifiers.go index 70f56094110..906a35019a2 100644 --- a/service/macie2/api_op_ListCustomDataIdentifiers.go +++ b/service/macie2/api_op_ListCustomDataIdentifiers.go @@ -82,7 +82,10 @@ func addOperationListCustomDataIdentifiersMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_ListFindings.go b/service/macie2/api_op_ListFindings.go index 8c01a491fa6..3784e172fd4 100644 --- a/service/macie2/api_op_ListFindings.go +++ b/service/macie2/api_op_ListFindings.go @@ -88,7 +88,10 @@ func addOperationListFindingsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_ListFindingsFilters.go b/service/macie2/api_op_ListFindingsFilters.go index c30e94f1d1d..1885a4ab69b 100644 --- a/service/macie2/api_op_ListFindingsFilters.go +++ b/service/macie2/api_op_ListFindingsFilters.go @@ -81,7 +81,10 @@ func addOperationListFindingsFiltersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_ListInvitations.go b/service/macie2/api_op_ListInvitations.go index a53374a504b..21debd2b12e 100644 --- a/service/macie2/api_op_ListInvitations.go +++ b/service/macie2/api_op_ListInvitations.go @@ -82,7 +82,10 @@ func addOperationListInvitationsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_ListMembers.go b/service/macie2/api_op_ListMembers.go index 96c6ef1314b..ebedf5caa89 100644 --- a/service/macie2/api_op_ListMembers.go +++ b/service/macie2/api_op_ListMembers.go @@ -90,7 +90,10 @@ func addOperationListMembersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_ListOrganizationAdminAccounts.go b/service/macie2/api_op_ListOrganizationAdminAccounts.go index dd46acbb148..428ffff73b6 100644 --- a/service/macie2/api_op_ListOrganizationAdminAccounts.go +++ b/service/macie2/api_op_ListOrganizationAdminAccounts.go @@ -83,7 +83,10 @@ func addOperationListOrganizationAdminAccountsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_ListTagsForResource.go b/service/macie2/api_op_ListTagsForResource.go index 3093afecc6f..c03426f9e23 100644 --- a/service/macie2/api_op_ListTagsForResource.go +++ b/service/macie2/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_PutClassificationExportConfiguration.go b/service/macie2/api_op_PutClassificationExportConfiguration.go index 9d00ab7885a..30a2de53eda 100644 --- a/service/macie2/api_op_PutClassificationExportConfiguration.go +++ b/service/macie2/api_op_PutClassificationExportConfiguration.go @@ -77,7 +77,10 @@ func addOperationPutClassificationExportConfigurationMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_TagResource.go b/service/macie2/api_op_TagResource.go index 452e1f28b4f..eaba3b67bcd 100644 --- a/service/macie2/api_op_TagResource.go +++ b/service/macie2/api_op_TagResource.go @@ -79,7 +79,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_TestCustomDataIdentifier.go b/service/macie2/api_op_TestCustomDataIdentifier.go index f86f916f757..f0225e5650e 100644 --- a/service/macie2/api_op_TestCustomDataIdentifier.go +++ b/service/macie2/api_op_TestCustomDataIdentifier.go @@ -101,7 +101,10 @@ func addOperationTestCustomDataIdentifierMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_UntagResource.go b/service/macie2/api_op_UntagResource.go index ce409b3e153..a9eb76c21f7 100644 --- a/service/macie2/api_op_UntagResource.go +++ b/service/macie2/api_op_UntagResource.go @@ -78,7 +78,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_UpdateClassificationJob.go b/service/macie2/api_op_UpdateClassificationJob.go index 4cf6aa05eb1..2c0b8096183 100644 --- a/service/macie2/api_op_UpdateClassificationJob.go +++ b/service/macie2/api_op_UpdateClassificationJob.go @@ -93,7 +93,10 @@ func addOperationUpdateClassificationJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_UpdateFindingsFilter.go b/service/macie2/api_op_UpdateFindingsFilter.go index eaf4b1e1b11..10c38f4422f 100644 --- a/service/macie2/api_op_UpdateFindingsFilter.go +++ b/service/macie2/api_op_UpdateFindingsFilter.go @@ -105,7 +105,10 @@ func addOperationUpdateFindingsFilterMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_UpdateMacieSession.go b/service/macie2/api_op_UpdateMacieSession.go index eed388f2b22..6f7a87ffb5d 100644 --- a/service/macie2/api_op_UpdateMacieSession.go +++ b/service/macie2/api_op_UpdateMacieSession.go @@ -76,7 +76,10 @@ func addOperationUpdateMacieSessionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_UpdateMemberSession.go b/service/macie2/api_op_UpdateMemberSession.go index 780a6f8d075..f6972175d73 100644 --- a/service/macie2/api_op_UpdateMemberSession.go +++ b/service/macie2/api_op_UpdateMemberSession.go @@ -78,7 +78,10 @@ func addOperationUpdateMemberSessionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/macie2/api_op_UpdateOrganizationConfiguration.go b/service/macie2/api_op_UpdateOrganizationConfiguration.go index fc7995d610d..a6ea4d195a0 100644 --- a/service/macie2/api_op_UpdateOrganizationConfiguration.go +++ b/service/macie2/api_op_UpdateOrganizationConfiguration.go @@ -70,7 +70,10 @@ func addOperationUpdateOrganizationConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_CreateMember.go b/service/managedblockchain/api_op_CreateMember.go index 2991840038f..184c4b9ba15 100644 --- a/service/managedblockchain/api_op_CreateMember.go +++ b/service/managedblockchain/api_op_CreateMember.go @@ -95,7 +95,10 @@ func addOperationCreateMemberMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_CreateNetwork.go b/service/managedblockchain/api_op_CreateNetwork.go index 7e44b247fce..1bd81c309ad 100644 --- a/service/managedblockchain/api_op_CreateNetwork.go +++ b/service/managedblockchain/api_op_CreateNetwork.go @@ -114,7 +114,10 @@ func addOperationCreateNetworkMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_CreateNode.go b/service/managedblockchain/api_op_CreateNode.go index 70abbc544a8..640d601c49c 100644 --- a/service/managedblockchain/api_op_CreateNode.go +++ b/service/managedblockchain/api_op_CreateNode.go @@ -101,7 +101,10 @@ func addOperationCreateNodeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_CreateProposal.go b/service/managedblockchain/api_op_CreateProposal.go index 6e2ae5239e7..8194ab6f333 100644 --- a/service/managedblockchain/api_op_CreateProposal.go +++ b/service/managedblockchain/api_op_CreateProposal.go @@ -103,7 +103,10 @@ func addOperationCreateProposalMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_DeleteMember.go b/service/managedblockchain/api_op_DeleteMember.go index baf92c1b522..5435ace281c 100644 --- a/service/managedblockchain/api_op_DeleteMember.go +++ b/service/managedblockchain/api_op_DeleteMember.go @@ -80,7 +80,10 @@ func addOperationDeleteMemberMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_DeleteNode.go b/service/managedblockchain/api_op_DeleteNode.go index 4814b8add19..48882a3053b 100644 --- a/service/managedblockchain/api_op_DeleteNode.go +++ b/service/managedblockchain/api_op_DeleteNode.go @@ -87,7 +87,10 @@ func addOperationDeleteNodeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_GetMember.go b/service/managedblockchain/api_op_GetMember.go index bff7742ed3c..9f5e6d91d0c 100644 --- a/service/managedblockchain/api_op_GetMember.go +++ b/service/managedblockchain/api_op_GetMember.go @@ -79,7 +79,10 @@ func addOperationGetMemberMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_GetNetwork.go b/service/managedblockchain/api_op_GetNetwork.go index 72e558d3363..b4a0e5fb78a 100644 --- a/service/managedblockchain/api_op_GetNetwork.go +++ b/service/managedblockchain/api_op_GetNetwork.go @@ -75,7 +75,10 @@ func addOperationGetNetworkMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_GetNode.go b/service/managedblockchain/api_op_GetNode.go index 5db53f2c351..0b68fde4fb5 100644 --- a/service/managedblockchain/api_op_GetNode.go +++ b/service/managedblockchain/api_op_GetNode.go @@ -84,7 +84,10 @@ func addOperationGetNodeMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_GetProposal.go b/service/managedblockchain/api_op_GetProposal.go index e4658083557..31fab943290 100644 --- a/service/managedblockchain/api_op_GetProposal.go +++ b/service/managedblockchain/api_op_GetProposal.go @@ -80,7 +80,10 @@ func addOperationGetProposalMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_ListInvitations.go b/service/managedblockchain/api_op_ListInvitations.go index 67830be424e..411af659947 100644 --- a/service/managedblockchain/api_op_ListInvitations.go +++ b/service/managedblockchain/api_op_ListInvitations.go @@ -80,7 +80,10 @@ func addOperationListInvitationsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_ListMembers.go b/service/managedblockchain/api_op_ListMembers.go index 6c7ce89f397..c548c128851 100644 --- a/service/managedblockchain/api_op_ListMembers.go +++ b/service/managedblockchain/api_op_ListMembers.go @@ -98,7 +98,10 @@ func addOperationListMembersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_ListNetworks.go b/service/managedblockchain/api_op_ListNetworks.go index c708f5fb02e..736911fa826 100644 --- a/service/managedblockchain/api_op_ListNetworks.go +++ b/service/managedblockchain/api_op_ListNetworks.go @@ -92,7 +92,10 @@ func addOperationListNetworksMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_ListNodes.go b/service/managedblockchain/api_op_ListNodes.go index a3fb4b5d87d..7124f261061 100644 --- a/service/managedblockchain/api_op_ListNodes.go +++ b/service/managedblockchain/api_op_ListNodes.go @@ -94,7 +94,10 @@ func addOperationListNodesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_ListProposalVotes.go b/service/managedblockchain/api_op_ListProposalVotes.go index 1725cf2fe2d..5fbd3ca2a09 100644 --- a/service/managedblockchain/api_op_ListProposalVotes.go +++ b/service/managedblockchain/api_op_ListProposalVotes.go @@ -91,7 +91,10 @@ func addOperationListProposalVotesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_ListProposals.go b/service/managedblockchain/api_op_ListProposals.go index cf915f93a5a..c54e38d3412 100644 --- a/service/managedblockchain/api_op_ListProposals.go +++ b/service/managedblockchain/api_op_ListProposals.go @@ -84,7 +84,10 @@ func addOperationListProposalsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_RejectInvitation.go b/service/managedblockchain/api_op_RejectInvitation.go index 4966b37de35..4bd6c9a9913 100644 --- a/service/managedblockchain/api_op_RejectInvitation.go +++ b/service/managedblockchain/api_op_RejectInvitation.go @@ -71,7 +71,10 @@ func addOperationRejectInvitationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_UpdateMember.go b/service/managedblockchain/api_op_UpdateMember.go index 84468b3ba18..264d7a59707 100644 --- a/service/managedblockchain/api_op_UpdateMember.go +++ b/service/managedblockchain/api_op_UpdateMember.go @@ -80,7 +80,10 @@ func addOperationUpdateMemberMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_UpdateNode.go b/service/managedblockchain/api_op_UpdateNode.go index 34279880e9e..d381e34120e 100644 --- a/service/managedblockchain/api_op_UpdateNode.go +++ b/service/managedblockchain/api_op_UpdateNode.go @@ -83,7 +83,10 @@ func addOperationUpdateNodeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/managedblockchain/api_op_VoteOnProposal.go b/service/managedblockchain/api_op_VoteOnProposal.go index 5d7b625fcc7..447347ce50a 100644 --- a/service/managedblockchain/api_op_VoteOnProposal.go +++ b/service/managedblockchain/api_op_VoteOnProposal.go @@ -87,7 +87,10 @@ func addOperationVoteOnProposalMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacecatalog/api_op_CancelChangeSet.go b/service/marketplacecatalog/api_op_CancelChangeSet.go index fc5ea3e16c3..17cabecaee1 100644 --- a/service/marketplacecatalog/api_op_CancelChangeSet.go +++ b/service/marketplacecatalog/api_op_CancelChangeSet.go @@ -85,7 +85,10 @@ func addOperationCancelChangeSetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacecatalog/api_op_DescribeChangeSet.go b/service/marketplacecatalog/api_op_DescribeChangeSet.go index dce373fe558..b054d170982 100644 --- a/service/marketplacecatalog/api_op_DescribeChangeSet.go +++ b/service/marketplacecatalog/api_op_DescribeChangeSet.go @@ -113,7 +113,10 @@ func addOperationDescribeChangeSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacecatalog/api_op_DescribeEntity.go b/service/marketplacecatalog/api_op_DescribeEntity.go index d1e61fd4436..08f020a006a 100644 --- a/service/marketplacecatalog/api_op_DescribeEntity.go +++ b/service/marketplacecatalog/api_op_DescribeEntity.go @@ -91,7 +91,10 @@ func addOperationDescribeEntityMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacecatalog/api_op_ListChangeSets.go b/service/marketplacecatalog/api_op_ListChangeSets.go index f512e657109..c83de61e932 100644 --- a/service/marketplacecatalog/api_op_ListChangeSets.go +++ b/service/marketplacecatalog/api_op_ListChangeSets.go @@ -97,7 +97,10 @@ func addOperationListChangeSetsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacecatalog/api_op_ListEntities.go b/service/marketplacecatalog/api_op_ListEntities.go index 24e3f3e52d9..eebc7706dbf 100644 --- a/service/marketplacecatalog/api_op_ListEntities.go +++ b/service/marketplacecatalog/api_op_ListEntities.go @@ -97,7 +97,10 @@ func addOperationListEntitiesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacecatalog/api_op_StartChangeSet.go b/service/marketplacecatalog/api_op_StartChangeSet.go index a0a823df607..8064e27b6b0 100644 --- a/service/marketplacecatalog/api_op_StartChangeSet.go +++ b/service/marketplacecatalog/api_op_StartChangeSet.go @@ -99,7 +99,10 @@ func addOperationStartChangeSetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go b/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go index 490ead32010..daa430d234f 100644 --- a/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go +++ b/service/marketplacecommerceanalytics/api_op_GenerateDataSet.go @@ -221,7 +221,10 @@ func addOperationGenerateDataSetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go b/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go index 6d3692c5941..e91989a521b 100644 --- a/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go +++ b/service/marketplacecommerceanalytics/api_op_StartSupportDataExport.go @@ -138,7 +138,10 @@ func addOperationStartSupportDataExportMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplaceentitlementservice/api_op_GetEntitlements.go b/service/marketplaceentitlementservice/api_op_GetEntitlements.go index 4aa9325b545..79703d9ca38 100644 --- a/service/marketplaceentitlementservice/api_op_GetEntitlements.go +++ b/service/marketplaceentitlementservice/api_op_GetEntitlements.go @@ -101,7 +101,10 @@ func addOperationGetEntitlementsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacemetering/api_op_BatchMeterUsage.go b/service/marketplacemetering/api_op_BatchMeterUsage.go index 01e57241248..9b4c4354233 100644 --- a/service/marketplacemetering/api_op_BatchMeterUsage.go +++ b/service/marketplacemetering/api_op_BatchMeterUsage.go @@ -100,7 +100,10 @@ func addOperationBatchMeterUsageMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacemetering/api_op_MeterUsage.go b/service/marketplacemetering/api_op_MeterUsage.go index c4a32d4d349..ff5289a189d 100644 --- a/service/marketplacemetering/api_op_MeterUsage.go +++ b/service/marketplacemetering/api_op_MeterUsage.go @@ -109,7 +109,10 @@ func addOperationMeterUsageMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacemetering/api_op_RegisterUsage.go b/service/marketplacemetering/api_op_RegisterUsage.go index e9cf3cd86b8..5c5fe049f38 100644 --- a/service/marketplacemetering/api_op_RegisterUsage.go +++ b/service/marketplacemetering/api_op_RegisterUsage.go @@ -119,7 +119,10 @@ func addOperationRegisterUsageMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/marketplacemetering/api_op_ResolveCustomer.go b/service/marketplacemetering/api_op_ResolveCustomer.go index 29c5ceee7fe..93877a1e05b 100644 --- a/service/marketplacemetering/api_op_ResolveCustomer.go +++ b/service/marketplacemetering/api_op_ResolveCustomer.go @@ -88,7 +88,10 @@ func addOperationResolveCustomerMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_AddFlowOutputs.go b/service/mediaconnect/api_op_AddFlowOutputs.go index 8d4f1ff9a19..748a885f38e 100644 --- a/service/mediaconnect/api_op_AddFlowOutputs.go +++ b/service/mediaconnect/api_op_AddFlowOutputs.go @@ -83,7 +83,10 @@ func addOperationAddFlowOutputsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_AddFlowSources.go b/service/mediaconnect/api_op_AddFlowSources.go index e0f6709df60..1fdc286adfe 100644 --- a/service/mediaconnect/api_op_AddFlowSources.go +++ b/service/mediaconnect/api_op_AddFlowSources.go @@ -83,7 +83,10 @@ func addOperationAddFlowSourcesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_AddFlowVpcInterfaces.go b/service/mediaconnect/api_op_AddFlowVpcInterfaces.go index fc6dbd27daa..1255ac856c6 100644 --- a/service/mediaconnect/api_op_AddFlowVpcInterfaces.go +++ b/service/mediaconnect/api_op_AddFlowVpcInterfaces.go @@ -83,7 +83,10 @@ func addOperationAddFlowVpcInterfacesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_CreateFlow.go b/service/mediaconnect/api_op_CreateFlow.go index eddad8d644c..b35bc157f4c 100644 --- a/service/mediaconnect/api_op_CreateFlow.go +++ b/service/mediaconnect/api_op_CreateFlow.go @@ -98,7 +98,10 @@ func addOperationCreateFlowMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_DeleteFlow.go b/service/mediaconnect/api_op_DeleteFlow.go index dd04df80c5f..27961999bf6 100644 --- a/service/mediaconnect/api_op_DeleteFlow.go +++ b/service/mediaconnect/api_op_DeleteFlow.go @@ -77,7 +77,10 @@ func addOperationDeleteFlowMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_DescribeFlow.go b/service/mediaconnect/api_op_DescribeFlow.go index 45d3b4c404e..e16b9fb98c2 100644 --- a/service/mediaconnect/api_op_DescribeFlow.go +++ b/service/mediaconnect/api_op_DescribeFlow.go @@ -79,7 +79,10 @@ func addOperationDescribeFlowMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_DescribeOffering.go b/service/mediaconnect/api_op_DescribeOffering.go index 0e5ee124f65..adea49446cb 100644 --- a/service/mediaconnect/api_op_DescribeOffering.go +++ b/service/mediaconnect/api_op_DescribeOffering.go @@ -77,7 +77,10 @@ func addOperationDescribeOfferingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_DescribeReservation.go b/service/mediaconnect/api_op_DescribeReservation.go index 369946044e2..4c05a716336 100644 --- a/service/mediaconnect/api_op_DescribeReservation.go +++ b/service/mediaconnect/api_op_DescribeReservation.go @@ -81,7 +81,10 @@ func addOperationDescribeReservationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_GrantFlowEntitlements.go b/service/mediaconnect/api_op_GrantFlowEntitlements.go index 61126d22a67..6292f360d25 100644 --- a/service/mediaconnect/api_op_GrantFlowEntitlements.go +++ b/service/mediaconnect/api_op_GrantFlowEntitlements.go @@ -83,7 +83,10 @@ func addOperationGrantFlowEntitlementsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_ListEntitlements.go b/service/mediaconnect/api_op_ListEntitlements.go index 9cdf0a11b3c..160e98bade4 100644 --- a/service/mediaconnect/api_op_ListEntitlements.go +++ b/service/mediaconnect/api_op_ListEntitlements.go @@ -94,7 +94,10 @@ func addOperationListEntitlementsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_ListFlows.go b/service/mediaconnect/api_op_ListFlows.go index 8f406faa5f0..eb62b844a3d 100644 --- a/service/mediaconnect/api_op_ListFlows.go +++ b/service/mediaconnect/api_op_ListFlows.go @@ -94,7 +94,10 @@ func addOperationListFlowsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_ListOfferings.go b/service/mediaconnect/api_op_ListOfferings.go index 5127d489c7f..0606579cc70 100644 --- a/service/mediaconnect/api_op_ListOfferings.go +++ b/service/mediaconnect/api_op_ListOfferings.go @@ -97,7 +97,10 @@ func addOperationListOfferingsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_ListReservations.go b/service/mediaconnect/api_op_ListReservations.go index 01c3a6f6bcf..2f31c2d7d67 100644 --- a/service/mediaconnect/api_op_ListReservations.go +++ b/service/mediaconnect/api_op_ListReservations.go @@ -96,7 +96,10 @@ func addOperationListReservationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_ListTagsForResource.go b/service/mediaconnect/api_op_ListTagsForResource.go index 6b694c4bee9..67677e3e0e7 100644 --- a/service/mediaconnect/api_op_ListTagsForResource.go +++ b/service/mediaconnect/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_PurchaseOffering.go b/service/mediaconnect/api_op_PurchaseOffering.go index e5e78f66c95..cf501e5ea96 100644 --- a/service/mediaconnect/api_op_PurchaseOffering.go +++ b/service/mediaconnect/api_op_PurchaseOffering.go @@ -96,7 +96,10 @@ func addOperationPurchaseOfferingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_RemoveFlowOutput.go b/service/mediaconnect/api_op_RemoveFlowOutput.go index f213f3a76b7..03ad2f58375 100644 --- a/service/mediaconnect/api_op_RemoveFlowOutput.go +++ b/service/mediaconnect/api_op_RemoveFlowOutput.go @@ -84,7 +84,10 @@ func addOperationRemoveFlowOutputMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_RemoveFlowSource.go b/service/mediaconnect/api_op_RemoveFlowSource.go index b10903c0993..8f995932574 100644 --- a/service/mediaconnect/api_op_RemoveFlowSource.go +++ b/service/mediaconnect/api_op_RemoveFlowSource.go @@ -82,7 +82,10 @@ func addOperationRemoveFlowSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_RemoveFlowVpcInterface.go b/service/mediaconnect/api_op_RemoveFlowVpcInterface.go index e6dab7c15f1..0f5a268b8a9 100644 --- a/service/mediaconnect/api_op_RemoveFlowVpcInterface.go +++ b/service/mediaconnect/api_op_RemoveFlowVpcInterface.go @@ -88,7 +88,10 @@ func addOperationRemoveFlowVpcInterfaceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_RevokeFlowEntitlement.go b/service/mediaconnect/api_op_RevokeFlowEntitlement.go index a7535f5b1b8..be69fd5635f 100644 --- a/service/mediaconnect/api_op_RevokeFlowEntitlement.go +++ b/service/mediaconnect/api_op_RevokeFlowEntitlement.go @@ -82,7 +82,10 @@ func addOperationRevokeFlowEntitlementMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_StartFlow.go b/service/mediaconnect/api_op_StartFlow.go index 1aaa214af3e..5e522b68bdb 100644 --- a/service/mediaconnect/api_op_StartFlow.go +++ b/service/mediaconnect/api_op_StartFlow.go @@ -77,7 +77,10 @@ func addOperationStartFlowMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_StopFlow.go b/service/mediaconnect/api_op_StopFlow.go index bfba87e3d45..e7a16473090 100644 --- a/service/mediaconnect/api_op_StopFlow.go +++ b/service/mediaconnect/api_op_StopFlow.go @@ -77,7 +77,10 @@ func addOperationStopFlowMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_TagResource.go b/service/mediaconnect/api_op_TagResource.go index df733751c15..642376bf138 100644 --- a/service/mediaconnect/api_op_TagResource.go +++ b/service/mediaconnect/api_op_TagResource.go @@ -82,7 +82,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_UntagResource.go b/service/mediaconnect/api_op_UntagResource.go index 555c3d1f96b..33695b9315b 100644 --- a/service/mediaconnect/api_op_UntagResource.go +++ b/service/mediaconnect/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_UpdateFlow.go b/service/mediaconnect/api_op_UpdateFlow.go index ddeb9a16301..c04b5cebbe7 100644 --- a/service/mediaconnect/api_op_UpdateFlow.go +++ b/service/mediaconnect/api_op_UpdateFlow.go @@ -78,7 +78,10 @@ func addOperationUpdateFlowMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_UpdateFlowEntitlement.go b/service/mediaconnect/api_op_UpdateFlowEntitlement.go index 0d4e069ed9b..60751834a23 100644 --- a/service/mediaconnect/api_op_UpdateFlowEntitlement.go +++ b/service/mediaconnect/api_op_UpdateFlowEntitlement.go @@ -105,7 +105,10 @@ func addOperationUpdateFlowEntitlementMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_UpdateFlowOutput.go b/service/mediaconnect/api_op_UpdateFlowOutput.go index fd04a279f23..ad452c3329d 100644 --- a/service/mediaconnect/api_op_UpdateFlowOutput.go +++ b/service/mediaconnect/api_op_UpdateFlowOutput.go @@ -121,7 +121,10 @@ func addOperationUpdateFlowOutputMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconnect/api_op_UpdateFlowSource.go b/service/mediaconnect/api_op_UpdateFlowSource.go index ff3be398167..ffdde60e9f6 100644 --- a/service/mediaconnect/api_op_UpdateFlowSource.go +++ b/service/mediaconnect/api_op_UpdateFlowSource.go @@ -120,7 +120,10 @@ func addOperationUpdateFlowSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_AssociateCertificate.go b/service/mediaconvert/api_op_AssociateCertificate.go index 5b518377531..d615ecd83bc 100644 --- a/service/mediaconvert/api_op_AssociateCertificate.go +++ b/service/mediaconvert/api_op_AssociateCertificate.go @@ -71,7 +71,10 @@ func addOperationAssociateCertificateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_CancelJob.go b/service/mediaconvert/api_op_CancelJob.go index 841f017e094..4a14fba99d9 100644 --- a/service/mediaconvert/api_op_CancelJob.go +++ b/service/mediaconvert/api_op_CancelJob.go @@ -70,7 +70,10 @@ func addOperationCancelJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_CreateJob.go b/service/mediaconvert/api_op_CreateJob.go index a2de16aca40..e4a90fd40b0 100644 --- a/service/mediaconvert/api_op_CreateJob.go +++ b/service/mediaconvert/api_op_CreateJob.go @@ -149,7 +149,10 @@ func addOperationCreateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_CreateJobTemplate.go b/service/mediaconvert/api_op_CreateJobTemplate.go index 7140d981731..3bfd598130e 100644 --- a/service/mediaconvert/api_op_CreateJobTemplate.go +++ b/service/mediaconvert/api_op_CreateJobTemplate.go @@ -120,7 +120,10 @@ func addOperationCreateJobTemplateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_CreatePreset.go b/service/mediaconvert/api_op_CreatePreset.go index ff0c198109e..b923ce50d7d 100644 --- a/service/mediaconvert/api_op_CreatePreset.go +++ b/service/mediaconvert/api_op_CreatePreset.go @@ -91,7 +91,10 @@ func addOperationCreatePresetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_CreateQueue.go b/service/mediaconvert/api_op_CreateQueue.go index 7d1a5235e9d..d9500c6a6d4 100644 --- a/service/mediaconvert/api_op_CreateQueue.go +++ b/service/mediaconvert/api_op_CreateQueue.go @@ -102,7 +102,10 @@ func addOperationCreateQueueMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_DeleteJobTemplate.go b/service/mediaconvert/api_op_DeleteJobTemplate.go index 8f2701a447d..61a53209aa7 100644 --- a/service/mediaconvert/api_op_DeleteJobTemplate.go +++ b/service/mediaconvert/api_op_DeleteJobTemplate.go @@ -69,7 +69,10 @@ func addOperationDeleteJobTemplateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_DeletePreset.go b/service/mediaconvert/api_op_DeletePreset.go index 2d862da0cf1..c108699ddbc 100644 --- a/service/mediaconvert/api_op_DeletePreset.go +++ b/service/mediaconvert/api_op_DeletePreset.go @@ -69,7 +69,10 @@ func addOperationDeletePresetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_DeleteQueue.go b/service/mediaconvert/api_op_DeleteQueue.go index 2dd76c229f3..f1a0ab762b1 100644 --- a/service/mediaconvert/api_op_DeleteQueue.go +++ b/service/mediaconvert/api_op_DeleteQueue.go @@ -69,7 +69,10 @@ func addOperationDeleteQueueMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_DescribeEndpoints.go b/service/mediaconvert/api_op_DescribeEndpoints.go index 128d85d1357..21780fbf93a 100644 --- a/service/mediaconvert/api_op_DescribeEndpoints.go +++ b/service/mediaconvert/api_op_DescribeEndpoints.go @@ -89,7 +89,10 @@ func addOperationDescribeEndpointsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_DisassociateCertificate.go b/service/mediaconvert/api_op_DisassociateCertificate.go index 0eed988d9fb..b14f3d920bc 100644 --- a/service/mediaconvert/api_op_DisassociateCertificate.go +++ b/service/mediaconvert/api_op_DisassociateCertificate.go @@ -72,7 +72,10 @@ func addOperationDisassociateCertificateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_GetJob.go b/service/mediaconvert/api_op_GetJob.go index 0a1d20b7e17..652ff5b3677 100644 --- a/service/mediaconvert/api_op_GetJob.go +++ b/service/mediaconvert/api_op_GetJob.go @@ -76,7 +76,10 @@ func addOperationGetJobMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_GetJobTemplate.go b/service/mediaconvert/api_op_GetJobTemplate.go index b8a89809b16..9002c206a39 100644 --- a/service/mediaconvert/api_op_GetJobTemplate.go +++ b/service/mediaconvert/api_op_GetJobTemplate.go @@ -75,7 +75,10 @@ func addOperationGetJobTemplateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_GetPreset.go b/service/mediaconvert/api_op_GetPreset.go index 9f0c2a6d722..8b6aad6e37d 100644 --- a/service/mediaconvert/api_op_GetPreset.go +++ b/service/mediaconvert/api_op_GetPreset.go @@ -75,7 +75,10 @@ func addOperationGetPresetMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_GetQueue.go b/service/mediaconvert/api_op_GetQueue.go index 51b38e0622c..37a60d95f4a 100644 --- a/service/mediaconvert/api_op_GetQueue.go +++ b/service/mediaconvert/api_op_GetQueue.go @@ -78,7 +78,10 @@ func addOperationGetQueueMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_ListJobTemplates.go b/service/mediaconvert/api_op_ListJobTemplates.go index 8b8922b5530..db4298a10c1 100644 --- a/service/mediaconvert/api_op_ListJobTemplates.go +++ b/service/mediaconvert/api_op_ListJobTemplates.go @@ -96,7 +96,10 @@ func addOperationListJobTemplatesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_ListJobs.go b/service/mediaconvert/api_op_ListJobs.go index 27f0045a52a..f79f7ab696e 100644 --- a/service/mediaconvert/api_op_ListJobs.go +++ b/service/mediaconvert/api_op_ListJobs.go @@ -94,7 +94,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_ListPresets.go b/service/mediaconvert/api_op_ListPresets.go index b79b4862d93..530dcb40590 100644 --- a/service/mediaconvert/api_op_ListPresets.go +++ b/service/mediaconvert/api_op_ListPresets.go @@ -95,7 +95,10 @@ func addOperationListPresetsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_ListQueues.go b/service/mediaconvert/api_op_ListQueues.go index 815be05b993..e25062b80be 100644 --- a/service/mediaconvert/api_op_ListQueues.go +++ b/service/mediaconvert/api_op_ListQueues.go @@ -91,7 +91,10 @@ func addOperationListQueuesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_ListTagsForResource.go b/service/mediaconvert/api_op_ListTagsForResource.go index 4a40e22f93e..c238fc597af 100644 --- a/service/mediaconvert/api_op_ListTagsForResource.go +++ b/service/mediaconvert/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_TagResource.go b/service/mediaconvert/api_op_TagResource.go index a71473531bb..2d77408e656 100644 --- a/service/mediaconvert/api_op_TagResource.go +++ b/service/mediaconvert/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_UntagResource.go b/service/mediaconvert/api_op_UntagResource.go index dbabfb8eaca..3e773acf014 100644 --- a/service/mediaconvert/api_op_UntagResource.go +++ b/service/mediaconvert/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_UpdateJobTemplate.go b/service/mediaconvert/api_op_UpdateJobTemplate.go index 29ca719c8c5..1cbb265d413 100644 --- a/service/mediaconvert/api_op_UpdateJobTemplate.go +++ b/service/mediaconvert/api_op_UpdateJobTemplate.go @@ -109,7 +109,10 @@ func addOperationUpdateJobTemplateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_UpdatePreset.go b/service/mediaconvert/api_op_UpdatePreset.go index dc29ca1716e..dafb20a3ba9 100644 --- a/service/mediaconvert/api_op_UpdatePreset.go +++ b/service/mediaconvert/api_op_UpdatePreset.go @@ -84,7 +84,10 @@ func addOperationUpdatePresetMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediaconvert/api_op_UpdateQueue.go b/service/mediaconvert/api_op_UpdateQueue.go index 8d31f449986..7c4d39cea94 100644 --- a/service/mediaconvert/api_op_UpdateQueue.go +++ b/service/mediaconvert/api_op_UpdateQueue.go @@ -93,7 +93,10 @@ func addOperationUpdateQueueMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_AcceptInputDeviceTransfer.go b/service/medialive/api_op_AcceptInputDeviceTransfer.go index 07f0307702f..d105e194421 100644 --- a/service/medialive/api_op_AcceptInputDeviceTransfer.go +++ b/service/medialive/api_op_AcceptInputDeviceTransfer.go @@ -72,7 +72,10 @@ func addOperationAcceptInputDeviceTransferMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_BatchDelete.go b/service/medialive/api_op_BatchDelete.go index 051895e3644..92d98075ee2 100644 --- a/service/medialive/api_op_BatchDelete.go +++ b/service/medialive/api_op_BatchDelete.go @@ -86,7 +86,10 @@ func addOperationBatchDeleteMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_BatchStart.go b/service/medialive/api_op_BatchStart.go index d9446ff883c..6958fc99ba0 100644 --- a/service/medialive/api_op_BatchStart.go +++ b/service/medialive/api_op_BatchStart.go @@ -80,7 +80,10 @@ func addOperationBatchStartMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_BatchStop.go b/service/medialive/api_op_BatchStop.go index 8015c75595f..20dda376968 100644 --- a/service/medialive/api_op_BatchStop.go +++ b/service/medialive/api_op_BatchStop.go @@ -80,7 +80,10 @@ func addOperationBatchStopMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_BatchUpdateSchedule.go b/service/medialive/api_op_BatchUpdateSchedule.go index afea31d600c..819c635224a 100644 --- a/service/medialive/api_op_BatchUpdateSchedule.go +++ b/service/medialive/api_op_BatchUpdateSchedule.go @@ -85,7 +85,10 @@ func addOperationBatchUpdateScheduleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_CancelInputDeviceTransfer.go b/service/medialive/api_op_CancelInputDeviceTransfer.go index 9b889df289a..c57f3a0f921 100644 --- a/service/medialive/api_op_CancelInputDeviceTransfer.go +++ b/service/medialive/api_op_CancelInputDeviceTransfer.go @@ -71,7 +71,10 @@ func addOperationCancelInputDeviceTransferMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_CreateChannel.go b/service/medialive/api_op_CreateChannel.go index e3ed048d8f3..f5301536f42 100644 --- a/service/medialive/api_op_CreateChannel.go +++ b/service/medialive/api_op_CreateChannel.go @@ -113,7 +113,10 @@ func addOperationCreateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_CreateInput.go b/service/medialive/api_op_CreateInput.go index ddd7e502378..31624673e26 100644 --- a/service/medialive/api_op_CreateInput.go +++ b/service/medialive/api_op_CreateInput.go @@ -115,7 +115,10 @@ func addOperationCreateInputMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_CreateInputSecurityGroup.go b/service/medialive/api_op_CreateInputSecurityGroup.go index ebeef346cb5..54b6661b0d9 100644 --- a/service/medialive/api_op_CreateInputSecurityGroup.go +++ b/service/medialive/api_op_CreateInputSecurityGroup.go @@ -77,7 +77,10 @@ func addOperationCreateInputSecurityGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_CreateMultiplex.go b/service/medialive/api_op_CreateMultiplex.go index d6c284f5f11..f174f4624d7 100644 --- a/service/medialive/api_op_CreateMultiplex.go +++ b/service/medialive/api_op_CreateMultiplex.go @@ -95,7 +95,10 @@ func addOperationCreateMultiplexMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_CreateMultiplexProgram.go b/service/medialive/api_op_CreateMultiplexProgram.go index 0a1b86cc90c..582f3517aab 100644 --- a/service/medialive/api_op_CreateMultiplexProgram.go +++ b/service/medialive/api_op_CreateMultiplexProgram.go @@ -92,7 +92,10 @@ func addOperationCreateMultiplexProgramMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_CreateTags.go b/service/medialive/api_op_CreateTags.go index d2c9968e61f..a9168295cf4 100644 --- a/service/medialive/api_op_CreateTags.go +++ b/service/medialive/api_op_CreateTags.go @@ -73,7 +73,10 @@ func addOperationCreateTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DeleteChannel.go b/service/medialive/api_op_DeleteChannel.go index 483b1d39b3f..f6a67bd6fb4 100644 --- a/service/medialive/api_op_DeleteChannel.go +++ b/service/medialive/api_op_DeleteChannel.go @@ -124,7 +124,10 @@ func addOperationDeleteChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DeleteInput.go b/service/medialive/api_op_DeleteInput.go index 4ab6ce89cb8..38367b6bb84 100644 --- a/service/medialive/api_op_DeleteInput.go +++ b/service/medialive/api_op_DeleteInput.go @@ -71,7 +71,10 @@ func addOperationDeleteInputMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DeleteInputSecurityGroup.go b/service/medialive/api_op_DeleteInputSecurityGroup.go index 23f6d20e745..62db6364471 100644 --- a/service/medialive/api_op_DeleteInputSecurityGroup.go +++ b/service/medialive/api_op_DeleteInputSecurityGroup.go @@ -71,7 +71,10 @@ func addOperationDeleteInputSecurityGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DeleteMultiplex.go b/service/medialive/api_op_DeleteMultiplex.go index 0547456d752..f4432c2106e 100644 --- a/service/medialive/api_op_DeleteMultiplex.go +++ b/service/medialive/api_op_DeleteMultiplex.go @@ -103,7 +103,10 @@ func addOperationDeleteMultiplexMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DeleteMultiplexProgram.go b/service/medialive/api_op_DeleteMultiplexProgram.go index 13e9e4d2b4a..02e2a89ffad 100644 --- a/service/medialive/api_op_DeleteMultiplexProgram.go +++ b/service/medialive/api_op_DeleteMultiplexProgram.go @@ -96,7 +96,10 @@ func addOperationDeleteMultiplexProgramMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DeleteReservation.go b/service/medialive/api_op_DeleteReservation.go index 47149603393..5566286c542 100644 --- a/service/medialive/api_op_DeleteReservation.go +++ b/service/medialive/api_op_DeleteReservation.go @@ -130,7 +130,10 @@ func addOperationDeleteReservationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DeleteSchedule.go b/service/medialive/api_op_DeleteSchedule.go index f460aaced9d..372055838ac 100644 --- a/service/medialive/api_op_DeleteSchedule.go +++ b/service/medialive/api_op_DeleteSchedule.go @@ -71,7 +71,10 @@ func addOperationDeleteScheduleMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DeleteTags.go b/service/medialive/api_op_DeleteTags.go index 0cd940d2ff2..074cba36f16 100644 --- a/service/medialive/api_op_DeleteTags.go +++ b/service/medialive/api_op_DeleteTags.go @@ -75,7 +75,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeChannel.go b/service/medialive/api_op_DescribeChannel.go index bc5507b11fd..1717027b0f4 100644 --- a/service/medialive/api_op_DescribeChannel.go +++ b/service/medialive/api_op_DescribeChannel.go @@ -130,7 +130,10 @@ func addOperationDescribeChannelMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeInput.go b/service/medialive/api_op_DescribeInput.go index 80e8aef8a1a..df5a944dda3 100644 --- a/service/medialive/api_op_DescribeInput.go +++ b/service/medialive/api_op_DescribeInput.go @@ -134,7 +134,10 @@ func addOperationDescribeInputMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeInputDevice.go b/service/medialive/api_op_DescribeInputDevice.go index 1d9ab8bd4c2..fb3e99c1dc5 100644 --- a/service/medialive/api_op_DescribeInputDevice.go +++ b/service/medialive/api_op_DescribeInputDevice.go @@ -113,7 +113,10 @@ func addOperationDescribeInputDeviceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeInputDeviceThumbnail.go b/service/medialive/api_op_DescribeInputDeviceThumbnail.go index e81017dc307..9aedeb01f38 100644 --- a/service/medialive/api_op_DescribeInputDeviceThumbnail.go +++ b/service/medialive/api_op_DescribeInputDeviceThumbnail.go @@ -96,7 +96,10 @@ func addOperationDescribeInputDeviceThumbnailMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeInputSecurityGroup.go b/service/medialive/api_op_DescribeInputSecurityGroup.go index 3e2462182dc..bfc42cd2452 100644 --- a/service/medialive/api_op_DescribeInputSecurityGroup.go +++ b/service/medialive/api_op_DescribeInputSecurityGroup.go @@ -91,7 +91,10 @@ func addOperationDescribeInputSecurityGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeMultiplex.go b/service/medialive/api_op_DescribeMultiplex.go index 4723a84e2bd..d24935e51af 100644 --- a/service/medialive/api_op_DescribeMultiplex.go +++ b/service/medialive/api_op_DescribeMultiplex.go @@ -109,7 +109,10 @@ func addOperationDescribeMultiplexMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeMultiplexProgram.go b/service/medialive/api_op_DescribeMultiplexProgram.go index 9620073cec5..e9a05cb85ad 100644 --- a/service/medialive/api_op_DescribeMultiplexProgram.go +++ b/service/medialive/api_op_DescribeMultiplexProgram.go @@ -96,7 +96,10 @@ func addOperationDescribeMultiplexProgramMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeOffering.go b/service/medialive/api_op_DescribeOffering.go index 969fd938d21..b751f4cabfc 100644 --- a/service/medialive/api_op_DescribeOffering.go +++ b/service/medialive/api_op_DescribeOffering.go @@ -108,7 +108,10 @@ func addOperationDescribeOfferingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeReservation.go b/service/medialive/api_op_DescribeReservation.go index 33a8a4d087f..33cdba08634 100644 --- a/service/medialive/api_op_DescribeReservation.go +++ b/service/medialive/api_op_DescribeReservation.go @@ -130,7 +130,10 @@ func addOperationDescribeReservationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_DescribeSchedule.go b/service/medialive/api_op_DescribeSchedule.go index d8358c5d37b..fba8741723c 100644 --- a/service/medialive/api_op_DescribeSchedule.go +++ b/service/medialive/api_op_DescribeSchedule.go @@ -86,7 +86,10 @@ func addOperationDescribeScheduleMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListChannels.go b/service/medialive/api_op_ListChannels.go index 8bf66c33d4e..51c2dbc4bec 100644 --- a/service/medialive/api_op_ListChannels.go +++ b/service/medialive/api_op_ListChannels.go @@ -81,7 +81,10 @@ func addOperationListChannelsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListInputDeviceTransfers.go b/service/medialive/api_op_ListInputDeviceTransfers.go index b24fc060dbb..64a3f33f217 100644 --- a/service/medialive/api_op_ListInputDeviceTransfers.go +++ b/service/medialive/api_op_ListInputDeviceTransfers.go @@ -88,7 +88,10 @@ func addOperationListInputDeviceTransfersMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListInputDevices.go b/service/medialive/api_op_ListInputDevices.go index f7b702bf411..e5dcd05bf0f 100644 --- a/service/medialive/api_op_ListInputDevices.go +++ b/service/medialive/api_op_ListInputDevices.go @@ -81,7 +81,10 @@ func addOperationListInputDevicesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListInputSecurityGroups.go b/service/medialive/api_op_ListInputSecurityGroups.go index 6703985a41c..3ec5142d429 100644 --- a/service/medialive/api_op_ListInputSecurityGroups.go +++ b/service/medialive/api_op_ListInputSecurityGroups.go @@ -81,7 +81,10 @@ func addOperationListInputSecurityGroupsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListInputs.go b/service/medialive/api_op_ListInputs.go index 9835bed7191..cf72813d41a 100644 --- a/service/medialive/api_op_ListInputs.go +++ b/service/medialive/api_op_ListInputs.go @@ -81,7 +81,10 @@ func addOperationListInputsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListMultiplexPrograms.go b/service/medialive/api_op_ListMultiplexPrograms.go index 52164c58533..52eaf6d0f58 100644 --- a/service/medialive/api_op_ListMultiplexPrograms.go +++ b/service/medialive/api_op_ListMultiplexPrograms.go @@ -86,7 +86,10 @@ func addOperationListMultiplexProgramsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListMultiplexes.go b/service/medialive/api_op_ListMultiplexes.go index e8d13af740e..083145c8334 100644 --- a/service/medialive/api_op_ListMultiplexes.go +++ b/service/medialive/api_op_ListMultiplexes.go @@ -81,7 +81,10 @@ func addOperationListMultiplexesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListOfferings.go b/service/medialive/api_op_ListOfferings.go index aedb1d4a36e..062affcdeb1 100644 --- a/service/medialive/api_op_ListOfferings.go +++ b/service/medialive/api_op_ListOfferings.go @@ -112,7 +112,10 @@ func addOperationListOfferingsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListReservations.go b/service/medialive/api_op_ListReservations.go index a1b1df6f94a..b1ce3090c39 100644 --- a/service/medialive/api_op_ListReservations.go +++ b/service/medialive/api_op_ListReservations.go @@ -105,7 +105,10 @@ func addOperationListReservationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_ListTagsForResource.go b/service/medialive/api_op_ListTagsForResource.go index 56df2c0eea5..2d3b7dceda7 100644 --- a/service/medialive/api_op_ListTagsForResource.go +++ b/service/medialive/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_PurchaseOffering.go b/service/medialive/api_op_PurchaseOffering.go index 7fa6e87dae7..4dcd1421958 100644 --- a/service/medialive/api_op_PurchaseOffering.go +++ b/service/medialive/api_op_PurchaseOffering.go @@ -97,7 +97,10 @@ func addOperationPurchaseOfferingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_RejectInputDeviceTransfer.go b/service/medialive/api_op_RejectInputDeviceTransfer.go index 4d8dffc1400..a0f7488876f 100644 --- a/service/medialive/api_op_RejectInputDeviceTransfer.go +++ b/service/medialive/api_op_RejectInputDeviceTransfer.go @@ -71,7 +71,10 @@ func addOperationRejectInputDeviceTransferMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_StartChannel.go b/service/medialive/api_op_StartChannel.go index 4a39f8caf6a..05b52fa494e 100644 --- a/service/medialive/api_op_StartChannel.go +++ b/service/medialive/api_op_StartChannel.go @@ -124,7 +124,10 @@ func addOperationStartChannelMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_StartMultiplex.go b/service/medialive/api_op_StartMultiplex.go index b3d519e752e..1222ff8f0e7 100644 --- a/service/medialive/api_op_StartMultiplex.go +++ b/service/medialive/api_op_StartMultiplex.go @@ -104,7 +104,10 @@ func addOperationStartMultiplexMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_StopChannel.go b/service/medialive/api_op_StopChannel.go index 4424c6f4f4c..221965f2b5b 100644 --- a/service/medialive/api_op_StopChannel.go +++ b/service/medialive/api_op_StopChannel.go @@ -124,7 +124,10 @@ func addOperationStopChannelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_StopMultiplex.go b/service/medialive/api_op_StopMultiplex.go index 5091ab5a8dc..70d9f281a52 100644 --- a/service/medialive/api_op_StopMultiplex.go +++ b/service/medialive/api_op_StopMultiplex.go @@ -104,7 +104,10 @@ func addOperationStopMultiplexMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_TransferInputDevice.go b/service/medialive/api_op_TransferInputDevice.go index aefb2825a0f..3235213baae 100644 --- a/service/medialive/api_op_TransferInputDevice.go +++ b/service/medialive/api_op_TransferInputDevice.go @@ -78,7 +78,10 @@ func addOperationTransferInputDeviceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_UpdateChannel.go b/service/medialive/api_op_UpdateChannel.go index 1f2dfe295b0..6b00e13c22b 100644 --- a/service/medialive/api_op_UpdateChannel.go +++ b/service/medialive/api_op_UpdateChannel.go @@ -102,7 +102,10 @@ func addOperationUpdateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_UpdateChannelClass.go b/service/medialive/api_op_UpdateChannelClass.go index 308ad308b5f..79c16161897 100644 --- a/service/medialive/api_op_UpdateChannelClass.go +++ b/service/medialive/api_op_UpdateChannelClass.go @@ -84,7 +84,10 @@ func addOperationUpdateChannelClassMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_UpdateInput.go b/service/medialive/api_op_UpdateInput.go index ba7892976b1..eb0e6d151ee 100644 --- a/service/medialive/api_op_UpdateInput.go +++ b/service/medialive/api_op_UpdateInput.go @@ -104,7 +104,10 @@ func addOperationUpdateInputMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_UpdateInputDevice.go b/service/medialive/api_op_UpdateInputDevice.go index 4b51cf6727c..1e90bb8a99f 100644 --- a/service/medialive/api_op_UpdateInputDevice.go +++ b/service/medialive/api_op_UpdateInputDevice.go @@ -122,7 +122,10 @@ func addOperationUpdateInputDeviceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_UpdateInputSecurityGroup.go b/service/medialive/api_op_UpdateInputSecurityGroup.go index fcea7987641..c15607826e2 100644 --- a/service/medialive/api_op_UpdateInputSecurityGroup.go +++ b/service/medialive/api_op_UpdateInputSecurityGroup.go @@ -83,7 +83,10 @@ func addOperationUpdateInputSecurityGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_UpdateMultiplex.go b/service/medialive/api_op_UpdateMultiplex.go index fef90200c1a..355ae9034ab 100644 --- a/service/medialive/api_op_UpdateMultiplex.go +++ b/service/medialive/api_op_UpdateMultiplex.go @@ -82,7 +82,10 @@ func addOperationUpdateMultiplexMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_UpdateMultiplexProgram.go b/service/medialive/api_op_UpdateMultiplexProgram.go index 626fc0ae35e..0c5e26e9f3a 100644 --- a/service/medialive/api_op_UpdateMultiplexProgram.go +++ b/service/medialive/api_op_UpdateMultiplexProgram.go @@ -84,7 +84,10 @@ func addOperationUpdateMultiplexProgramMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/medialive/api_op_UpdateReservation.go b/service/medialive/api_op_UpdateReservation.go index 755641912d1..9be44cc36a4 100644 --- a/service/medialive/api_op_UpdateReservation.go +++ b/service/medialive/api_op_UpdateReservation.go @@ -79,7 +79,10 @@ func addOperationUpdateReservationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_ConfigureLogs.go b/service/mediapackage/api_op_ConfigureLogs.go index 61ab914bf44..402520be552 100644 --- a/service/mediapackage/api_op_ConfigureLogs.go +++ b/service/mediapackage/api_op_ConfigureLogs.go @@ -99,7 +99,10 @@ func addOperationConfigureLogsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_CreateChannel.go b/service/mediapackage/api_op_CreateChannel.go index 585d9e78f17..3ee48c1ead5 100644 --- a/service/mediapackage/api_op_CreateChannel.go +++ b/service/mediapackage/api_op_CreateChannel.go @@ -100,7 +100,10 @@ func addOperationCreateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_CreateHarvestJob.go b/service/mediapackage/api_op_CreateHarvestJob.go index 47e2e3deaf5..8a3cfbeccb2 100644 --- a/service/mediapackage/api_op_CreateHarvestJob.go +++ b/service/mediapackage/api_op_CreateHarvestJob.go @@ -127,7 +127,10 @@ func addOperationCreateHarvestJobMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_CreateOriginEndpoint.go b/service/mediapackage/api_op_CreateOriginEndpoint.go index 56ca68b99e3..91cde702051 100644 --- a/service/mediapackage/api_op_CreateOriginEndpoint.go +++ b/service/mediapackage/api_op_CreateOriginEndpoint.go @@ -178,7 +178,10 @@ func addOperationCreateOriginEndpointMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_DeleteChannel.go b/service/mediapackage/api_op_DeleteChannel.go index bd461a1ee72..f61f4ff4b51 100644 --- a/service/mediapackage/api_op_DeleteChannel.go +++ b/service/mediapackage/api_op_DeleteChannel.go @@ -69,7 +69,10 @@ func addOperationDeleteChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_DeleteOriginEndpoint.go b/service/mediapackage/api_op_DeleteOriginEndpoint.go index 502ebe46b4c..61b9292a4a6 100644 --- a/service/mediapackage/api_op_DeleteOriginEndpoint.go +++ b/service/mediapackage/api_op_DeleteOriginEndpoint.go @@ -69,7 +69,10 @@ func addOperationDeleteOriginEndpointMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_DescribeChannel.go b/service/mediapackage/api_op_DescribeChannel.go index 586ca358ba7..8d5698c17d9 100644 --- a/service/mediapackage/api_op_DescribeChannel.go +++ b/service/mediapackage/api_op_DescribeChannel.go @@ -92,7 +92,10 @@ func addOperationDescribeChannelMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_DescribeHarvestJob.go b/service/mediapackage/api_op_DescribeHarvestJob.go index a54def07d47..8ae8cbcf1c7 100644 --- a/service/mediapackage/api_op_DescribeHarvestJob.go +++ b/service/mediapackage/api_op_DescribeHarvestJob.go @@ -103,7 +103,10 @@ func addOperationDescribeHarvestJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_DescribeOriginEndpoint.go b/service/mediapackage/api_op_DescribeOriginEndpoint.go index ebe13fde7a4..5990e1b34c3 100644 --- a/service/mediapackage/api_op_DescribeOriginEndpoint.go +++ b/service/mediapackage/api_op_DescribeOriginEndpoint.go @@ -126,7 +126,10 @@ func addOperationDescribeOriginEndpointMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_ListChannels.go b/service/mediapackage/api_op_ListChannels.go index 07c7fee1330..302547cb9b1 100644 --- a/service/mediapackage/api_op_ListChannels.go +++ b/service/mediapackage/api_op_ListChannels.go @@ -79,7 +79,10 @@ func addOperationListChannelsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_ListHarvestJobs.go b/service/mediapackage/api_op_ListHarvestJobs.go index d98a12d0d09..e1ac1ace095 100644 --- a/service/mediapackage/api_op_ListHarvestJobs.go +++ b/service/mediapackage/api_op_ListHarvestJobs.go @@ -86,7 +86,10 @@ func addOperationListHarvestJobsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_ListOriginEndpoints.go b/service/mediapackage/api_op_ListOriginEndpoints.go index f81204867a3..aefc8b5cc03 100644 --- a/service/mediapackage/api_op_ListOriginEndpoints.go +++ b/service/mediapackage/api_op_ListOriginEndpoints.go @@ -83,7 +83,10 @@ func addOperationListOriginEndpointsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_ListTagsForResource.go b/service/mediapackage/api_op_ListTagsForResource.go index 8ecbac9d5d3..63935b2e954 100644 --- a/service/mediapackage/api_op_ListTagsForResource.go +++ b/service/mediapackage/api_op_ListTagsForResource.go @@ -68,7 +68,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_RotateChannelCredentials.go b/service/mediapackage/api_op_RotateChannelCredentials.go index be8413266c7..e0e596538c7 100644 --- a/service/mediapackage/api_op_RotateChannelCredentials.go +++ b/service/mediapackage/api_op_RotateChannelCredentials.go @@ -96,7 +96,10 @@ func addOperationRotateChannelCredentialsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_RotateIngestEndpointCredentials.go b/service/mediapackage/api_op_RotateIngestEndpointCredentials.go index 8bc47bb5827..50be4026464 100644 --- a/service/mediapackage/api_op_RotateIngestEndpointCredentials.go +++ b/service/mediapackage/api_op_RotateIngestEndpointCredentials.go @@ -98,7 +98,10 @@ func addOperationRotateIngestEndpointCredentialsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_TagResource.go b/service/mediapackage/api_op_TagResource.go index 3d807458286..42917f9e845 100644 --- a/service/mediapackage/api_op_TagResource.go +++ b/service/mediapackage/api_op_TagResource.go @@ -69,7 +69,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_UntagResource.go b/service/mediapackage/api_op_UntagResource.go index 038cb4117f6..aec094e8ff4 100644 --- a/service/mediapackage/api_op_UntagResource.go +++ b/service/mediapackage/api_op_UntagResource.go @@ -71,7 +71,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_UpdateChannel.go b/service/mediapackage/api_op_UpdateChannel.go index ec9c736677d..dd13b3bbfcc 100644 --- a/service/mediapackage/api_op_UpdateChannel.go +++ b/service/mediapackage/api_op_UpdateChannel.go @@ -96,7 +96,10 @@ func addOperationUpdateChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackage/api_op_UpdateOriginEndpoint.go b/service/mediapackage/api_op_UpdateOriginEndpoint.go index bcd180c3fd6..4fab4443cd2 100644 --- a/service/mediapackage/api_op_UpdateOriginEndpoint.go +++ b/service/mediapackage/api_op_UpdateOriginEndpoint.go @@ -167,7 +167,10 @@ func addOperationUpdateOriginEndpointMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_CreateAsset.go b/service/mediapackagevod/api_op_CreateAsset.go index 443dabda133..b788c7c6989 100644 --- a/service/mediapackagevod/api_op_CreateAsset.go +++ b/service/mediapackagevod/api_op_CreateAsset.go @@ -120,7 +120,10 @@ func addOperationCreateAssetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_CreatePackagingConfiguration.go b/service/mediapackagevod/api_op_CreatePackagingConfiguration.go index 24585fd7502..327b92e5b73 100644 --- a/service/mediapackagevod/api_op_CreatePackagingConfiguration.go +++ b/service/mediapackagevod/api_op_CreatePackagingConfiguration.go @@ -116,7 +116,10 @@ func addOperationCreatePackagingConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_CreatePackagingGroup.go b/service/mediapackagevod/api_op_CreatePackagingGroup.go index 46574637833..02924a91c99 100644 --- a/service/mediapackagevod/api_op_CreatePackagingGroup.go +++ b/service/mediapackagevod/api_op_CreatePackagingGroup.go @@ -93,7 +93,10 @@ func addOperationCreatePackagingGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_DeleteAsset.go b/service/mediapackagevod/api_op_DeleteAsset.go index 9c208b7bdac..53c47f770d7 100644 --- a/service/mediapackagevod/api_op_DeleteAsset.go +++ b/service/mediapackagevod/api_op_DeleteAsset.go @@ -69,7 +69,10 @@ func addOperationDeleteAssetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_DeletePackagingConfiguration.go b/service/mediapackagevod/api_op_DeletePackagingConfiguration.go index 37c3786f3a6..04d66cfb33f 100644 --- a/service/mediapackagevod/api_op_DeletePackagingConfiguration.go +++ b/service/mediapackagevod/api_op_DeletePackagingConfiguration.go @@ -69,7 +69,10 @@ func addOperationDeletePackagingConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_DeletePackagingGroup.go b/service/mediapackagevod/api_op_DeletePackagingGroup.go index fbc0b08b78d..c5c20ac8a82 100644 --- a/service/mediapackagevod/api_op_DeletePackagingGroup.go +++ b/service/mediapackagevod/api_op_DeletePackagingGroup.go @@ -69,7 +69,10 @@ func addOperationDeletePackagingGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_DescribeAsset.go b/service/mediapackagevod/api_op_DescribeAsset.go index a3067add5bd..efeba7ef2d6 100644 --- a/service/mediapackagevod/api_op_DescribeAsset.go +++ b/service/mediapackagevod/api_op_DescribeAsset.go @@ -98,7 +98,10 @@ func addOperationDescribeAssetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_DescribePackagingConfiguration.go b/service/mediapackagevod/api_op_DescribePackagingConfiguration.go index a0f2295c06a..b5d591957fb 100644 --- a/service/mediapackagevod/api_op_DescribePackagingConfiguration.go +++ b/service/mediapackagevod/api_op_DescribePackagingConfiguration.go @@ -95,7 +95,10 @@ func addOperationDescribePackagingConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_DescribePackagingGroup.go b/service/mediapackagevod/api_op_DescribePackagingGroup.go index 73371cbe3c7..2630a2d74c2 100644 --- a/service/mediapackagevod/api_op_DescribePackagingGroup.go +++ b/service/mediapackagevod/api_op_DescribePackagingGroup.go @@ -86,7 +86,10 @@ func addOperationDescribePackagingGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_ListAssets.go b/service/mediapackagevod/api_op_ListAssets.go index 7f678034fe2..3f71046a201 100644 --- a/service/mediapackagevod/api_op_ListAssets.go +++ b/service/mediapackagevod/api_op_ListAssets.go @@ -82,7 +82,10 @@ func addOperationListAssetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_ListPackagingConfigurations.go b/service/mediapackagevod/api_op_ListPackagingConfigurations.go index a3868f6739a..e952ed674cc 100644 --- a/service/mediapackagevod/api_op_ListPackagingConfigurations.go +++ b/service/mediapackagevod/api_op_ListPackagingConfigurations.go @@ -83,7 +83,10 @@ func addOperationListPackagingConfigurationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_ListPackagingGroups.go b/service/mediapackagevod/api_op_ListPackagingGroups.go index 8bb6252549e..e9e50aedae9 100644 --- a/service/mediapackagevod/api_op_ListPackagingGroups.go +++ b/service/mediapackagevod/api_op_ListPackagingGroups.go @@ -79,7 +79,10 @@ func addOperationListPackagingGroupsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_ListTagsForResource.go b/service/mediapackagevod/api_op_ListTagsForResource.go index e485789a340..126a2890b6d 100644 --- a/service/mediapackagevod/api_op_ListTagsForResource.go +++ b/service/mediapackagevod/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_TagResource.go b/service/mediapackagevod/api_op_TagResource.go index 2c7b8681c43..e30df027cac 100644 --- a/service/mediapackagevod/api_op_TagResource.go +++ b/service/mediapackagevod/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_UntagResource.go b/service/mediapackagevod/api_op_UntagResource.go index 3232663ffe7..2d2ffa3ab6e 100644 --- a/service/mediapackagevod/api_op_UntagResource.go +++ b/service/mediapackagevod/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediapackagevod/api_op_UpdatePackagingGroup.go b/service/mediapackagevod/api_op_UpdatePackagingGroup.go index 0e7fb1e80ae..87f8a4e1e5b 100644 --- a/service/mediapackagevod/api_op_UpdatePackagingGroup.go +++ b/service/mediapackagevod/api_op_UpdatePackagingGroup.go @@ -91,7 +91,10 @@ func addOperationUpdatePackagingGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_CreateContainer.go b/service/mediastore/api_op_CreateContainer.go index c1f552d43f4..cf6c546634c 100644 --- a/service/mediastore/api_op_CreateContainer.go +++ b/service/mediastore/api_op_CreateContainer.go @@ -98,7 +98,10 @@ func addOperationCreateContainerMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_DeleteContainer.go b/service/mediastore/api_op_DeleteContainer.go index e5ff995256b..c4577b0f00b 100644 --- a/service/mediastore/api_op_DeleteContainer.go +++ b/service/mediastore/api_op_DeleteContainer.go @@ -71,7 +71,10 @@ func addOperationDeleteContainerMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_DeleteContainerPolicy.go b/service/mediastore/api_op_DeleteContainerPolicy.go index b776b2a0988..3cf6fc7b7c8 100644 --- a/service/mediastore/api_op_DeleteContainerPolicy.go +++ b/service/mediastore/api_op_DeleteContainerPolicy.go @@ -69,7 +69,10 @@ func addOperationDeleteContainerPolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_DeleteCorsPolicy.go b/service/mediastore/api_op_DeleteCorsPolicy.go index 69486f5a0b7..fdebab55d5b 100644 --- a/service/mediastore/api_op_DeleteCorsPolicy.go +++ b/service/mediastore/api_op_DeleteCorsPolicy.go @@ -72,7 +72,10 @@ func addOperationDeleteCorsPolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_DeleteLifecyclePolicy.go b/service/mediastore/api_op_DeleteLifecyclePolicy.go index 4b2c4140cc2..915bbd7bf10 100644 --- a/service/mediastore/api_op_DeleteLifecyclePolicy.go +++ b/service/mediastore/api_op_DeleteLifecyclePolicy.go @@ -70,7 +70,10 @@ func addOperationDeleteLifecyclePolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_DeleteMetricPolicy.go b/service/mediastore/api_op_DeleteMetricPolicy.go index f6293ba50e4..4a665ec2828 100644 --- a/service/mediastore/api_op_DeleteMetricPolicy.go +++ b/service/mediastore/api_op_DeleteMetricPolicy.go @@ -72,7 +72,10 @@ func addOperationDeleteMetricPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_DescribeContainer.go b/service/mediastore/api_op_DescribeContainer.go index 42ee23d4554..af47fb55878 100644 --- a/service/mediastore/api_op_DescribeContainer.go +++ b/service/mediastore/api_op_DescribeContainer.go @@ -77,7 +77,10 @@ func addOperationDescribeContainerMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_GetContainerPolicy.go b/service/mediastore/api_op_GetContainerPolicy.go index 24cdbc156e8..ab8216422c9 100644 --- a/service/mediastore/api_op_GetContainerPolicy.go +++ b/service/mediastore/api_op_GetContainerPolicy.go @@ -77,7 +77,10 @@ func addOperationGetContainerPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_GetCorsPolicy.go b/service/mediastore/api_op_GetCorsPolicy.go index d2b2b32e887..84ab0f08c28 100644 --- a/service/mediastore/api_op_GetCorsPolicy.go +++ b/service/mediastore/api_op_GetCorsPolicy.go @@ -79,7 +79,10 @@ func addOperationGetCorsPolicyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_GetLifecyclePolicy.go b/service/mediastore/api_op_GetLifecyclePolicy.go index 3af3cc73ab8..fce9b18bc26 100644 --- a/service/mediastore/api_op_GetLifecyclePolicy.go +++ b/service/mediastore/api_op_GetLifecyclePolicy.go @@ -75,7 +75,10 @@ func addOperationGetLifecyclePolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_GetMetricPolicy.go b/service/mediastore/api_op_GetMetricPolicy.go index 28de9d46b88..345bab6ac28 100644 --- a/service/mediastore/api_op_GetMetricPolicy.go +++ b/service/mediastore/api_op_GetMetricPolicy.go @@ -76,7 +76,10 @@ func addOperationGetMetricPolicyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_ListContainers.go b/service/mediastore/api_op_ListContainers.go index a109604a96b..6478e5dc6c0 100644 --- a/service/mediastore/api_op_ListContainers.go +++ b/service/mediastore/api_op_ListContainers.go @@ -94,7 +94,10 @@ func addOperationListContainersMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_ListTagsForResource.go b/service/mediastore/api_op_ListTagsForResource.go index b7aaee4fbe3..ef0350ba5c5 100644 --- a/service/mediastore/api_op_ListTagsForResource.go +++ b/service/mediastore/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_PutContainerPolicy.go b/service/mediastore/api_op_PutContainerPolicy.go index 9f656fce649..fd499b404e3 100644 --- a/service/mediastore/api_op_PutContainerPolicy.go +++ b/service/mediastore/api_op_PutContainerPolicy.go @@ -84,7 +84,10 @@ func addOperationPutContainerPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_PutCorsPolicy.go b/service/mediastore/api_op_PutCorsPolicy.go index f73d9cf79fe..05de8336697 100644 --- a/service/mediastore/api_op_PutCorsPolicy.go +++ b/service/mediastore/api_op_PutCorsPolicy.go @@ -86,7 +86,10 @@ func addOperationPutCorsPolicyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_PutLifecyclePolicy.go b/service/mediastore/api_op_PutLifecyclePolicy.go index 256b308c418..97c121f1689 100644 --- a/service/mediastore/api_op_PutLifecyclePolicy.go +++ b/service/mediastore/api_op_PutLifecyclePolicy.go @@ -80,7 +80,10 @@ func addOperationPutLifecyclePolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_PutMetricPolicy.go b/service/mediastore/api_op_PutMetricPolicy.go index 94623b085f6..f2baa941864 100644 --- a/service/mediastore/api_op_PutMetricPolicy.go +++ b/service/mediastore/api_op_PutMetricPolicy.go @@ -92,7 +92,10 @@ func addOperationPutMetricPolicyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_StartAccessLogging.go b/service/mediastore/api_op_StartAccessLogging.go index 0ab32bd14de..3168681235c 100644 --- a/service/mediastore/api_op_StartAccessLogging.go +++ b/service/mediastore/api_op_StartAccessLogging.go @@ -71,7 +71,10 @@ func addOperationStartAccessLoggingMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_StopAccessLogging.go b/service/mediastore/api_op_StopAccessLogging.go index 73500f2e656..52f6ad3a51e 100644 --- a/service/mediastore/api_op_StopAccessLogging.go +++ b/service/mediastore/api_op_StopAccessLogging.go @@ -71,7 +71,10 @@ func addOperationStopAccessLoggingMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_TagResource.go b/service/mediastore/api_op_TagResource.go index e85c76723b9..5686fda3ce5 100644 --- a/service/mediastore/api_op_TagResource.go +++ b/service/mediastore/api_op_TagResource.go @@ -87,7 +87,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastore/api_op_UntagResource.go b/service/mediastore/api_op_UntagResource.go index c0e896cb341..cdf4fd7a85d 100644 --- a/service/mediastore/api_op_UntagResource.go +++ b/service/mediastore/api_op_UntagResource.go @@ -78,7 +78,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastoredata/api_op_DeleteObject.go b/service/mediastoredata/api_op_DeleteObject.go index 3d85cb31eef..e560362043f 100644 --- a/service/mediastoredata/api_op_DeleteObject.go +++ b/service/mediastoredata/api_op_DeleteObject.go @@ -70,7 +70,10 @@ func addOperationDeleteObjectMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastoredata/api_op_DescribeObject.go b/service/mediastoredata/api_op_DescribeObject.go index b4cc3ea8972..36299a88a08 100644 --- a/service/mediastoredata/api_op_DescribeObject.go +++ b/service/mediastoredata/api_op_DescribeObject.go @@ -91,7 +91,10 @@ func addOperationDescribeObjectMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastoredata/api_op_GetObject.go b/service/mediastoredata/api_op_GetObject.go index f5aa6458312..ee9eeee3682 100644 --- a/service/mediastoredata/api_op_GetObject.go +++ b/service/mediastoredata/api_op_GetObject.go @@ -123,7 +123,10 @@ func addOperationGetObjectMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastoredata/api_op_ListItems.go b/service/mediastoredata/api_op_ListItems.go index fead7e9e3f0..b9f8df1e9eb 100644 --- a/service/mediastoredata/api_op_ListItems.go +++ b/service/mediastoredata/api_op_ListItems.go @@ -95,7 +95,10 @@ func addOperationListItemsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediastoredata/api_op_PutObject.go b/service/mediastoredata/api_op_PutObject.go index fa3b8719cf6..f3d5ea395f4 100644 --- a/service/mediastoredata/api_op_PutObject.go +++ b/service/mediastoredata/api_op_PutObject.go @@ -119,7 +119,10 @@ func addOperationPutObjectMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediatailor/api_op_DeletePlaybackConfiguration.go b/service/mediatailor/api_op_DeletePlaybackConfiguration.go index 27712c8e5a3..4780c599a31 100644 --- a/service/mediatailor/api_op_DeletePlaybackConfiguration.go +++ b/service/mediatailor/api_op_DeletePlaybackConfiguration.go @@ -69,7 +69,10 @@ func addOperationDeletePlaybackConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediatailor/api_op_GetPlaybackConfiguration.go b/service/mediatailor/api_op_GetPlaybackConfiguration.go index 3a10f8e09e2..a5c84b79c66 100644 --- a/service/mediatailor/api_op_GetPlaybackConfiguration.go +++ b/service/mediatailor/api_op_GetPlaybackConfiguration.go @@ -141,7 +141,10 @@ func addOperationGetPlaybackConfigurationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediatailor/api_op_ListPlaybackConfigurations.go b/service/mediatailor/api_op_ListPlaybackConfigurations.go index cd3a06dfadf..42bb962c1ad 100644 --- a/service/mediatailor/api_op_ListPlaybackConfigurations.go +++ b/service/mediatailor/api_op_ListPlaybackConfigurations.go @@ -86,7 +86,10 @@ func addOperationListPlaybackConfigurationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediatailor/api_op_ListTagsForResource.go b/service/mediatailor/api_op_ListTagsForResource.go index c28d34ddce6..b98c5aad345 100644 --- a/service/mediatailor/api_op_ListTagsForResource.go +++ b/service/mediatailor/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediatailor/api_op_PutPlaybackConfiguration.go b/service/mediatailor/api_op_PutPlaybackConfiguration.go index a950581468f..28c11ac97de 100644 --- a/service/mediatailor/api_op_PutPlaybackConfiguration.go +++ b/service/mediatailor/api_op_PutPlaybackConfiguration.go @@ -192,7 +192,10 @@ func addOperationPutPlaybackConfigurationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediatailor/api_op_TagResource.go b/service/mediatailor/api_op_TagResource.go index 382380e212a..9bb900029ed 100644 --- a/service/mediatailor/api_op_TagResource.go +++ b/service/mediatailor/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mediatailor/api_op_UntagResource.go b/service/mediatailor/api_op_UntagResource.go index 574e45a0979..78c6c794c5c 100644 --- a/service/mediatailor/api_op_UntagResource.go +++ b/service/mediatailor/api_op_UntagResource.go @@ -77,7 +77,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_AssociateCreatedArtifact.go b/service/migrationhub/api_op_AssociateCreatedArtifact.go index f6b6c3cbf5b..3b10bcce16a 100644 --- a/service/migrationhub/api_op_AssociateCreatedArtifact.go +++ b/service/migrationhub/api_op_AssociateCreatedArtifact.go @@ -100,7 +100,10 @@ func addOperationAssociateCreatedArtifactMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_AssociateDiscoveredResource.go b/service/migrationhub/api_op_AssociateDiscoveredResource.go index df1018865fa..556b9a8e845 100644 --- a/service/migrationhub/api_op_AssociateDiscoveredResource.go +++ b/service/migrationhub/api_op_AssociateDiscoveredResource.go @@ -86,7 +86,10 @@ func addOperationAssociateDiscoveredResourceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_CreateProgressUpdateStream.go b/service/migrationhub/api_op_CreateProgressUpdateStream.go index 7872336e34a..002b703f87a 100644 --- a/service/migrationhub/api_op_CreateProgressUpdateStream.go +++ b/service/migrationhub/api_op_CreateProgressUpdateStream.go @@ -77,7 +77,10 @@ func addOperationCreateProgressUpdateStreamMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_DeleteProgressUpdateStream.go b/service/migrationhub/api_op_DeleteProgressUpdateStream.go index d65f3da7b42..2c6e84e9bc1 100644 --- a/service/migrationhub/api_op_DeleteProgressUpdateStream.go +++ b/service/migrationhub/api_op_DeleteProgressUpdateStream.go @@ -96,7 +96,10 @@ func addOperationDeleteProgressUpdateStreamMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_DescribeApplicationState.go b/service/migrationhub/api_op_DescribeApplicationState.go index 2c294f1879c..ddca367b769 100644 --- a/service/migrationhub/api_op_DescribeApplicationState.go +++ b/service/migrationhub/api_op_DescribeApplicationState.go @@ -79,7 +79,10 @@ func addOperationDescribeApplicationStateMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_DescribeMigrationTask.go b/service/migrationhub/api_op_DescribeMigrationTask.go index 616a488627e..016d8c58246 100644 --- a/service/migrationhub/api_op_DescribeMigrationTask.go +++ b/service/migrationhub/api_op_DescribeMigrationTask.go @@ -80,7 +80,10 @@ func addOperationDescribeMigrationTaskMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_DisassociateCreatedArtifact.go b/service/migrationhub/api_op_DisassociateCreatedArtifact.go index 4934f48da5b..b3e7c2a0032 100644 --- a/service/migrationhub/api_op_DisassociateCreatedArtifact.go +++ b/service/migrationhub/api_op_DisassociateCreatedArtifact.go @@ -99,7 +99,10 @@ func addOperationDisassociateCreatedArtifactMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_DisassociateDiscoveredResource.go b/service/migrationhub/api_op_DisassociateDiscoveredResource.go index 64f6f42dc81..88ca86b19b2 100644 --- a/service/migrationhub/api_op_DisassociateDiscoveredResource.go +++ b/service/migrationhub/api_op_DisassociateDiscoveredResource.go @@ -86,7 +86,10 @@ func addOperationDisassociateDiscoveredResourceMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_ImportMigrationTask.go b/service/migrationhub/api_op_ImportMigrationTask.go index 2fe0fe01a2e..26493b3bc94 100644 --- a/service/migrationhub/api_op_ImportMigrationTask.go +++ b/service/migrationhub/api_op_ImportMigrationTask.go @@ -82,7 +82,10 @@ func addOperationImportMigrationTaskMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_ListApplicationStates.go b/service/migrationhub/api_op_ListApplicationStates.go index 511f9c7bfbd..731c7230183 100644 --- a/service/migrationhub/api_op_ListApplicationStates.go +++ b/service/migrationhub/api_op_ListApplicationStates.go @@ -89,7 +89,10 @@ func addOperationListApplicationStatesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_ListCreatedArtifacts.go b/service/migrationhub/api_op_ListCreatedArtifacts.go index 68794bb03fa..5d74b97ef50 100644 --- a/service/migrationhub/api_op_ListCreatedArtifacts.go +++ b/service/migrationhub/api_op_ListCreatedArtifacts.go @@ -104,7 +104,10 @@ func addOperationListCreatedArtifactsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_ListDiscoveredResources.go b/service/migrationhub/api_op_ListDiscoveredResources.go index 196f3f8cc42..a6d6dafc93a 100644 --- a/service/migrationhub/api_op_ListDiscoveredResources.go +++ b/service/migrationhub/api_op_ListDiscoveredResources.go @@ -92,7 +92,10 @@ func addOperationListDiscoveredResourcesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_ListMigrationTasks.go b/service/migrationhub/api_op_ListMigrationTasks.go index 4914c1c4238..33bc20a34af 100644 --- a/service/migrationhub/api_op_ListMigrationTasks.go +++ b/service/migrationhub/api_op_ListMigrationTasks.go @@ -97,7 +97,10 @@ func addOperationListMigrationTasksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_ListProgressUpdateStreams.go b/service/migrationhub/api_op_ListProgressUpdateStreams.go index be569984aa9..278f9fa94a8 100644 --- a/service/migrationhub/api_op_ListProgressUpdateStreams.go +++ b/service/migrationhub/api_op_ListProgressUpdateStreams.go @@ -83,7 +83,10 @@ func addOperationListProgressUpdateStreamsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_NotifyApplicationState.go b/service/migrationhub/api_op_NotifyApplicationState.go index 574922ed0ca..dd124db963d 100644 --- a/service/migrationhub/api_op_NotifyApplicationState.go +++ b/service/migrationhub/api_op_NotifyApplicationState.go @@ -86,7 +86,10 @@ func addOperationNotifyApplicationStateMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_NotifyMigrationTaskState.go b/service/migrationhub/api_op_NotifyMigrationTaskState.go index 62227aa49a7..ab267ca084d 100644 --- a/service/migrationhub/api_op_NotifyMigrationTaskState.go +++ b/service/migrationhub/api_op_NotifyMigrationTaskState.go @@ -109,7 +109,10 @@ func addOperationNotifyMigrationTaskStateMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhub/api_op_PutResourceAttributes.go b/service/migrationhub/api_op_PutResourceAttributes.go index 33122de631f..6d85d3954ee 100644 --- a/service/migrationhub/api_op_PutResourceAttributes.go +++ b/service/migrationhub/api_op_PutResourceAttributes.go @@ -122,7 +122,10 @@ func addOperationPutResourceAttributesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhubconfig/api_op_CreateHomeRegionControl.go b/service/migrationhubconfig/api_op_CreateHomeRegionControl.go index 144b0c5a4bb..d4b94578882 100644 --- a/service/migrationhubconfig/api_op_CreateHomeRegionControl.go +++ b/service/migrationhubconfig/api_op_CreateHomeRegionControl.go @@ -85,7 +85,10 @@ func addOperationCreateHomeRegionControlMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go b/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go index 75bc0ce33de..70b5e6db5b9 100644 --- a/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go +++ b/service/migrationhubconfig/api_op_DescribeHomeRegionControls.go @@ -94,7 +94,10 @@ func addOperationDescribeHomeRegionControlsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/migrationhubconfig/api_op_GetHomeRegion.go b/service/migrationhubconfig/api_op_GetHomeRegion.go index 9526bda0bbd..271e4565992 100644 --- a/service/migrationhubconfig/api_op_GetHomeRegion.go +++ b/service/migrationhubconfig/api_op_GetHomeRegion.go @@ -72,7 +72,10 @@ func addOperationGetHomeRegionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mobile/api_op_CreateProject.go b/service/mobile/api_op_CreateProject.go index 8c535ff8210..5e0f238394d 100644 --- a/service/mobile/api_op_CreateProject.go +++ b/service/mobile/api_op_CreateProject.go @@ -86,7 +86,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mobile/api_op_DeleteProject.go b/service/mobile/api_op_DeleteProject.go index 329a1ab4af2..6eeadcfd466 100644 --- a/service/mobile/api_op_DeleteProject.go +++ b/service/mobile/api_op_DeleteProject.go @@ -80,7 +80,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mobile/api_op_DescribeBundle.go b/service/mobile/api_op_DescribeBundle.go index c957f0ad53a..fa99b3d4e53 100644 --- a/service/mobile/api_op_DescribeBundle.go +++ b/service/mobile/api_op_DescribeBundle.go @@ -76,7 +76,10 @@ func addOperationDescribeBundleMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mobile/api_op_DescribeProject.go b/service/mobile/api_op_DescribeProject.go index 5afebbefab7..aff8e4dcfc3 100644 --- a/service/mobile/api_op_DescribeProject.go +++ b/service/mobile/api_op_DescribeProject.go @@ -81,7 +81,10 @@ func addOperationDescribeProjectMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mobile/api_op_ExportBundle.go b/service/mobile/api_op_ExportBundle.go index d728eec8831..7e1747c0ea6 100644 --- a/service/mobile/api_op_ExportBundle.go +++ b/service/mobile/api_op_ExportBundle.go @@ -87,7 +87,10 @@ func addOperationExportBundleMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mobile/api_op_ExportProject.go b/service/mobile/api_op_ExportProject.go index 9c23a53fad1..b018d8779bf 100644 --- a/service/mobile/api_op_ExportProject.go +++ b/service/mobile/api_op_ExportProject.go @@ -89,7 +89,10 @@ func addOperationExportProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mobile/api_op_ListBundles.go b/service/mobile/api_op_ListBundles.go index 89168156bc2..b04bc7d323e 100644 --- a/service/mobile/api_op_ListBundles.go +++ b/service/mobile/api_op_ListBundles.go @@ -84,7 +84,10 @@ func addOperationListBundlesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mobile/api_op_ListProjects.go b/service/mobile/api_op_ListProjects.go index cfebbce7005..cf1ae60c147 100644 --- a/service/mobile/api_op_ListProjects.go +++ b/service/mobile/api_op_ListProjects.go @@ -85,7 +85,10 @@ func addOperationListProjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mobile/api_op_UpdateProject.go b/service/mobile/api_op_UpdateProject.go index af5ad57fb8d..e15cc48750c 100644 --- a/service/mobile/api_op_UpdateProject.go +++ b/service/mobile/api_op_UpdateProject.go @@ -81,7 +81,10 @@ func addOperationUpdateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_CreateBroker.go b/service/mq/api_op_CreateBroker.go index 98ffff398d0..c06213e4c3b 100644 --- a/service/mq/api_op_CreateBroker.go +++ b/service/mq/api_op_CreateBroker.go @@ -156,7 +156,10 @@ func addOperationCreateBrokerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_CreateConfiguration.go b/service/mq/api_op_CreateConfiguration.go index a8ed0540bad..b2f3b51cc94 100644 --- a/service/mq/api_op_CreateConfiguration.go +++ b/service/mq/api_op_CreateConfiguration.go @@ -110,7 +110,10 @@ func addOperationCreateConfigurationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_CreateTags.go b/service/mq/api_op_CreateTags.go index 3d417a841e6..ec3f4a33cf6 100644 --- a/service/mq/api_op_CreateTags.go +++ b/service/mq/api_op_CreateTags.go @@ -73,7 +73,10 @@ func addOperationCreateTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_CreateUser.go b/service/mq/api_op_CreateUser.go index 579eee63350..cc3ca92e5f9 100644 --- a/service/mq/api_op_CreateUser.go +++ b/service/mq/api_op_CreateUser.go @@ -89,7 +89,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_DeleteBroker.go b/service/mq/api_op_DeleteBroker.go index f4b7807caa5..254f25d2513 100644 --- a/service/mq/api_op_DeleteBroker.go +++ b/service/mq/api_op_DeleteBroker.go @@ -73,7 +73,10 @@ func addOperationDeleteBrokerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_DeleteTags.go b/service/mq/api_op_DeleteTags.go index 5dde6ef6ad8..5a466009b6b 100644 --- a/service/mq/api_op_DeleteTags.go +++ b/service/mq/api_op_DeleteTags.go @@ -74,7 +74,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_DeleteUser.go b/service/mq/api_op_DeleteUser.go index 2236199966d..533f8648085 100644 --- a/service/mq/api_op_DeleteUser.go +++ b/service/mq/api_op_DeleteUser.go @@ -76,7 +76,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_DescribeBroker.go b/service/mq/api_op_DescribeBroker.go index e25744a0c8b..ac38217649e 100644 --- a/service/mq/api_op_DescribeBroker.go +++ b/service/mq/api_op_DescribeBroker.go @@ -180,7 +180,10 @@ func addOperationDescribeBrokerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_DescribeBrokerEngineTypes.go b/service/mq/api_op_DescribeBrokerEngineTypes.go index 82634f34622..8d9b6fca37a 100644 --- a/service/mq/api_op_DescribeBrokerEngineTypes.go +++ b/service/mq/api_op_DescribeBrokerEngineTypes.go @@ -88,7 +88,10 @@ func addOperationDescribeBrokerEngineTypesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_DescribeBrokerInstanceOptions.go b/service/mq/api_op_DescribeBrokerInstanceOptions.go index ce59c2c460a..d0d8c39b8af 100644 --- a/service/mq/api_op_DescribeBrokerInstanceOptions.go +++ b/service/mq/api_op_DescribeBrokerInstanceOptions.go @@ -94,7 +94,10 @@ func addOperationDescribeBrokerInstanceOptionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_DescribeConfiguration.go b/service/mq/api_op_DescribeConfiguration.go index f7fc9fef89e..15a45e13f97 100644 --- a/service/mq/api_op_DescribeConfiguration.go +++ b/service/mq/api_op_DescribeConfiguration.go @@ -107,7 +107,10 @@ func addOperationDescribeConfigurationMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_DescribeConfigurationRevision.go b/service/mq/api_op_DescribeConfigurationRevision.go index 0eddc9470a6..14276c3b2e7 100644 --- a/service/mq/api_op_DescribeConfigurationRevision.go +++ b/service/mq/api_op_DescribeConfigurationRevision.go @@ -88,7 +88,10 @@ func addOperationDescribeConfigurationRevisionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_DescribeUser.go b/service/mq/api_op_DescribeUser.go index aa3c5aa6340..56bf96d8cb4 100644 --- a/service/mq/api_op_DescribeUser.go +++ b/service/mq/api_op_DescribeUser.go @@ -97,7 +97,10 @@ func addOperationDescribeUserMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_ListBrokers.go b/service/mq/api_op_ListBrokers.go index 04e1541ad74..46e32a0f262 100644 --- a/service/mq/api_op_ListBrokers.go +++ b/service/mq/api_op_ListBrokers.go @@ -82,7 +82,10 @@ func addOperationListBrokersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_ListConfigurationRevisions.go b/service/mq/api_op_ListConfigurationRevisions.go index 3729a0643ac..0eceefb2c8f 100644 --- a/service/mq/api_op_ListConfigurationRevisions.go +++ b/service/mq/api_op_ListConfigurationRevisions.go @@ -93,7 +93,10 @@ func addOperationListConfigurationRevisionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_ListConfigurations.go b/service/mq/api_op_ListConfigurations.go index 1c1f7377dc0..e5b83b4f283 100644 --- a/service/mq/api_op_ListConfigurations.go +++ b/service/mq/api_op_ListConfigurations.go @@ -85,7 +85,10 @@ func addOperationListConfigurationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_ListTags.go b/service/mq/api_op_ListTags.go index 77bbe6040f8..6d6a85327be 100644 --- a/service/mq/api_op_ListTags.go +++ b/service/mq/api_op_ListTags.go @@ -73,7 +73,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_ListUsers.go b/service/mq/api_op_ListUsers.go index d933f227929..be4d71c6b23 100644 --- a/service/mq/api_op_ListUsers.go +++ b/service/mq/api_op_ListUsers.go @@ -93,7 +93,10 @@ func addOperationListUsersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_RebootBroker.go b/service/mq/api_op_RebootBroker.go index ebe7e7bd478..43846ddd402 100644 --- a/service/mq/api_op_RebootBroker.go +++ b/service/mq/api_op_RebootBroker.go @@ -69,7 +69,10 @@ func addOperationRebootBrokerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_UpdateBroker.go b/service/mq/api_op_UpdateBroker.go index 522b90a1605..e9af638052e 100644 --- a/service/mq/api_op_UpdateBroker.go +++ b/service/mq/api_op_UpdateBroker.go @@ -136,7 +136,10 @@ func addOperationUpdateBrokerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_UpdateConfiguration.go b/service/mq/api_op_UpdateConfiguration.go index eab9795e230..fe1d709e777 100644 --- a/service/mq/api_op_UpdateConfiguration.go +++ b/service/mq/api_op_UpdateConfiguration.go @@ -100,7 +100,10 @@ func addOperationUpdateConfigurationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mq/api_op_UpdateUser.go b/service/mq/api_op_UpdateUser.go index 7ad92164d83..e3495a76748 100644 --- a/service/mq/api_op_UpdateUser.go +++ b/service/mq/api_op_UpdateUser.go @@ -89,7 +89,10 @@ func addOperationUpdateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_AcceptQualificationRequest.go b/service/mturk/api_op_AcceptQualificationRequest.go index 9ed9d0fb8e5..c55ce6b3a33 100644 --- a/service/mturk/api_op_AcceptQualificationRequest.go +++ b/service/mturk/api_op_AcceptQualificationRequest.go @@ -77,7 +77,10 @@ func addOperationAcceptQualificationRequestMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ApproveAssignment.go b/service/mturk/api_op_ApproveAssignment.go index e6111278165..2ca2d4edf03 100644 --- a/service/mturk/api_op_ApproveAssignment.go +++ b/service/mturk/api_op_ApproveAssignment.go @@ -95,7 +95,10 @@ func addOperationApproveAssignmentMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_AssociateQualificationWithWorker.go b/service/mturk/api_op_AssociateQualificationWithWorker.go index b6261cdb7fa..81f893dd230 100644 --- a/service/mturk/api_op_AssociateQualificationWithWorker.go +++ b/service/mturk/api_op_AssociateQualificationWithWorker.go @@ -92,7 +92,10 @@ func addOperationAssociateQualificationWithWorkerMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go b/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go index 8451649e682..287fa2a0f1c 100644 --- a/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go +++ b/service/mturk/api_op_CreateAdditionalAssignmentsForHIT.go @@ -95,7 +95,10 @@ func addOperationCreateAdditionalAssignmentsForHITMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_CreateHIT.go b/service/mturk/api_op_CreateHIT.go index 894fc9d851f..281064f0c8d 100644 --- a/service/mturk/api_op_CreateHIT.go +++ b/service/mturk/api_op_CreateHIT.go @@ -190,7 +190,10 @@ func addOperationCreateHITMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_CreateHITType.go b/service/mturk/api_op_CreateHITType.go index 1db848f199c..b2a02af3508 100644 --- a/service/mturk/api_op_CreateHITType.go +++ b/service/mturk/api_op_CreateHITType.go @@ -119,7 +119,10 @@ func addOperationCreateHITTypeMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_CreateHITWithHITType.go b/service/mturk/api_op_CreateHITWithHITType.go index c4f8c10112a..009c451c08e 100644 --- a/service/mturk/api_op_CreateHITWithHITType.go +++ b/service/mturk/api_op_CreateHITWithHITType.go @@ -142,7 +142,10 @@ func addOperationCreateHITWithHITTypeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_CreateQualificationType.go b/service/mturk/api_op_CreateQualificationType.go index 7aacd0411f7..b80a0d263ba 100644 --- a/service/mturk/api_op_CreateQualificationType.go +++ b/service/mturk/api_op_CreateQualificationType.go @@ -131,7 +131,10 @@ func addOperationCreateQualificationTypeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_CreateWorkerBlock.go b/service/mturk/api_op_CreateWorkerBlock.go index fa995db64f1..c56afbc7432 100644 --- a/service/mturk/api_op_CreateWorkerBlock.go +++ b/service/mturk/api_op_CreateWorkerBlock.go @@ -77,7 +77,10 @@ func addOperationCreateWorkerBlockMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_DeleteHIT.go b/service/mturk/api_op_DeleteHIT.go index 0c23effb637..511b54acb74 100644 --- a/service/mturk/api_op_DeleteHIT.go +++ b/service/mturk/api_op_DeleteHIT.go @@ -88,7 +88,10 @@ func addOperationDeleteHITMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_DeleteQualificationType.go b/service/mturk/api_op_DeleteQualificationType.go index 8bd69eaaedd..3a5f774999b 100644 --- a/service/mturk/api_op_DeleteQualificationType.go +++ b/service/mturk/api_op_DeleteQualificationType.go @@ -78,7 +78,10 @@ func addOperationDeleteQualificationTypeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_DeleteWorkerBlock.go b/service/mturk/api_op_DeleteWorkerBlock.go index 694c74b2e6c..3c3348ef424 100644 --- a/service/mturk/api_op_DeleteWorkerBlock.go +++ b/service/mturk/api_op_DeleteWorkerBlock.go @@ -78,7 +78,10 @@ func addOperationDeleteWorkerBlockMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_DisassociateQualificationFromWorker.go b/service/mturk/api_op_DisassociateQualificationFromWorker.go index 37446ba3795..9740ca17307 100644 --- a/service/mturk/api_op_DisassociateQualificationFromWorker.go +++ b/service/mturk/api_op_DisassociateQualificationFromWorker.go @@ -81,7 +81,10 @@ func addOperationDisassociateQualificationFromWorkerMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_GetAccountBalance.go b/service/mturk/api_op_GetAccountBalance.go index 13cff9b9844..d4f7cb85a67 100644 --- a/service/mturk/api_op_GetAccountBalance.go +++ b/service/mturk/api_op_GetAccountBalance.go @@ -72,7 +72,10 @@ func addOperationGetAccountBalanceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_GetAssignment.go b/service/mturk/api_op_GetAssignment.go index 5a18f7807a7..e51f45ef5e3 100644 --- a/service/mturk/api_op_GetAssignment.go +++ b/service/mturk/api_op_GetAssignment.go @@ -77,7 +77,10 @@ func addOperationGetAssignmentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_GetFileUploadURL.go b/service/mturk/api_op_GetFileUploadURL.go index 90f750bd4c7..f854176b97c 100644 --- a/service/mturk/api_op_GetFileUploadURL.go +++ b/service/mturk/api_op_GetFileUploadURL.go @@ -90,7 +90,10 @@ func addOperationGetFileUploadURLMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_GetHIT.go b/service/mturk/api_op_GetHIT.go index 010def36cba..746681c2185 100644 --- a/service/mturk/api_op_GetHIT.go +++ b/service/mturk/api_op_GetHIT.go @@ -74,7 +74,10 @@ func addOperationGetHITMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_GetQualificationScore.go b/service/mturk/api_op_GetQualificationScore.go index 96276c6188c..91946052258 100644 --- a/service/mturk/api_op_GetQualificationScore.go +++ b/service/mturk/api_op_GetQualificationScore.go @@ -84,7 +84,10 @@ func addOperationGetQualificationScoreMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_GetQualificationType.go b/service/mturk/api_op_GetQualificationType.go index e9dc17d3348..21a4480371a 100644 --- a/service/mturk/api_op_GetQualificationType.go +++ b/service/mturk/api_op_GetQualificationType.go @@ -75,7 +75,10 @@ func addOperationGetQualificationTypeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListAssignmentsForHIT.go b/service/mturk/api_op_ListAssignmentsForHIT.go index aff9d54e044..820856e7a17 100644 --- a/service/mturk/api_op_ListAssignmentsForHIT.go +++ b/service/mturk/api_op_ListAssignmentsForHIT.go @@ -105,7 +105,10 @@ func addOperationListAssignmentsForHITMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListBonusPayments.go b/service/mturk/api_op_ListBonusPayments.go index 747c94287c2..7bcc8a6f35c 100644 --- a/service/mturk/api_op_ListBonusPayments.go +++ b/service/mturk/api_op_ListBonusPayments.go @@ -97,7 +97,10 @@ func addOperationListBonusPaymentsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListHITs.go b/service/mturk/api_op_ListHITs.go index c8d69458c01..db08eeea5e3 100644 --- a/service/mturk/api_op_ListHITs.go +++ b/service/mturk/api_op_ListHITs.go @@ -85,7 +85,10 @@ func addOperationListHITsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListHITsForQualificationType.go b/service/mturk/api_op_ListHITsForQualificationType.go index 7a86fa288bd..a306157107b 100644 --- a/service/mturk/api_op_ListHITsForQualificationType.go +++ b/service/mturk/api_op_ListHITsForQualificationType.go @@ -93,7 +93,10 @@ func addOperationListHITsForQualificationTypeMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListQualificationRequests.go b/service/mturk/api_op_ListQualificationRequests.go index 22597325c61..8ef69806c95 100644 --- a/service/mturk/api_op_ListQualificationRequests.go +++ b/service/mturk/api_op_ListQualificationRequests.go @@ -94,7 +94,10 @@ func addOperationListQualificationRequestsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListQualificationTypes.go b/service/mturk/api_op_ListQualificationTypes.go index 2d7478d3b1f..7ace368b2cd 100644 --- a/service/mturk/api_op_ListQualificationTypes.go +++ b/service/mturk/api_op_ListQualificationTypes.go @@ -105,7 +105,10 @@ func addOperationListQualificationTypesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListReviewPolicyResultsForHIT.go b/service/mturk/api_op_ListReviewPolicyResultsForHIT.go index 31963a5f755..9a37bba50d7 100644 --- a/service/mturk/api_op_ListReviewPolicyResultsForHIT.go +++ b/service/mturk/api_op_ListReviewPolicyResultsForHIT.go @@ -117,7 +117,10 @@ func addOperationListReviewPolicyResultsForHITMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListReviewableHITs.go b/service/mturk/api_op_ListReviewableHITs.go index 1202a4072a3..a9c6f5bffb7 100644 --- a/service/mturk/api_op_ListReviewableHITs.go +++ b/service/mturk/api_op_ListReviewableHITs.go @@ -94,7 +94,10 @@ func addOperationListReviewableHITsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListWorkerBlocks.go b/service/mturk/api_op_ListWorkerBlocks.go index 54370763c69..22e70bffa6a 100644 --- a/service/mturk/api_op_ListWorkerBlocks.go +++ b/service/mturk/api_op_ListWorkerBlocks.go @@ -85,7 +85,10 @@ func addOperationListWorkerBlocksMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_ListWorkersWithQualificationType.go b/service/mturk/api_op_ListWorkersWithQualificationType.go index ee99ae2e1c6..d501a6f9206 100644 --- a/service/mturk/api_op_ListWorkersWithQualificationType.go +++ b/service/mturk/api_op_ListWorkersWithQualificationType.go @@ -94,7 +94,10 @@ func addOperationListWorkersWithQualificationTypeMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_NotifyWorkers.go b/service/mturk/api_op_NotifyWorkers.go index 78950deee4c..6dbbf0f031c 100644 --- a/service/mturk/api_op_NotifyWorkers.go +++ b/service/mturk/api_op_NotifyWorkers.go @@ -90,7 +90,10 @@ func addOperationNotifyWorkersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_RejectAssignment.go b/service/mturk/api_op_RejectAssignment.go index 7c3c5f7bd07..94e245ee470 100644 --- a/service/mturk/api_op_RejectAssignment.go +++ b/service/mturk/api_op_RejectAssignment.go @@ -82,7 +82,10 @@ func addOperationRejectAssignmentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_RejectQualificationRequest.go b/service/mturk/api_op_RejectQualificationRequest.go index 65dde7348d2..fe8ca8bddc5 100644 --- a/service/mturk/api_op_RejectQualificationRequest.go +++ b/service/mturk/api_op_RejectQualificationRequest.go @@ -76,7 +76,10 @@ func addOperationRejectQualificationRequestMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_SendBonus.go b/service/mturk/api_op_SendBonus.go index e99c55e2c5b..eb8810993d1 100644 --- a/service/mturk/api_op_SendBonus.go +++ b/service/mturk/api_op_SendBonus.go @@ -102,7 +102,10 @@ func addOperationSendBonusMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_SendTestEventNotification.go b/service/mturk/api_op_SendTestEventNotification.go index e2ed24b5e43..8361b70dda9 100644 --- a/service/mturk/api_op_SendTestEventNotification.go +++ b/service/mturk/api_op_SendTestEventNotification.go @@ -85,7 +85,10 @@ func addOperationSendTestEventNotificationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_UpdateExpirationForHIT.go b/service/mturk/api_op_UpdateExpirationForHIT.go index b3ea86b8836..8e602790d9d 100644 --- a/service/mturk/api_op_UpdateExpirationForHIT.go +++ b/service/mturk/api_op_UpdateExpirationForHIT.go @@ -77,7 +77,10 @@ func addOperationUpdateExpirationForHITMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_UpdateHITReviewStatus.go b/service/mturk/api_op_UpdateHITReviewStatus.go index 66bddf8a0d6..384d0ac7d55 100644 --- a/service/mturk/api_op_UpdateHITReviewStatus.go +++ b/service/mturk/api_op_UpdateHITReviewStatus.go @@ -80,7 +80,10 @@ func addOperationUpdateHITReviewStatusMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_UpdateHITTypeOfHIT.go b/service/mturk/api_op_UpdateHITTypeOfHIT.go index 234d2b899e9..ffd9c935bca 100644 --- a/service/mturk/api_op_UpdateHITTypeOfHIT.go +++ b/service/mturk/api_op_UpdateHITTypeOfHIT.go @@ -77,7 +77,10 @@ func addOperationUpdateHITTypeOfHITMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_UpdateNotificationSettings.go b/service/mturk/api_op_UpdateNotificationSettings.go index 0acbf6ff345..ad2812d399d 100644 --- a/service/mturk/api_op_UpdateNotificationSettings.go +++ b/service/mturk/api_op_UpdateNotificationSettings.go @@ -89,7 +89,10 @@ func addOperationUpdateNotificationSettingsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/mturk/api_op_UpdateQualificationType.go b/service/mturk/api_op_UpdateQualificationType.go index 6101e9301a3..31b4aac631a 100644 --- a/service/mturk/api_op_UpdateQualificationType.go +++ b/service/mturk/api_op_UpdateQualificationType.go @@ -136,7 +136,10 @@ func addOperationUpdateQualificationTypeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_AddRoleToDBCluster.go b/service/neptune/api_op_AddRoleToDBCluster.go index a48d1d8ee2e..ba51af5ae42 100644 --- a/service/neptune/api_op_AddRoleToDBCluster.go +++ b/service/neptune/api_op_AddRoleToDBCluster.go @@ -80,7 +80,10 @@ func addOperationAddRoleToDBClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_AddSourceIdentifierToSubscription.go b/service/neptune/api_op_AddSourceIdentifierToSubscription.go index 0e4e3fa9db7..80a9151d61a 100644 --- a/service/neptune/api_op_AddSourceIdentifierToSubscription.go +++ b/service/neptune/api_op_AddSourceIdentifierToSubscription.go @@ -94,7 +94,10 @@ func addOperationAddSourceIdentifierToSubscriptionMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_AddTagsToResource.go b/service/neptune/api_op_AddTagsToResource.go index a56da4acde5..712df15cd16 100644 --- a/service/neptune/api_op_AddTagsToResource.go +++ b/service/neptune/api_op_AddTagsToResource.go @@ -80,7 +80,10 @@ func addOperationAddTagsToResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ApplyPendingMaintenanceAction.go b/service/neptune/api_op_ApplyPendingMaintenanceAction.go index 642a0c7b0cb..85d3eb0e346 100644 --- a/service/neptune/api_op_ApplyPendingMaintenanceAction.go +++ b/service/neptune/api_op_ApplyPendingMaintenanceAction.go @@ -99,7 +99,10 @@ func addOperationApplyPendingMaintenanceActionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CopyDBClusterParameterGroup.go b/service/neptune/api_op_CopyDBClusterParameterGroup.go index a915ec5b020..0a201c4171f 100644 --- a/service/neptune/api_op_CopyDBClusterParameterGroup.go +++ b/service/neptune/api_op_CopyDBClusterParameterGroup.go @@ -117,7 +117,10 @@ func addOperationCopyDBClusterParameterGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CopyDBClusterSnapshot.go b/service/neptune/api_op_CopyDBClusterSnapshot.go index cc5945ffce0..e67b84b7d2f 100644 --- a/service/neptune/api_op_CopyDBClusterSnapshot.go +++ b/service/neptune/api_op_CopyDBClusterSnapshot.go @@ -128,7 +128,10 @@ func addOperationCopyDBClusterSnapshotMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CopyDBParameterGroup.go b/service/neptune/api_op_CopyDBParameterGroup.go index b03782b579a..14d205d682d 100644 --- a/service/neptune/api_op_CopyDBParameterGroup.go +++ b/service/neptune/api_op_CopyDBParameterGroup.go @@ -109,7 +109,10 @@ func addOperationCopyDBParameterGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CreateDBCluster.go b/service/neptune/api_op_CreateDBCluster.go index dd2e0addc7d..f8e8833e3ae 100644 --- a/service/neptune/api_op_CreateDBCluster.go +++ b/service/neptune/api_op_CreateDBCluster.go @@ -233,7 +233,10 @@ func addOperationCreateDBClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CreateDBClusterEndpoint.go b/service/neptune/api_op_CreateDBClusterEndpoint.go index e5190ceecc1..c99da38ce7f 100644 --- a/service/neptune/api_op_CreateDBClusterEndpoint.go +++ b/service/neptune/api_op_CreateDBClusterEndpoint.go @@ -148,7 +148,10 @@ func addOperationCreateDBClusterEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CreateDBClusterParameterGroup.go b/service/neptune/api_op_CreateDBClusterParameterGroup.go index 93265c3e879..5e3efae824f 100644 --- a/service/neptune/api_op_CreateDBClusterParameterGroup.go +++ b/service/neptune/api_op_CreateDBClusterParameterGroup.go @@ -117,7 +117,10 @@ func addOperationCreateDBClusterParameterGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CreateDBClusterSnapshot.go b/service/neptune/api_op_CreateDBClusterSnapshot.go index 6bfba6d23a9..ab63c5b65ee 100644 --- a/service/neptune/api_op_CreateDBClusterSnapshot.go +++ b/service/neptune/api_op_CreateDBClusterSnapshot.go @@ -100,7 +100,10 @@ func addOperationCreateDBClusterSnapshotMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CreateDBInstance.go b/service/neptune/api_op_CreateDBInstance.go index cd6b23ee93e..fee607c7ccc 100644 --- a/service/neptune/api_op_CreateDBInstance.go +++ b/service/neptune/api_op_CreateDBInstance.go @@ -296,7 +296,10 @@ func addOperationCreateDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CreateDBParameterGroup.go b/service/neptune/api_op_CreateDBParameterGroup.go index 5ef8190d304..f8e9f5d70f1 100644 --- a/service/neptune/api_op_CreateDBParameterGroup.go +++ b/service/neptune/api_op_CreateDBParameterGroup.go @@ -118,7 +118,10 @@ func addOperationCreateDBParameterGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CreateDBSubnetGroup.go b/service/neptune/api_op_CreateDBSubnetGroup.go index 2501ac67849..a7ec0412a12 100644 --- a/service/neptune/api_op_CreateDBSubnetGroup.go +++ b/service/neptune/api_op_CreateDBSubnetGroup.go @@ -91,7 +91,10 @@ func addOperationCreateDBSubnetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_CreateEventSubscription.go b/service/neptune/api_op_CreateEventSubscription.go index 366165de2bb..12bf4998422 100644 --- a/service/neptune/api_op_CreateEventSubscription.go +++ b/service/neptune/api_op_CreateEventSubscription.go @@ -137,7 +137,10 @@ func addOperationCreateEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DeleteDBCluster.go b/service/neptune/api_op_DeleteDBCluster.go index 9a253e667f4..3f4eaca32ed 100644 --- a/service/neptune/api_op_DeleteDBCluster.go +++ b/service/neptune/api_op_DeleteDBCluster.go @@ -103,7 +103,10 @@ func addOperationDeleteDBClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DeleteDBClusterEndpoint.go b/service/neptune/api_op_DeleteDBClusterEndpoint.go index 271510f5e2f..a06baa85e68 100644 --- a/service/neptune/api_op_DeleteDBClusterEndpoint.go +++ b/service/neptune/api_op_DeleteDBClusterEndpoint.go @@ -124,7 +124,10 @@ func addOperationDeleteDBClusterEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DeleteDBClusterParameterGroup.go b/service/neptune/api_op_DeleteDBClusterParameterGroup.go index 8d18539238e..e08c76f429e 100644 --- a/service/neptune/api_op_DeleteDBClusterParameterGroup.go +++ b/service/neptune/api_op_DeleteDBClusterParameterGroup.go @@ -78,7 +78,10 @@ func addOperationDeleteDBClusterParameterGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DeleteDBClusterSnapshot.go b/service/neptune/api_op_DeleteDBClusterSnapshot.go index 540421097f9..e5b1d6da748 100644 --- a/service/neptune/api_op_DeleteDBClusterSnapshot.go +++ b/service/neptune/api_op_DeleteDBClusterSnapshot.go @@ -78,7 +78,10 @@ func addOperationDeleteDBClusterSnapshotMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DeleteDBInstance.go b/service/neptune/api_op_DeleteDBInstance.go index 74a163c81c3..0ff6c963ed5 100644 --- a/service/neptune/api_op_DeleteDBInstance.go +++ b/service/neptune/api_op_DeleteDBInstance.go @@ -116,7 +116,10 @@ func addOperationDeleteDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DeleteDBParameterGroup.go b/service/neptune/api_op_DeleteDBParameterGroup.go index 810a4616638..acba9d94de9 100644 --- a/service/neptune/api_op_DeleteDBParameterGroup.go +++ b/service/neptune/api_op_DeleteDBParameterGroup.go @@ -78,7 +78,10 @@ func addOperationDeleteDBParameterGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DeleteDBSubnetGroup.go b/service/neptune/api_op_DeleteDBSubnetGroup.go index fc039a44893..264aa61a7e1 100644 --- a/service/neptune/api_op_DeleteDBSubnetGroup.go +++ b/service/neptune/api_op_DeleteDBSubnetGroup.go @@ -72,7 +72,10 @@ func addOperationDeleteDBSubnetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DeleteEventSubscription.go b/service/neptune/api_op_DeleteEventSubscription.go index f511eab968d..6734fb9d8e7 100644 --- a/service/neptune/api_op_DeleteEventSubscription.go +++ b/service/neptune/api_op_DeleteEventSubscription.go @@ -75,7 +75,10 @@ func addOperationDeleteEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBClusterEndpoints.go b/service/neptune/api_op_DescribeDBClusterEndpoints.go index 14b3a27a49a..0f704e81fea 100644 --- a/service/neptune/api_op_DescribeDBClusterEndpoints.go +++ b/service/neptune/api_op_DescribeDBClusterEndpoints.go @@ -108,7 +108,10 @@ func addOperationDescribeDBClusterEndpointsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBClusterParameterGroups.go b/service/neptune/api_op_DescribeDBClusterParameterGroups.go index e69a1001ade..37c52e1c396 100644 --- a/service/neptune/api_op_DescribeDBClusterParameterGroups.go +++ b/service/neptune/api_op_DescribeDBClusterParameterGroups.go @@ -99,7 +99,10 @@ func addOperationDescribeDBClusterParameterGroupsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBClusterParameters.go b/service/neptune/api_op_DescribeDBClusterParameters.go index 79606dfe59f..d745a9edfae 100644 --- a/service/neptune/api_op_DescribeDBClusterParameters.go +++ b/service/neptune/api_op_DescribeDBClusterParameters.go @@ -101,7 +101,10 @@ func addOperationDescribeDBClusterParametersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go b/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go index e2f675b86de..68e1f28b2ae 100644 --- a/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go +++ b/service/neptune/api_op_DescribeDBClusterSnapshotAttributes.go @@ -86,7 +86,10 @@ func addOperationDescribeDBClusterSnapshotAttributesMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBClusterSnapshots.go b/service/neptune/api_op_DescribeDBClusterSnapshots.go index 201cde31fd6..0ad678d61fc 100644 --- a/service/neptune/api_op_DescribeDBClusterSnapshots.go +++ b/service/neptune/api_op_DescribeDBClusterSnapshots.go @@ -147,7 +147,10 @@ func addOperationDescribeDBClusterSnapshotsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBClusters.go b/service/neptune/api_op_DescribeDBClusters.go index cc74f502817..373d0be2e78 100644 --- a/service/neptune/api_op_DescribeDBClusters.go +++ b/service/neptune/api_op_DescribeDBClusters.go @@ -108,7 +108,10 @@ func addOperationDescribeDBClustersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBEngineVersions.go b/service/neptune/api_op_DescribeDBEngineVersions.go index 358bb1350bb..4b6e42237c1 100644 --- a/service/neptune/api_op_DescribeDBEngineVersions.go +++ b/service/neptune/api_op_DescribeDBEngineVersions.go @@ -115,7 +115,10 @@ func addOperationDescribeDBEngineVersionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBInstances.go b/service/neptune/api_op_DescribeDBInstances.go index 86491c904dc..c41ec592d75 100644 --- a/service/neptune/api_op_DescribeDBInstances.go +++ b/service/neptune/api_op_DescribeDBInstances.go @@ -116,7 +116,10 @@ func addOperationDescribeDBInstancesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBParameterGroups.go b/service/neptune/api_op_DescribeDBParameterGroups.go index 1846d7ba5e0..c0512385c1a 100644 --- a/service/neptune/api_op_DescribeDBParameterGroups.go +++ b/service/neptune/api_op_DescribeDBParameterGroups.go @@ -97,7 +97,10 @@ func addOperationDescribeDBParameterGroupsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBParameters.go b/service/neptune/api_op_DescribeDBParameters.go index 94f22b46699..212482b1791 100644 --- a/service/neptune/api_op_DescribeDBParameters.go +++ b/service/neptune/api_op_DescribeDBParameters.go @@ -101,7 +101,10 @@ func addOperationDescribeDBParametersMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeDBSubnetGroups.go b/service/neptune/api_op_DescribeDBSubnetGroups.go index 8c77a908c42..77a96b47c58 100644 --- a/service/neptune/api_op_DescribeDBSubnetGroups.go +++ b/service/neptune/api_op_DescribeDBSubnetGroups.go @@ -95,7 +95,10 @@ func addOperationDescribeDBSubnetGroupsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go b/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go index fc66f2d0de5..70c62157233 100644 --- a/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go +++ b/service/neptune/api_op_DescribeEngineDefaultClusterParameters.go @@ -92,7 +92,10 @@ func addOperationDescribeEngineDefaultClusterParametersMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeEngineDefaultParameters.go b/service/neptune/api_op_DescribeEngineDefaultParameters.go index 4699dd22ce5..94a3853dd5e 100644 --- a/service/neptune/api_op_DescribeEngineDefaultParameters.go +++ b/service/neptune/api_op_DescribeEngineDefaultParameters.go @@ -92,7 +92,10 @@ func addOperationDescribeEngineDefaultParametersMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeEventCategories.go b/service/neptune/api_op_DescribeEventCategories.go index f6f49a81c8a..35c8d1eee8a 100644 --- a/service/neptune/api_op_DescribeEventCategories.go +++ b/service/neptune/api_op_DescribeEventCategories.go @@ -77,7 +77,10 @@ func addOperationDescribeEventCategoriesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeEventSubscriptions.go b/service/neptune/api_op_DescribeEventSubscriptions.go index 948bd79c9ce..aada165b742 100644 --- a/service/neptune/api_op_DescribeEventSubscriptions.go +++ b/service/neptune/api_op_DescribeEventSubscriptions.go @@ -97,7 +97,10 @@ func addOperationDescribeEventSubscriptionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeEvents.go b/service/neptune/api_op_DescribeEvents.go index fb89099b3b5..03e551e63fe 100644 --- a/service/neptune/api_op_DescribeEvents.go +++ b/service/neptune/api_op_DescribeEvents.go @@ -137,7 +137,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go b/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go index 010a65012d8..1343f8b5c2a 100644 --- a/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go +++ b/service/neptune/api_op_DescribeOrderableDBInstanceOptions.go @@ -112,7 +112,10 @@ func addOperationDescribeOrderableDBInstanceOptionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribePendingMaintenanceActions.go b/service/neptune/api_op_DescribePendingMaintenanceActions.go index a8353822a55..df104313a26 100644 --- a/service/neptune/api_op_DescribePendingMaintenanceActions.go +++ b/service/neptune/api_op_DescribePendingMaintenanceActions.go @@ -104,7 +104,10 @@ func addOperationDescribePendingMaintenanceActionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_DescribeValidDBInstanceModifications.go b/service/neptune/api_op_DescribeValidDBInstanceModifications.go index 31917bf63d5..5d1aa101dc0 100644 --- a/service/neptune/api_op_DescribeValidDBInstanceModifications.go +++ b/service/neptune/api_op_DescribeValidDBInstanceModifications.go @@ -79,7 +79,10 @@ func addOperationDescribeValidDBInstanceModificationsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_FailoverDBCluster.go b/service/neptune/api_op_FailoverDBCluster.go index 5747002c658..8babbae17e8 100644 --- a/service/neptune/api_op_FailoverDBCluster.go +++ b/service/neptune/api_op_FailoverDBCluster.go @@ -89,7 +89,10 @@ func addOperationFailoverDBClusterMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ListTagsForResource.go b/service/neptune/api_op_ListTagsForResource.go index e17c9681527..6be2c60399a 100644 --- a/service/neptune/api_op_ListTagsForResource.go +++ b/service/neptune/api_op_ListTagsForResource.go @@ -80,7 +80,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ModifyDBCluster.go b/service/neptune/api_op_ModifyDBCluster.go index 9e23d4db3a6..01a089eab98 100644 --- a/service/neptune/api_op_ModifyDBCluster.go +++ b/service/neptune/api_op_ModifyDBCluster.go @@ -177,7 +177,10 @@ func addOperationModifyDBClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ModifyDBClusterEndpoint.go b/service/neptune/api_op_ModifyDBClusterEndpoint.go index 9a0a1872eae..70cc26f2d8b 100644 --- a/service/neptune/api_op_ModifyDBClusterEndpoint.go +++ b/service/neptune/api_op_ModifyDBClusterEndpoint.go @@ -135,7 +135,10 @@ func addOperationModifyDBClusterEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ModifyDBClusterParameterGroup.go b/service/neptune/api_op_ModifyDBClusterParameterGroup.go index 4821722210c..a37236ce9b7 100644 --- a/service/neptune/api_op_ModifyDBClusterParameterGroup.go +++ b/service/neptune/api_op_ModifyDBClusterParameterGroup.go @@ -105,7 +105,10 @@ func addOperationModifyDBClusterParameterGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go b/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go index 5283bba45c8..43cfb2b306a 100644 --- a/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go +++ b/service/neptune/api_op_ModifyDBClusterSnapshotAttribute.go @@ -115,7 +115,10 @@ func addOperationModifyDBClusterSnapshotAttributeMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ModifyDBInstance.go b/service/neptune/api_op_ModifyDBInstance.go index bc8eaa42024..83060b2175b 100644 --- a/service/neptune/api_op_ModifyDBInstance.go +++ b/service/neptune/api_op_ModifyDBInstance.go @@ -299,7 +299,10 @@ func addOperationModifyDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ModifyDBParameterGroup.go b/service/neptune/api_op_ModifyDBParameterGroup.go index b1ae9d91899..a5e3dd18008 100644 --- a/service/neptune/api_op_ModifyDBParameterGroup.go +++ b/service/neptune/api_op_ModifyDBParameterGroup.go @@ -102,7 +102,10 @@ func addOperationModifyDBParameterGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ModifyDBSubnetGroup.go b/service/neptune/api_op_ModifyDBSubnetGroup.go index 241059cb279..22628809a98 100644 --- a/service/neptune/api_op_ModifyDBSubnetGroup.go +++ b/service/neptune/api_op_ModifyDBSubnetGroup.go @@ -86,7 +86,10 @@ func addOperationModifyDBSubnetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ModifyEventSubscription.go b/service/neptune/api_op_ModifyEventSubscription.go index 50ba75ebeaf..d6f4165e5bf 100644 --- a/service/neptune/api_op_ModifyEventSubscription.go +++ b/service/neptune/api_op_ModifyEventSubscription.go @@ -97,7 +97,10 @@ func addOperationModifyEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_PromoteReadReplicaDBCluster.go b/service/neptune/api_op_PromoteReadReplicaDBCluster.go index 9e398c10030..2771e1fc075 100644 --- a/service/neptune/api_op_PromoteReadReplicaDBCluster.go +++ b/service/neptune/api_op_PromoteReadReplicaDBCluster.go @@ -75,7 +75,10 @@ func addOperationPromoteReadReplicaDBClusterMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_RebootDBInstance.go b/service/neptune/api_op_RebootDBInstance.go index 369d72e147d..478d707b5af 100644 --- a/service/neptune/api_op_RebootDBInstance.go +++ b/service/neptune/api_op_RebootDBInstance.go @@ -87,7 +87,10 @@ func addOperationRebootDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_RemoveRoleFromDBCluster.go b/service/neptune/api_op_RemoveRoleFromDBCluster.go index 077cc638388..bb23fa18368 100644 --- a/service/neptune/api_op_RemoveRoleFromDBCluster.go +++ b/service/neptune/api_op_RemoveRoleFromDBCluster.go @@ -80,7 +80,10 @@ func addOperationRemoveRoleFromDBClusterMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go b/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go index bb86ae785c8..bdc97abd109 100644 --- a/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go +++ b/service/neptune/api_op_RemoveSourceIdentifierFromSubscription.go @@ -82,7 +82,10 @@ func addOperationRemoveSourceIdentifierFromSubscriptionMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_RemoveTagsFromResource.go b/service/neptune/api_op_RemoveTagsFromResource.go index 41efc014606..7fcb0d8f955 100644 --- a/service/neptune/api_op_RemoveTagsFromResource.go +++ b/service/neptune/api_op_RemoveTagsFromResource.go @@ -77,7 +77,10 @@ func addOperationRemoveTagsFromResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ResetDBClusterParameterGroup.go b/service/neptune/api_op_ResetDBClusterParameterGroup.go index bcdf3e380e5..ab6d27d9782 100644 --- a/service/neptune/api_op_ResetDBClusterParameterGroup.go +++ b/service/neptune/api_op_ResetDBClusterParameterGroup.go @@ -103,7 +103,10 @@ func addOperationResetDBClusterParameterGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_ResetDBParameterGroup.go b/service/neptune/api_op_ResetDBParameterGroup.go index d2a9a16da50..9c6d8ec5475 100644 --- a/service/neptune/api_op_ResetDBParameterGroup.go +++ b/service/neptune/api_op_ResetDBParameterGroup.go @@ -93,7 +93,10 @@ func addOperationResetDBParameterGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_RestoreDBClusterFromSnapshot.go b/service/neptune/api_op_RestoreDBClusterFromSnapshot.go index 3f62998985c..37ee99752b3 100644 --- a/service/neptune/api_op_RestoreDBClusterFromSnapshot.go +++ b/service/neptune/api_op_RestoreDBClusterFromSnapshot.go @@ -175,7 +175,10 @@ func addOperationRestoreDBClusterFromSnapshotMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_RestoreDBClusterToPointInTime.go b/service/neptune/api_op_RestoreDBClusterToPointInTime.go index 9463c15d4b5..b8d4620fe21 100644 --- a/service/neptune/api_op_RestoreDBClusterToPointInTime.go +++ b/service/neptune/api_op_RestoreDBClusterToPointInTime.go @@ -196,7 +196,10 @@ func addOperationRestoreDBClusterToPointInTimeMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_StartDBCluster.go b/service/neptune/api_op_StartDBCluster.go index b0f87a6473e..c6a9d637da4 100644 --- a/service/neptune/api_op_StartDBCluster.go +++ b/service/neptune/api_op_StartDBCluster.go @@ -77,7 +77,10 @@ func addOperationStartDBClusterMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/neptune/api_op_StopDBCluster.go b/service/neptune/api_op_StopDBCluster.go index 62fec1228c4..d89f1f5e70a 100644 --- a/service/neptune/api_op_StopDBCluster.go +++ b/service/neptune/api_op_StopDBCluster.go @@ -79,7 +79,10 @@ func addOperationStopDBClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_AssociateFirewallPolicy.go b/service/networkfirewall/api_op_AssociateFirewallPolicy.go index e935f689b29..71734c596e4 100644 --- a/service/networkfirewall/api_op_AssociateFirewallPolicy.go +++ b/service/networkfirewall/api_op_AssociateFirewallPolicy.go @@ -120,7 +120,10 @@ func addOperationAssociateFirewallPolicyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_AssociateSubnets.go b/service/networkfirewall/api_op_AssociateSubnets.go index e9b801e0fc9..77e217136e8 100644 --- a/service/networkfirewall/api_op_AssociateSubnets.go +++ b/service/networkfirewall/api_op_AssociateSubnets.go @@ -123,7 +123,10 @@ func addOperationAssociateSubnetsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_CreateFirewall.go b/service/networkfirewall/api_op_CreateFirewall.go index 2b022eda208..e9e8685396b 100644 --- a/service/networkfirewall/api_op_CreateFirewall.go +++ b/service/networkfirewall/api_op_CreateFirewall.go @@ -135,7 +135,10 @@ func addOperationCreateFirewallMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_CreateFirewallPolicy.go b/service/networkfirewall/api_op_CreateFirewallPolicy.go index 778d8823630..337532f5960 100644 --- a/service/networkfirewall/api_op_CreateFirewallPolicy.go +++ b/service/networkfirewall/api_op_CreateFirewallPolicy.go @@ -115,7 +115,10 @@ func addOperationCreateFirewallPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_CreateRuleGroup.go b/service/networkfirewall/api_op_CreateRuleGroup.go index bd25eefd3db..f30e302c9ed 100644 --- a/service/networkfirewall/api_op_CreateRuleGroup.go +++ b/service/networkfirewall/api_op_CreateRuleGroup.go @@ -170,7 +170,10 @@ func addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DeleteFirewall.go b/service/networkfirewall/api_op_DeleteFirewall.go index e2db7868602..3333db1c170 100644 --- a/service/networkfirewall/api_op_DeleteFirewall.go +++ b/service/networkfirewall/api_op_DeleteFirewall.go @@ -98,7 +98,10 @@ func addOperationDeleteFirewallMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DeleteFirewallPolicy.go b/service/networkfirewall/api_op_DeleteFirewallPolicy.go index 876b41c0031..23ccae63286 100644 --- a/service/networkfirewall/api_op_DeleteFirewallPolicy.go +++ b/service/networkfirewall/api_op_DeleteFirewallPolicy.go @@ -81,7 +81,10 @@ func addOperationDeleteFirewallPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DeleteResourcePolicy.go b/service/networkfirewall/api_op_DeleteResourcePolicy.go index 868397d4519..fb6214f3aef 100644 --- a/service/networkfirewall/api_op_DeleteResourcePolicy.go +++ b/service/networkfirewall/api_op_DeleteResourcePolicy.go @@ -70,7 +70,10 @@ func addOperationDeleteResourcePolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DeleteRuleGroup.go b/service/networkfirewall/api_op_DeleteRuleGroup.go index 01593101117..bf89fb56cd0 100644 --- a/service/networkfirewall/api_op_DeleteRuleGroup.go +++ b/service/networkfirewall/api_op_DeleteRuleGroup.go @@ -88,7 +88,10 @@ func addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DescribeFirewall.go b/service/networkfirewall/api_op_DescribeFirewall.go index 84227244885..550450e7da1 100644 --- a/service/networkfirewall/api_op_DescribeFirewall.go +++ b/service/networkfirewall/api_op_DescribeFirewall.go @@ -98,7 +98,10 @@ func addOperationDescribeFirewallMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DescribeFirewallPolicy.go b/service/networkfirewall/api_op_DescribeFirewallPolicy.go index b8ff568bcbf..44fa3e852a1 100644 --- a/service/networkfirewall/api_op_DescribeFirewallPolicy.go +++ b/service/networkfirewall/api_op_DescribeFirewallPolicy.go @@ -97,7 +97,10 @@ func addOperationDescribeFirewallPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DescribeLoggingConfiguration.go b/service/networkfirewall/api_op_DescribeLoggingConfiguration.go index 69c9bf964c0..474d8534858 100644 --- a/service/networkfirewall/api_op_DescribeLoggingConfiguration.go +++ b/service/networkfirewall/api_op_DescribeLoggingConfiguration.go @@ -81,7 +81,10 @@ func addOperationDescribeLoggingConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DescribeResourcePolicy.go b/service/networkfirewall/api_op_DescribeResourcePolicy.go index fa0033d8b3a..786c2d6ef3e 100644 --- a/service/networkfirewall/api_op_DescribeResourcePolicy.go +++ b/service/networkfirewall/api_op_DescribeResourcePolicy.go @@ -74,7 +74,10 @@ func addOperationDescribeResourcePolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DescribeRuleGroup.go b/service/networkfirewall/api_op_DescribeRuleGroup.go index a38fbc9ec14..e962ba0beed 100644 --- a/service/networkfirewall/api_op_DescribeRuleGroup.go +++ b/service/networkfirewall/api_op_DescribeRuleGroup.go @@ -112,7 +112,10 @@ func addOperationDescribeRuleGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_DisassociateSubnets.go b/service/networkfirewall/api_op_DisassociateSubnets.go index 66d4dc0f821..7154bf29899 100644 --- a/service/networkfirewall/api_op_DisassociateSubnets.go +++ b/service/networkfirewall/api_op_DisassociateSubnets.go @@ -120,7 +120,10 @@ func addOperationDisassociateSubnetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_ListFirewallPolicies.go b/service/networkfirewall/api_op_ListFirewallPolicies.go index 67ba3f06958..4640716764c 100644 --- a/service/networkfirewall/api_op_ListFirewallPolicies.go +++ b/service/networkfirewall/api_op_ListFirewallPolicies.go @@ -94,7 +94,10 @@ func addOperationListFirewallPoliciesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_ListFirewalls.go b/service/networkfirewall/api_op_ListFirewalls.go index 936924c5d6c..d3260e1b7a6 100644 --- a/service/networkfirewall/api_op_ListFirewalls.go +++ b/service/networkfirewall/api_op_ListFirewalls.go @@ -100,7 +100,10 @@ func addOperationListFirewallsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_ListRuleGroups.go b/service/networkfirewall/api_op_ListRuleGroups.go index ee1cbe19af0..b157c307546 100644 --- a/service/networkfirewall/api_op_ListRuleGroups.go +++ b/service/networkfirewall/api_op_ListRuleGroups.go @@ -93,7 +93,10 @@ func addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_ListTagsForResource.go b/service/networkfirewall/api_op_ListTagsForResource.go index 3cd00c27fda..b42bfec7afd 100644 --- a/service/networkfirewall/api_op_ListTagsForResource.go +++ b/service/networkfirewall/api_op_ListTagsForResource.go @@ -101,7 +101,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_PutResourcePolicy.go b/service/networkfirewall/api_op_PutResourcePolicy.go index 6e308aae8ad..761ff0301a2 100644 --- a/service/networkfirewall/api_op_PutResourcePolicy.go +++ b/service/networkfirewall/api_op_PutResourcePolicy.go @@ -126,7 +126,10 @@ func addOperationPutResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_TagResource.go b/service/networkfirewall/api_op_TagResource.go index f197258f61c..5810ba4f08c 100644 --- a/service/networkfirewall/api_op_TagResource.go +++ b/service/networkfirewall/api_op_TagResource.go @@ -81,7 +81,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_UntagResource.go b/service/networkfirewall/api_op_UntagResource.go index 97f2679dbb7..17613e2cea6 100644 --- a/service/networkfirewall/api_op_UntagResource.go +++ b/service/networkfirewall/api_op_UntagResource.go @@ -80,7 +80,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go b/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go index b1b9bbb23c6..37d0f29f24d 100644 --- a/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go +++ b/service/networkfirewall/api_op_UpdateFirewallDeleteProtection.go @@ -123,7 +123,10 @@ func addOperationUpdateFirewallDeleteProtectionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_UpdateFirewallDescription.go b/service/networkfirewall/api_op_UpdateFirewallDescription.go index f43b00dea13..0b70da2034b 100644 --- a/service/networkfirewall/api_op_UpdateFirewallDescription.go +++ b/service/networkfirewall/api_op_UpdateFirewallDescription.go @@ -117,7 +117,10 @@ func addOperationUpdateFirewallDescriptionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_UpdateFirewallPolicy.go b/service/networkfirewall/api_op_UpdateFirewallPolicy.go index 7f891777269..bd8fec1b6b8 100644 --- a/service/networkfirewall/api_op_UpdateFirewallPolicy.go +++ b/service/networkfirewall/api_op_UpdateFirewallPolicy.go @@ -124,7 +124,10 @@ func addOperationUpdateFirewallPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go b/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go index 2c74668cb35..b95c85275de 100644 --- a/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go +++ b/service/networkfirewall/api_op_UpdateFirewallPolicyChangeProtection.go @@ -123,7 +123,10 @@ func addOperationUpdateFirewallPolicyChangeProtectionMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_UpdateLoggingConfiguration.go b/service/networkfirewall/api_op_UpdateLoggingConfiguration.go index b4c645461d0..436db3aa18c 100644 --- a/service/networkfirewall/api_op_UpdateLoggingConfiguration.go +++ b/service/networkfirewall/api_op_UpdateLoggingConfiguration.go @@ -110,7 +110,10 @@ func addOperationUpdateLoggingConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_UpdateRuleGroup.go b/service/networkfirewall/api_op_UpdateRuleGroup.go index b79d53985d0..e08b10dda02 100644 --- a/service/networkfirewall/api_op_UpdateRuleGroup.go +++ b/service/networkfirewall/api_op_UpdateRuleGroup.go @@ -148,7 +148,10 @@ func addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go b/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go index 9238f6a2ed8..add5d5b5704 100644 --- a/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go +++ b/service/networkfirewall/api_op_UpdateSubnetChangeProtection.go @@ -123,7 +123,10 @@ func addOperationUpdateSubnetChangeProtectionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_AssociateCustomerGateway.go b/service/networkmanager/api_op_AssociateCustomerGateway.go index 52f7942297b..7f143614e6f 100644 --- a/service/networkmanager/api_op_AssociateCustomerGateway.go +++ b/service/networkmanager/api_op_AssociateCustomerGateway.go @@ -98,7 +98,10 @@ func addOperationAssociateCustomerGatewayMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_AssociateLink.go b/service/networkmanager/api_op_AssociateLink.go index 20738241c7e..c96e31b7e7d 100644 --- a/service/networkmanager/api_op_AssociateLink.go +++ b/service/networkmanager/api_op_AssociateLink.go @@ -86,7 +86,10 @@ func addOperationAssociateLinkMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go b/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go index ceb1174579f..7aad8b12473 100644 --- a/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go +++ b/service/networkmanager/api_op_AssociateTransitGatewayConnectPeer.go @@ -91,7 +91,10 @@ func addOperationAssociateTransitGatewayConnectPeerMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_CreateConnection.go b/service/networkmanager/api_op_CreateConnection.go index f66ff9eb46a..85f73056f13 100644 --- a/service/networkmanager/api_op_CreateConnection.go +++ b/service/networkmanager/api_op_CreateConnection.go @@ -100,7 +100,10 @@ func addOperationCreateConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_CreateDevice.go b/service/networkmanager/api_op_CreateDevice.go index b08960c5704..8fed4d11939 100644 --- a/service/networkmanager/api_op_CreateDevice.go +++ b/service/networkmanager/api_op_CreateDevice.go @@ -105,7 +105,10 @@ func addOperationCreateDeviceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_CreateGlobalNetwork.go b/service/networkmanager/api_op_CreateGlobalNetwork.go index a006340dbe2..6c0eedb5fec 100644 --- a/service/networkmanager/api_op_CreateGlobalNetwork.go +++ b/service/networkmanager/api_op_CreateGlobalNetwork.go @@ -76,7 +76,10 @@ func addOperationCreateGlobalNetworkMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_CreateLink.go b/service/networkmanager/api_op_CreateLink.go index bb95f05bdda..24a4423e420 100644 --- a/service/networkmanager/api_op_CreateLink.go +++ b/service/networkmanager/api_op_CreateLink.go @@ -98,7 +98,10 @@ func addOperationCreateLinkMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_CreateSite.go b/service/networkmanager/api_op_CreateSite.go index 94efb98de06..e96c67157d5 100644 --- a/service/networkmanager/api_op_CreateSite.go +++ b/service/networkmanager/api_op_CreateSite.go @@ -93,7 +93,10 @@ func addOperationCreateSiteMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DeleteConnection.go b/service/networkmanager/api_op_DeleteConnection.go index 47520e91b41..4a40bbdf8ae 100644 --- a/service/networkmanager/api_op_DeleteConnection.go +++ b/service/networkmanager/api_op_DeleteConnection.go @@ -79,7 +79,10 @@ func addOperationDeleteConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DeleteDevice.go b/service/networkmanager/api_op_DeleteDevice.go index eccbb37e7c5..e209d51e1d5 100644 --- a/service/networkmanager/api_op_DeleteDevice.go +++ b/service/networkmanager/api_op_DeleteDevice.go @@ -80,7 +80,10 @@ func addOperationDeleteDeviceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DeleteGlobalNetwork.go b/service/networkmanager/api_op_DeleteGlobalNetwork.go index e2a8b170b2b..75243c02282 100644 --- a/service/networkmanager/api_op_DeleteGlobalNetwork.go +++ b/service/networkmanager/api_op_DeleteGlobalNetwork.go @@ -75,7 +75,10 @@ func addOperationDeleteGlobalNetworkMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DeleteLink.go b/service/networkmanager/api_op_DeleteLink.go index 28bc20386db..5257e347a47 100644 --- a/service/networkmanager/api_op_DeleteLink.go +++ b/service/networkmanager/api_op_DeleteLink.go @@ -80,7 +80,10 @@ func addOperationDeleteLinkMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DeleteSite.go b/service/networkmanager/api_op_DeleteSite.go index 23d66d03802..53f293f14e0 100644 --- a/service/networkmanager/api_op_DeleteSite.go +++ b/service/networkmanager/api_op_DeleteSite.go @@ -79,7 +79,10 @@ func addOperationDeleteSiteMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DeregisterTransitGateway.go b/service/networkmanager/api_op_DeregisterTransitGateway.go index 34ddcead372..c8ce603cafc 100644 --- a/service/networkmanager/api_op_DeregisterTransitGateway.go +++ b/service/networkmanager/api_op_DeregisterTransitGateway.go @@ -81,7 +81,10 @@ func addOperationDeregisterTransitGatewayMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DescribeGlobalNetworks.go b/service/networkmanager/api_op_DescribeGlobalNetworks.go index 5ffd39dde14..d894a56d519 100644 --- a/service/networkmanager/api_op_DescribeGlobalNetworks.go +++ b/service/networkmanager/api_op_DescribeGlobalNetworks.go @@ -85,7 +85,10 @@ func addOperationDescribeGlobalNetworksMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DisassociateCustomerGateway.go b/service/networkmanager/api_op_DisassociateCustomerGateway.go index 806947b8c81..9b1b20ba22d 100644 --- a/service/networkmanager/api_op_DisassociateCustomerGateway.go +++ b/service/networkmanager/api_op_DisassociateCustomerGateway.go @@ -81,7 +81,10 @@ func addOperationDisassociateCustomerGatewayMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DisassociateLink.go b/service/networkmanager/api_op_DisassociateLink.go index 1eae1359616..f198b7cf670 100644 --- a/service/networkmanager/api_op_DisassociateLink.go +++ b/service/networkmanager/api_op_DisassociateLink.go @@ -85,7 +85,10 @@ func addOperationDisassociateLinkMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go b/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go index ed28722eba1..b6a9c9c5146 100644 --- a/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go +++ b/service/networkmanager/api_op_DisassociateTransitGatewayConnectPeer.go @@ -79,7 +79,10 @@ func addOperationDisassociateTransitGatewayConnectPeerMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_GetConnections.go b/service/networkmanager/api_op_GetConnections.go index ef1bfe8e7be..07d00eb6461 100644 --- a/service/networkmanager/api_op_GetConnections.go +++ b/service/networkmanager/api_op_GetConnections.go @@ -90,7 +90,10 @@ func addOperationGetConnectionsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_GetCustomerGatewayAssociations.go b/service/networkmanager/api_op_GetCustomerGatewayAssociations.go index 596671af4df..f22e179ee67 100644 --- a/service/networkmanager/api_op_GetCustomerGatewayAssociations.go +++ b/service/networkmanager/api_op_GetCustomerGatewayAssociations.go @@ -91,7 +91,10 @@ func addOperationGetCustomerGatewayAssociationsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_GetDevices.go b/service/networkmanager/api_op_GetDevices.go index d9c5c5b490d..20a654f3f27 100644 --- a/service/networkmanager/api_op_GetDevices.go +++ b/service/networkmanager/api_op_GetDevices.go @@ -90,7 +90,10 @@ func addOperationGetDevicesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_GetLinkAssociations.go b/service/networkmanager/api_op_GetLinkAssociations.go index 98005e4d05a..0c03ca1afd2 100644 --- a/service/networkmanager/api_op_GetLinkAssociations.go +++ b/service/networkmanager/api_op_GetLinkAssociations.go @@ -91,7 +91,10 @@ func addOperationGetLinkAssociationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_GetLinks.go b/service/networkmanager/api_op_GetLinks.go index 0ec861211ce..a03cc5dae86 100644 --- a/service/networkmanager/api_op_GetLinks.go +++ b/service/networkmanager/api_op_GetLinks.go @@ -98,7 +98,10 @@ func addOperationGetLinksMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_GetSites.go b/service/networkmanager/api_op_GetSites.go index 902ae5c40f0..6d369792adc 100644 --- a/service/networkmanager/api_op_GetSites.go +++ b/service/networkmanager/api_op_GetSites.go @@ -87,7 +87,10 @@ func addOperationGetSitesMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go b/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go index 2c46e3a1eff..1201500ac3d 100644 --- a/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go +++ b/service/networkmanager/api_op_GetTransitGatewayConnectPeerAssociations.go @@ -88,7 +88,10 @@ func addOperationGetTransitGatewayConnectPeerAssociationsMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_GetTransitGatewayRegistrations.go b/service/networkmanager/api_op_GetTransitGatewayRegistrations.go index 2bd3638f4b8..87b6912e0b2 100644 --- a/service/networkmanager/api_op_GetTransitGatewayRegistrations.go +++ b/service/networkmanager/api_op_GetTransitGatewayRegistrations.go @@ -89,7 +89,10 @@ func addOperationGetTransitGatewayRegistrationsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_ListTagsForResource.go b/service/networkmanager/api_op_ListTagsForResource.go index 513e3e67d7e..20ed51cdb59 100644 --- a/service/networkmanager/api_op_ListTagsForResource.go +++ b/service/networkmanager/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_RegisterTransitGateway.go b/service/networkmanager/api_op_RegisterTransitGateway.go index 9f1dfe00a61..9f59940bbee 100644 --- a/service/networkmanager/api_op_RegisterTransitGateway.go +++ b/service/networkmanager/api_op_RegisterTransitGateway.go @@ -84,7 +84,10 @@ func addOperationRegisterTransitGatewayMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_TagResource.go b/service/networkmanager/api_op_TagResource.go index 6d55fb3c7e2..295619d76ef 100644 --- a/service/networkmanager/api_op_TagResource.go +++ b/service/networkmanager/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_UntagResource.go b/service/networkmanager/api_op_UntagResource.go index 4f78a15847d..5691acc2b92 100644 --- a/service/networkmanager/api_op_UntagResource.go +++ b/service/networkmanager/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_UpdateConnection.go b/service/networkmanager/api_op_UpdateConnection.go index b186902500d..6ba1276bf4d 100644 --- a/service/networkmanager/api_op_UpdateConnection.go +++ b/service/networkmanager/api_op_UpdateConnection.go @@ -90,7 +90,10 @@ func addOperationUpdateConnectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_UpdateDevice.go b/service/networkmanager/api_op_UpdateDevice.go index fa6f0deca8f..74bc864e622 100644 --- a/service/networkmanager/api_op_UpdateDevice.go +++ b/service/networkmanager/api_op_UpdateDevice.go @@ -106,7 +106,10 @@ func addOperationUpdateDeviceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_UpdateGlobalNetwork.go b/service/networkmanager/api_op_UpdateGlobalNetwork.go index f427a2b430c..7be006c74f5 100644 --- a/service/networkmanager/api_op_UpdateGlobalNetwork.go +++ b/service/networkmanager/api_op_UpdateGlobalNetwork.go @@ -79,7 +79,10 @@ func addOperationUpdateGlobalNetworkMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_UpdateLink.go b/service/networkmanager/api_op_UpdateLink.go index 97a4764d311..ee6df95ddc4 100644 --- a/service/networkmanager/api_op_UpdateLink.go +++ b/service/networkmanager/api_op_UpdateLink.go @@ -92,7 +92,10 @@ func addOperationUpdateLinkMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/networkmanager/api_op_UpdateSite.go b/service/networkmanager/api_op_UpdateSite.go index a9de4654415..5ec8dfa451d 100644 --- a/service/networkmanager/api_op_UpdateSite.go +++ b/service/networkmanager/api_op_UpdateSite.go @@ -94,7 +94,10 @@ func addOperationUpdateSiteMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_AssignInstance.go b/service/opsworks/api_op_AssignInstance.go index 50ffcb4e077..c632b9ae99a 100644 --- a/service/opsworks/api_op_AssignInstance.go +++ b/service/opsworks/api_op_AssignInstance.go @@ -91,7 +91,10 @@ func addOperationAssignInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_AssignVolume.go b/service/opsworks/api_op_AssignVolume.go index d09e9f55843..a3f7fbb2ae5 100644 --- a/service/opsworks/api_op_AssignVolume.go +++ b/service/opsworks/api_op_AssignVolume.go @@ -81,7 +81,10 @@ func addOperationAssignVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_AssociateElasticIp.go b/service/opsworks/api_op_AssociateElasticIp.go index 79e615ddfee..9b3997807f9 100644 --- a/service/opsworks/api_op_AssociateElasticIp.go +++ b/service/opsworks/api_op_AssociateElasticIp.go @@ -79,7 +79,10 @@ func addOperationAssociateElasticIpMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_AttachElasticLoadBalancer.go b/service/opsworks/api_op_AttachElasticLoadBalancer.go index 67f5c07ebe9..7a715180c93 100644 --- a/service/opsworks/api_op_AttachElasticLoadBalancer.go +++ b/service/opsworks/api_op_AttachElasticLoadBalancer.go @@ -88,7 +88,10 @@ func addOperationAttachElasticLoadBalancerMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_CloneStack.go b/service/opsworks/api_op_CloneStack.go index 2de00e33958..45ad11215f0 100644 --- a/service/opsworks/api_op_CloneStack.go +++ b/service/opsworks/api_op_CloneStack.go @@ -324,7 +324,10 @@ func addOperationCloneStackMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_CreateApp.go b/service/opsworks/api_op_CreateApp.go index 3d105d9fae9..8ab03072338 100644 --- a/service/opsworks/api_op_CreateApp.go +++ b/service/opsworks/api_op_CreateApp.go @@ -134,7 +134,10 @@ func addOperationCreateAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_CreateDeployment.go b/service/opsworks/api_op_CreateDeployment.go index 5372b559598..00e82c8fcba 100644 --- a/service/opsworks/api_op_CreateDeployment.go +++ b/service/opsworks/api_op_CreateDeployment.go @@ -113,7 +113,10 @@ func addOperationCreateDeploymentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_CreateInstance.go b/service/opsworks/api_op_CreateInstance.go index 1431e2e673f..768d675c02f 100644 --- a/service/opsworks/api_op_CreateInstance.go +++ b/service/opsworks/api_op_CreateInstance.go @@ -224,7 +224,10 @@ func addOperationCreateInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_CreateLayer.go b/service/opsworks/api_op_CreateLayer.go index 7a277a19dda..cf5076bb245 100644 --- a/service/opsworks/api_op_CreateLayer.go +++ b/service/opsworks/api_op_CreateLayer.go @@ -173,7 +173,10 @@ func addOperationCreateLayerMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_CreateStack.go b/service/opsworks/api_op_CreateStack.go index 61a34b8e79a..cc7c01fe0ed 100644 --- a/service/opsworks/api_op_CreateStack.go +++ b/service/opsworks/api_op_CreateStack.go @@ -328,7 +328,10 @@ func addOperationCreateStackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_CreateUserProfile.go b/service/opsworks/api_op_CreateUserProfile.go index 12ec60f4d96..70a42ddc090 100644 --- a/service/opsworks/api_op_CreateUserProfile.go +++ b/service/opsworks/api_op_CreateUserProfile.go @@ -92,7 +92,10 @@ func addOperationCreateUserProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeleteApp.go b/service/opsworks/api_op_DeleteApp.go index 294be981f1e..d5fb71cadf3 100644 --- a/service/opsworks/api_op_DeleteApp.go +++ b/service/opsworks/api_op_DeleteApp.go @@ -73,7 +73,10 @@ func addOperationDeleteAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeleteInstance.go b/service/opsworks/api_op_DeleteInstance.go index b6c975b9c1b..f4e0d6e9e03 100644 --- a/service/opsworks/api_op_DeleteInstance.go +++ b/service/opsworks/api_op_DeleteInstance.go @@ -83,7 +83,10 @@ func addOperationDeleteInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeleteLayer.go b/service/opsworks/api_op_DeleteLayer.go index 50a35975f5d..78f75c536b0 100644 --- a/service/opsworks/api_op_DeleteLayer.go +++ b/service/opsworks/api_op_DeleteLayer.go @@ -77,7 +77,10 @@ func addOperationDeleteLayerMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeleteStack.go b/service/opsworks/api_op_DeleteStack.go index 5d8ac9849ee..4246bdbf022 100644 --- a/service/opsworks/api_op_DeleteStack.go +++ b/service/opsworks/api_op_DeleteStack.go @@ -76,7 +76,10 @@ func addOperationDeleteStackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeleteUserProfile.go b/service/opsworks/api_op_DeleteUserProfile.go index 812201a5cb0..e2d1dd7cfda 100644 --- a/service/opsworks/api_op_DeleteUserProfile.go +++ b/service/opsworks/api_op_DeleteUserProfile.go @@ -72,7 +72,10 @@ func addOperationDeleteUserProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeregisterEcsCluster.go b/service/opsworks/api_op_DeregisterEcsCluster.go index 9e315cdb764..70cfa0aaab7 100644 --- a/service/opsworks/api_op_DeregisterEcsCluster.go +++ b/service/opsworks/api_op_DeregisterEcsCluster.go @@ -76,7 +76,10 @@ func addOperationDeregisterEcsClusterMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeregisterElasticIp.go b/service/opsworks/api_op_DeregisterElasticIp.go index 8138eae0c92..6a9444482cf 100644 --- a/service/opsworks/api_op_DeregisterElasticIp.go +++ b/service/opsworks/api_op_DeregisterElasticIp.go @@ -75,7 +75,10 @@ func addOperationDeregisterElasticIpMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeregisterInstance.go b/service/opsworks/api_op_DeregisterInstance.go index 93defe32b34..246b6d18fea 100644 --- a/service/opsworks/api_op_DeregisterInstance.go +++ b/service/opsworks/api_op_DeregisterInstance.go @@ -75,7 +75,10 @@ func addOperationDeregisterInstanceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeregisterRdsDbInstance.go b/service/opsworks/api_op_DeregisterRdsDbInstance.go index f14b6439c0c..bade8b68c32 100644 --- a/service/opsworks/api_op_DeregisterRdsDbInstance.go +++ b/service/opsworks/api_op_DeregisterRdsDbInstance.go @@ -73,7 +73,10 @@ func addOperationDeregisterRdsDbInstanceMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DeregisterVolume.go b/service/opsworks/api_op_DeregisterVolume.go index 17e497c372d..5c68a006769 100644 --- a/service/opsworks/api_op_DeregisterVolume.go +++ b/service/opsworks/api_op_DeregisterVolume.go @@ -77,7 +77,10 @@ func addOperationDeregisterVolumeMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeAgentVersions.go b/service/opsworks/api_op_DescribeAgentVersions.go index f912a5c5a2f..a122f189042 100644 --- a/service/opsworks/api_op_DescribeAgentVersions.go +++ b/service/opsworks/api_op_DescribeAgentVersions.go @@ -80,7 +80,10 @@ func addOperationDescribeAgentVersionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeApps.go b/service/opsworks/api_op_DescribeApps.go index a26016743c0..772c8ad8190 100644 --- a/service/opsworks/api_op_DescribeApps.go +++ b/service/opsworks/api_op_DescribeApps.go @@ -88,7 +88,10 @@ func addOperationDescribeAppsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeCommands.go b/service/opsworks/api_op_DescribeCommands.go index 0c450423487..9f2cad6790d 100644 --- a/service/opsworks/api_op_DescribeCommands.go +++ b/service/opsworks/api_op_DescribeCommands.go @@ -88,7 +88,10 @@ func addOperationDescribeCommandsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeDeployments.go b/service/opsworks/api_op_DescribeDeployments.go index 11b08227a4f..ab97b94c52c 100644 --- a/service/opsworks/api_op_DescribeDeployments.go +++ b/service/opsworks/api_op_DescribeDeployments.go @@ -93,7 +93,10 @@ func addOperationDescribeDeploymentsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeEcsClusters.go b/service/opsworks/api_op_DescribeEcsClusters.go index 5feb70f8809..77aa8335a0e 100644 --- a/service/opsworks/api_op_DescribeEcsClusters.go +++ b/service/opsworks/api_op_DescribeEcsClusters.go @@ -106,7 +106,10 @@ func addOperationDescribeEcsClustersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeElasticIps.go b/service/opsworks/api_op_DescribeElasticIps.go index d31bf0ec378..4b52f48a5fe 100644 --- a/service/opsworks/api_op_DescribeElasticIps.go +++ b/service/opsworks/api_op_DescribeElasticIps.go @@ -90,7 +90,10 @@ func addOperationDescribeElasticIpsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeElasticLoadBalancers.go b/service/opsworks/api_op_DescribeElasticLoadBalancers.go index 8b13a189f87..8b40a8da37e 100644 --- a/service/opsworks/api_op_DescribeElasticLoadBalancers.go +++ b/service/opsworks/api_op_DescribeElasticLoadBalancers.go @@ -83,7 +83,10 @@ func addOperationDescribeElasticLoadBalancersMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeInstances.go b/service/opsworks/api_op_DescribeInstances.go index 9b3865249c3..06f283521a1 100644 --- a/service/opsworks/api_op_DescribeInstances.go +++ b/service/opsworks/api_op_DescribeInstances.go @@ -94,7 +94,10 @@ func addOperationDescribeInstancesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeLayers.go b/service/opsworks/api_op_DescribeLayers.go index 95dd50eb37f..dfd2ec524e4 100644 --- a/service/opsworks/api_op_DescribeLayers.go +++ b/service/opsworks/api_op_DescribeLayers.go @@ -83,7 +83,10 @@ func addOperationDescribeLayersMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go b/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go index 7701e845e7c..73cadcf11af 100644 --- a/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go +++ b/service/opsworks/api_op_DescribeLoadBasedAutoScaling.go @@ -81,7 +81,10 @@ func addOperationDescribeLoadBasedAutoScalingMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeMyUserProfile.go b/service/opsworks/api_op_DescribeMyUserProfile.go index ebf2302e5b6..1fd468565e0 100644 --- a/service/opsworks/api_op_DescribeMyUserProfile.go +++ b/service/opsworks/api_op_DescribeMyUserProfile.go @@ -74,7 +74,10 @@ func addOperationDescribeMyUserProfileMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeOperatingSystems.go b/service/opsworks/api_op_DescribeOperatingSystems.go index 9d8183561df..a4fb26db1aa 100644 --- a/service/opsworks/api_op_DescribeOperatingSystems.go +++ b/service/opsworks/api_op_DescribeOperatingSystems.go @@ -70,7 +70,10 @@ func addOperationDescribeOperatingSystemsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribePermissions.go b/service/opsworks/api_op_DescribePermissions.go index 1ea77a29b78..150a54d5257 100644 --- a/service/opsworks/api_op_DescribePermissions.go +++ b/service/opsworks/api_op_DescribePermissions.go @@ -94,7 +94,10 @@ func addOperationDescribePermissionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeRaidArrays.go b/service/opsworks/api_op_DescribeRaidArrays.go index 47a55fa8784..90420f0f8ac 100644 --- a/service/opsworks/api_op_DescribeRaidArrays.go +++ b/service/opsworks/api_op_DescribeRaidArrays.go @@ -87,7 +87,10 @@ func addOperationDescribeRaidArraysMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeRdsDbInstances.go b/service/opsworks/api_op_DescribeRdsDbInstances.go index 65e7d5e4028..e770ce403a1 100644 --- a/service/opsworks/api_op_DescribeRdsDbInstances.go +++ b/service/opsworks/api_op_DescribeRdsDbInstances.go @@ -84,7 +84,10 @@ func addOperationDescribeRdsDbInstancesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeServiceErrors.go b/service/opsworks/api_op_DescribeServiceErrors.go index 6ac6f0398f5..3d8169b8f38 100644 --- a/service/opsworks/api_op_DescribeServiceErrors.go +++ b/service/opsworks/api_op_DescribeServiceErrors.go @@ -88,7 +88,10 @@ func addOperationDescribeServiceErrorsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeStackProvisioningParameters.go b/service/opsworks/api_op_DescribeStackProvisioningParameters.go index a72fbf197a9..d9933cd6f31 100644 --- a/service/opsworks/api_op_DescribeStackProvisioningParameters.go +++ b/service/opsworks/api_op_DescribeStackProvisioningParameters.go @@ -82,7 +82,10 @@ func addOperationDescribeStackProvisioningParametersMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeStackSummary.go b/service/opsworks/api_op_DescribeStackSummary.go index 47acd08132b..935928e7c61 100644 --- a/service/opsworks/api_op_DescribeStackSummary.go +++ b/service/opsworks/api_op_DescribeStackSummary.go @@ -80,7 +80,10 @@ func addOperationDescribeStackSummaryMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeStacks.go b/service/opsworks/api_op_DescribeStacks.go index ad8b23c5fed..1a0a63f0740 100644 --- a/service/opsworks/api_op_DescribeStacks.go +++ b/service/opsworks/api_op_DescribeStacks.go @@ -78,7 +78,10 @@ func addOperationDescribeStacksMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go b/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go index 45d33670a63..eb506bbfc5a 100644 --- a/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go +++ b/service/opsworks/api_op_DescribeTimeBasedAutoScaling.go @@ -81,7 +81,10 @@ func addOperationDescribeTimeBasedAutoScalingMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeUserProfiles.go b/service/opsworks/api_op_DescribeUserProfiles.go index 948c8c35b56..4751c3af134 100644 --- a/service/opsworks/api_op_DescribeUserProfiles.go +++ b/service/opsworks/api_op_DescribeUserProfiles.go @@ -76,7 +76,10 @@ func addOperationDescribeUserProfilesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DescribeVolumes.go b/service/opsworks/api_op_DescribeVolumes.go index 56f9e412746..3ea808ad47c 100644 --- a/service/opsworks/api_op_DescribeVolumes.go +++ b/service/opsworks/api_op_DescribeVolumes.go @@ -91,7 +91,10 @@ func addOperationDescribeVolumesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DetachElasticLoadBalancer.go b/service/opsworks/api_op_DetachElasticLoadBalancer.go index 46f3cf41368..ea05fd9180d 100644 --- a/service/opsworks/api_op_DetachElasticLoadBalancer.go +++ b/service/opsworks/api_op_DetachElasticLoadBalancer.go @@ -78,7 +78,10 @@ func addOperationDetachElasticLoadBalancerMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_DisassociateElasticIp.go b/service/opsworks/api_op_DisassociateElasticIp.go index b23953feb2d..db0425f84a0 100644 --- a/service/opsworks/api_op_DisassociateElasticIp.go +++ b/service/opsworks/api_op_DisassociateElasticIp.go @@ -75,7 +75,10 @@ func addOperationDisassociateElasticIpMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_GetHostnameSuggestion.go b/service/opsworks/api_op_GetHostnameSuggestion.go index e7c0146a305..07c2995f435 100644 --- a/service/opsworks/api_op_GetHostnameSuggestion.go +++ b/service/opsworks/api_op_GetHostnameSuggestion.go @@ -82,7 +82,10 @@ func addOperationGetHostnameSuggestionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_GrantAccess.go b/service/opsworks/api_op_GrantAccess.go index d4ebccb477a..c596eef8eed 100644 --- a/service/opsworks/api_op_GrantAccess.go +++ b/service/opsworks/api_op_GrantAccess.go @@ -83,7 +83,10 @@ func addOperationGrantAccessMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_ListTags.go b/service/opsworks/api_op_ListTags.go index 56d9da169a5..3e26331e2ea 100644 --- a/service/opsworks/api_op_ListTags.go +++ b/service/opsworks/api_op_ListTags.go @@ -89,7 +89,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_RebootInstance.go b/service/opsworks/api_op_RebootInstance.go index 6d96f0874c1..e0e2589461f 100644 --- a/service/opsworks/api_op_RebootInstance.go +++ b/service/opsworks/api_op_RebootInstance.go @@ -76,7 +76,10 @@ func addOperationRebootInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_RegisterEcsCluster.go b/service/opsworks/api_op_RegisterEcsCluster.go index 3ffb2b5a760..9ceead90711 100644 --- a/service/opsworks/api_op_RegisterEcsCluster.go +++ b/service/opsworks/api_op_RegisterEcsCluster.go @@ -87,7 +87,10 @@ func addOperationRegisterEcsClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_RegisterElasticIp.go b/service/opsworks/api_op_RegisterElasticIp.go index f1945043cdb..753ec0f0881 100644 --- a/service/opsworks/api_op_RegisterElasticIp.go +++ b/service/opsworks/api_op_RegisterElasticIp.go @@ -87,7 +87,10 @@ func addOperationRegisterElasticIpMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_RegisterInstance.go b/service/opsworks/api_op_RegisterInstance.go index 8a8e3168fa1..658d1abe7ff 100644 --- a/service/opsworks/api_op_RegisterInstance.go +++ b/service/opsworks/api_op_RegisterInstance.go @@ -112,7 +112,10 @@ func addOperationRegisterInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_RegisterRdsDbInstance.go b/service/opsworks/api_op_RegisterRdsDbInstance.go index 12e3631fe13..bc3eff48826 100644 --- a/service/opsworks/api_op_RegisterRdsDbInstance.go +++ b/service/opsworks/api_op_RegisterRdsDbInstance.go @@ -88,7 +88,10 @@ func addOperationRegisterRdsDbInstanceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_RegisterVolume.go b/service/opsworks/api_op_RegisterVolume.go index 38970b37353..5cb32ab0d6e 100644 --- a/service/opsworks/api_op_RegisterVolume.go +++ b/service/opsworks/api_op_RegisterVolume.go @@ -85,7 +85,10 @@ func addOperationRegisterVolumeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_SetLoadBasedAutoScaling.go b/service/opsworks/api_op_SetLoadBasedAutoScaling.go index 23b91cee077..3981d6de683 100644 --- a/service/opsworks/api_op_SetLoadBasedAutoScaling.go +++ b/service/opsworks/api_op_SetLoadBasedAutoScaling.go @@ -93,7 +93,10 @@ func addOperationSetLoadBasedAutoScalingMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_SetPermission.go b/service/opsworks/api_op_SetPermission.go index 7c3a086ff72..8fa254cb8a5 100644 --- a/service/opsworks/api_op_SetPermission.go +++ b/service/opsworks/api_op_SetPermission.go @@ -106,7 +106,10 @@ func addOperationSetPermissionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_SetTimeBasedAutoScaling.go b/service/opsworks/api_op_SetTimeBasedAutoScaling.go index 7710db187e6..17f87024eae 100644 --- a/service/opsworks/api_op_SetTimeBasedAutoScaling.go +++ b/service/opsworks/api_op_SetTimeBasedAutoScaling.go @@ -80,7 +80,10 @@ func addOperationSetTimeBasedAutoScalingMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_StartInstance.go b/service/opsworks/api_op_StartInstance.go index 9888e0befcd..1d8231e038b 100644 --- a/service/opsworks/api_op_StartInstance.go +++ b/service/opsworks/api_op_StartInstance.go @@ -76,7 +76,10 @@ func addOperationStartInstanceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_StartStack.go b/service/opsworks/api_op_StartStack.go index 7b798d2a948..1bd32a2d5ec 100644 --- a/service/opsworks/api_op_StartStack.go +++ b/service/opsworks/api_op_StartStack.go @@ -73,7 +73,10 @@ func addOperationStartStackMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_StopInstance.go b/service/opsworks/api_op_StopInstance.go index 8aed9c0e257..a7308f9030f 100644 --- a/service/opsworks/api_op_StopInstance.go +++ b/service/opsworks/api_op_StopInstance.go @@ -86,7 +86,10 @@ func addOperationStopInstanceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_StopStack.go b/service/opsworks/api_op_StopStack.go index ee8fc6638c2..8590d59bf67 100644 --- a/service/opsworks/api_op_StopStack.go +++ b/service/opsworks/api_op_StopStack.go @@ -73,7 +73,10 @@ func addOperationStopStackMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_TagResource.go b/service/opsworks/api_op_TagResource.go index efbc1893adf..a1136dc0679 100644 --- a/service/opsworks/api_op_TagResource.go +++ b/service/opsworks/api_op_TagResource.go @@ -94,7 +94,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UnassignInstance.go b/service/opsworks/api_op_UnassignInstance.go index 6dd8eb04a62..09985430575 100644 --- a/service/opsworks/api_op_UnassignInstance.go +++ b/service/opsworks/api_op_UnassignInstance.go @@ -76,7 +76,10 @@ func addOperationUnassignInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UnassignVolume.go b/service/opsworks/api_op_UnassignVolume.go index ca99b32db96..827805f14bd 100644 --- a/service/opsworks/api_op_UnassignVolume.go +++ b/service/opsworks/api_op_UnassignVolume.go @@ -75,7 +75,10 @@ func addOperationUnassignVolumeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UntagResource.go b/service/opsworks/api_op_UntagResource.go index fe92b9b4bf5..dfb2f652310 100644 --- a/service/opsworks/api_op_UntagResource.go +++ b/service/opsworks/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UpdateApp.go b/service/opsworks/api_op_UpdateApp.go index 539840a86ce..08e84e5e976 100644 --- a/service/opsworks/api_op_UpdateApp.go +++ b/service/opsworks/api_op_UpdateApp.go @@ -116,7 +116,10 @@ func addOperationUpdateAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UpdateElasticIp.go b/service/opsworks/api_op_UpdateElasticIp.go index f015c7936a7..5e704096207 100644 --- a/service/opsworks/api_op_UpdateElasticIp.go +++ b/service/opsworks/api_op_UpdateElasticIp.go @@ -78,7 +78,10 @@ func addOperationUpdateElasticIpMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UpdateInstance.go b/service/opsworks/api_op_UpdateInstance.go index 46ce695f88a..8baf76ec521 100644 --- a/service/opsworks/api_op_UpdateInstance.go +++ b/service/opsworks/api_op_UpdateInstance.go @@ -174,7 +174,10 @@ func addOperationUpdateInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UpdateLayer.go b/service/opsworks/api_op_UpdateLayer.go index 89d672a3dcc..8970c34a2bc 100644 --- a/service/opsworks/api_op_UpdateLayer.go +++ b/service/opsworks/api_op_UpdateLayer.go @@ -146,7 +146,10 @@ func addOperationUpdateLayerMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UpdateMyUserProfile.go b/service/opsworks/api_op_UpdateMyUserProfile.go index a327ec49219..4f166648579 100644 --- a/service/opsworks/api_op_UpdateMyUserProfile.go +++ b/service/opsworks/api_op_UpdateMyUserProfile.go @@ -71,7 +71,10 @@ func addOperationUpdateMyUserProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UpdateRdsDbInstance.go b/service/opsworks/api_op_UpdateRdsDbInstance.go index 557b266bc11..12b5463faf2 100644 --- a/service/opsworks/api_op_UpdateRdsDbInstance.go +++ b/service/opsworks/api_op_UpdateRdsDbInstance.go @@ -79,7 +79,10 @@ func addOperationUpdateRdsDbInstanceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UpdateStack.go b/service/opsworks/api_op_UpdateStack.go index 2bd4e8a005b..fd8f1919766 100644 --- a/service/opsworks/api_op_UpdateStack.go +++ b/service/opsworks/api_op_UpdateStack.go @@ -261,7 +261,10 @@ func addOperationUpdateStackMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UpdateUserProfile.go b/service/opsworks/api_op_UpdateUserProfile.go index a23b7accb60..ae71c891622 100644 --- a/service/opsworks/api_op_UpdateUserProfile.go +++ b/service/opsworks/api_op_UpdateUserProfile.go @@ -87,7 +87,10 @@ func addOperationUpdateUserProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworks/api_op_UpdateVolume.go b/service/opsworks/api_op_UpdateVolume.go index 5e5b92579ec..63f1e66664f 100644 --- a/service/opsworks/api_op_UpdateVolume.go +++ b/service/opsworks/api_op_UpdateVolume.go @@ -81,7 +81,10 @@ func addOperationUpdateVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_AssociateNode.go b/service/opsworkscm/api_op_AssociateNode.go index 26d8d8af5e8..58877e3776a 100644 --- a/service/opsworkscm/api_op_AssociateNode.go +++ b/service/opsworkscm/api_op_AssociateNode.go @@ -113,7 +113,10 @@ func addOperationAssociateNodeMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_CreateBackup.go b/service/opsworkscm/api_op_CreateBackup.go index fcf9b4e8e80..d45b2299421 100644 --- a/service/opsworkscm/api_op_CreateBackup.go +++ b/service/opsworkscm/api_op_CreateBackup.go @@ -105,7 +105,10 @@ func addOperationCreateBackupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_CreateServer.go b/service/opsworkscm/api_op_CreateServer.go index e553d6c0ccb..35a49025a49 100644 --- a/service/opsworkscm/api_op_CreateServer.go +++ b/service/opsworkscm/api_op_CreateServer.go @@ -294,7 +294,10 @@ func addOperationCreateServerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_DeleteBackup.go b/service/opsworkscm/api_op_DeleteBackup.go index 682f7acd349..aa2ba25b63d 100644 --- a/service/opsworkscm/api_op_DeleteBackup.go +++ b/service/opsworkscm/api_op_DeleteBackup.go @@ -74,7 +74,10 @@ func addOperationDeleteBackupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_DeleteServer.go b/service/opsworkscm/api_op_DeleteServer.go index 86e8b10ee19..9e0d413f646 100644 --- a/service/opsworkscm/api_op_DeleteServer.go +++ b/service/opsworkscm/api_op_DeleteServer.go @@ -76,7 +76,10 @@ func addOperationDeleteServerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_DescribeAccountAttributes.go b/service/opsworkscm/api_op_DescribeAccountAttributes.go index 257dc1012a7..a6cd3a79212 100644 --- a/service/opsworkscm/api_op_DescribeAccountAttributes.go +++ b/service/opsworkscm/api_op_DescribeAccountAttributes.go @@ -69,7 +69,10 @@ func addOperationDescribeAccountAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_DescribeBackups.go b/service/opsworkscm/api_op_DescribeBackups.go index c605ce73af1..5b5a094248e 100644 --- a/service/opsworkscm/api_op_DescribeBackups.go +++ b/service/opsworkscm/api_op_DescribeBackups.go @@ -89,7 +89,10 @@ func addOperationDescribeBackupsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_DescribeEvents.go b/service/opsworkscm/api_op_DescribeEvents.go index 013f9e6b84d..858f0541a44 100644 --- a/service/opsworkscm/api_op_DescribeEvents.go +++ b/service/opsworkscm/api_op_DescribeEvents.go @@ -102,7 +102,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go b/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go index 0b2ff3e501d..ed8f12fac14 100644 --- a/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go +++ b/service/opsworkscm/api_op_DescribeNodeAssociationStatus.go @@ -102,7 +102,10 @@ func addOperationDescribeNodeAssociationStatusMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_DescribeServers.go b/service/opsworkscm/api_op_DescribeServers.go index b82c9a51dd0..75c2549cc2e 100644 --- a/service/opsworkscm/api_op_DescribeServers.go +++ b/service/opsworkscm/api_op_DescribeServers.go @@ -94,7 +94,10 @@ func addOperationDescribeServersMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_DisassociateNode.go b/service/opsworkscm/api_op_DisassociateNode.go index de59b4c911e..0c40d369fdf 100644 --- a/service/opsworkscm/api_op_DisassociateNode.go +++ b/service/opsworkscm/api_op_DisassociateNode.go @@ -95,7 +95,10 @@ func addOperationDisassociateNodeMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_ExportServerEngineAttribute.go b/service/opsworkscm/api_op_ExportServerEngineAttribute.go index e063fdba6ed..d3d6254e6a3 100644 --- a/service/opsworkscm/api_op_ExportServerEngineAttribute.go +++ b/service/opsworkscm/api_op_ExportServerEngineAttribute.go @@ -112,7 +112,10 @@ func addOperationExportServerEngineAttributeMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_ListTagsForResource.go b/service/opsworkscm/api_op_ListTagsForResource.go index b8a7d973fd1..9abd40afb67 100644 --- a/service/opsworkscm/api_op_ListTagsForResource.go +++ b/service/opsworkscm/api_op_ListTagsForResource.go @@ -99,7 +99,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_RestoreServer.go b/service/opsworkscm/api_op_RestoreServer.go index cb55f35bbec..22f487cb9d7 100644 --- a/service/opsworkscm/api_op_RestoreServer.go +++ b/service/opsworkscm/api_op_RestoreServer.go @@ -96,7 +96,10 @@ func addOperationRestoreServerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_StartMaintenance.go b/service/opsworkscm/api_op_StartMaintenance.go index ee2ad1a0931..d599bf1210e 100644 --- a/service/opsworkscm/api_op_StartMaintenance.go +++ b/service/opsworkscm/api_op_StartMaintenance.go @@ -91,7 +91,10 @@ func addOperationStartMaintenanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_TagResource.go b/service/opsworkscm/api_op_TagResource.go index bf25832c625..0f2325c41e1 100644 --- a/service/opsworkscm/api_op_TagResource.go +++ b/service/opsworkscm/api_op_TagResource.go @@ -95,7 +95,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_UntagResource.go b/service/opsworkscm/api_op_UntagResource.go index 528fb98dc2c..9db42935a8a 100644 --- a/service/opsworkscm/api_op_UntagResource.go +++ b/service/opsworkscm/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_UpdateServer.go b/service/opsworkscm/api_op_UpdateServer.go index 5c7cae455f5..a3d4b5fb349 100644 --- a/service/opsworkscm/api_op_UpdateServer.go +++ b/service/opsworkscm/api_op_UpdateServer.go @@ -91,7 +91,10 @@ func addOperationUpdateServerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/opsworkscm/api_op_UpdateServerEngineAttributes.go b/service/opsworkscm/api_op_UpdateServerEngineAttributes.go index fa6cdd20daa..7b43f8093cf 100644 --- a/service/opsworkscm/api_op_UpdateServerEngineAttributes.go +++ b/service/opsworkscm/api_op_UpdateServerEngineAttributes.go @@ -89,7 +89,10 @@ func addOperationUpdateServerEngineAttributesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_AcceptHandshake.go b/service/organizations/api_op_AcceptHandshake.go index 30e217ff765..79ffe621bfd 100644 --- a/service/organizations/api_op_AcceptHandshake.go +++ b/service/organizations/api_op_AcceptHandshake.go @@ -103,7 +103,10 @@ func addOperationAcceptHandshakeMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_AttachPolicy.go b/service/organizations/api_op_AttachPolicy.go index 228ab452db9..74a6b5a1085 100644 --- a/service/organizations/api_op_AttachPolicy.go +++ b/service/organizations/api_op_AttachPolicy.go @@ -114,7 +114,10 @@ func addOperationAttachPolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_CancelHandshake.go b/service/organizations/api_op_CancelHandshake.go index 1ca09c9ecad..107dae5bed3 100644 --- a/service/organizations/api_op_CancelHandshake.go +++ b/service/organizations/api_op_CancelHandshake.go @@ -83,7 +83,10 @@ func addOperationCancelHandshakeMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_CreateAccount.go b/service/organizations/api_op_CreateAccount.go index 9dd9f11a34b..07702f29424 100644 --- a/service/organizations/api_op_CreateAccount.go +++ b/service/organizations/api_op_CreateAccount.go @@ -206,7 +206,10 @@ func addOperationCreateAccountMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_CreateGovCloudAccount.go b/service/organizations/api_op_CreateGovCloudAccount.go index 6321c68ebd5..b8087b236da 100644 --- a/service/organizations/api_op_CreateGovCloudAccount.go +++ b/service/organizations/api_op_CreateGovCloudAccount.go @@ -246,7 +246,10 @@ func addOperationCreateGovCloudAccountMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_CreateOrganization.go b/service/organizations/api_op_CreateOrganization.go index 978e1a6e23b..c3405d14497 100644 --- a/service/organizations/api_op_CreateOrganization.go +++ b/service/organizations/api_op_CreateOrganization.go @@ -98,7 +98,10 @@ func addOperationCreateOrganizationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_CreateOrganizationalUnit.go b/service/organizations/api_op_CreateOrganizationalUnit.go index 7063a607812..521780ffe1a 100644 --- a/service/organizations/api_op_CreateOrganizationalUnit.go +++ b/service/organizations/api_op_CreateOrganizationalUnit.go @@ -109,7 +109,10 @@ func addOperationCreateOrganizationalUnitMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_CreatePolicy.go b/service/organizations/api_op_CreatePolicy.go index b36a707b6f9..fb4adef2623 100644 --- a/service/organizations/api_op_CreatePolicy.go +++ b/service/organizations/api_op_CreatePolicy.go @@ -124,7 +124,10 @@ func addOperationCreatePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DeclineHandshake.go b/service/organizations/api_op_DeclineHandshake.go index 76cad27105e..b51a30b3d7b 100644 --- a/service/organizations/api_op_DeclineHandshake.go +++ b/service/organizations/api_op_DeclineHandshake.go @@ -84,7 +84,10 @@ func addOperationDeclineHandshakeMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DeleteOrganization.go b/service/organizations/api_op_DeleteOrganization.go index debff8cbba6..efb60b8864a 100644 --- a/service/organizations/api_op_DeleteOrganization.go +++ b/service/organizations/api_op_DeleteOrganization.go @@ -66,7 +66,10 @@ func addOperationDeleteOrganizationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DeleteOrganizationalUnit.go b/service/organizations/api_op_DeleteOrganizationalUnit.go index e875d2557cb..c04bb3b52ad 100644 --- a/service/organizations/api_op_DeleteOrganizationalUnit.go +++ b/service/organizations/api_op_DeleteOrganizationalUnit.go @@ -76,7 +76,10 @@ func addOperationDeleteOrganizationalUnitMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DeletePolicy.go b/service/organizations/api_op_DeletePolicy.go index 52d402f437a..63a192ffd7e 100644 --- a/service/organizations/api_op_DeletePolicy.go +++ b/service/organizations/api_op_DeletePolicy.go @@ -76,7 +76,10 @@ func addOperationDeletePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DeregisterDelegatedAdministrator.go b/service/organizations/api_op_DeregisterDelegatedAdministrator.go index c1f0a65b4fe..42d93039249 100644 --- a/service/organizations/api_op_DeregisterDelegatedAdministrator.go +++ b/service/organizations/api_op_DeregisterDelegatedAdministrator.go @@ -89,7 +89,10 @@ func addOperationDeregisterDelegatedAdministratorMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DescribeAccount.go b/service/organizations/api_op_DescribeAccount.go index 4c82adfa104..349a4d818be 100644 --- a/service/organizations/api_op_DescribeAccount.go +++ b/service/organizations/api_op_DescribeAccount.go @@ -79,7 +79,10 @@ func addOperationDescribeAccountMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DescribeCreateAccountStatus.go b/service/organizations/api_op_DescribeCreateAccountStatus.go index 6c3230b4220..64ea362c73f 100644 --- a/service/organizations/api_op_DescribeCreateAccountStatus.go +++ b/service/organizations/api_op_DescribeCreateAccountStatus.go @@ -80,7 +80,10 @@ func addOperationDescribeCreateAccountStatusMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DescribeEffectivePolicy.go b/service/organizations/api_op_DescribeEffectivePolicy.go index f02598db91b..08940e2ee2b 100644 --- a/service/organizations/api_op_DescribeEffectivePolicy.go +++ b/service/organizations/api_op_DescribeEffectivePolicy.go @@ -100,7 +100,10 @@ func addOperationDescribeEffectivePolicyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DescribeHandshake.go b/service/organizations/api_op_DescribeHandshake.go index 2e9d9f1cc09..ae02c119a0b 100644 --- a/service/organizations/api_op_DescribeHandshake.go +++ b/service/organizations/api_op_DescribeHandshake.go @@ -83,7 +83,10 @@ func addOperationDescribeHandshakeMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DescribeOrganization.go b/service/organizations/api_op_DescribeOrganization.go index ef3dea271a0..1e9e5ab2831 100644 --- a/service/organizations/api_op_DescribeOrganization.go +++ b/service/organizations/api_op_DescribeOrganization.go @@ -77,7 +77,10 @@ func addOperationDescribeOrganizationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DescribeOrganizationalUnit.go b/service/organizations/api_op_DescribeOrganizationalUnit.go index 4a997aaf91f..ea047ae9c00 100644 --- a/service/organizations/api_op_DescribeOrganizationalUnit.go +++ b/service/organizations/api_op_DescribeOrganizationalUnit.go @@ -81,7 +81,10 @@ func addOperationDescribeOrganizationalUnitMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DescribePolicy.go b/service/organizations/api_op_DescribePolicy.go index 20046022556..70c29b738bf 100644 --- a/service/organizations/api_op_DescribePolicy.go +++ b/service/organizations/api_op_DescribePolicy.go @@ -80,7 +80,10 @@ func addOperationDescribePolicyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DetachPolicy.go b/service/organizations/api_op_DetachPolicy.go index 6c5d871b2f4..567aaf9262f 100644 --- a/service/organizations/api_op_DetachPolicy.go +++ b/service/organizations/api_op_DetachPolicy.go @@ -107,7 +107,10 @@ func addOperationDetachPolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DisableAWSServiceAccess.go b/service/organizations/api_op_DisableAWSServiceAccess.go index b3981b4ba6e..120a4889868 100644 --- a/service/organizations/api_op_DisableAWSServiceAccess.go +++ b/service/organizations/api_op_DisableAWSServiceAccess.go @@ -93,7 +93,10 @@ func addOperationDisableAWSServiceAccessMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_DisablePolicyType.go b/service/organizations/api_op_DisablePolicyType.go index 55e2ccabc72..c41136cda3c 100644 --- a/service/organizations/api_op_DisablePolicyType.go +++ b/service/organizations/api_op_DisablePolicyType.go @@ -111,7 +111,10 @@ func addOperationDisablePolicyTypeMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_EnableAWSServiceAccess.go b/service/organizations/api_op_EnableAWSServiceAccess.go index 7a94ba49684..7d8f2de2ec1 100644 --- a/service/organizations/api_op_EnableAWSServiceAccess.go +++ b/service/organizations/api_op_EnableAWSServiceAccess.go @@ -89,7 +89,10 @@ func addOperationEnableAWSServiceAccessMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_EnableAllFeatures.go b/service/organizations/api_op_EnableAllFeatures.go index 01c3aeb0043..94df3a83b0b 100644 --- a/service/organizations/api_op_EnableAllFeatures.go +++ b/service/organizations/api_op_EnableAllFeatures.go @@ -93,7 +93,10 @@ func addOperationEnableAllFeaturesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_EnablePolicyType.go b/service/organizations/api_op_EnablePolicyType.go index 2850c46b5c0..1464b385e48 100644 --- a/service/organizations/api_op_EnablePolicyType.go +++ b/service/organizations/api_op_EnablePolicyType.go @@ -106,7 +106,10 @@ func addOperationEnablePolicyTypeMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_InviteAccountToOrganization.go b/service/organizations/api_op_InviteAccountToOrganization.go index 09ccf29d3f2..7b0198895ea 100644 --- a/service/organizations/api_op_InviteAccountToOrganization.go +++ b/service/organizations/api_op_InviteAccountToOrganization.go @@ -125,7 +125,10 @@ func addOperationInviteAccountToOrganizationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_LeaveOrganization.go b/service/organizations/api_op_LeaveOrganization.go index 9033ce59da2..e75a2d8e3f3 100644 --- a/service/organizations/api_op_LeaveOrganization.go +++ b/service/organizations/api_op_LeaveOrganization.go @@ -108,7 +108,10 @@ func addOperationLeaveOrganizationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListAWSServiceAccessForOrganization.go b/service/organizations/api_op_ListAWSServiceAccessForOrganization.go index 5254d3bda57..b4e50d6a18f 100644 --- a/service/organizations/api_op_ListAWSServiceAccessForOrganization.go +++ b/service/organizations/api_op_ListAWSServiceAccessForOrganization.go @@ -104,7 +104,10 @@ func addOperationListAWSServiceAccessForOrganizationMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListAccounts.go b/service/organizations/api_op_ListAccounts.go index 189f0c8006f..35306a438ac 100644 --- a/service/organizations/api_op_ListAccounts.go +++ b/service/organizations/api_op_ListAccounts.go @@ -101,7 +101,10 @@ func addOperationListAccountsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListAccountsForParent.go b/service/organizations/api_op_ListAccountsForParent.go index cdf1e400dcc..4e437c9fac2 100644 --- a/service/organizations/api_op_ListAccountsForParent.go +++ b/service/organizations/api_op_ListAccountsForParent.go @@ -109,7 +109,10 @@ func addOperationListAccountsForParentMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListChildren.go b/service/organizations/api_op_ListChildren.go index c97f47e9ed4..958929944f6 100644 --- a/service/organizations/api_op_ListChildren.go +++ b/service/organizations/api_op_ListChildren.go @@ -121,7 +121,10 @@ func addOperationListChildrenMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListCreateAccountStatus.go b/service/organizations/api_op_ListCreateAccountStatus.go index 5a6d3db408f..e7a7b2acfbd 100644 --- a/service/organizations/api_op_ListCreateAccountStatus.go +++ b/service/organizations/api_op_ListCreateAccountStatus.go @@ -106,7 +106,10 @@ func addOperationListCreateAccountStatusMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListDelegatedAdministrators.go b/service/organizations/api_op_ListDelegatedAdministrators.go index baf4c4e486c..ab7fee78d51 100644 --- a/service/organizations/api_op_ListDelegatedAdministrators.go +++ b/service/organizations/api_op_ListDelegatedAdministrators.go @@ -102,7 +102,10 @@ func addOperationListDelegatedAdministratorsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListDelegatedServicesForAccount.go b/service/organizations/api_op_ListDelegatedServicesForAccount.go index b5e94b5468b..935d3ec5b27 100644 --- a/service/organizations/api_op_ListDelegatedServicesForAccount.go +++ b/service/organizations/api_op_ListDelegatedServicesForAccount.go @@ -101,7 +101,10 @@ func addOperationListDelegatedServicesForAccountMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListHandshakesForAccount.go b/service/organizations/api_op_ListHandshakesForAccount.go index 0790ae6a761..f784972d3d4 100644 --- a/service/organizations/api_op_ListHandshakesForAccount.go +++ b/service/organizations/api_op_ListHandshakesForAccount.go @@ -110,7 +110,10 @@ func addOperationListHandshakesForAccountMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListHandshakesForOrganization.go b/service/organizations/api_op_ListHandshakesForOrganization.go index 1299bfb59f3..b171e46b43a 100644 --- a/service/organizations/api_op_ListHandshakesForOrganization.go +++ b/service/organizations/api_op_ListHandshakesForOrganization.go @@ -113,7 +113,10 @@ func addOperationListHandshakesForOrganizationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListOrganizationalUnitsForParent.go b/service/organizations/api_op_ListOrganizationalUnitsForParent.go index e18a22b575c..53992dd9796 100644 --- a/service/organizations/api_op_ListOrganizationalUnitsForParent.go +++ b/service/organizations/api_op_ListOrganizationalUnitsForParent.go @@ -114,7 +114,10 @@ func addOperationListOrganizationalUnitsForParentMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListParents.go b/service/organizations/api_op_ListParents.go index e6164d83b35..e426940435d 100644 --- a/service/organizations/api_op_ListParents.go +++ b/service/organizations/api_op_ListParents.go @@ -118,7 +118,10 @@ func addOperationListParentsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListPolicies.go b/service/organizations/api_op_ListPolicies.go index fe193bdabd8..db00daca894 100644 --- a/service/organizations/api_op_ListPolicies.go +++ b/service/organizations/api_op_ListPolicies.go @@ -122,7 +122,10 @@ func addOperationListPoliciesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListPoliciesForTarget.go b/service/organizations/api_op_ListPoliciesForTarget.go index ad78ccd380d..725ccb51f4e 100644 --- a/service/organizations/api_op_ListPoliciesForTarget.go +++ b/service/organizations/api_op_ListPoliciesForTarget.go @@ -141,7 +141,10 @@ func addOperationListPoliciesForTargetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListRoots.go b/service/organizations/api_op_ListRoots.go index ae2d3dbc162..5740990ec02 100644 --- a/service/organizations/api_op_ListRoots.go +++ b/service/organizations/api_op_ListRoots.go @@ -104,7 +104,10 @@ func addOperationListRootsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListTagsForResource.go b/service/organizations/api_op_ListTagsForResource.go index 4d0e6ce342b..79d50c8e396 100644 --- a/service/organizations/api_op_ListTagsForResource.go +++ b/service/organizations/api_op_ListTagsForResource.go @@ -114,7 +114,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_ListTargetsForPolicy.go b/service/organizations/api_op_ListTargetsForPolicy.go index fbbe7dcf0de..a7440b8205c 100644 --- a/service/organizations/api_op_ListTargetsForPolicy.go +++ b/service/organizations/api_op_ListTargetsForPolicy.go @@ -109,7 +109,10 @@ func addOperationListTargetsForPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_MoveAccount.go b/service/organizations/api_op_MoveAccount.go index 541f9bdc0b5..a23c7ca2d88 100644 --- a/service/organizations/api_op_MoveAccount.go +++ b/service/organizations/api_op_MoveAccount.go @@ -105,7 +105,10 @@ func addOperationMoveAccountMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_RegisterDelegatedAdministrator.go b/service/organizations/api_op_RegisterDelegatedAdministrator.go index 4f990d1c25a..5ddcad0dbcd 100644 --- a/service/organizations/api_op_RegisterDelegatedAdministrator.go +++ b/service/organizations/api_op_RegisterDelegatedAdministrator.go @@ -85,7 +85,10 @@ func addOperationRegisterDelegatedAdministratorMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_RemoveAccountFromOrganization.go b/service/organizations/api_op_RemoveAccountFromOrganization.go index c620bdb4788..31449bbbab1 100644 --- a/service/organizations/api_op_RemoveAccountFromOrganization.go +++ b/service/organizations/api_op_RemoveAccountFromOrganization.go @@ -97,7 +97,10 @@ func addOperationRemoveAccountFromOrganizationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_TagResource.go b/service/organizations/api_op_TagResource.go index 948a322843b..c259924c627 100644 --- a/service/organizations/api_op_TagResource.go +++ b/service/organizations/api_op_TagResource.go @@ -107,7 +107,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_UntagResource.go b/service/organizations/api_op_UntagResource.go index ba2a373e15a..3a4a9625708 100644 --- a/service/organizations/api_op_UntagResource.go +++ b/service/organizations/api_op_UntagResource.go @@ -100,7 +100,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_UpdateOrganizationalUnit.go b/service/organizations/api_op_UpdateOrganizationalUnit.go index 5ab643974ce..6826f74daa3 100644 --- a/service/organizations/api_op_UpdateOrganizationalUnit.go +++ b/service/organizations/api_op_UpdateOrganizationalUnit.go @@ -88,7 +88,10 @@ func addOperationUpdateOrganizationalUnitMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/organizations/api_op_UpdatePolicy.go b/service/organizations/api_op_UpdatePolicy.go index 00267fac6ac..3495e0fc899 100644 --- a/service/organizations/api_op_UpdatePolicy.go +++ b/service/organizations/api_op_UpdatePolicy.go @@ -96,7 +96,10 @@ func addOperationUpdatePolicyMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_CreateOutpost.go b/service/outposts/api_op_CreateOutpost.go index f5a4f2e17c5..534289334c6 100644 --- a/service/outposts/api_op_CreateOutpost.go +++ b/service/outposts/api_op_CreateOutpost.go @@ -92,7 +92,10 @@ func addOperationCreateOutpostMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_DeleteOutpost.go b/service/outposts/api_op_DeleteOutpost.go index 044ceea6664..3098e0a91e9 100644 --- a/service/outposts/api_op_DeleteOutpost.go +++ b/service/outposts/api_op_DeleteOutpost.go @@ -69,7 +69,10 @@ func addOperationDeleteOutpostMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_DeleteSite.go b/service/outposts/api_op_DeleteSite.go index c8b80a37425..d3ff72312e6 100644 --- a/service/outposts/api_op_DeleteSite.go +++ b/service/outposts/api_op_DeleteSite.go @@ -69,7 +69,10 @@ func addOperationDeleteSiteMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_GetOutpost.go b/service/outposts/api_op_GetOutpost.go index 3fe79bf42d1..c522dc0fe32 100644 --- a/service/outposts/api_op_GetOutpost.go +++ b/service/outposts/api_op_GetOutpost.go @@ -74,7 +74,10 @@ func addOperationGetOutpostMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_GetOutpostInstanceTypes.go b/service/outposts/api_op_GetOutpostInstanceTypes.go index b6eed86ec7b..9c2630864fa 100644 --- a/service/outposts/api_op_GetOutpostInstanceTypes.go +++ b/service/outposts/api_op_GetOutpostInstanceTypes.go @@ -89,7 +89,10 @@ func addOperationGetOutpostInstanceTypesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_ListOutposts.go b/service/outposts/api_op_ListOutposts.go index 2e16fe912ef..0e5577642e7 100644 --- a/service/outposts/api_op_ListOutposts.go +++ b/service/outposts/api_op_ListOutposts.go @@ -79,7 +79,10 @@ func addOperationListOutpostsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_ListSites.go b/service/outposts/api_op_ListSites.go index f40e8a10ebc..63ac16ed324 100644 --- a/service/outposts/api_op_ListSites.go +++ b/service/outposts/api_op_ListSites.go @@ -79,7 +79,10 @@ func addOperationListSitesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_ListTagsForResource.go b/service/outposts/api_op_ListTagsForResource.go index 87546cd6775..1e6a59afb47 100644 --- a/service/outposts/api_op_ListTagsForResource.go +++ b/service/outposts/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_TagResource.go b/service/outposts/api_op_TagResource.go index c9c7e146f73..2d556560a2e 100644 --- a/service/outposts/api_op_TagResource.go +++ b/service/outposts/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/outposts/api_op_UntagResource.go b/service/outposts/api_op_UntagResource.go index 1e432bfd799..5a50022d180 100644 --- a/service/outposts/api_op_UntagResource.go +++ b/service/outposts/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateBatchInferenceJob.go b/service/personalize/api_op_CreateBatchInferenceJob.go index 00dd5fcb7ee..4e8cc291a95 100644 --- a/service/personalize/api_op_CreateBatchInferenceJob.go +++ b/service/personalize/api_op_CreateBatchInferenceJob.go @@ -109,7 +109,10 @@ func addOperationCreateBatchInferenceJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateCampaign.go b/service/personalize/api_op_CreateCampaign.go index 0c8a3095b30..976a854e586 100644 --- a/service/personalize/api_op_CreateCampaign.go +++ b/service/personalize/api_op_CreateCampaign.go @@ -124,7 +124,10 @@ func addOperationCreateCampaignMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateDataset.go b/service/personalize/api_op_CreateDataset.go index e9f941d9d75..96009448a6c 100644 --- a/service/personalize/api_op_CreateDataset.go +++ b/service/personalize/api_op_CreateDataset.go @@ -126,7 +126,10 @@ func addOperationCreateDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateDatasetGroup.go b/service/personalize/api_op_CreateDatasetGroup.go index f02ee6db4dd..703fed1c01f 100644 --- a/service/personalize/api_op_CreateDatasetGroup.go +++ b/service/personalize/api_op_CreateDatasetGroup.go @@ -123,7 +123,10 @@ func addOperationCreateDatasetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateDatasetImportJob.go b/service/personalize/api_op_CreateDatasetImportJob.go index 1278aa3fdbd..91cdeeeed07 100644 --- a/service/personalize/api_op_CreateDatasetImportJob.go +++ b/service/personalize/api_op_CreateDatasetImportJob.go @@ -111,7 +111,10 @@ func addOperationCreateDatasetImportJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateEventTracker.go b/service/personalize/api_op_CreateEventTracker.go index d24c00a4cb9..4c47861fb0b 100644 --- a/service/personalize/api_op_CreateEventTracker.go +++ b/service/personalize/api_op_CreateEventTracker.go @@ -110,7 +110,10 @@ func addOperationCreateEventTrackerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateFilter.go b/service/personalize/api_op_CreateFilter.go index 6243fcd20c9..816e5182479 100644 --- a/service/personalize/api_op_CreateFilter.go +++ b/service/personalize/api_op_CreateFilter.go @@ -90,7 +90,10 @@ func addOperationCreateFilterMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateSchema.go b/service/personalize/api_op_CreateSchema.go index a665db62408..217e6a3fd9d 100644 --- a/service/personalize/api_op_CreateSchema.go +++ b/service/personalize/api_op_CreateSchema.go @@ -88,7 +88,10 @@ func addOperationCreateSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateSolution.go b/service/personalize/api_op_CreateSolution.go index cb470306828..3f2ddce7da8 100644 --- a/service/personalize/api_op_CreateSolution.go +++ b/service/personalize/api_op_CreateSolution.go @@ -145,7 +145,10 @@ func addOperationCreateSolutionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_CreateSolutionVersion.go b/service/personalize/api_op_CreateSolutionVersion.go index c178e34b9a6..7e824e5bcc2 100644 --- a/service/personalize/api_op_CreateSolutionVersion.go +++ b/service/personalize/api_op_CreateSolutionVersion.go @@ -111,7 +111,10 @@ func addOperationCreateSolutionVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DeleteCampaign.go b/service/personalize/api_op_DeleteCampaign.go index eabd321f530..642ff018401 100644 --- a/service/personalize/api_op_DeleteCampaign.go +++ b/service/personalize/api_op_DeleteCampaign.go @@ -73,7 +73,10 @@ func addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DeleteDataset.go b/service/personalize/api_op_DeleteDataset.go index ec1c2f3a7f3..cf8cbbf37ac 100644 --- a/service/personalize/api_op_DeleteDataset.go +++ b/service/personalize/api_op_DeleteDataset.go @@ -71,7 +71,10 @@ func addOperationDeleteDatasetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DeleteDatasetGroup.go b/service/personalize/api_op_DeleteDatasetGroup.go index ca1d93306a6..781b806ddf3 100644 --- a/service/personalize/api_op_DeleteDatasetGroup.go +++ b/service/personalize/api_op_DeleteDatasetGroup.go @@ -77,7 +77,10 @@ func addOperationDeleteDatasetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DeleteEventTracker.go b/service/personalize/api_op_DeleteEventTracker.go index 118f2a56464..ea6158e2518 100644 --- a/service/personalize/api_op_DeleteEventTracker.go +++ b/service/personalize/api_op_DeleteEventTracker.go @@ -71,7 +71,10 @@ func addOperationDeleteEventTrackerMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DeleteFilter.go b/service/personalize/api_op_DeleteFilter.go index 9b86dcc5056..c0d498dbbb1 100644 --- a/service/personalize/api_op_DeleteFilter.go +++ b/service/personalize/api_op_DeleteFilter.go @@ -69,7 +69,10 @@ func addOperationDeleteFilterMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DeleteSchema.go b/service/personalize/api_op_DeleteSchema.go index 1760a937e4a..96e27b8a5ee 100644 --- a/service/personalize/api_op_DeleteSchema.go +++ b/service/personalize/api_op_DeleteSchema.go @@ -70,7 +70,10 @@ func addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DeleteSolution.go b/service/personalize/api_op_DeleteSolution.go index 8ae7c450f3e..98f9906542b 100644 --- a/service/personalize/api_op_DeleteSolution.go +++ b/service/personalize/api_op_DeleteSolution.go @@ -74,7 +74,10 @@ func addOperationDeleteSolutionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeAlgorithm.go b/service/personalize/api_op_DescribeAlgorithm.go index 562740103c2..c89b91d9e53 100644 --- a/service/personalize/api_op_DescribeAlgorithm.go +++ b/service/personalize/api_op_DescribeAlgorithm.go @@ -74,7 +74,10 @@ func addOperationDescribeAlgorithmMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeBatchInferenceJob.go b/service/personalize/api_op_DescribeBatchInferenceJob.go index 4312c212fd4..2cf7c5da02e 100644 --- a/service/personalize/api_op_DescribeBatchInferenceJob.go +++ b/service/personalize/api_op_DescribeBatchInferenceJob.go @@ -76,7 +76,10 @@ func addOperationDescribeBatchInferenceJobMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeCampaign.go b/service/personalize/api_op_DescribeCampaign.go index c7e5e9cc4d4..858e9fb887f 100644 --- a/service/personalize/api_op_DescribeCampaign.go +++ b/service/personalize/api_op_DescribeCampaign.go @@ -84,7 +84,10 @@ func addOperationDescribeCampaignMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeDataset.go b/service/personalize/api_op_DescribeDataset.go index 4f4d474dff2..d9b6683d579 100644 --- a/service/personalize/api_op_DescribeDataset.go +++ b/service/personalize/api_op_DescribeDataset.go @@ -75,7 +75,10 @@ func addOperationDescribeDatasetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeDatasetGroup.go b/service/personalize/api_op_DescribeDatasetGroup.go index 2a6483809e6..9738d2e8b80 100644 --- a/service/personalize/api_op_DescribeDatasetGroup.go +++ b/service/personalize/api_op_DescribeDatasetGroup.go @@ -75,7 +75,10 @@ func addOperationDescribeDatasetGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeDatasetImportJob.go b/service/personalize/api_op_DescribeDatasetImportJob.go index 46f56848204..10463d4e838 100644 --- a/service/personalize/api_op_DescribeDatasetImportJob.go +++ b/service/personalize/api_op_DescribeDatasetImportJob.go @@ -85,7 +85,10 @@ func addOperationDescribeDatasetImportJobMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeEventTracker.go b/service/personalize/api_op_DescribeEventTracker.go index 03bc2f1b1f3..cfbbbbcf086 100644 --- a/service/personalize/api_op_DescribeEventTracker.go +++ b/service/personalize/api_op_DescribeEventTracker.go @@ -76,7 +76,10 @@ func addOperationDescribeEventTrackerMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeFeatureTransformation.go b/service/personalize/api_op_DescribeFeatureTransformation.go index a9ecc34fc88..2aeb2749dd1 100644 --- a/service/personalize/api_op_DescribeFeatureTransformation.go +++ b/service/personalize/api_op_DescribeFeatureTransformation.go @@ -74,7 +74,10 @@ func addOperationDescribeFeatureTransformationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeFilter.go b/service/personalize/api_op_DescribeFilter.go index 0ae1e4c29d7..ad68b669826 100644 --- a/service/personalize/api_op_DescribeFilter.go +++ b/service/personalize/api_op_DescribeFilter.go @@ -74,7 +74,10 @@ func addOperationDescribeFilterMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeRecipe.go b/service/personalize/api_op_DescribeRecipe.go index c447d7f405d..7febf73d045 100644 --- a/service/personalize/api_op_DescribeRecipe.go +++ b/service/personalize/api_op_DescribeRecipe.go @@ -90,7 +90,10 @@ func addOperationDescribeRecipeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeSchema.go b/service/personalize/api_op_DescribeSchema.go index 08dd01c5e11..df696a0f18b 100644 --- a/service/personalize/api_op_DescribeSchema.go +++ b/service/personalize/api_op_DescribeSchema.go @@ -74,7 +74,10 @@ func addOperationDescribeSchemaMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeSolution.go b/service/personalize/api_op_DescribeSolution.go index ae37c42a05c..0806dc227a8 100644 --- a/service/personalize/api_op_DescribeSolution.go +++ b/service/personalize/api_op_DescribeSolution.go @@ -74,7 +74,10 @@ func addOperationDescribeSolutionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_DescribeSolutionVersion.go b/service/personalize/api_op_DescribeSolutionVersion.go index 3bc3a958f22..2bc545734d9 100644 --- a/service/personalize/api_op_DescribeSolutionVersion.go +++ b/service/personalize/api_op_DescribeSolutionVersion.go @@ -75,7 +75,10 @@ func addOperationDescribeSolutionVersionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_GetSolutionMetrics.go b/service/personalize/api_op_GetSolutionMetrics.go index 2f853674be9..86874f3c8fe 100644 --- a/service/personalize/api_op_GetSolutionMetrics.go +++ b/service/personalize/api_op_GetSolutionMetrics.go @@ -76,7 +76,10 @@ func addOperationGetSolutionMetricsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListBatchInferenceJobs.go b/service/personalize/api_op_ListBatchInferenceJobs.go index cf0f4b2e93a..a39a0460771 100644 --- a/service/personalize/api_op_ListBatchInferenceJobs.go +++ b/service/personalize/api_op_ListBatchInferenceJobs.go @@ -86,7 +86,10 @@ func addOperationListBatchInferenceJobsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListCampaigns.go b/service/personalize/api_op_ListCampaigns.go index f42488dd0e8..4fb5ad2b1d8 100644 --- a/service/personalize/api_op_ListCampaigns.go +++ b/service/personalize/api_op_ListCampaigns.go @@ -88,7 +88,10 @@ func addOperationListCampaignsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListDatasetGroups.go b/service/personalize/api_op_ListDatasetGroups.go index a97335b4fe2..1250847f8eb 100644 --- a/service/personalize/api_op_ListDatasetGroups.go +++ b/service/personalize/api_op_ListDatasetGroups.go @@ -82,7 +82,10 @@ func addOperationListDatasetGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListDatasetImportJobs.go b/service/personalize/api_op_ListDatasetImportJobs.go index f373507f254..59586ae5aa0 100644 --- a/service/personalize/api_op_ListDatasetImportJobs.go +++ b/service/personalize/api_op_ListDatasetImportJobs.go @@ -89,7 +89,10 @@ func addOperationListDatasetImportJobsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListDatasets.go b/service/personalize/api_op_ListDatasets.go index 50004884201..1a38c970177 100644 --- a/service/personalize/api_op_ListDatasets.go +++ b/service/personalize/api_op_ListDatasets.go @@ -86,7 +86,10 @@ func addOperationListDatasetsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListEventTrackers.go b/service/personalize/api_op_ListEventTrackers.go index 7e9736c3b22..b37fda6abe2 100644 --- a/service/personalize/api_op_ListEventTrackers.go +++ b/service/personalize/api_op_ListEventTrackers.go @@ -86,7 +86,10 @@ func addOperationListEventTrackersMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListFilters.go b/service/personalize/api_op_ListFilters.go index c42b2b18501..a0569d84454 100644 --- a/service/personalize/api_op_ListFilters.go +++ b/service/personalize/api_op_ListFilters.go @@ -82,7 +82,10 @@ func addOperationListFiltersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListRecipes.go b/service/personalize/api_op_ListRecipes.go index 6a9b9f972df..a9718c5a47d 100644 --- a/service/personalize/api_op_ListRecipes.go +++ b/service/personalize/api_op_ListRecipes.go @@ -84,7 +84,10 @@ func addOperationListRecipesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListSchemas.go b/service/personalize/api_op_ListSchemas.go index fade15e39a5..aad50b3ce6c 100644 --- a/service/personalize/api_op_ListSchemas.go +++ b/service/personalize/api_op_ListSchemas.go @@ -82,7 +82,10 @@ func addOperationListSchemasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListSolutionVersions.go b/service/personalize/api_op_ListSolutionVersions.go index 1621d2392b5..8b5cdd58922 100644 --- a/service/personalize/api_op_ListSolutionVersions.go +++ b/service/personalize/api_op_ListSolutionVersions.go @@ -87,7 +87,10 @@ func addOperationListSolutionVersionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_ListSolutions.go b/service/personalize/api_op_ListSolutions.go index 0a3021db1fc..71de87c1fed 100644 --- a/service/personalize/api_op_ListSolutions.go +++ b/service/personalize/api_op_ListSolutions.go @@ -87,7 +87,10 @@ func addOperationListSolutionsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalize/api_op_UpdateCampaign.go b/service/personalize/api_op_UpdateCampaign.go index 0ff4d79b4ad..4397a5d3b02 100644 --- a/service/personalize/api_op_UpdateCampaign.go +++ b/service/personalize/api_op_UpdateCampaign.go @@ -89,7 +89,10 @@ func addOperationUpdateCampaignMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalizeevents/api_op_PutEvents.go b/service/personalizeevents/api_op_PutEvents.go index 35c8ca70c5b..b4482047523 100644 --- a/service/personalizeevents/api_op_PutEvents.go +++ b/service/personalizeevents/api_op_PutEvents.go @@ -89,7 +89,10 @@ func addOperationPutEventsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalizeevents/api_op_PutItems.go b/service/personalizeevents/api_op_PutItems.go index 47b3d931dd5..1cef7d3be2f 100644 --- a/service/personalizeevents/api_op_PutItems.go +++ b/service/personalizeevents/api_op_PutItems.go @@ -77,7 +77,10 @@ func addOperationPutItemsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalizeevents/api_op_PutUsers.go b/service/personalizeevents/api_op_PutUsers.go index 0cbee4c0ce7..b33119b952b 100644 --- a/service/personalizeevents/api_op_PutUsers.go +++ b/service/personalizeevents/api_op_PutUsers.go @@ -77,7 +77,10 @@ func addOperationPutUsersMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalizeruntime/api_op_GetPersonalizedRanking.go b/service/personalizeruntime/api_op_GetPersonalizedRanking.go index 3ccc6c2b3f1..993a20e8a59 100644 --- a/service/personalizeruntime/api_op_GetPersonalizedRanking.go +++ b/service/personalizeruntime/api_op_GetPersonalizedRanking.go @@ -117,7 +117,10 @@ func addOperationGetPersonalizedRankingMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/personalizeruntime/api_op_GetRecommendations.go b/service/personalizeruntime/api_op_GetRecommendations.go index ae1548bfe0a..a7a356e848d 100644 --- a/service/personalizeruntime/api_op_GetRecommendations.go +++ b/service/personalizeruntime/api_op_GetRecommendations.go @@ -123,7 +123,10 @@ func addOperationGetRecommendationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pi/api_op_DescribeDimensionKeys.go b/service/pi/api_op_DescribeDimensionKeys.go index bb0b8610014..3e186f9ef7d 100644 --- a/service/pi/api_op_DescribeDimensionKeys.go +++ b/service/pi/api_op_DescribeDimensionKeys.go @@ -183,7 +183,10 @@ func addOperationDescribeDimensionKeysMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pi/api_op_GetResourceMetrics.go b/service/pi/api_op_GetResourceMetrics.go index d408ae996e6..a6b597252a5 100644 --- a/service/pi/api_op_GetResourceMetrics.go +++ b/service/pi/api_op_GetResourceMetrics.go @@ -161,7 +161,10 @@ func addOperationGetResourceMetricsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateApp.go b/service/pinpoint/api_op_CreateApp.go index 5f72b9af24e..a0b70da7661 100644 --- a/service/pinpoint/api_op_CreateApp.go +++ b/service/pinpoint/api_op_CreateApp.go @@ -77,7 +77,10 @@ func addOperationCreateAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateCampaign.go b/service/pinpoint/api_op_CreateCampaign.go index fe7789f33ef..724db1239c3 100644 --- a/service/pinpoint/api_op_CreateCampaign.go +++ b/service/pinpoint/api_op_CreateCampaign.go @@ -84,7 +84,10 @@ func addOperationCreateCampaignMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateEmailTemplate.go b/service/pinpoint/api_op_CreateEmailTemplate.go index e10b594484a..8ad3796c824 100644 --- a/service/pinpoint/api_op_CreateEmailTemplate.go +++ b/service/pinpoint/api_op_CreateEmailTemplate.go @@ -85,7 +85,10 @@ func addOperationCreateEmailTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateExportJob.go b/service/pinpoint/api_op_CreateExportJob.go index 2f8dc2a4bd6..d1d7f715234 100644 --- a/service/pinpoint/api_op_CreateExportJob.go +++ b/service/pinpoint/api_op_CreateExportJob.go @@ -86,7 +86,10 @@ func addOperationCreateExportJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateImportJob.go b/service/pinpoint/api_op_CreateImportJob.go index 6829bd83bab..ce965334303 100644 --- a/service/pinpoint/api_op_CreateImportJob.go +++ b/service/pinpoint/api_op_CreateImportJob.go @@ -86,7 +86,10 @@ func addOperationCreateImportJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateJourney.go b/service/pinpoint/api_op_CreateJourney.go index 31c534a5128..5d9e61bd928 100644 --- a/service/pinpoint/api_op_CreateJourney.go +++ b/service/pinpoint/api_op_CreateJourney.go @@ -83,7 +83,10 @@ func addOperationCreateJourneyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreatePushTemplate.go b/service/pinpoint/api_op_CreatePushTemplate.go index 9164a93c926..2aa16cc516c 100644 --- a/service/pinpoint/api_op_CreatePushTemplate.go +++ b/service/pinpoint/api_op_CreatePushTemplate.go @@ -86,7 +86,10 @@ func addOperationCreatePushTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateRecommenderConfiguration.go b/service/pinpoint/api_op_CreateRecommenderConfiguration.go index 06ef2853b5f..9bef3ba4c43 100644 --- a/service/pinpoint/api_op_CreateRecommenderConfiguration.go +++ b/service/pinpoint/api_op_CreateRecommenderConfiguration.go @@ -78,7 +78,10 @@ func addOperationCreateRecommenderConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateSegment.go b/service/pinpoint/api_op_CreateSegment.go index eda39a4e2e0..380a22d4fa8 100644 --- a/service/pinpoint/api_op_CreateSegment.go +++ b/service/pinpoint/api_op_CreateSegment.go @@ -87,7 +87,10 @@ func addOperationCreateSegmentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateSmsTemplate.go b/service/pinpoint/api_op_CreateSmsTemplate.go index d9ead5214d4..b271c9018a4 100644 --- a/service/pinpoint/api_op_CreateSmsTemplate.go +++ b/service/pinpoint/api_op_CreateSmsTemplate.go @@ -85,7 +85,10 @@ func addOperationCreateSmsTemplateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_CreateVoiceTemplate.go b/service/pinpoint/api_op_CreateVoiceTemplate.go index 13561bd3530..4ce9a03d0e3 100644 --- a/service/pinpoint/api_op_CreateVoiceTemplate.go +++ b/service/pinpoint/api_op_CreateVoiceTemplate.go @@ -85,7 +85,10 @@ func addOperationCreateVoiceTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteAdmChannel.go b/service/pinpoint/api_op_DeleteAdmChannel.go index 3263cfedc84..f83ace73f13 100644 --- a/service/pinpoint/api_op_DeleteAdmChannel.go +++ b/service/pinpoint/api_op_DeleteAdmChannel.go @@ -79,7 +79,10 @@ func addOperationDeleteAdmChannelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteApnsChannel.go b/service/pinpoint/api_op_DeleteApnsChannel.go index 7fc97b42722..1f0355aa4b9 100644 --- a/service/pinpoint/api_op_DeleteApnsChannel.go +++ b/service/pinpoint/api_op_DeleteApnsChannel.go @@ -79,7 +79,10 @@ func addOperationDeleteApnsChannelMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteApnsSandboxChannel.go b/service/pinpoint/api_op_DeleteApnsSandboxChannel.go index 83235ef53fc..571566b8c56 100644 --- a/service/pinpoint/api_op_DeleteApnsSandboxChannel.go +++ b/service/pinpoint/api_op_DeleteApnsSandboxChannel.go @@ -79,7 +79,10 @@ func addOperationDeleteApnsSandboxChannelMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteApnsVoipChannel.go b/service/pinpoint/api_op_DeleteApnsVoipChannel.go index 205bd93b376..d068e18cc55 100644 --- a/service/pinpoint/api_op_DeleteApnsVoipChannel.go +++ b/service/pinpoint/api_op_DeleteApnsVoipChannel.go @@ -79,7 +79,10 @@ func addOperationDeleteApnsVoipChannelMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go b/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go index f3ee70f756d..b976ebdc0eb 100644 --- a/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go +++ b/service/pinpoint/api_op_DeleteApnsVoipSandboxChannel.go @@ -79,7 +79,10 @@ func addOperationDeleteApnsVoipSandboxChannelMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteApp.go b/service/pinpoint/api_op_DeleteApp.go index fdb3d859264..4efb214ce97 100644 --- a/service/pinpoint/api_op_DeleteApp.go +++ b/service/pinpoint/api_op_DeleteApp.go @@ -77,7 +77,10 @@ func addOperationDeleteAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteBaiduChannel.go b/service/pinpoint/api_op_DeleteBaiduChannel.go index ec8f945251f..d6ff96ad734 100644 --- a/service/pinpoint/api_op_DeleteBaiduChannel.go +++ b/service/pinpoint/api_op_DeleteBaiduChannel.go @@ -79,7 +79,10 @@ func addOperationDeleteBaiduChannelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteCampaign.go b/service/pinpoint/api_op_DeleteCampaign.go index 5efdf38b9e6..85991f7a62d 100644 --- a/service/pinpoint/api_op_DeleteCampaign.go +++ b/service/pinpoint/api_op_DeleteCampaign.go @@ -83,7 +83,10 @@ func addOperationDeleteCampaignMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteEmailChannel.go b/service/pinpoint/api_op_DeleteEmailChannel.go index 1e5786194f8..88c1e9fb9f8 100644 --- a/service/pinpoint/api_op_DeleteEmailChannel.go +++ b/service/pinpoint/api_op_DeleteEmailChannel.go @@ -79,7 +79,10 @@ func addOperationDeleteEmailChannelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteEmailTemplate.go b/service/pinpoint/api_op_DeleteEmailTemplate.go index 6fc3b2bf970..dbdb359367b 100644 --- a/service/pinpoint/api_op_DeleteEmailTemplate.go +++ b/service/pinpoint/api_op_DeleteEmailTemplate.go @@ -101,7 +101,10 @@ func addOperationDeleteEmailTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteEndpoint.go b/service/pinpoint/api_op_DeleteEndpoint.go index 6748b418878..e1eead2761b 100644 --- a/service/pinpoint/api_op_DeleteEndpoint.go +++ b/service/pinpoint/api_op_DeleteEndpoint.go @@ -82,7 +82,10 @@ func addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteEventStream.go b/service/pinpoint/api_op_DeleteEventStream.go index a0ff65443cc..53311c3cb4d 100644 --- a/service/pinpoint/api_op_DeleteEventStream.go +++ b/service/pinpoint/api_op_DeleteEventStream.go @@ -78,7 +78,10 @@ func addOperationDeleteEventStreamMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteGcmChannel.go b/service/pinpoint/api_op_DeleteGcmChannel.go index b03db9e1257..39eff42d789 100644 --- a/service/pinpoint/api_op_DeleteGcmChannel.go +++ b/service/pinpoint/api_op_DeleteGcmChannel.go @@ -81,7 +81,10 @@ func addOperationDeleteGcmChannelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteJourney.go b/service/pinpoint/api_op_DeleteJourney.go index bcc849f5bf8..776b4101b99 100644 --- a/service/pinpoint/api_op_DeleteJourney.go +++ b/service/pinpoint/api_op_DeleteJourney.go @@ -83,7 +83,10 @@ func addOperationDeleteJourneyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeletePushTemplate.go b/service/pinpoint/api_op_DeletePushTemplate.go index 8ea92b8a4c4..aa2329cebe2 100644 --- a/service/pinpoint/api_op_DeletePushTemplate.go +++ b/service/pinpoint/api_op_DeletePushTemplate.go @@ -101,7 +101,10 @@ func addOperationDeletePushTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteRecommenderConfiguration.go b/service/pinpoint/api_op_DeleteRecommenderConfiguration.go index 3b217f2ca4b..fb54fa27623 100644 --- a/service/pinpoint/api_op_DeleteRecommenderConfiguration.go +++ b/service/pinpoint/api_op_DeleteRecommenderConfiguration.go @@ -78,7 +78,10 @@ func addOperationDeleteRecommenderConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteSegment.go b/service/pinpoint/api_op_DeleteSegment.go index cf017ed50fc..9a5304676ed 100644 --- a/service/pinpoint/api_op_DeleteSegment.go +++ b/service/pinpoint/api_op_DeleteSegment.go @@ -83,7 +83,10 @@ func addOperationDeleteSegmentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteSmsChannel.go b/service/pinpoint/api_op_DeleteSmsChannel.go index 8c72cab9b12..2bdc5dd717f 100644 --- a/service/pinpoint/api_op_DeleteSmsChannel.go +++ b/service/pinpoint/api_op_DeleteSmsChannel.go @@ -79,7 +79,10 @@ func addOperationDeleteSmsChannelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteSmsTemplate.go b/service/pinpoint/api_op_DeleteSmsTemplate.go index 5a587e0fcac..19d88f2a107 100644 --- a/service/pinpoint/api_op_DeleteSmsTemplate.go +++ b/service/pinpoint/api_op_DeleteSmsTemplate.go @@ -100,7 +100,10 @@ func addOperationDeleteSmsTemplateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteUserEndpoints.go b/service/pinpoint/api_op_DeleteUserEndpoints.go index f094375591b..97ba16cf316 100644 --- a/service/pinpoint/api_op_DeleteUserEndpoints.go +++ b/service/pinpoint/api_op_DeleteUserEndpoints.go @@ -82,7 +82,10 @@ func addOperationDeleteUserEndpointsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteVoiceChannel.go b/service/pinpoint/api_op_DeleteVoiceChannel.go index 833ab2681e7..191b7bf0f60 100644 --- a/service/pinpoint/api_op_DeleteVoiceChannel.go +++ b/service/pinpoint/api_op_DeleteVoiceChannel.go @@ -79,7 +79,10 @@ func addOperationDeleteVoiceChannelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_DeleteVoiceTemplate.go b/service/pinpoint/api_op_DeleteVoiceTemplate.go index c97f2888e09..5a679af23ba 100644 --- a/service/pinpoint/api_op_DeleteVoiceTemplate.go +++ b/service/pinpoint/api_op_DeleteVoiceTemplate.go @@ -101,7 +101,10 @@ func addOperationDeleteVoiceTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetAdmChannel.go b/service/pinpoint/api_op_GetAdmChannel.go index 3079859f183..13722391fb4 100644 --- a/service/pinpoint/api_op_GetAdmChannel.go +++ b/service/pinpoint/api_op_GetAdmChannel.go @@ -79,7 +79,10 @@ func addOperationGetAdmChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetApnsChannel.go b/service/pinpoint/api_op_GetApnsChannel.go index e8ab30d8649..273e1f42b76 100644 --- a/service/pinpoint/api_op_GetApnsChannel.go +++ b/service/pinpoint/api_op_GetApnsChannel.go @@ -79,7 +79,10 @@ func addOperationGetApnsChannelMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetApnsSandboxChannel.go b/service/pinpoint/api_op_GetApnsSandboxChannel.go index 846867bad61..b22148ada90 100644 --- a/service/pinpoint/api_op_GetApnsSandboxChannel.go +++ b/service/pinpoint/api_op_GetApnsSandboxChannel.go @@ -79,7 +79,10 @@ func addOperationGetApnsSandboxChannelMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetApnsVoipChannel.go b/service/pinpoint/api_op_GetApnsVoipChannel.go index dbb04a793ea..831180689eb 100644 --- a/service/pinpoint/api_op_GetApnsVoipChannel.go +++ b/service/pinpoint/api_op_GetApnsVoipChannel.go @@ -79,7 +79,10 @@ func addOperationGetApnsVoipChannelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go b/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go index ebe09707734..8f55b012c51 100644 --- a/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go +++ b/service/pinpoint/api_op_GetApnsVoipSandboxChannel.go @@ -79,7 +79,10 @@ func addOperationGetApnsVoipSandboxChannelMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetApp.go b/service/pinpoint/api_op_GetApp.go index 1d5994d98cd..0bb28914cb8 100644 --- a/service/pinpoint/api_op_GetApp.go +++ b/service/pinpoint/api_op_GetApp.go @@ -77,7 +77,10 @@ func addOperationGetAppMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetApplicationDateRangeKpi.go b/service/pinpoint/api_op_GetApplicationDateRangeKpi.go index 00dcde51bff..07281b98fa4 100644 --- a/service/pinpoint/api_op_GetApplicationDateRangeKpi.go +++ b/service/pinpoint/api_op_GetApplicationDateRangeKpi.go @@ -113,7 +113,10 @@ func addOperationGetApplicationDateRangeKpiMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetApplicationSettings.go b/service/pinpoint/api_op_GetApplicationSettings.go index e616b7ebacc..81f77919b32 100644 --- a/service/pinpoint/api_op_GetApplicationSettings.go +++ b/service/pinpoint/api_op_GetApplicationSettings.go @@ -78,7 +78,10 @@ func addOperationGetApplicationSettingsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetApps.go b/service/pinpoint/api_op_GetApps.go index d3322707416..5b46b248372 100644 --- a/service/pinpoint/api_op_GetApps.go +++ b/service/pinpoint/api_op_GetApps.go @@ -80,7 +80,10 @@ func addOperationGetAppsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetBaiduChannel.go b/service/pinpoint/api_op_GetBaiduChannel.go index abdcb224f61..51ae2f698fa 100644 --- a/service/pinpoint/api_op_GetBaiduChannel.go +++ b/service/pinpoint/api_op_GetBaiduChannel.go @@ -79,7 +79,10 @@ func addOperationGetBaiduChannelMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetCampaign.go b/service/pinpoint/api_op_GetCampaign.go index 693a5b39374..f49074c6582 100644 --- a/service/pinpoint/api_op_GetCampaign.go +++ b/service/pinpoint/api_op_GetCampaign.go @@ -84,7 +84,10 @@ func addOperationGetCampaignMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetCampaignActivities.go b/service/pinpoint/api_op_GetCampaignActivities.go index bb757c7327f..159deec978f 100644 --- a/service/pinpoint/api_op_GetCampaignActivities.go +++ b/service/pinpoint/api_op_GetCampaignActivities.go @@ -90,7 +90,10 @@ func addOperationGetCampaignActivitiesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetCampaignDateRangeKpi.go b/service/pinpoint/api_op_GetCampaignDateRangeKpi.go index 836dc167fe8..c76cf0ace5b 100644 --- a/service/pinpoint/api_op_GetCampaignDateRangeKpi.go +++ b/service/pinpoint/api_op_GetCampaignDateRangeKpi.go @@ -118,7 +118,10 @@ func addOperationGetCampaignDateRangeKpiMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetCampaignVersion.go b/service/pinpoint/api_op_GetCampaignVersion.go index ccb3501f966..a5f5f9955da 100644 --- a/service/pinpoint/api_op_GetCampaignVersion.go +++ b/service/pinpoint/api_op_GetCampaignVersion.go @@ -89,7 +89,10 @@ func addOperationGetCampaignVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetCampaignVersions.go b/service/pinpoint/api_op_GetCampaignVersions.go index 624db4874c1..91cfb695590 100644 --- a/service/pinpoint/api_op_GetCampaignVersions.go +++ b/service/pinpoint/api_op_GetCampaignVersions.go @@ -92,7 +92,10 @@ func addOperationGetCampaignVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetCampaigns.go b/service/pinpoint/api_op_GetCampaigns.go index ad07a36b4af..241482c245f 100644 --- a/service/pinpoint/api_op_GetCampaigns.go +++ b/service/pinpoint/api_op_GetCampaigns.go @@ -87,7 +87,10 @@ func addOperationGetCampaignsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetChannels.go b/service/pinpoint/api_op_GetChannels.go index 8b7f927335f..5842df12fca 100644 --- a/service/pinpoint/api_op_GetChannels.go +++ b/service/pinpoint/api_op_GetChannels.go @@ -79,7 +79,10 @@ func addOperationGetChannelsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetEmailChannel.go b/service/pinpoint/api_op_GetEmailChannel.go index ee040c02a49..18c11bdbaa6 100644 --- a/service/pinpoint/api_op_GetEmailChannel.go +++ b/service/pinpoint/api_op_GetEmailChannel.go @@ -79,7 +79,10 @@ func addOperationGetEmailChannelMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetEmailTemplate.go b/service/pinpoint/api_op_GetEmailTemplate.go index 9575cb8d1ae..351ed316c4c 100644 --- a/service/pinpoint/api_op_GetEmailTemplate.go +++ b/service/pinpoint/api_op_GetEmailTemplate.go @@ -102,7 +102,10 @@ func addOperationGetEmailTemplateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetEndpoint.go b/service/pinpoint/api_op_GetEndpoint.go index 939acb28e5f..8019c873275 100644 --- a/service/pinpoint/api_op_GetEndpoint.go +++ b/service/pinpoint/api_op_GetEndpoint.go @@ -83,7 +83,10 @@ func addOperationGetEndpointMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetEventStream.go b/service/pinpoint/api_op_GetEventStream.go index 0b509579416..7b69836fb09 100644 --- a/service/pinpoint/api_op_GetEventStream.go +++ b/service/pinpoint/api_op_GetEventStream.go @@ -78,7 +78,10 @@ func addOperationGetEventStreamMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetExportJob.go b/service/pinpoint/api_op_GetExportJob.go index 55a0cd36530..5f3314f0b7c 100644 --- a/service/pinpoint/api_op_GetExportJob.go +++ b/service/pinpoint/api_op_GetExportJob.go @@ -86,7 +86,10 @@ func addOperationGetExportJobMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetExportJobs.go b/service/pinpoint/api_op_GetExportJobs.go index f2fa3286009..48880b1841d 100644 --- a/service/pinpoint/api_op_GetExportJobs.go +++ b/service/pinpoint/api_op_GetExportJobs.go @@ -88,7 +88,10 @@ func addOperationGetExportJobsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetGcmChannel.go b/service/pinpoint/api_op_GetGcmChannel.go index 5e3f93837c3..ae9593f83e8 100644 --- a/service/pinpoint/api_op_GetGcmChannel.go +++ b/service/pinpoint/api_op_GetGcmChannel.go @@ -81,7 +81,10 @@ func addOperationGetGcmChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetImportJob.go b/service/pinpoint/api_op_GetImportJob.go index 3d00e81cb27..d25ce5e6885 100644 --- a/service/pinpoint/api_op_GetImportJob.go +++ b/service/pinpoint/api_op_GetImportJob.go @@ -86,7 +86,10 @@ func addOperationGetImportJobMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetImportJobs.go b/service/pinpoint/api_op_GetImportJobs.go index 489f1face04..0844017f9f3 100644 --- a/service/pinpoint/api_op_GetImportJobs.go +++ b/service/pinpoint/api_op_GetImportJobs.go @@ -88,7 +88,10 @@ func addOperationGetImportJobsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetJourney.go b/service/pinpoint/api_op_GetJourney.go index 222f8711290..62cbb2646fc 100644 --- a/service/pinpoint/api_op_GetJourney.go +++ b/service/pinpoint/api_op_GetJourney.go @@ -84,7 +84,10 @@ func addOperationGetJourneyMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetJourneyDateRangeKpi.go b/service/pinpoint/api_op_GetJourneyDateRangeKpi.go index 9305f30981d..2d6d67a45a3 100644 --- a/service/pinpoint/api_op_GetJourneyDateRangeKpi.go +++ b/service/pinpoint/api_op_GetJourneyDateRangeKpi.go @@ -119,7 +119,10 @@ func addOperationGetJourneyDateRangeKpiMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go b/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go index df10f137e19..aac29aa888b 100644 --- a/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go +++ b/service/pinpoint/api_op_GetJourneyExecutionActivityMetrics.go @@ -99,7 +99,10 @@ func addOperationGetJourneyExecutionActivityMetricsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetJourneyExecutionMetrics.go b/service/pinpoint/api_op_GetJourneyExecutionMetrics.go index 645d9a86a95..4da460799fc 100644 --- a/service/pinpoint/api_op_GetJourneyExecutionMetrics.go +++ b/service/pinpoint/api_op_GetJourneyExecutionMetrics.go @@ -93,7 +93,10 @@ func addOperationGetJourneyExecutionMetricsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetPushTemplate.go b/service/pinpoint/api_op_GetPushTemplate.go index 8e35d063987..94125a5434a 100644 --- a/service/pinpoint/api_op_GetPushTemplate.go +++ b/service/pinpoint/api_op_GetPushTemplate.go @@ -102,7 +102,10 @@ func addOperationGetPushTemplateMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetRecommenderConfiguration.go b/service/pinpoint/api_op_GetRecommenderConfiguration.go index d0df1976c21..6ff8528788e 100644 --- a/service/pinpoint/api_op_GetRecommenderConfiguration.go +++ b/service/pinpoint/api_op_GetRecommenderConfiguration.go @@ -79,7 +79,10 @@ func addOperationGetRecommenderConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetRecommenderConfigurations.go b/service/pinpoint/api_op_GetRecommenderConfigurations.go index 1c84c080132..0d252178b49 100644 --- a/service/pinpoint/api_op_GetRecommenderConfigurations.go +++ b/service/pinpoint/api_op_GetRecommenderConfigurations.go @@ -81,7 +81,10 @@ func addOperationGetRecommenderConfigurationsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetSegment.go b/service/pinpoint/api_op_GetSegment.go index bcbe1078316..09c70cd0e35 100644 --- a/service/pinpoint/api_op_GetSegment.go +++ b/service/pinpoint/api_op_GetSegment.go @@ -84,7 +84,10 @@ func addOperationGetSegmentMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetSegmentExportJobs.go b/service/pinpoint/api_op_GetSegmentExportJobs.go index 8e2ce0597a5..6cc468b5114 100644 --- a/service/pinpoint/api_op_GetSegmentExportJobs.go +++ b/service/pinpoint/api_op_GetSegmentExportJobs.go @@ -93,7 +93,10 @@ func addOperationGetSegmentExportJobsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetSegmentImportJobs.go b/service/pinpoint/api_op_GetSegmentImportJobs.go index 54ae624883a..a5126a6170c 100644 --- a/service/pinpoint/api_op_GetSegmentImportJobs.go +++ b/service/pinpoint/api_op_GetSegmentImportJobs.go @@ -93,7 +93,10 @@ func addOperationGetSegmentImportJobsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetSegmentVersion.go b/service/pinpoint/api_op_GetSegmentVersion.go index b7e46d1f60e..4ca9eb22f27 100644 --- a/service/pinpoint/api_op_GetSegmentVersion.go +++ b/service/pinpoint/api_op_GetSegmentVersion.go @@ -89,7 +89,10 @@ func addOperationGetSegmentVersionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetSegmentVersions.go b/service/pinpoint/api_op_GetSegmentVersions.go index 96046de7ddc..2052e1e2ca8 100644 --- a/service/pinpoint/api_op_GetSegmentVersions.go +++ b/service/pinpoint/api_op_GetSegmentVersions.go @@ -92,7 +92,10 @@ func addOperationGetSegmentVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetSegments.go b/service/pinpoint/api_op_GetSegments.go index 91db9c0e9ba..fb46a49aaec 100644 --- a/service/pinpoint/api_op_GetSegments.go +++ b/service/pinpoint/api_op_GetSegments.go @@ -87,7 +87,10 @@ func addOperationGetSegmentsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetSmsChannel.go b/service/pinpoint/api_op_GetSmsChannel.go index f2b2b318263..068d7415043 100644 --- a/service/pinpoint/api_op_GetSmsChannel.go +++ b/service/pinpoint/api_op_GetSmsChannel.go @@ -79,7 +79,10 @@ func addOperationGetSmsChannelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetSmsTemplate.go b/service/pinpoint/api_op_GetSmsTemplate.go index 2abdb1f15cc..f2418b7247d 100644 --- a/service/pinpoint/api_op_GetSmsTemplate.go +++ b/service/pinpoint/api_op_GetSmsTemplate.go @@ -102,7 +102,10 @@ func addOperationGetSmsTemplateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetUserEndpoints.go b/service/pinpoint/api_op_GetUserEndpoints.go index e4dd3cef38b..5bdd622006d 100644 --- a/service/pinpoint/api_op_GetUserEndpoints.go +++ b/service/pinpoint/api_op_GetUserEndpoints.go @@ -83,7 +83,10 @@ func addOperationGetUserEndpointsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetVoiceChannel.go b/service/pinpoint/api_op_GetVoiceChannel.go index 78868f7d47e..37bec325f4a 100644 --- a/service/pinpoint/api_op_GetVoiceChannel.go +++ b/service/pinpoint/api_op_GetVoiceChannel.go @@ -79,7 +79,10 @@ func addOperationGetVoiceChannelMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_GetVoiceTemplate.go b/service/pinpoint/api_op_GetVoiceTemplate.go index a0b135fc3bf..b9735885c9d 100644 --- a/service/pinpoint/api_op_GetVoiceTemplate.go +++ b/service/pinpoint/api_op_GetVoiceTemplate.go @@ -102,7 +102,10 @@ func addOperationGetVoiceTemplateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_ListJourneys.go b/service/pinpoint/api_op_ListJourneys.go index c264968228e..2202a113a6f 100644 --- a/service/pinpoint/api_op_ListJourneys.go +++ b/service/pinpoint/api_op_ListJourneys.go @@ -87,7 +87,10 @@ func addOperationListJourneysMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_ListTagsForResource.go b/service/pinpoint/api_op_ListTagsForResource.go index 91026ed5967..7b5830ff91e 100644 --- a/service/pinpoint/api_op_ListTagsForResource.go +++ b/service/pinpoint/api_op_ListTagsForResource.go @@ -78,7 +78,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_ListTemplateVersions.go b/service/pinpoint/api_op_ListTemplateVersions.go index 9ba97a40873..1ae158b1e71 100644 --- a/service/pinpoint/api_op_ListTemplateVersions.go +++ b/service/pinpoint/api_op_ListTemplateVersions.go @@ -94,7 +94,10 @@ func addOperationListTemplateVersionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_ListTemplates.go b/service/pinpoint/api_op_ListTemplates.go index 2dd27c1428b..cf82594c35d 100644 --- a/service/pinpoint/api_op_ListTemplates.go +++ b/service/pinpoint/api_op_ListTemplates.go @@ -92,7 +92,10 @@ func addOperationListTemplatesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_PhoneNumberValidate.go b/service/pinpoint/api_op_PhoneNumberValidate.go index b9c2035d854..cc387f1a617 100644 --- a/service/pinpoint/api_op_PhoneNumberValidate.go +++ b/service/pinpoint/api_op_PhoneNumberValidate.go @@ -76,7 +76,10 @@ func addOperationPhoneNumberValidateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_PutEventStream.go b/service/pinpoint/api_op_PutEventStream.go index d134a84bf2b..09b478f33bd 100644 --- a/service/pinpoint/api_op_PutEventStream.go +++ b/service/pinpoint/api_op_PutEventStream.go @@ -86,7 +86,10 @@ func addOperationPutEventStreamMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_PutEvents.go b/service/pinpoint/api_op_PutEvents.go index 66685d25e51..1062ecb189d 100644 --- a/service/pinpoint/api_op_PutEvents.go +++ b/service/pinpoint/api_op_PutEvents.go @@ -84,7 +84,10 @@ func addOperationPutEventsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_RemoveAttributes.go b/service/pinpoint/api_op_RemoveAttributes.go index 1e159719ef8..5e2c9d822d0 100644 --- a/service/pinpoint/api_op_RemoveAttributes.go +++ b/service/pinpoint/api_op_RemoveAttributes.go @@ -103,7 +103,10 @@ func addOperationRemoveAttributesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_SendMessages.go b/service/pinpoint/api_op_SendMessages.go index b0835b084e9..643f4b5e4d8 100644 --- a/service/pinpoint/api_op_SendMessages.go +++ b/service/pinpoint/api_op_SendMessages.go @@ -83,7 +83,10 @@ func addOperationSendMessagesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_SendUsersMessages.go b/service/pinpoint/api_op_SendUsersMessages.go index 9ec2a31e7ff..0fd87872b52 100644 --- a/service/pinpoint/api_op_SendUsersMessages.go +++ b/service/pinpoint/api_op_SendUsersMessages.go @@ -83,7 +83,10 @@ func addOperationSendUsersMessagesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_TagResource.go b/service/pinpoint/api_op_TagResource.go index c0598ce40e0..2aa929bc301 100644 --- a/service/pinpoint/api_op_TagResource.go +++ b/service/pinpoint/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UntagResource.go b/service/pinpoint/api_op_UntagResource.go index 0bbdf69ce64..76f0b3478e6 100644 --- a/service/pinpoint/api_op_UntagResource.go +++ b/service/pinpoint/api_op_UntagResource.go @@ -77,7 +77,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateAdmChannel.go b/service/pinpoint/api_op_UpdateAdmChannel.go index b65ac17d9e6..2f5ea3b3450 100644 --- a/service/pinpoint/api_op_UpdateAdmChannel.go +++ b/service/pinpoint/api_op_UpdateAdmChannel.go @@ -85,7 +85,10 @@ func addOperationUpdateAdmChannelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateApnsChannel.go b/service/pinpoint/api_op_UpdateApnsChannel.go index 838b21cd0a4..04fbe3e8e1e 100644 --- a/service/pinpoint/api_op_UpdateApnsChannel.go +++ b/service/pinpoint/api_op_UpdateApnsChannel.go @@ -85,7 +85,10 @@ func addOperationUpdateApnsChannelMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateApnsSandboxChannel.go b/service/pinpoint/api_op_UpdateApnsSandboxChannel.go index b20a6104930..4f0baa1412c 100644 --- a/service/pinpoint/api_op_UpdateApnsSandboxChannel.go +++ b/service/pinpoint/api_op_UpdateApnsSandboxChannel.go @@ -85,7 +85,10 @@ func addOperationUpdateApnsSandboxChannelMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateApnsVoipChannel.go b/service/pinpoint/api_op_UpdateApnsVoipChannel.go index 1d677e80c7d..24c0efd13b0 100644 --- a/service/pinpoint/api_op_UpdateApnsVoipChannel.go +++ b/service/pinpoint/api_op_UpdateApnsVoipChannel.go @@ -85,7 +85,10 @@ func addOperationUpdateApnsVoipChannelMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go b/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go index 758183ed13e..6e62a76f41c 100644 --- a/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go +++ b/service/pinpoint/api_op_UpdateApnsVoipSandboxChannel.go @@ -85,7 +85,10 @@ func addOperationUpdateApnsVoipSandboxChannelMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateApplicationSettings.go b/service/pinpoint/api_op_UpdateApplicationSettings.go index cc4f74b5122..10ccf942270 100644 --- a/service/pinpoint/api_op_UpdateApplicationSettings.go +++ b/service/pinpoint/api_op_UpdateApplicationSettings.go @@ -83,7 +83,10 @@ func addOperationUpdateApplicationSettingsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateBaiduChannel.go b/service/pinpoint/api_op_UpdateBaiduChannel.go index e86a2d3e927..9de9bc710fd 100644 --- a/service/pinpoint/api_op_UpdateBaiduChannel.go +++ b/service/pinpoint/api_op_UpdateBaiduChannel.go @@ -85,7 +85,10 @@ func addOperationUpdateBaiduChannelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateCampaign.go b/service/pinpoint/api_op_UpdateCampaign.go index bbf73f0abad..502f33d3663 100644 --- a/service/pinpoint/api_op_UpdateCampaign.go +++ b/service/pinpoint/api_op_UpdateCampaign.go @@ -88,7 +88,10 @@ func addOperationUpdateCampaignMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateEmailChannel.go b/service/pinpoint/api_op_UpdateEmailChannel.go index b605f37d4ed..2e066736f89 100644 --- a/service/pinpoint/api_op_UpdateEmailChannel.go +++ b/service/pinpoint/api_op_UpdateEmailChannel.go @@ -84,7 +84,10 @@ func addOperationUpdateEmailChannelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateEmailTemplate.go b/service/pinpoint/api_op_UpdateEmailTemplate.go index 0c816704228..fe37a35d084 100644 --- a/service/pinpoint/api_op_UpdateEmailTemplate.go +++ b/service/pinpoint/api_op_UpdateEmailTemplate.go @@ -116,7 +116,10 @@ func addOperationUpdateEmailTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateEndpoint.go b/service/pinpoint/api_op_UpdateEndpoint.go index fb5cda55df1..7a8ceb162e2 100644 --- a/service/pinpoint/api_op_UpdateEndpoint.go +++ b/service/pinpoint/api_op_UpdateEndpoint.go @@ -91,7 +91,10 @@ func addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateEndpointsBatch.go b/service/pinpoint/api_op_UpdateEndpointsBatch.go index 860132fedfe..d4e7787df8c 100644 --- a/service/pinpoint/api_op_UpdateEndpointsBatch.go +++ b/service/pinpoint/api_op_UpdateEndpointsBatch.go @@ -87,7 +87,10 @@ func addOperationUpdateEndpointsBatchMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateGcmChannel.go b/service/pinpoint/api_op_UpdateGcmChannel.go index 81ba4101fbe..f96a98e5882 100644 --- a/service/pinpoint/api_op_UpdateGcmChannel.go +++ b/service/pinpoint/api_op_UpdateGcmChannel.go @@ -88,7 +88,10 @@ func addOperationUpdateGcmChannelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateJourney.go b/service/pinpoint/api_op_UpdateJourney.go index cb32302890a..4b74c91efec 100644 --- a/service/pinpoint/api_op_UpdateJourney.go +++ b/service/pinpoint/api_op_UpdateJourney.go @@ -88,7 +88,10 @@ func addOperationUpdateJourneyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateJourneyState.go b/service/pinpoint/api_op_UpdateJourneyState.go index b2503cfd5cf..5daa599a23a 100644 --- a/service/pinpoint/api_op_UpdateJourneyState.go +++ b/service/pinpoint/api_op_UpdateJourneyState.go @@ -88,7 +88,10 @@ func addOperationUpdateJourneyStateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdatePushTemplate.go b/service/pinpoint/api_op_UpdatePushTemplate.go index 78084d23ccb..e699ddb3b5c 100644 --- a/service/pinpoint/api_op_UpdatePushTemplate.go +++ b/service/pinpoint/api_op_UpdatePushTemplate.go @@ -116,7 +116,10 @@ func addOperationUpdatePushTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateRecommenderConfiguration.go b/service/pinpoint/api_op_UpdateRecommenderConfiguration.go index 64e7f71fbeb..689190b854f 100644 --- a/service/pinpoint/api_op_UpdateRecommenderConfiguration.go +++ b/service/pinpoint/api_op_UpdateRecommenderConfiguration.go @@ -84,7 +84,10 @@ func addOperationUpdateRecommenderConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateSegment.go b/service/pinpoint/api_op_UpdateSegment.go index a4ba9371b36..14a0ab0b261 100644 --- a/service/pinpoint/api_op_UpdateSegment.go +++ b/service/pinpoint/api_op_UpdateSegment.go @@ -92,7 +92,10 @@ func addOperationUpdateSegmentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateSmsChannel.go b/service/pinpoint/api_op_UpdateSmsChannel.go index 6f9f0267d46..5811b956dbd 100644 --- a/service/pinpoint/api_op_UpdateSmsChannel.go +++ b/service/pinpoint/api_op_UpdateSmsChannel.go @@ -84,7 +84,10 @@ func addOperationUpdateSmsChannelMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateSmsTemplate.go b/service/pinpoint/api_op_UpdateSmsTemplate.go index 72ae28edc4b..95a7bac3db9 100644 --- a/service/pinpoint/api_op_UpdateSmsTemplate.go +++ b/service/pinpoint/api_op_UpdateSmsTemplate.go @@ -116,7 +116,10 @@ func addOperationUpdateSmsTemplateMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateTemplateActiveVersion.go b/service/pinpoint/api_op_UpdateTemplateActiveVersion.go index 594e5033958..d7de2c6c4d1 100644 --- a/service/pinpoint/api_op_UpdateTemplateActiveVersion.go +++ b/service/pinpoint/api_op_UpdateTemplateActiveVersion.go @@ -91,7 +91,10 @@ func addOperationUpdateTemplateActiveVersionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateVoiceChannel.go b/service/pinpoint/api_op_UpdateVoiceChannel.go index a41fe810c68..579bf46aea9 100644 --- a/service/pinpoint/api_op_UpdateVoiceChannel.go +++ b/service/pinpoint/api_op_UpdateVoiceChannel.go @@ -84,7 +84,10 @@ func addOperationUpdateVoiceChannelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpoint/api_op_UpdateVoiceTemplate.go b/service/pinpoint/api_op_UpdateVoiceTemplate.go index dd0b3260c74..14710633d81 100644 --- a/service/pinpoint/api_op_UpdateVoiceTemplate.go +++ b/service/pinpoint/api_op_UpdateVoiceTemplate.go @@ -116,7 +116,10 @@ func addOperationUpdateVoiceTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_CreateConfigurationSet.go b/service/pinpointemail/api_op_CreateConfigurationSet.go index 7447a198ca1..a719ebdb4e8 100644 --- a/service/pinpointemail/api_op_CreateConfigurationSet.go +++ b/service/pinpointemail/api_op_CreateConfigurationSet.go @@ -97,7 +97,10 @@ func addOperationCreateConfigurationSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go b/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go index 4a873256b45..37a1bd326f7 100644 --- a/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go +++ b/service/pinpointemail/api_op_CreateConfigurationSetEventDestination.go @@ -89,7 +89,10 @@ func addOperationCreateConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_CreateDedicatedIpPool.go b/service/pinpointemail/api_op_CreateDedicatedIpPool.go index d0ce0bfa3b2..a3a973ccbf8 100644 --- a/service/pinpointemail/api_op_CreateDedicatedIpPool.go +++ b/service/pinpointemail/api_op_CreateDedicatedIpPool.go @@ -81,7 +81,10 @@ func addOperationCreateDedicatedIpPoolMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go b/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go index 867f9cdab83..915202c1ca6 100644 --- a/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go +++ b/service/pinpointemail/api_op_CreateDeliverabilityTestReport.go @@ -115,7 +115,10 @@ func addOperationCreateDeliverabilityTestReportMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_CreateEmailIdentity.go b/service/pinpointemail/api_op_CreateEmailIdentity.go index 79c01c56a46..a67703324c9 100644 --- a/service/pinpointemail/api_op_CreateEmailIdentity.go +++ b/service/pinpointemail/api_op_CreateEmailIdentity.go @@ -106,7 +106,10 @@ func addOperationCreateEmailIdentityMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_DeleteConfigurationSet.go b/service/pinpointemail/api_op_DeleteConfigurationSet.go index 92d48cc6122..6a5fc7a0789 100644 --- a/service/pinpointemail/api_op_DeleteConfigurationSet.go +++ b/service/pinpointemail/api_op_DeleteConfigurationSet.go @@ -76,7 +76,10 @@ func addOperationDeleteConfigurationSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go b/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go index f64ae995b78..fd178e738cb 100644 --- a/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/pinpointemail/api_op_DeleteConfigurationSetEventDestination.go @@ -83,7 +83,10 @@ func addOperationDeleteConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_DeleteDedicatedIpPool.go b/service/pinpointemail/api_op_DeleteDedicatedIpPool.go index 7a704d2eccd..c359d1520c2 100644 --- a/service/pinpointemail/api_op_DeleteDedicatedIpPool.go +++ b/service/pinpointemail/api_op_DeleteDedicatedIpPool.go @@ -72,7 +72,10 @@ func addOperationDeleteDedicatedIpPoolMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_DeleteEmailIdentity.go b/service/pinpointemail/api_op_DeleteEmailIdentity.go index f431e890aee..fab44b269c4 100644 --- a/service/pinpointemail/api_op_DeleteEmailIdentity.go +++ b/service/pinpointemail/api_op_DeleteEmailIdentity.go @@ -77,7 +77,10 @@ func addOperationDeleteEmailIdentityMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetAccount.go b/service/pinpointemail/api_op_GetAccount.go index ff4c2ad719d..fe2e26c6ed1 100644 --- a/service/pinpointemail/api_op_GetAccount.go +++ b/service/pinpointemail/api_op_GetAccount.go @@ -110,7 +110,10 @@ func addOperationGetAccountMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetBlacklistReports.go b/service/pinpointemail/api_op_GetBlacklistReports.go index 737b00ba26a..85c4338fe79 100644 --- a/service/pinpointemail/api_op_GetBlacklistReports.go +++ b/service/pinpointemail/api_op_GetBlacklistReports.go @@ -82,7 +82,10 @@ func addOperationGetBlacklistReportsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetConfigurationSet.go b/service/pinpointemail/api_op_GetConfigurationSet.go index d1cd86a5698..a2755193f0c 100644 --- a/service/pinpointemail/api_op_GetConfigurationSet.go +++ b/service/pinpointemail/api_op_GetConfigurationSet.go @@ -103,7 +103,10 @@ func addOperationGetConfigurationSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go b/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go index 01e338ff19b..4f4fa1adac4 100644 --- a/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go +++ b/service/pinpointemail/api_op_GetConfigurationSetEventDestinations.go @@ -84,7 +84,10 @@ func addOperationGetConfigurationSetEventDestinationsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetDedicatedIp.go b/service/pinpointemail/api_op_GetDedicatedIp.go index 6dbe72cf237..2202be1ffcd 100644 --- a/service/pinpointemail/api_op_GetDedicatedIp.go +++ b/service/pinpointemail/api_op_GetDedicatedIp.go @@ -80,7 +80,10 @@ func addOperationGetDedicatedIpMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetDedicatedIps.go b/service/pinpointemail/api_op_GetDedicatedIps.go index 6d46b1df107..10ff83283b4 100644 --- a/service/pinpointemail/api_op_GetDedicatedIps.go +++ b/service/pinpointemail/api_op_GetDedicatedIps.go @@ -93,7 +93,10 @@ func addOperationGetDedicatedIpsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go b/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go index 03db8ffc690..b35164d7060 100644 --- a/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go +++ b/service/pinpointemail/api_op_GetDeliverabilityDashboardOptions.go @@ -114,7 +114,10 @@ func addOperationGetDeliverabilityDashboardOptionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetDeliverabilityTestReport.go b/service/pinpointemail/api_op_GetDeliverabilityTestReport.go index c66efa73261..ede7b9479aa 100644 --- a/service/pinpointemail/api_op_GetDeliverabilityTestReport.go +++ b/service/pinpointemail/api_op_GetDeliverabilityTestReport.go @@ -99,7 +99,10 @@ func addOperationGetDeliverabilityTestReportMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go b/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go index b3b45a2b0d6..1500154bac0 100644 --- a/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go +++ b/service/pinpointemail/api_op_GetDomainDeliverabilityCampaign.go @@ -90,7 +90,10 @@ func addOperationGetDomainDeliverabilityCampaignMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetDomainStatisticsReport.go b/service/pinpointemail/api_op_GetDomainStatisticsReport.go index 0825f6325e7..9d4ce3e1b2b 100644 --- a/service/pinpointemail/api_op_GetDomainStatisticsReport.go +++ b/service/pinpointemail/api_op_GetDomainStatisticsReport.go @@ -103,7 +103,10 @@ func addOperationGetDomainStatisticsReportMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_GetEmailIdentity.go b/service/pinpointemail/api_op_GetEmailIdentity.go index ab0da2b40dc..427eb003f6d 100644 --- a/service/pinpointemail/api_op_GetEmailIdentity.go +++ b/service/pinpointemail/api_op_GetEmailIdentity.go @@ -109,7 +109,10 @@ func addOperationGetEmailIdentityMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_ListConfigurationSets.go b/service/pinpointemail/api_op_ListConfigurationSets.go index 3eeed0e0af6..4ceeda07280 100644 --- a/service/pinpointemail/api_op_ListConfigurationSets.go +++ b/service/pinpointemail/api_op_ListConfigurationSets.go @@ -94,7 +94,10 @@ func addOperationListConfigurationSetsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_ListDedicatedIpPools.go b/service/pinpointemail/api_op_ListDedicatedIpPools.go index 8e50d2de709..625ea77865d 100644 --- a/service/pinpointemail/api_op_ListDedicatedIpPools.go +++ b/service/pinpointemail/api_op_ListDedicatedIpPools.go @@ -88,7 +88,10 @@ func addOperationListDedicatedIpPoolsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_ListDeliverabilityTestReports.go b/service/pinpointemail/api_op_ListDeliverabilityTestReports.go index 8cd9f49554d..f9d94c9dc57 100644 --- a/service/pinpointemail/api_op_ListDeliverabilityTestReports.go +++ b/service/pinpointemail/api_op_ListDeliverabilityTestReports.go @@ -97,7 +97,10 @@ func addOperationListDeliverabilityTestReportsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go b/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go index f9e6743afef..2c57518995e 100644 --- a/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go +++ b/service/pinpointemail/api_op_ListDomainDeliverabilityCampaigns.go @@ -119,7 +119,10 @@ func addOperationListDomainDeliverabilityCampaignsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_ListEmailIdentities.go b/service/pinpointemail/api_op_ListEmailIdentities.go index d059ad94254..cbea1fa8cff 100644 --- a/service/pinpointemail/api_op_ListEmailIdentities.go +++ b/service/pinpointemail/api_op_ListEmailIdentities.go @@ -97,7 +97,10 @@ func addOperationListEmailIdentitiesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_ListTagsForResource.go b/service/pinpointemail/api_op_ListTagsForResource.go index 03b34eb7c48..0f13f70a274 100644 --- a/service/pinpointemail/api_op_ListTagsForResource.go +++ b/service/pinpointemail/api_op_ListTagsForResource.go @@ -83,7 +83,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go b/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go index 7b486ff248c..51b09e0a698 100644 --- a/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go +++ b/service/pinpointemail/api_op_PutAccountDedicatedIpWarmupAttributes.go @@ -73,7 +73,10 @@ func addOperationPutAccountDedicatedIpWarmupAttributesMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutAccountSendingAttributes.go b/service/pinpointemail/api_op_PutAccountSendingAttributes.go index 8da04a951b7..eb00985c715 100644 --- a/service/pinpointemail/api_op_PutAccountSendingAttributes.go +++ b/service/pinpointemail/api_op_PutAccountSendingAttributes.go @@ -73,7 +73,10 @@ func addOperationPutAccountSendingAttributesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go b/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go index 0b9ecb1ddb8..dcfe2304ffb 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetDeliveryOptions.go @@ -87,7 +87,10 @@ func addOperationPutConfigurationSetDeliveryOptionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go b/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go index fe0ac6e56db..bf75c1a5401 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetReputationOptions.go @@ -79,7 +79,10 @@ func addOperationPutConfigurationSetReputationOptionsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go b/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go index 611caa6074e..816911807b7 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetSendingOptions.go @@ -79,7 +79,10 @@ func addOperationPutConfigurationSetSendingOptionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go b/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go index e5a75e8ada5..927f4af6864 100644 --- a/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go +++ b/service/pinpointemail/api_op_PutConfigurationSetTrackingOptions.go @@ -78,7 +78,10 @@ func addOperationPutConfigurationSetTrackingOptionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutDedicatedIpInPool.go b/service/pinpointemail/api_op_PutDedicatedIpInPool.go index ad9ad895e51..7c50cdac621 100644 --- a/service/pinpointemail/api_op_PutDedicatedIpInPool.go +++ b/service/pinpointemail/api_op_PutDedicatedIpInPool.go @@ -83,7 +83,10 @@ func addOperationPutDedicatedIpInPoolMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go b/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go index 24e6e8578f8..ea6891f3269 100644 --- a/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go +++ b/service/pinpointemail/api_op_PutDedicatedIpWarmupAttributes.go @@ -79,7 +79,10 @@ func addOperationPutDedicatedIpWarmupAttributesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go b/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go index b43fcc8e438..209a43f81cc 100644 --- a/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go +++ b/service/pinpointemail/api_op_PutDeliverabilityDashboardOption.go @@ -94,7 +94,10 @@ func addOperationPutDeliverabilityDashboardOptionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go b/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go index 5e7a7f1e768..7cc3587f919 100644 --- a/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go +++ b/service/pinpointemail/api_op_PutEmailIdentityDkimAttributes.go @@ -79,7 +79,10 @@ func addOperationPutEmailIdentityDkimAttributesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go b/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go index ffa49d5f23e..58a6e37cd5e 100644 --- a/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go +++ b/service/pinpointemail/api_op_PutEmailIdentityFeedbackAttributes.go @@ -96,7 +96,10 @@ func addOperationPutEmailIdentityFeedbackAttributesMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go b/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go index 4f0cf3125f7..1bc9286c36a 100644 --- a/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go +++ b/service/pinpointemail/api_op_PutEmailIdentityMailFromAttributes.go @@ -97,7 +97,10 @@ func addOperationPutEmailIdentityMailFromAttributesMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_SendEmail.go b/service/pinpointemail/api_op_SendEmail.go index 92eba804e4e..6c346dc6aee 100644 --- a/service/pinpointemail/api_op_SendEmail.go +++ b/service/pinpointemail/api_op_SendEmail.go @@ -118,7 +118,10 @@ func addOperationSendEmailMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_TagResource.go b/service/pinpointemail/api_op_TagResource.go index 96dcfdc5ab9..a50bba042b2 100644 --- a/service/pinpointemail/api_op_TagResource.go +++ b/service/pinpointemail/api_op_TagResource.go @@ -85,7 +85,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_UntagResource.go b/service/pinpointemail/api_op_UntagResource.go index 7fdc99aa674..a1bc4c7611f 100644 --- a/service/pinpointemail/api_op_UntagResource.go +++ b/service/pinpointemail/api_op_UntagResource.go @@ -79,7 +79,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go b/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go index ec645e2ba05..a923d7eb3c9 100644 --- a/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/pinpointemail/api_op_UpdateConfigurationSetEventDestination.go @@ -91,7 +91,10 @@ func addOperationUpdateConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go b/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go index d4c28c55986..d242bdebefc 100644 --- a/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go +++ b/service/pinpointsmsvoice/api_op_CreateConfigurationSet.go @@ -71,7 +71,10 @@ func addOperationCreateConfigurationSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go b/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go index e782d6ebfe6..187230403f1 100644 --- a/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go +++ b/service/pinpointsmsvoice/api_op_CreateConfigurationSetEventDestination.go @@ -79,7 +79,10 @@ func addOperationCreateConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go b/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go index b553a900579..9301535a371 100644 --- a/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go +++ b/service/pinpointsmsvoice/api_op_DeleteConfigurationSet.go @@ -71,7 +71,10 @@ func addOperationDeleteConfigurationSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go b/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go index deb09844805..15319cfb349 100644 --- a/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/pinpointsmsvoice/api_op_DeleteConfigurationSetEventDestination.go @@ -76,7 +76,10 @@ func addOperationDeleteConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go b/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go index 164820875d4..aa2a0609659 100644 --- a/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go +++ b/service/pinpointsmsvoice/api_op_GetConfigurationSetEventDestinations.go @@ -78,7 +78,10 @@ func addOperationGetConfigurationSetEventDestinationsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointsmsvoice/api_op_ListConfigurationSets.go b/service/pinpointsmsvoice/api_op_ListConfigurationSets.go index 9cc4e4419c2..5dee7dea035 100644 --- a/service/pinpointsmsvoice/api_op_ListConfigurationSets.go +++ b/service/pinpointsmsvoice/api_op_ListConfigurationSets.go @@ -83,7 +83,10 @@ func addOperationListConfigurationSetsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointsmsvoice/api_op_SendVoiceMessage.go b/service/pinpointsmsvoice/api_op_SendVoiceMessage.go index 57d61197283..4f07bf7e07e 100644 --- a/service/pinpointsmsvoice/api_op_SendVoiceMessage.go +++ b/service/pinpointsmsvoice/api_op_SendVoiceMessage.go @@ -92,7 +92,10 @@ func addOperationSendVoiceMessageMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go b/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go index 2ade59c3857..da5e94f07cd 100644 --- a/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/pinpointsmsvoice/api_op_UpdateConfigurationSetEventDestination.go @@ -83,7 +83,10 @@ func addOperationUpdateConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/polly/api_op_DeleteLexicon.go b/service/polly/api_op_DeleteLexicon.go index c0361d6a56e..359531e6a48 100644 --- a/service/polly/api_op_DeleteLexicon.go +++ b/service/polly/api_op_DeleteLexicon.go @@ -73,7 +73,10 @@ func addOperationDeleteLexiconMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/polly/api_op_DescribeVoices.go b/service/polly/api_op_DescribeVoices.go index 7acfc9ffb8a..00ce6000fab 100644 --- a/service/polly/api_op_DescribeVoices.go +++ b/service/polly/api_op_DescribeVoices.go @@ -104,7 +104,10 @@ func addOperationDescribeVoicesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/polly/api_op_GetLexicon.go b/service/polly/api_op_GetLexicon.go index ac5955d7ce1..6972accebbf 100644 --- a/service/polly/api_op_GetLexicon.go +++ b/service/polly/api_op_GetLexicon.go @@ -81,7 +81,10 @@ func addOperationGetLexiconMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/polly/api_op_GetSpeechSynthesisTask.go b/service/polly/api_op_GetSpeechSynthesisTask.go index 2220ac16044..08538cb3755 100644 --- a/service/polly/api_op_GetSpeechSynthesisTask.go +++ b/service/polly/api_op_GetSpeechSynthesisTask.go @@ -77,7 +77,10 @@ func addOperationGetSpeechSynthesisTaskMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/polly/api_op_ListLexicons.go b/service/polly/api_op_ListLexicons.go index 85a8d9a1b9e..022bcc554a6 100644 --- a/service/polly/api_op_ListLexicons.go +++ b/service/polly/api_op_ListLexicons.go @@ -79,7 +79,10 @@ func addOperationListLexiconsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/polly/api_op_ListSpeechSynthesisTasks.go b/service/polly/api_op_ListSpeechSynthesisTasks.go index fad1bced6d6..099dd331c75 100644 --- a/service/polly/api_op_ListSpeechSynthesisTasks.go +++ b/service/polly/api_op_ListSpeechSynthesisTasks.go @@ -88,7 +88,10 @@ func addOperationListSpeechSynthesisTasksMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/polly/api_op_PutLexicon.go b/service/polly/api_op_PutLexicon.go index 8b85eeebf43..6a9470f4ede 100644 --- a/service/polly/api_op_PutLexicon.go +++ b/service/polly/api_op_PutLexicon.go @@ -81,7 +81,10 @@ func addOperationPutLexiconMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/polly/api_op_StartSpeechSynthesisTask.go b/service/polly/api_op_StartSpeechSynthesisTask.go index 8204e740a37..b196c8f87c6 100644 --- a/service/polly/api_op_StartSpeechSynthesisTask.go +++ b/service/polly/api_op_StartSpeechSynthesisTask.go @@ -139,7 +139,10 @@ func addOperationStartSpeechSynthesisTaskMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/polly/api_op_SynthesizeSpeech.go b/service/polly/api_op_SynthesizeSpeech.go index e8168fddd8a..be93a0503da 100644 --- a/service/polly/api_op_SynthesizeSpeech.go +++ b/service/polly/api_op_SynthesizeSpeech.go @@ -161,7 +161,10 @@ func addOperationSynthesizeSpeechMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pricing/api_op_DescribeServices.go b/service/pricing/api_op_DescribeServices.go index bc03013a348..305920fe38d 100644 --- a/service/pricing/api_op_DescribeServices.go +++ b/service/pricing/api_op_DescribeServices.go @@ -96,7 +96,10 @@ func addOperationDescribeServicesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pricing/api_op_GetAttributeValues.go b/service/pricing/api_op_GetAttributeValues.go index 6f4ac8a3d7a..32e79bd4834 100644 --- a/service/pricing/api_op_GetAttributeValues.go +++ b/service/pricing/api_op_GetAttributeValues.go @@ -98,7 +98,10 @@ func addOperationGetAttributeValuesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/pricing/api_op_GetProducts.go b/service/pricing/api_op_GetProducts.go index df08ccb35c6..086aa771385 100644 --- a/service/pricing/api_op_GetProducts.go +++ b/service/pricing/api_op_GetProducts.go @@ -94,7 +94,10 @@ func addOperationGetProductsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_CancelJournalKinesisStream.go b/service/qldb/api_op_CancelJournalKinesisStream.go index 4220c888281..2ac7f7f916b 100644 --- a/service/qldb/api_op_CancelJournalKinesisStream.go +++ b/service/qldb/api_op_CancelJournalKinesisStream.go @@ -81,7 +81,10 @@ func addOperationCancelJournalKinesisStreamMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_CreateLedger.go b/service/qldb/api_op_CreateLedger.go index d23553c53dd..92324c177cb 100644 --- a/service/qldb/api_op_CreateLedger.go +++ b/service/qldb/api_op_CreateLedger.go @@ -117,7 +117,10 @@ func addOperationCreateLedgerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_DeleteLedger.go b/service/qldb/api_op_DeleteLedger.go index 4243a42e15a..95a2264fefe 100644 --- a/service/qldb/api_op_DeleteLedger.go +++ b/service/qldb/api_op_DeleteLedger.go @@ -74,7 +74,10 @@ func addOperationDeleteLedgerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_DescribeJournalKinesisStream.go b/service/qldb/api_op_DescribeJournalKinesisStream.go index be9853d3dbd..519ce136af0 100644 --- a/service/qldb/api_op_DescribeJournalKinesisStream.go +++ b/service/qldb/api_op_DescribeJournalKinesisStream.go @@ -82,7 +82,10 @@ func addOperationDescribeJournalKinesisStreamMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_DescribeJournalS3Export.go b/service/qldb/api_op_DescribeJournalS3Export.go index f1a14fcaffa..87d3bbdff7f 100644 --- a/service/qldb/api_op_DescribeJournalS3Export.go +++ b/service/qldb/api_op_DescribeJournalS3Export.go @@ -89,7 +89,10 @@ func addOperationDescribeJournalS3ExportMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_DescribeLedger.go b/service/qldb/api_op_DescribeLedger.go index d00eb17289a..755783740d5 100644 --- a/service/qldb/api_op_DescribeLedger.go +++ b/service/qldb/api_op_DescribeLedger.go @@ -95,7 +95,10 @@ func addOperationDescribeLedgerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_ExportJournalToS3.go b/service/qldb/api_op_ExportJournalToS3.go index d29775c5cd2..8e61b5598db 100644 --- a/service/qldb/api_op_ExportJournalToS3.go +++ b/service/qldb/api_op_ExportJournalToS3.go @@ -122,7 +122,10 @@ func addOperationExportJournalToS3Middlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_GetBlock.go b/service/qldb/api_op_GetBlock.go index bd565f36fb4..bb8514991f2 100644 --- a/service/qldb/api_op_GetBlock.go +++ b/service/qldb/api_op_GetBlock.go @@ -101,7 +101,10 @@ func addOperationGetBlockMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_GetDigest.go b/service/qldb/api_op_GetDigest.go index 20451c01f65..f9dcb30a00a 100644 --- a/service/qldb/api_op_GetDigest.go +++ b/service/qldb/api_op_GetDigest.go @@ -83,7 +83,10 @@ func addOperationGetDigestMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_GetRevision.go b/service/qldb/api_op_GetRevision.go index cc316c65c8c..ec04ae86b30 100644 --- a/service/qldb/api_op_GetRevision.go +++ b/service/qldb/api_op_GetRevision.go @@ -100,7 +100,10 @@ func addOperationGetRevisionMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go b/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go index b40433814e0..c18fd068bfa 100644 --- a/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go +++ b/service/qldb/api_op_ListJournalKinesisStreamsForLedger.go @@ -99,7 +99,10 @@ func addOperationListJournalKinesisStreamsForLedgerMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_ListJournalS3Exports.go b/service/qldb/api_op_ListJournalS3Exports.go index 339824a04e8..c43bff92faa 100644 --- a/service/qldb/api_op_ListJournalS3Exports.go +++ b/service/qldb/api_op_ListJournalS3Exports.go @@ -94,7 +94,10 @@ func addOperationListJournalS3ExportsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_ListJournalS3ExportsForLedger.go b/service/qldb/api_op_ListJournalS3ExportsForLedger.go index 80cabfe1621..2a2c9626370 100644 --- a/service/qldb/api_op_ListJournalS3ExportsForLedger.go +++ b/service/qldb/api_op_ListJournalS3ExportsForLedger.go @@ -101,7 +101,10 @@ func addOperationListJournalS3ExportsForLedgerMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_ListLedgers.go b/service/qldb/api_op_ListLedgers.go index d494e26db36..66251771cff 100644 --- a/service/qldb/api_op_ListLedgers.go +++ b/service/qldb/api_op_ListLedgers.go @@ -93,7 +93,10 @@ func addOperationListLedgersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_ListTagsForResource.go b/service/qldb/api_op_ListTagsForResource.go index b4dbbc58cfe..34eca4bcc9b 100644 --- a/service/qldb/api_op_ListTagsForResource.go +++ b/service/qldb/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_StreamJournalToKinesis.go b/service/qldb/api_op_StreamJournalToKinesis.go index dfe49391f84..eec6e3f8836 100644 --- a/service/qldb/api_op_StreamJournalToKinesis.go +++ b/service/qldb/api_op_StreamJournalToKinesis.go @@ -119,7 +119,10 @@ func addOperationStreamJournalToKinesisMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_TagResource.go b/service/qldb/api_op_TagResource.go index 6f7a5eb41d3..f1785509011 100644 --- a/service/qldb/api_op_TagResource.go +++ b/service/qldb/api_op_TagResource.go @@ -80,7 +80,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_UntagResource.go b/service/qldb/api_op_UntagResource.go index 3b7e36e9189..6dab26ecf87 100644 --- a/service/qldb/api_op_UntagResource.go +++ b/service/qldb/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldb/api_op_UpdateLedger.go b/service/qldb/api_op_UpdateLedger.go index b827d12abcd..676f2c4d820 100644 --- a/service/qldb/api_op_UpdateLedger.go +++ b/service/qldb/api_op_UpdateLedger.go @@ -104,7 +104,10 @@ func addOperationUpdateLedgerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/qldbsession/api_op_SendCommand.go b/service/qldbsession/api_op_SendCommand.go index 07a988eac4f..477b1d94991 100644 --- a/service/qldbsession/api_op_SendCommand.go +++ b/service/qldbsession/api_op_SendCommand.go @@ -133,7 +133,10 @@ func addOperationSendCommandMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CancelIngestion.go b/service/quicksight/api_op_CancelIngestion.go index 81d2b48ac41..c3ab6745011 100644 --- a/service/quicksight/api_op_CancelIngestion.go +++ b/service/quicksight/api_op_CancelIngestion.go @@ -92,7 +92,10 @@ func addOperationCancelIngestionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateAccountCustomization.go b/service/quicksight/api_op_CreateAccountCustomization.go index e1a56b9a2e1..6df8000ac62 100644 --- a/service/quicksight/api_op_CreateAccountCustomization.go +++ b/service/quicksight/api_op_CreateAccountCustomization.go @@ -124,7 +124,10 @@ func addOperationCreateAccountCustomizationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateAnalysis.go b/service/quicksight/api_op_CreateAnalysis.go index fd6967a0bf4..cf65d4540dd 100644 --- a/service/quicksight/api_op_CreateAnalysis.go +++ b/service/quicksight/api_op_CreateAnalysis.go @@ -124,7 +124,10 @@ func addOperationCreateAnalysisMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateDashboard.go b/service/quicksight/api_op_CreateDashboard.go index ed112086a92..2be6c5c582f 100644 --- a/service/quicksight/api_op_CreateDashboard.go +++ b/service/quicksight/api_op_CreateDashboard.go @@ -159,7 +159,10 @@ func addOperationCreateDashboardMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateDataSet.go b/service/quicksight/api_op_CreateDataSet.go index 5e648b7e7fd..827d87dead9 100644 --- a/service/quicksight/api_op_CreateDataSet.go +++ b/service/quicksight/api_op_CreateDataSet.go @@ -134,7 +134,10 @@ func addOperationCreateDataSetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateDataSource.go b/service/quicksight/api_op_CreateDataSource.go index ec62341499e..b7ef148843b 100644 --- a/service/quicksight/api_op_CreateDataSource.go +++ b/service/quicksight/api_op_CreateDataSource.go @@ -128,7 +128,10 @@ func addOperationCreateDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateGroup.go b/service/quicksight/api_op_CreateGroup.go index cd46329b1b3..ef99a57115b 100644 --- a/service/quicksight/api_op_CreateGroup.go +++ b/service/quicksight/api_op_CreateGroup.go @@ -97,7 +97,10 @@ func addOperationCreateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateGroupMembership.go b/service/quicksight/api_op_CreateGroupMembership.go index 6c91679e682..6ec73b64a65 100644 --- a/service/quicksight/api_op_CreateGroupMembership.go +++ b/service/quicksight/api_op_CreateGroupMembership.go @@ -96,7 +96,10 @@ func addOperationCreateGroupMembershipMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateIAMPolicyAssignment.go b/service/quicksight/api_op_CreateIAMPolicyAssignment.go index 84fc7331e6f..f87247f5d8f 100644 --- a/service/quicksight/api_op_CreateIAMPolicyAssignment.go +++ b/service/quicksight/api_op_CreateIAMPolicyAssignment.go @@ -141,7 +141,10 @@ func addOperationCreateIAMPolicyAssignmentMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateIngestion.go b/service/quicksight/api_op_CreateIngestion.go index 2c8091a8631..f78abcefbfd 100644 --- a/service/quicksight/api_op_CreateIngestion.go +++ b/service/quicksight/api_op_CreateIngestion.go @@ -102,7 +102,10 @@ func addOperationCreateIngestionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateNamespace.go b/service/quicksight/api_op_CreateNamespace.go index 636d890a6cf..ef6270b48e8 100644 --- a/service/quicksight/api_op_CreateNamespace.go +++ b/service/quicksight/api_op_CreateNamespace.go @@ -118,7 +118,10 @@ func addOperationCreateNamespaceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateTemplate.go b/service/quicksight/api_op_CreateTemplate.go index eb0c5f2ff96..d5e869e8019 100644 --- a/service/quicksight/api_op_CreateTemplate.go +++ b/service/quicksight/api_op_CreateTemplate.go @@ -133,7 +133,10 @@ func addOperationCreateTemplateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateTemplateAlias.go b/service/quicksight/api_op_CreateTemplateAlias.go index bf34967d25b..81430bc5b44 100644 --- a/service/quicksight/api_op_CreateTemplateAlias.go +++ b/service/quicksight/api_op_CreateTemplateAlias.go @@ -98,7 +98,10 @@ func addOperationCreateTemplateAliasMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateTheme.go b/service/quicksight/api_op_CreateTheme.go index 31f82a32fee..e287a3e7d8d 100644 --- a/service/quicksight/api_op_CreateTheme.go +++ b/service/quicksight/api_op_CreateTheme.go @@ -129,7 +129,10 @@ func addOperationCreateThemeMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_CreateThemeAlias.go b/service/quicksight/api_op_CreateThemeAlias.go index 570b7d0cfae..b4ab2350031 100644 --- a/service/quicksight/api_op_CreateThemeAlias.go +++ b/service/quicksight/api_op_CreateThemeAlias.go @@ -97,7 +97,10 @@ func addOperationCreateThemeAliasMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteAccountCustomization.go b/service/quicksight/api_op_DeleteAccountCustomization.go index 808c083a103..5fcd59836f5 100644 --- a/service/quicksight/api_op_DeleteAccountCustomization.go +++ b/service/quicksight/api_op_DeleteAccountCustomization.go @@ -81,7 +81,10 @@ func addOperationDeleteAccountCustomizationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteAnalysis.go b/service/quicksight/api_op_DeleteAnalysis.go index 7a32a10994a..799dd71c96b 100644 --- a/service/quicksight/api_op_DeleteAnalysis.go +++ b/service/quicksight/api_op_DeleteAnalysis.go @@ -112,7 +112,10 @@ func addOperationDeleteAnalysisMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteDashboard.go b/service/quicksight/api_op_DeleteDashboard.go index 10e93536140..a00fb5a0448 100644 --- a/service/quicksight/api_op_DeleteDashboard.go +++ b/service/quicksight/api_op_DeleteDashboard.go @@ -91,7 +91,10 @@ func addOperationDeleteDashboardMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteDataSet.go b/service/quicksight/api_op_DeleteDataSet.go index 3325052176d..7961491f657 100644 --- a/service/quicksight/api_op_DeleteDataSet.go +++ b/service/quicksight/api_op_DeleteDataSet.go @@ -89,7 +89,10 @@ func addOperationDeleteDataSetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteDataSource.go b/service/quicksight/api_op_DeleteDataSource.go index 6e1d9df59d9..43b2af518ad 100644 --- a/service/quicksight/api_op_DeleteDataSource.go +++ b/service/quicksight/api_op_DeleteDataSource.go @@ -90,7 +90,10 @@ func addOperationDeleteDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteGroup.go b/service/quicksight/api_op_DeleteGroup.go index 333efbb2c9b..6565364bacb 100644 --- a/service/quicksight/api_op_DeleteGroup.go +++ b/service/quicksight/api_op_DeleteGroup.go @@ -87,7 +87,10 @@ func addOperationDeleteGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteGroupMembership.go b/service/quicksight/api_op_DeleteGroupMembership.go index 6c856c2dbcf..b1f245cc820 100644 --- a/service/quicksight/api_op_DeleteGroupMembership.go +++ b/service/quicksight/api_op_DeleteGroupMembership.go @@ -92,7 +92,10 @@ func addOperationDeleteGroupMembershipMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteIAMPolicyAssignment.go b/service/quicksight/api_op_DeleteIAMPolicyAssignment.go index 1fb33a19bde..a899b85eabc 100644 --- a/service/quicksight/api_op_DeleteIAMPolicyAssignment.go +++ b/service/quicksight/api_op_DeleteIAMPolicyAssignment.go @@ -89,7 +89,10 @@ func addOperationDeleteIAMPolicyAssignmentMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteNamespace.go b/service/quicksight/api_op_DeleteNamespace.go index a941f977564..dba10d66e97 100644 --- a/service/quicksight/api_op_DeleteNamespace.go +++ b/service/quicksight/api_op_DeleteNamespace.go @@ -85,7 +85,10 @@ func addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteTemplate.go b/service/quicksight/api_op_DeleteTemplate.go index 99a4774dfb0..b8598d3f9e7 100644 --- a/service/quicksight/api_op_DeleteTemplate.go +++ b/service/quicksight/api_op_DeleteTemplate.go @@ -91,7 +91,10 @@ func addOperationDeleteTemplateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteTemplateAlias.go b/service/quicksight/api_op_DeleteTemplateAlias.go index 96f7a181f72..8b1516d396d 100644 --- a/service/quicksight/api_op_DeleteTemplateAlias.go +++ b/service/quicksight/api_op_DeleteTemplateAlias.go @@ -99,7 +99,10 @@ func addOperationDeleteTemplateAliasMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteTheme.go b/service/quicksight/api_op_DeleteTheme.go index 2562131b438..fa901b1f1fa 100644 --- a/service/quicksight/api_op_DeleteTheme.go +++ b/service/quicksight/api_op_DeleteTheme.go @@ -92,7 +92,10 @@ func addOperationDeleteThemeMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteThemeAlias.go b/service/quicksight/api_op_DeleteThemeAlias.go index a81d54ae911..d127926cee1 100644 --- a/service/quicksight/api_op_DeleteThemeAlias.go +++ b/service/quicksight/api_op_DeleteThemeAlias.go @@ -97,7 +97,10 @@ func addOperationDeleteThemeAliasMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteUser.go b/service/quicksight/api_op_DeleteUser.go index 1e6ae108941..bb33bcc6151 100644 --- a/service/quicksight/api_op_DeleteUser.go +++ b/service/quicksight/api_op_DeleteUser.go @@ -89,7 +89,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DeleteUserByPrincipalId.go b/service/quicksight/api_op_DeleteUserByPrincipalId.go index 55ff4ea10ef..4fcf07058de 100644 --- a/service/quicksight/api_op_DeleteUserByPrincipalId.go +++ b/service/quicksight/api_op_DeleteUserByPrincipalId.go @@ -88,7 +88,10 @@ func addOperationDeleteUserByPrincipalIdMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeAccountCustomization.go b/service/quicksight/api_op_DescribeAccountCustomization.go index 3732c9f9492..57be0f28bb8 100644 --- a/service/quicksight/api_op_DescribeAccountCustomization.go +++ b/service/quicksight/api_op_DescribeAccountCustomization.go @@ -148,7 +148,10 @@ func addOperationDescribeAccountCustomizationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeAccountSettings.go b/service/quicksight/api_op_DescribeAccountSettings.go index 99537e0fed1..5fd6601ee2e 100644 --- a/service/quicksight/api_op_DescribeAccountSettings.go +++ b/service/quicksight/api_op_DescribeAccountSettings.go @@ -87,7 +87,10 @@ func addOperationDescribeAccountSettingsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeAnalysis.go b/service/quicksight/api_op_DescribeAnalysis.go index 338c6b84e75..78575398759 100644 --- a/service/quicksight/api_op_DescribeAnalysis.go +++ b/service/quicksight/api_op_DescribeAnalysis.go @@ -88,7 +88,10 @@ func addOperationDescribeAnalysisMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeAnalysisPermissions.go b/service/quicksight/api_op_DescribeAnalysisPermissions.go index 824968ff30c..5da87e28e02 100644 --- a/service/quicksight/api_op_DescribeAnalysisPermissions.go +++ b/service/quicksight/api_op_DescribeAnalysisPermissions.go @@ -95,7 +95,10 @@ func addOperationDescribeAnalysisPermissionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeDashboard.go b/service/quicksight/api_op_DescribeDashboard.go index 1079a574b67..dedfe0372bd 100644 --- a/service/quicksight/api_op_DescribeDashboard.go +++ b/service/quicksight/api_op_DescribeDashboard.go @@ -92,7 +92,10 @@ func addOperationDescribeDashboardMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeDashboardPermissions.go b/service/quicksight/api_op_DescribeDashboardPermissions.go index ed5fd9db49c..f35f641373e 100644 --- a/service/quicksight/api_op_DescribeDashboardPermissions.go +++ b/service/quicksight/api_op_DescribeDashboardPermissions.go @@ -92,7 +92,10 @@ func addOperationDescribeDashboardPermissionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeDataSet.go b/service/quicksight/api_op_DescribeDataSet.go index c3c3bc4cc3e..af370b77a8d 100644 --- a/service/quicksight/api_op_DescribeDataSet.go +++ b/service/quicksight/api_op_DescribeDataSet.go @@ -86,7 +86,10 @@ func addOperationDescribeDataSetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeDataSetPermissions.go b/service/quicksight/api_op_DescribeDataSetPermissions.go index 44377e2184c..a70d00e3f99 100644 --- a/service/quicksight/api_op_DescribeDataSetPermissions.go +++ b/service/quicksight/api_op_DescribeDataSetPermissions.go @@ -94,7 +94,10 @@ func addOperationDescribeDataSetPermissionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeDataSource.go b/service/quicksight/api_op_DescribeDataSource.go index 10c1f738b42..56dd83ff62c 100644 --- a/service/quicksight/api_op_DescribeDataSource.go +++ b/service/quicksight/api_op_DescribeDataSource.go @@ -86,7 +86,10 @@ func addOperationDescribeDataSourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeDataSourcePermissions.go b/service/quicksight/api_op_DescribeDataSourcePermissions.go index f57c466b194..fcd64d21217 100644 --- a/service/quicksight/api_op_DescribeDataSourcePermissions.go +++ b/service/quicksight/api_op_DescribeDataSourcePermissions.go @@ -93,7 +93,10 @@ func addOperationDescribeDataSourcePermissionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeGroup.go b/service/quicksight/api_op_DescribeGroup.go index ad6adcb84bc..45e698bdb5d 100644 --- a/service/quicksight/api_op_DescribeGroup.go +++ b/service/quicksight/api_op_DescribeGroup.go @@ -91,7 +91,10 @@ func addOperationDescribeGroupMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeIAMPolicyAssignment.go b/service/quicksight/api_op_DescribeIAMPolicyAssignment.go index 052123691e2..ba9c421a737 100644 --- a/service/quicksight/api_op_DescribeIAMPolicyAssignment.go +++ b/service/quicksight/api_op_DescribeIAMPolicyAssignment.go @@ -92,7 +92,10 @@ func addOperationDescribeIAMPolicyAssignmentMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeIngestion.go b/service/quicksight/api_op_DescribeIngestion.go index 40d04623aec..1674446edc8 100644 --- a/service/quicksight/api_op_DescribeIngestion.go +++ b/service/quicksight/api_op_DescribeIngestion.go @@ -90,7 +90,10 @@ func addOperationDescribeIngestionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeNamespace.go b/service/quicksight/api_op_DescribeNamespace.go index 0d1a03312a1..0b43177d5d8 100644 --- a/service/quicksight/api_op_DescribeNamespace.go +++ b/service/quicksight/api_op_DescribeNamespace.go @@ -90,7 +90,10 @@ func addOperationDescribeNamespaceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeTemplate.go b/service/quicksight/api_op_DescribeTemplate.go index b7da6633ceb..3a291da3319 100644 --- a/service/quicksight/api_op_DescribeTemplate.go +++ b/service/quicksight/api_op_DescribeTemplate.go @@ -95,7 +95,10 @@ func addOperationDescribeTemplateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeTemplateAlias.go b/service/quicksight/api_op_DescribeTemplateAlias.go index fbe1bbbb2b0..46f2a1ecfd6 100644 --- a/service/quicksight/api_op_DescribeTemplateAlias.go +++ b/service/quicksight/api_op_DescribeTemplateAlias.go @@ -94,7 +94,10 @@ func addOperationDescribeTemplateAliasMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeTemplatePermissions.go b/service/quicksight/api_op_DescribeTemplatePermissions.go index 357d6e26ddb..5dafd77ae04 100644 --- a/service/quicksight/api_op_DescribeTemplatePermissions.go +++ b/service/quicksight/api_op_DescribeTemplatePermissions.go @@ -91,7 +91,10 @@ func addOperationDescribeTemplatePermissionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeTheme.go b/service/quicksight/api_op_DescribeTheme.go index ca3be293067..13d869be17e 100644 --- a/service/quicksight/api_op_DescribeTheme.go +++ b/service/quicksight/api_op_DescribeTheme.go @@ -95,7 +95,10 @@ func addOperationDescribeThemeMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeThemeAlias.go b/service/quicksight/api_op_DescribeThemeAlias.go index 3517cf1670c..4d984ad970a 100644 --- a/service/quicksight/api_op_DescribeThemeAlias.go +++ b/service/quicksight/api_op_DescribeThemeAlias.go @@ -90,7 +90,10 @@ func addOperationDescribeThemeAliasMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeThemePermissions.go b/service/quicksight/api_op_DescribeThemePermissions.go index 38a46ebd13f..6ef980dd4c7 100644 --- a/service/quicksight/api_op_DescribeThemePermissions.go +++ b/service/quicksight/api_op_DescribeThemePermissions.go @@ -91,7 +91,10 @@ func addOperationDescribeThemePermissionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_DescribeUser.go b/service/quicksight/api_op_DescribeUser.go index c02ee0f24c0..7ddc9352861 100644 --- a/service/quicksight/api_op_DescribeUser.go +++ b/service/quicksight/api_op_DescribeUser.go @@ -91,7 +91,10 @@ func addOperationDescribeUserMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_GetDashboardEmbedUrl.go b/service/quicksight/api_op_GetDashboardEmbedUrl.go index 327f00b0729..19384a0655e 100644 --- a/service/quicksight/api_op_GetDashboardEmbedUrl.go +++ b/service/quicksight/api_op_GetDashboardEmbedUrl.go @@ -164,7 +164,10 @@ func addOperationGetDashboardEmbedUrlMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_GetSessionEmbedUrl.go b/service/quicksight/api_op_GetSessionEmbedUrl.go index a0fcb77269b..342c316c389 100644 --- a/service/quicksight/api_op_GetSessionEmbedUrl.go +++ b/service/quicksight/api_op_GetSessionEmbedUrl.go @@ -140,7 +140,10 @@ func addOperationGetSessionEmbedUrlMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListAnalyses.go b/service/quicksight/api_op_ListAnalyses.go index 003b6a28254..1e9bb1fa824 100644 --- a/service/quicksight/api_op_ListAnalyses.go +++ b/service/quicksight/api_op_ListAnalyses.go @@ -90,7 +90,10 @@ func addOperationListAnalysesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListDashboardVersions.go b/service/quicksight/api_op_ListDashboardVersions.go index 332440b98c5..91c98187b8c 100644 --- a/service/quicksight/api_op_ListDashboardVersions.go +++ b/service/quicksight/api_op_ListDashboardVersions.go @@ -96,7 +96,10 @@ func addOperationListDashboardVersionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListDashboards.go b/service/quicksight/api_op_ListDashboards.go index 7c22c1a77b4..2dae4802744 100644 --- a/service/quicksight/api_op_ListDashboards.go +++ b/service/quicksight/api_op_ListDashboards.go @@ -91,7 +91,10 @@ func addOperationListDashboardsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListDataSets.go b/service/quicksight/api_op_ListDataSets.go index 602879559bc..b6c6d20ea6c 100644 --- a/service/quicksight/api_op_ListDataSets.go +++ b/service/quicksight/api_op_ListDataSets.go @@ -91,7 +91,10 @@ func addOperationListDataSetsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListDataSources.go b/service/quicksight/api_op_ListDataSources.go index b6075224d6b..d80b3b8ff47 100644 --- a/service/quicksight/api_op_ListDataSources.go +++ b/service/quicksight/api_op_ListDataSources.go @@ -90,7 +90,10 @@ func addOperationListDataSourcesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListGroupMemberships.go b/service/quicksight/api_op_ListGroupMemberships.go index 1e44a53298f..16a5854f418 100644 --- a/service/quicksight/api_op_ListGroupMemberships.go +++ b/service/quicksight/api_op_ListGroupMemberships.go @@ -100,7 +100,10 @@ func addOperationListGroupMembershipsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListGroups.go b/service/quicksight/api_op_ListGroups.go index 516695f1fcc..fb88a12a53c 100644 --- a/service/quicksight/api_op_ListGroups.go +++ b/service/quicksight/api_op_ListGroups.go @@ -95,7 +95,10 @@ func addOperationListGroupsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListIAMPolicyAssignments.go b/service/quicksight/api_op_ListIAMPolicyAssignments.go index fb048de812b..092ff669567 100644 --- a/service/quicksight/api_op_ListIAMPolicyAssignments.go +++ b/service/quicksight/api_op_ListIAMPolicyAssignments.go @@ -97,7 +97,10 @@ func addOperationListIAMPolicyAssignmentsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go b/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go index 9fb9d706d34..55790ce4a26 100644 --- a/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go +++ b/service/quicksight/api_op_ListIAMPolicyAssignmentsForUser.go @@ -101,7 +101,10 @@ func addOperationListIAMPolicyAssignmentsForUserMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListIngestions.go b/service/quicksight/api_op_ListIngestions.go index 60a5672fbdf..bd0069c1e38 100644 --- a/service/quicksight/api_op_ListIngestions.go +++ b/service/quicksight/api_op_ListIngestions.go @@ -95,7 +95,10 @@ func addOperationListIngestionsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListNamespaces.go b/service/quicksight/api_op_ListNamespaces.go index 014502713c4..edc5f13c3be 100644 --- a/service/quicksight/api_op_ListNamespaces.go +++ b/service/quicksight/api_op_ListNamespaces.go @@ -93,7 +93,10 @@ func addOperationListNamespacesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListTagsForResource.go b/service/quicksight/api_op_ListTagsForResource.go index 6c0a8382cd1..668c565a955 100644 --- a/service/quicksight/api_op_ListTagsForResource.go +++ b/service/quicksight/api_op_ListTagsForResource.go @@ -81,7 +81,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListTemplateAliases.go b/service/quicksight/api_op_ListTemplateAliases.go index b3469964af2..3c0d832ff73 100644 --- a/service/quicksight/api_op_ListTemplateAliases.go +++ b/service/quicksight/api_op_ListTemplateAliases.go @@ -96,7 +96,10 @@ func addOperationListTemplateAliasesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListTemplateVersions.go b/service/quicksight/api_op_ListTemplateVersions.go index 24e72b48bff..7c3d2e64cc1 100644 --- a/service/quicksight/api_op_ListTemplateVersions.go +++ b/service/quicksight/api_op_ListTemplateVersions.go @@ -96,7 +96,10 @@ func addOperationListTemplateVersionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListTemplates.go b/service/quicksight/api_op_ListTemplates.go index 4416ddd2425..c2526c414db 100644 --- a/service/quicksight/api_op_ListTemplates.go +++ b/service/quicksight/api_op_ListTemplates.go @@ -90,7 +90,10 @@ func addOperationListTemplatesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListThemeAliases.go b/service/quicksight/api_op_ListThemeAliases.go index 5d5aa3c9a7e..16614b8a4ef 100644 --- a/service/quicksight/api_op_ListThemeAliases.go +++ b/service/quicksight/api_op_ListThemeAliases.go @@ -94,7 +94,10 @@ func addOperationListThemeAliasesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListThemeVersions.go b/service/quicksight/api_op_ListThemeVersions.go index aa48c9e36c8..851276052d9 100644 --- a/service/quicksight/api_op_ListThemeVersions.go +++ b/service/quicksight/api_op_ListThemeVersions.go @@ -94,7 +94,10 @@ func addOperationListThemeVersionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListThemes.go b/service/quicksight/api_op_ListThemes.go index abb93ab57db..de54096e256 100644 --- a/service/quicksight/api_op_ListThemes.go +++ b/service/quicksight/api_op_ListThemes.go @@ -101,7 +101,10 @@ func addOperationListThemesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListUserGroups.go b/service/quicksight/api_op_ListUserGroups.go index c77787ab026..78af20d0baa 100644 --- a/service/quicksight/api_op_ListUserGroups.go +++ b/service/quicksight/api_op_ListUserGroups.go @@ -101,7 +101,10 @@ func addOperationListUserGroupsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_ListUsers.go b/service/quicksight/api_op_ListUsers.go index ce2e93a1c26..e7715e49be3 100644 --- a/service/quicksight/api_op_ListUsers.go +++ b/service/quicksight/api_op_ListUsers.go @@ -95,7 +95,10 @@ func addOperationListUsersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_RegisterUser.go b/service/quicksight/api_op_RegisterUser.go index 8e2ab69f3a8..c6b47b82f8f 100644 --- a/service/quicksight/api_op_RegisterUser.go +++ b/service/quicksight/api_op_RegisterUser.go @@ -171,7 +171,10 @@ func addOperationRegisterUserMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_RestoreAnalysis.go b/service/quicksight/api_op_RestoreAnalysis.go index a1301f7778f..9d9236f2a6e 100644 --- a/service/quicksight/api_op_RestoreAnalysis.go +++ b/service/quicksight/api_op_RestoreAnalysis.go @@ -87,7 +87,10 @@ func addOperationRestoreAnalysisMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_SearchAnalyses.go b/service/quicksight/api_op_SearchAnalyses.go index 2bedca47d73..6d980cfc73b 100644 --- a/service/quicksight/api_op_SearchAnalyses.go +++ b/service/quicksight/api_op_SearchAnalyses.go @@ -95,7 +95,10 @@ func addOperationSearchAnalysesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_SearchDashboards.go b/service/quicksight/api_op_SearchDashboards.go index 1bb8884556f..cae424b97c1 100644 --- a/service/quicksight/api_op_SearchDashboards.go +++ b/service/quicksight/api_op_SearchDashboards.go @@ -99,7 +99,10 @@ func addOperationSearchDashboardsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_TagResource.go b/service/quicksight/api_op_TagResource.go index b7bdfb8c6b8..9f6bfb6c310 100644 --- a/service/quicksight/api_op_TagResource.go +++ b/service/quicksight/api_op_TagResource.go @@ -101,7 +101,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UntagResource.go b/service/quicksight/api_op_UntagResource.go index 2f0068c3ff6..113a8462a51 100644 --- a/service/quicksight/api_op_UntagResource.go +++ b/service/quicksight/api_op_UntagResource.go @@ -82,7 +82,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateAccountCustomization.go b/service/quicksight/api_op_UpdateAccountCustomization.go index f725b27e4ae..a2550b0aedf 100644 --- a/service/quicksight/api_op_UpdateAccountCustomization.go +++ b/service/quicksight/api_op_UpdateAccountCustomization.go @@ -105,7 +105,10 @@ func addOperationUpdateAccountCustomizationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateAccountSettings.go b/service/quicksight/api_op_UpdateAccountSettings.go index 7352bc6938d..2a649b1b99a 100644 --- a/service/quicksight/api_op_UpdateAccountSettings.go +++ b/service/quicksight/api_op_UpdateAccountSettings.go @@ -89,7 +89,10 @@ func addOperationUpdateAccountSettingsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateAnalysis.go b/service/quicksight/api_op_UpdateAnalysis.go index 43e35dddd89..8a65b3f3f3b 100644 --- a/service/quicksight/api_op_UpdateAnalysis.go +++ b/service/quicksight/api_op_UpdateAnalysis.go @@ -114,7 +114,10 @@ func addOperationUpdateAnalysisMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateAnalysisPermissions.go b/service/quicksight/api_op_UpdateAnalysisPermissions.go index 47618759fc2..40cda385993 100644 --- a/service/quicksight/api_op_UpdateAnalysisPermissions.go +++ b/service/quicksight/api_op_UpdateAnalysisPermissions.go @@ -102,7 +102,10 @@ func addOperationUpdateAnalysisPermissionsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateDashboard.go b/service/quicksight/api_op_UpdateDashboard.go index ba2835cf736..97cffe28eeb 100644 --- a/service/quicksight/api_op_UpdateDashboard.go +++ b/service/quicksight/api_op_UpdateDashboard.go @@ -144,7 +144,10 @@ func addOperationUpdateDashboardMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateDashboardPermissions.go b/service/quicksight/api_op_UpdateDashboardPermissions.go index ff48d6bca70..8f6ff516b32 100644 --- a/service/quicksight/api_op_UpdateDashboardPermissions.go +++ b/service/quicksight/api_op_UpdateDashboardPermissions.go @@ -98,7 +98,10 @@ func addOperationUpdateDashboardPermissionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateDashboardPublishedVersion.go b/service/quicksight/api_op_UpdateDashboardPublishedVersion.go index fc754aa5876..1b578d1810a 100644 --- a/service/quicksight/api_op_UpdateDashboardPublishedVersion.go +++ b/service/quicksight/api_op_UpdateDashboardPublishedVersion.go @@ -92,7 +92,10 @@ func addOperationUpdateDashboardPublishedVersionMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateDataSet.go b/service/quicksight/api_op_UpdateDataSet.go index b1f5249cea5..d34d98ae95f 100644 --- a/service/quicksight/api_op_UpdateDataSet.go +++ b/service/quicksight/api_op_UpdateDataSet.go @@ -127,7 +127,10 @@ func addOperationUpdateDataSetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateDataSetPermissions.go b/service/quicksight/api_op_UpdateDataSetPermissions.go index 5a8c13df7ba..2fbfe2cbe9c 100644 --- a/service/quicksight/api_op_UpdateDataSetPermissions.go +++ b/service/quicksight/api_op_UpdateDataSetPermissions.go @@ -97,7 +97,10 @@ func addOperationUpdateDataSetPermissionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateDataSource.go b/service/quicksight/api_op_UpdateDataSource.go index 27886346ecb..c5dee6fef7c 100644 --- a/service/quicksight/api_op_UpdateDataSource.go +++ b/service/quicksight/api_op_UpdateDataSource.go @@ -113,7 +113,10 @@ func addOperationUpdateDataSourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateDataSourcePermissions.go b/service/quicksight/api_op_UpdateDataSourcePermissions.go index a03f37c4d33..07e29c7291e 100644 --- a/service/quicksight/api_op_UpdateDataSourcePermissions.go +++ b/service/quicksight/api_op_UpdateDataSourcePermissions.go @@ -96,7 +96,10 @@ func addOperationUpdateDataSourcePermissionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateGroup.go b/service/quicksight/api_op_UpdateGroup.go index 4bcf21d19b3..cd1a8c3a20b 100644 --- a/service/quicksight/api_op_UpdateGroup.go +++ b/service/quicksight/api_op_UpdateGroup.go @@ -94,7 +94,10 @@ func addOperationUpdateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateIAMPolicyAssignment.go b/service/quicksight/api_op_UpdateIAMPolicyAssignment.go index ab88042626a..cc3831b1f91 100644 --- a/service/quicksight/api_op_UpdateIAMPolicyAssignment.go +++ b/service/quicksight/api_op_UpdateIAMPolicyAssignment.go @@ -136,7 +136,10 @@ func addOperationUpdateIAMPolicyAssignmentMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateTemplate.go b/service/quicksight/api_op_UpdateTemplate.go index cb6a8bb7247..5a2425bf37b 100644 --- a/service/quicksight/api_op_UpdateTemplate.go +++ b/service/quicksight/api_op_UpdateTemplate.go @@ -118,7 +118,10 @@ func addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateTemplateAlias.go b/service/quicksight/api_op_UpdateTemplateAlias.go index c17ac9464e6..b0188ad6d29 100644 --- a/service/quicksight/api_op_UpdateTemplateAlias.go +++ b/service/quicksight/api_op_UpdateTemplateAlias.go @@ -98,7 +98,10 @@ func addOperationUpdateTemplateAliasMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateTemplatePermissions.go b/service/quicksight/api_op_UpdateTemplatePermissions.go index db8ba6c0f02..96cdc4331bf 100644 --- a/service/quicksight/api_op_UpdateTemplatePermissions.go +++ b/service/quicksight/api_op_UpdateTemplatePermissions.go @@ -97,7 +97,10 @@ func addOperationUpdateTemplatePermissionsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateTheme.go b/service/quicksight/api_op_UpdateTheme.go index 5bde6a11e05..e499eb71fd5 100644 --- a/service/quicksight/api_op_UpdateTheme.go +++ b/service/quicksight/api_op_UpdateTheme.go @@ -111,7 +111,10 @@ func addOperationUpdateThemeMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateThemeAlias.go b/service/quicksight/api_op_UpdateThemeAlias.go index 5bb0849e2bf..abf44ed9647 100644 --- a/service/quicksight/api_op_UpdateThemeAlias.go +++ b/service/quicksight/api_op_UpdateThemeAlias.go @@ -95,7 +95,10 @@ func addOperationUpdateThemeAliasMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateThemePermissions.go b/service/quicksight/api_op_UpdateThemePermissions.go index 4596b7ea294..adc8e44f576 100644 --- a/service/quicksight/api_op_UpdateThemePermissions.go +++ b/service/quicksight/api_op_UpdateThemePermissions.go @@ -145,7 +145,10 @@ func addOperationUpdateThemePermissionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/quicksight/api_op_UpdateUser.go b/service/quicksight/api_op_UpdateUser.go index 4cf1cd6687b..c0c4ab96875 100644 --- a/service/quicksight/api_op_UpdateUser.go +++ b/service/quicksight/api_op_UpdateUser.go @@ -145,7 +145,10 @@ func addOperationUpdateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_AcceptResourceShareInvitation.go b/service/ram/api_op_AcceptResourceShareInvitation.go index deefd4b6871..cb9c9532a48 100644 --- a/service/ram/api_op_AcceptResourceShareInvitation.go +++ b/service/ram/api_op_AcceptResourceShareInvitation.go @@ -82,7 +82,10 @@ func addOperationAcceptResourceShareInvitationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_AssociateResourceShare.go b/service/ram/api_op_AssociateResourceShare.go index d5f3bd72d76..1297903863d 100644 --- a/service/ram/api_op_AssociateResourceShare.go +++ b/service/ram/api_op_AssociateResourceShare.go @@ -89,7 +89,10 @@ func addOperationAssociateResourceShareMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_AssociateResourceSharePermission.go b/service/ram/api_op_AssociateResourceSharePermission.go index ff9970b9e27..3f8543cb9be 100644 --- a/service/ram/api_op_AssociateResourceSharePermission.go +++ b/service/ram/api_op_AssociateResourceSharePermission.go @@ -91,7 +91,10 @@ func addOperationAssociateResourceSharePermissionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_CreateResourceShare.go b/service/ram/api_op_CreateResourceShare.go index 55bd38837d4..6a9063f09b6 100644 --- a/service/ram/api_op_CreateResourceShare.go +++ b/service/ram/api_op_CreateResourceShare.go @@ -102,7 +102,10 @@ func addOperationCreateResourceShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_DeleteResourceShare.go b/service/ram/api_op_DeleteResourceShare.go index 4c961f27589..e9133d0b68b 100644 --- a/service/ram/api_op_DeleteResourceShare.go +++ b/service/ram/api_op_DeleteResourceShare.go @@ -81,7 +81,10 @@ func addOperationDeleteResourceShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_DisassociateResourceShare.go b/service/ram/api_op_DisassociateResourceShare.go index 439e47a6628..9907820d90c 100644 --- a/service/ram/api_op_DisassociateResourceShare.go +++ b/service/ram/api_op_DisassociateResourceShare.go @@ -89,7 +89,10 @@ func addOperationDisassociateResourceShareMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_DisassociateResourceSharePermission.go b/service/ram/api_op_DisassociateResourceSharePermission.go index 00f609c50a6..4716ca15a2c 100644 --- a/service/ram/api_op_DisassociateResourceSharePermission.go +++ b/service/ram/api_op_DisassociateResourceSharePermission.go @@ -86,7 +86,10 @@ func addOperationDisassociateResourceSharePermissionMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_EnableSharingWithAwsOrganization.go b/service/ram/api_op_EnableSharingWithAwsOrganization.go index 1a3050bd650..98bae130d67 100644 --- a/service/ram/api_op_EnableSharingWithAwsOrganization.go +++ b/service/ram/api_op_EnableSharingWithAwsOrganization.go @@ -69,7 +69,10 @@ func addOperationEnableSharingWithAwsOrganizationMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_GetPermission.go b/service/ram/api_op_GetPermission.go index 4727b8fca84..5e1e37ff189 100644 --- a/service/ram/api_op_GetPermission.go +++ b/service/ram/api_op_GetPermission.go @@ -77,7 +77,10 @@ func addOperationGetPermissionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_GetResourcePolicies.go b/service/ram/api_op_GetResourcePolicies.go index 984b68c142e..451467b053e 100644 --- a/service/ram/api_op_GetResourcePolicies.go +++ b/service/ram/api_op_GetResourcePolicies.go @@ -88,7 +88,10 @@ func addOperationGetResourcePoliciesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_GetResourceShareAssociations.go b/service/ram/api_op_GetResourceShareAssociations.go index b34f03c69f8..4d26dbe9fd1 100644 --- a/service/ram/api_op_GetResourceShareAssociations.go +++ b/service/ram/api_op_GetResourceShareAssociations.go @@ -102,7 +102,10 @@ func addOperationGetResourceShareAssociationsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_GetResourceShareInvitations.go b/service/ram/api_op_GetResourceShareInvitations.go index 882265f8c1d..4ae8d627583 100644 --- a/service/ram/api_op_GetResourceShareInvitations.go +++ b/service/ram/api_op_GetResourceShareInvitations.go @@ -87,7 +87,10 @@ func addOperationGetResourceShareInvitationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_GetResourceShares.go b/service/ram/api_op_GetResourceShares.go index e1444bee8d2..a8166df9e73 100644 --- a/service/ram/api_op_GetResourceShares.go +++ b/service/ram/api_op_GetResourceShares.go @@ -99,7 +99,10 @@ func addOperationGetResourceSharesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_ListPendingInvitationResources.go b/service/ram/api_op_ListPendingInvitationResources.go index 9f6ae70110d..c949aa982f0 100644 --- a/service/ram/api_op_ListPendingInvitationResources.go +++ b/service/ram/api_op_ListPendingInvitationResources.go @@ -87,7 +87,10 @@ func addOperationListPendingInvitationResourcesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_ListPermissions.go b/service/ram/api_op_ListPermissions.go index 25d07bdf78a..b830a7c4177 100644 --- a/service/ram/api_op_ListPermissions.go +++ b/service/ram/api_op_ListPermissions.go @@ -84,7 +84,10 @@ func addOperationListPermissionsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_ListPrincipals.go b/service/ram/api_op_ListPrincipals.go index ff382c03594..4ea707270bc 100644 --- a/service/ram/api_op_ListPrincipals.go +++ b/service/ram/api_op_ListPrincipals.go @@ -104,7 +104,10 @@ func addOperationListPrincipalsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_ListResourceSharePermissions.go b/service/ram/api_op_ListResourceSharePermissions.go index 65096e998af..b0eb03f8a7a 100644 --- a/service/ram/api_op_ListResourceSharePermissions.go +++ b/service/ram/api_op_ListResourceSharePermissions.go @@ -85,7 +85,10 @@ func addOperationListResourceSharePermissionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_ListResourceTypes.go b/service/ram/api_op_ListResourceTypes.go index 5743aa3dd7c..d18acd4e177 100644 --- a/service/ram/api_op_ListResourceTypes.go +++ b/service/ram/api_op_ListResourceTypes.go @@ -80,7 +80,10 @@ func addOperationListResourceTypesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_ListResources.go b/service/ram/api_op_ListResources.go index 4dd2069845d..9de290f6fb7 100644 --- a/service/ram/api_op_ListResources.go +++ b/service/ram/api_op_ListResources.go @@ -104,7 +104,10 @@ func addOperationListResourcesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go b/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go index 4d0946ebdb8..7c14873e892 100644 --- a/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go +++ b/service/ram/api_op_PromoteResourceShareCreatedFromPolicy.go @@ -81,7 +81,10 @@ func addOperationPromoteResourceShareCreatedFromPolicyMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_RejectResourceShareInvitation.go b/service/ram/api_op_RejectResourceShareInvitation.go index 64bf7c7866f..cb87e06f7ff 100644 --- a/service/ram/api_op_RejectResourceShareInvitation.go +++ b/service/ram/api_op_RejectResourceShareInvitation.go @@ -82,7 +82,10 @@ func addOperationRejectResourceShareInvitationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_TagResource.go b/service/ram/api_op_TagResource.go index 305ffcc3727..bd85bad3be5 100644 --- a/service/ram/api_op_TagResource.go +++ b/service/ram/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_UntagResource.go b/service/ram/api_op_UntagResource.go index 5f81f243db5..30ab6d62ffa 100644 --- a/service/ram/api_op_UntagResource.go +++ b/service/ram/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ram/api_op_UpdateResourceShare.go b/service/ram/api_op_UpdateResourceShare.go index b36a69898e2..03f53aa4a99 100644 --- a/service/ram/api_op_UpdateResourceShare.go +++ b/service/ram/api_op_UpdateResourceShare.go @@ -89,7 +89,10 @@ func addOperationUpdateResourceShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_AddRoleToDBCluster.go b/service/rds/api_op_AddRoleToDBCluster.go index da9bfea5f22..ea6e7347060 100644 --- a/service/rds/api_op_AddRoleToDBCluster.go +++ b/service/rds/api_op_AddRoleToDBCluster.go @@ -83,7 +83,10 @@ func addOperationAddRoleToDBClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_AddRoleToDBInstance.go b/service/rds/api_op_AddRoleToDBInstance.go index 0625ea98d6c..119723cba21 100644 --- a/service/rds/api_op_AddRoleToDBInstance.go +++ b/service/rds/api_op_AddRoleToDBInstance.go @@ -82,7 +82,10 @@ func addOperationAddRoleToDBInstanceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_AddSourceIdentifierToSubscription.go b/service/rds/api_op_AddSourceIdentifierToSubscription.go index 7b03e78ea37..9c18e9c4a19 100644 --- a/service/rds/api_op_AddSourceIdentifierToSubscription.go +++ b/service/rds/api_op_AddSourceIdentifierToSubscription.go @@ -101,7 +101,10 @@ func addOperationAddSourceIdentifierToSubscriptionMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_AddTagsToResource.go b/service/rds/api_op_AddTagsToResource.go index 73b0fe3e004..1ff57eebbee 100644 --- a/service/rds/api_op_AddTagsToResource.go +++ b/service/rds/api_op_AddTagsToResource.go @@ -83,7 +83,10 @@ func addOperationAddTagsToResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ApplyPendingMaintenanceAction.go b/service/rds/api_op_ApplyPendingMaintenanceAction.go index 98c516e45a9..3de20462cf1 100644 --- a/service/rds/api_op_ApplyPendingMaintenanceAction.go +++ b/service/rds/api_op_ApplyPendingMaintenanceAction.go @@ -100,7 +100,10 @@ func addOperationApplyPendingMaintenanceActionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go b/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go index 0b0122c5357..18d66517b0b 100644 --- a/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go +++ b/service/rds/api_op_AuthorizeDBSecurityGroupIngress.go @@ -107,7 +107,10 @@ func addOperationAuthorizeDBSecurityGroupIngressMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_BacktrackDBCluster.go b/service/rds/api_op_BacktrackDBCluster.go index f44bd19662b..1c0a18eb264 100644 --- a/service/rds/api_op_BacktrackDBCluster.go +++ b/service/rds/api_op_BacktrackDBCluster.go @@ -149,7 +149,10 @@ func addOperationBacktrackDBClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CancelExportTask.go b/service/rds/api_op_CancelExportTask.go index 219b52ee1f2..6a8e7a29cdc 100644 --- a/service/rds/api_op_CancelExportTask.go +++ b/service/rds/api_op_CancelExportTask.go @@ -141,7 +141,10 @@ func addOperationCancelExportTaskMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CopyDBClusterParameterGroup.go b/service/rds/api_op_CopyDBClusterParameterGroup.go index 8b17657ef0e..d489dc2a98a 100644 --- a/service/rds/api_op_CopyDBClusterParameterGroup.go +++ b/service/rds/api_op_CopyDBClusterParameterGroup.go @@ -120,7 +120,10 @@ func addOperationCopyDBClusterParameterGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CopyDBClusterSnapshot.go b/service/rds/api_op_CopyDBClusterSnapshot.go index 539be5e74c8..ab57d69f468 100644 --- a/service/rds/api_op_CopyDBClusterSnapshot.go +++ b/service/rds/api_op_CopyDBClusterSnapshot.go @@ -252,7 +252,10 @@ func addOperationCopyDBClusterSnapshotMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CopyDBParameterGroup.go b/service/rds/api_op_CopyDBParameterGroup.go index 28149692b36..250b01e4f14 100644 --- a/service/rds/api_op_CopyDBParameterGroup.go +++ b/service/rds/api_op_CopyDBParameterGroup.go @@ -113,7 +113,10 @@ func addOperationCopyDBParameterGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CopyDBSnapshot.go b/service/rds/api_op_CopyDBSnapshot.go index baca14807a5..8355803cd8e 100644 --- a/service/rds/api_op_CopyDBSnapshot.go +++ b/service/rds/api_op_CopyDBSnapshot.go @@ -208,7 +208,10 @@ func addOperationCopyDBSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CopyOptionGroup.go b/service/rds/api_op_CopyOptionGroup.go index 4103e2dea50..630c7e5eea1 100644 --- a/service/rds/api_op_CopyOptionGroup.go +++ b/service/rds/api_op_CopyOptionGroup.go @@ -106,7 +106,10 @@ func addOperationCopyOptionGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateCustomAvailabilityZone.go b/service/rds/api_op_CreateCustomAvailabilityZone.go index 02545ca4bcf..576befbd41d 100644 --- a/service/rds/api_op_CreateCustomAvailabilityZone.go +++ b/service/rds/api_op_CreateCustomAvailabilityZone.go @@ -94,7 +94,10 @@ func addOperationCreateCustomAvailabilityZoneMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBCluster.go b/service/rds/api_op_CreateDBCluster.go index e485fbb4d85..ac8cfa37e2c 100644 --- a/service/rds/api_op_CreateDBCluster.go +++ b/service/rds/api_op_CreateDBCluster.go @@ -386,7 +386,10 @@ func addOperationCreateDBClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBClusterEndpoint.go b/service/rds/api_op_CreateDBClusterEndpoint.go index a55db5ad569..e11eff17789 100644 --- a/service/rds/api_op_CreateDBClusterEndpoint.go +++ b/service/rds/api_op_CreateDBClusterEndpoint.go @@ -148,7 +148,10 @@ func addOperationCreateDBClusterEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBClusterParameterGroup.go b/service/rds/api_op_CreateDBClusterParameterGroup.go index c6e944e7d83..ef017a6fd68 100644 --- a/service/rds/api_op_CreateDBClusterParameterGroup.go +++ b/service/rds/api_op_CreateDBClusterParameterGroup.go @@ -123,7 +123,10 @@ func addOperationCreateDBClusterParameterGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBClusterSnapshot.go b/service/rds/api_op_CreateDBClusterSnapshot.go index 2a4a28babe3..9577ad71e7e 100644 --- a/service/rds/api_op_CreateDBClusterSnapshot.go +++ b/service/rds/api_op_CreateDBClusterSnapshot.go @@ -104,7 +104,10 @@ func addOperationCreateDBClusterSnapshotMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBInstance.go b/service/rds/api_op_CreateDBInstance.go index 5252ef0e0c9..e2904a997d5 100644 --- a/service/rds/api_op_CreateDBInstance.go +++ b/service/rds/api_op_CreateDBInstance.go @@ -675,7 +675,10 @@ func addOperationCreateDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBInstanceReadReplica.go b/service/rds/api_op_CreateDBInstanceReadReplica.go index 1e6b283419f..228623c01f8 100644 --- a/service/rds/api_op_CreateDBInstanceReadReplica.go +++ b/service/rds/api_op_CreateDBInstanceReadReplica.go @@ -401,7 +401,10 @@ func addOperationCreateDBInstanceReadReplicaMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBParameterGroup.go b/service/rds/api_op_CreateDBParameterGroup.go index 9dfe3d0af6c..e3c77de0550 100644 --- a/service/rds/api_op_CreateDBParameterGroup.go +++ b/service/rds/api_op_CreateDBParameterGroup.go @@ -121,7 +121,10 @@ func addOperationCreateDBParameterGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBProxy.go b/service/rds/api_op_CreateDBProxy.go index 0798395e6c6..3d0691e08b6 100644 --- a/service/rds/api_op_CreateDBProxy.go +++ b/service/rds/api_op_CreateDBProxy.go @@ -127,7 +127,10 @@ func addOperationCreateDBProxyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBSecurityGroup.go b/service/rds/api_op_CreateDBSecurityGroup.go index 7733f29f3dd..ea159e008c9 100644 --- a/service/rds/api_op_CreateDBSecurityGroup.go +++ b/service/rds/api_op_CreateDBSecurityGroup.go @@ -99,7 +99,10 @@ func addOperationCreateDBSecurityGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBSnapshot.go b/service/rds/api_op_CreateDBSnapshot.go index 5703beb0cef..5014ab113cc 100644 --- a/service/rds/api_op_CreateDBSnapshot.go +++ b/service/rds/api_op_CreateDBSnapshot.go @@ -103,7 +103,10 @@ func addOperationCreateDBSnapshotMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateDBSubnetGroup.go b/service/rds/api_op_CreateDBSubnetGroup.go index 771aa76b061..8d187295d65 100644 --- a/service/rds/api_op_CreateDBSubnetGroup.go +++ b/service/rds/api_op_CreateDBSubnetGroup.go @@ -92,7 +92,10 @@ func addOperationCreateDBSubnetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateEventSubscription.go b/service/rds/api_op_CreateEventSubscription.go index 6b8bf3a540c..e1ec8aae02a 100644 --- a/service/rds/api_op_CreateEventSubscription.go +++ b/service/rds/api_op_CreateEventSubscription.go @@ -152,7 +152,10 @@ func addOperationCreateEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateGlobalCluster.go b/service/rds/api_op_CreateGlobalCluster.go index 8471d45b3cb..4f6158c5101 100644 --- a/service/rds/api_op_CreateGlobalCluster.go +++ b/service/rds/api_op_CreateGlobalCluster.go @@ -101,7 +101,10 @@ func addOperationCreateGlobalClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_CreateOptionGroup.go b/service/rds/api_op_CreateOptionGroup.go index d3222798f4c..c61c0efc7b2 100644 --- a/service/rds/api_op_CreateOptionGroup.go +++ b/service/rds/api_op_CreateOptionGroup.go @@ -105,7 +105,10 @@ func addOperationCreateOptionGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteCustomAvailabilityZone.go b/service/rds/api_op_DeleteCustomAvailabilityZone.go index 9c6696cc530..97d039a56df 100644 --- a/service/rds/api_op_DeleteCustomAvailabilityZone.go +++ b/service/rds/api_op_DeleteCustomAvailabilityZone.go @@ -80,7 +80,10 @@ func addOperationDeleteCustomAvailabilityZoneMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBCluster.go b/service/rds/api_op_DeleteDBCluster.go index edd1f040449..baac7319862 100644 --- a/service/rds/api_op_DeleteDBCluster.go +++ b/service/rds/api_op_DeleteDBCluster.go @@ -107,7 +107,10 @@ func addOperationDeleteDBClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBClusterEndpoint.go b/service/rds/api_op_DeleteDBClusterEndpoint.go index fdc54600158..2d0065805ed 100644 --- a/service/rds/api_op_DeleteDBClusterEndpoint.go +++ b/service/rds/api_op_DeleteDBClusterEndpoint.go @@ -125,7 +125,10 @@ func addOperationDeleteDBClusterEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBClusterParameterGroup.go b/service/rds/api_op_DeleteDBClusterParameterGroup.go index 3e19e84f922..945948c0a82 100644 --- a/service/rds/api_op_DeleteDBClusterParameterGroup.go +++ b/service/rds/api_op_DeleteDBClusterParameterGroup.go @@ -82,7 +82,10 @@ func addOperationDeleteDBClusterParameterGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBClusterSnapshot.go b/service/rds/api_op_DeleteDBClusterSnapshot.go index 9f1daf3dbd2..4dd5a71995f 100644 --- a/service/rds/api_op_DeleteDBClusterSnapshot.go +++ b/service/rds/api_op_DeleteDBClusterSnapshot.go @@ -82,7 +82,10 @@ func addOperationDeleteDBClusterSnapshotMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBInstance.go b/service/rds/api_op_DeleteDBInstance.go index 5adc212f54e..fcaf3fd4665 100644 --- a/service/rds/api_op_DeleteDBInstance.go +++ b/service/rds/api_op_DeleteDBInstance.go @@ -133,7 +133,10 @@ func addOperationDeleteDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go b/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go index 6d59f4f6f0f..718081726d5 100644 --- a/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go +++ b/service/rds/api_op_DeleteDBInstanceAutomatedBackup.go @@ -81,7 +81,10 @@ func addOperationDeleteDBInstanceAutomatedBackupMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBParameterGroup.go b/service/rds/api_op_DeleteDBParameterGroup.go index 4e5a4526275..5dd266aae51 100644 --- a/service/rds/api_op_DeleteDBParameterGroup.go +++ b/service/rds/api_op_DeleteDBParameterGroup.go @@ -79,7 +79,10 @@ func addOperationDeleteDBParameterGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBProxy.go b/service/rds/api_op_DeleteDBProxy.go index 0c854785dfe..d8e16164d4d 100644 --- a/service/rds/api_op_DeleteDBProxy.go +++ b/service/rds/api_op_DeleteDBProxy.go @@ -74,7 +74,10 @@ func addOperationDeleteDBProxyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBSecurityGroup.go b/service/rds/api_op_DeleteDBSecurityGroup.go index 79995c4e5e7..c1fdb842708 100644 --- a/service/rds/api_op_DeleteDBSecurityGroup.go +++ b/service/rds/api_op_DeleteDBSecurityGroup.go @@ -82,7 +82,10 @@ func addOperationDeleteDBSecurityGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBSnapshot.go b/service/rds/api_op_DeleteDBSnapshot.go index 837e4ed4c6f..cc19a8f985f 100644 --- a/service/rds/api_op_DeleteDBSnapshot.go +++ b/service/rds/api_op_DeleteDBSnapshot.go @@ -78,7 +78,10 @@ func addOperationDeleteDBSnapshotMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteDBSubnetGroup.go b/service/rds/api_op_DeleteDBSubnetGroup.go index ce673451748..6a8179841a0 100644 --- a/service/rds/api_op_DeleteDBSubnetGroup.go +++ b/service/rds/api_op_DeleteDBSubnetGroup.go @@ -73,7 +73,10 @@ func addOperationDeleteDBSubnetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteEventSubscription.go b/service/rds/api_op_DeleteEventSubscription.go index cb898789c64..d0a36bf5bfa 100644 --- a/service/rds/api_op_DeleteEventSubscription.go +++ b/service/rds/api_op_DeleteEventSubscription.go @@ -76,7 +76,10 @@ func addOperationDeleteEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteGlobalCluster.go b/service/rds/api_op_DeleteGlobalCluster.go index 5e1cc26fd4e..e2f7d9662ca 100644 --- a/service/rds/api_op_DeleteGlobalCluster.go +++ b/service/rds/api_op_DeleteGlobalCluster.go @@ -76,7 +76,10 @@ func addOperationDeleteGlobalClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteInstallationMedia.go b/service/rds/api_op_DeleteInstallationMedia.go index 1ede8012bed..ce17c5bd33f 100644 --- a/service/rds/api_op_DeleteInstallationMedia.go +++ b/service/rds/api_op_DeleteInstallationMedia.go @@ -99,7 +99,10 @@ func addOperationDeleteInstallationMediaMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeleteOptionGroup.go b/service/rds/api_op_DeleteOptionGroup.go index feac03f36b4..25bad55a80a 100644 --- a/service/rds/api_op_DeleteOptionGroup.go +++ b/service/rds/api_op_DeleteOptionGroup.go @@ -71,7 +71,10 @@ func addOperationDeleteOptionGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DeregisterDBProxyTargets.go b/service/rds/api_op_DeregisterDBProxyTargets.go index 48d3efadcac..a76a0d0ac7f 100644 --- a/service/rds/api_op_DeregisterDBProxyTargets.go +++ b/service/rds/api_op_DeregisterDBProxyTargets.go @@ -79,7 +79,10 @@ func addOperationDeregisterDBProxyTargetsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeAccountAttributes.go b/service/rds/api_op_DescribeAccountAttributes.go index f7ee7e399f4..c2151f56f6b 100644 --- a/service/rds/api_op_DescribeAccountAttributes.go +++ b/service/rds/api_op_DescribeAccountAttributes.go @@ -75,7 +75,10 @@ func addOperationDescribeAccountAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeCertificates.go b/service/rds/api_op_DescribeCertificates.go index c761b0208ee..aefefe1ba36 100644 --- a/service/rds/api_op_DescribeCertificates.go +++ b/service/rds/api_op_DescribeCertificates.go @@ -99,7 +99,10 @@ func addOperationDescribeCertificatesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeCustomAvailabilityZones.go b/service/rds/api_op_DescribeCustomAvailabilityZones.go index 11e958bc49e..6051d2aedbf 100644 --- a/service/rds/api_op_DescribeCustomAvailabilityZones.go +++ b/service/rds/api_op_DescribeCustomAvailabilityZones.go @@ -98,7 +98,10 @@ func addOperationDescribeCustomAvailabilityZonesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBClusterBacktracks.go b/service/rds/api_op_DescribeDBClusterBacktracks.go index bc488da3095..e52846b4a15 100644 --- a/service/rds/api_op_DescribeDBClusterBacktracks.go +++ b/service/rds/api_op_DescribeDBClusterBacktracks.go @@ -143,7 +143,10 @@ func addOperationDescribeDBClusterBacktracksMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBClusterEndpoints.go b/service/rds/api_op_DescribeDBClusterEndpoints.go index dd96e4ac42a..fa5535a5ddd 100644 --- a/service/rds/api_op_DescribeDBClusterEndpoints.go +++ b/service/rds/api_op_DescribeDBClusterEndpoints.go @@ -107,7 +107,10 @@ func addOperationDescribeDBClusterEndpointsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBClusterParameterGroups.go b/service/rds/api_op_DescribeDBClusterParameterGroups.go index e50ef5a5507..a4b55636514 100644 --- a/service/rds/api_op_DescribeDBClusterParameterGroups.go +++ b/service/rds/api_op_DescribeDBClusterParameterGroups.go @@ -105,7 +105,10 @@ func addOperationDescribeDBClusterParameterGroupsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBClusterParameters.go b/service/rds/api_op_DescribeDBClusterParameters.go index 29ec2106fb7..c69566cc939 100644 --- a/service/rds/api_op_DescribeDBClusterParameters.go +++ b/service/rds/api_op_DescribeDBClusterParameters.go @@ -108,7 +108,10 @@ func addOperationDescribeDBClusterParametersMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go b/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go index c2b58be9dd5..aa2e8c3053e 100644 --- a/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go +++ b/service/rds/api_op_DescribeDBClusterSnapshotAttributes.go @@ -88,7 +88,10 @@ func addOperationDescribeDBClusterSnapshotAttributesMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBClusterSnapshots.go b/service/rds/api_op_DescribeDBClusterSnapshots.go index 3816233c8fb..31feba2ce10 100644 --- a/service/rds/api_op_DescribeDBClusterSnapshots.go +++ b/service/rds/api_op_DescribeDBClusterSnapshots.go @@ -171,7 +171,10 @@ func addOperationDescribeDBClusterSnapshotsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBClusters.go b/service/rds/api_op_DescribeDBClusters.go index c5d43085863..9165dfabdcc 100644 --- a/service/rds/api_op_DescribeDBClusters.go +++ b/service/rds/api_op_DescribeDBClusters.go @@ -110,7 +110,10 @@ func addOperationDescribeDBClustersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBEngineVersions.go b/service/rds/api_op_DescribeDBEngineVersions.go index 74f5149f7b3..6b729c9e1ad 100644 --- a/service/rds/api_op_DescribeDBEngineVersions.go +++ b/service/rds/api_op_DescribeDBEngineVersions.go @@ -123,7 +123,10 @@ func addOperationDescribeDBEngineVersionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go b/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go index f8c6a5c265f..df59f8b9da1 100644 --- a/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go +++ b/service/rds/api_op_DescribeDBInstanceAutomatedBackups.go @@ -133,7 +133,10 @@ func addOperationDescribeDBInstanceAutomatedBackupsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBInstances.go b/service/rds/api_op_DescribeDBInstances.go index e2a3499f2ec..f8fb61ebd15 100644 --- a/service/rds/api_op_DescribeDBInstances.go +++ b/service/rds/api_op_DescribeDBInstances.go @@ -128,7 +128,10 @@ func addOperationDescribeDBInstancesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBLogFiles.go b/service/rds/api_op_DescribeDBLogFiles.go index c79c844289a..e3b63c2203d 100644 --- a/service/rds/api_op_DescribeDBLogFiles.go +++ b/service/rds/api_op_DescribeDBLogFiles.go @@ -108,7 +108,10 @@ func addOperationDescribeDBLogFilesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBParameterGroups.go b/service/rds/api_op_DescribeDBParameterGroups.go index 3a247a8a254..a267bc4c48a 100644 --- a/service/rds/api_op_DescribeDBParameterGroups.go +++ b/service/rds/api_op_DescribeDBParameterGroups.go @@ -100,7 +100,10 @@ func addOperationDescribeDBParameterGroupsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBParameters.go b/service/rds/api_op_DescribeDBParameters.go index 9527ab3fcb5..f06022f9115 100644 --- a/service/rds/api_op_DescribeDBParameters.go +++ b/service/rds/api_op_DescribeDBParameters.go @@ -103,7 +103,10 @@ func addOperationDescribeDBParametersMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBProxies.go b/service/rds/api_op_DescribeDBProxies.go index 27fbdeb8ec4..7f8b58adbd2 100644 --- a/service/rds/api_op_DescribeDBProxies.go +++ b/service/rds/api_op_DescribeDBProxies.go @@ -92,7 +92,10 @@ func addOperationDescribeDBProxiesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBProxyTargetGroups.go b/service/rds/api_op_DescribeDBProxyTargetGroups.go index 0d63dc48831..f7d478912dd 100644 --- a/service/rds/api_op_DescribeDBProxyTargetGroups.go +++ b/service/rds/api_op_DescribeDBProxyTargetGroups.go @@ -99,7 +99,10 @@ func addOperationDescribeDBProxyTargetGroupsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBProxyTargets.go b/service/rds/api_op_DescribeDBProxyTargets.go index 2c80ea869dd..823bbbd0067 100644 --- a/service/rds/api_op_DescribeDBProxyTargets.go +++ b/service/rds/api_op_DescribeDBProxyTargets.go @@ -98,7 +98,10 @@ func addOperationDescribeDBProxyTargetsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBSecurityGroups.go b/service/rds/api_op_DescribeDBSecurityGroups.go index 8101f51aec5..1727b33295c 100644 --- a/service/rds/api_op_DescribeDBSecurityGroups.go +++ b/service/rds/api_op_DescribeDBSecurityGroups.go @@ -97,7 +97,10 @@ func addOperationDescribeDBSecurityGroupsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBSnapshotAttributes.go b/service/rds/api_op_DescribeDBSnapshotAttributes.go index ba99d963289..fb3b0e138d4 100644 --- a/service/rds/api_op_DescribeDBSnapshotAttributes.go +++ b/service/rds/api_op_DescribeDBSnapshotAttributes.go @@ -86,7 +86,10 @@ func addOperationDescribeDBSnapshotAttributesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBSnapshots.go b/service/rds/api_op_DescribeDBSnapshots.go index 8fe3dc3d692..871d6fd63d7 100644 --- a/service/rds/api_op_DescribeDBSnapshots.go +++ b/service/rds/api_op_DescribeDBSnapshots.go @@ -178,7 +178,10 @@ func addOperationDescribeDBSnapshotsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeDBSubnetGroups.go b/service/rds/api_op_DescribeDBSubnetGroups.go index 5a445c2e5e0..12ab364782f 100644 --- a/service/rds/api_op_DescribeDBSubnetGroups.go +++ b/service/rds/api_op_DescribeDBSubnetGroups.go @@ -98,7 +98,10 @@ func addOperationDescribeDBSubnetGroupsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeEngineDefaultClusterParameters.go b/service/rds/api_op_DescribeEngineDefaultClusterParameters.go index 546e62da7c5..418bc768fdf 100644 --- a/service/rds/api_op_DescribeEngineDefaultClusterParameters.go +++ b/service/rds/api_op_DescribeEngineDefaultClusterParameters.go @@ -96,7 +96,10 @@ func addOperationDescribeEngineDefaultClusterParametersMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeEngineDefaultParameters.go b/service/rds/api_op_DescribeEngineDefaultParameters.go index f0e36c37015..c5310ddfcb3 100644 --- a/service/rds/api_op_DescribeEngineDefaultParameters.go +++ b/service/rds/api_op_DescribeEngineDefaultParameters.go @@ -93,7 +93,10 @@ func addOperationDescribeEngineDefaultParametersMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeEventCategories.go b/service/rds/api_op_DescribeEventCategories.go index 41c2adf52ce..2c585127900 100644 --- a/service/rds/api_op_DescribeEventCategories.go +++ b/service/rds/api_op_DescribeEventCategories.go @@ -83,7 +83,10 @@ func addOperationDescribeEventCategoriesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeEventSubscriptions.go b/service/rds/api_op_DescribeEventSubscriptions.go index fb6a053c783..91c414493f1 100644 --- a/service/rds/api_op_DescribeEventSubscriptions.go +++ b/service/rds/api_op_DescribeEventSubscriptions.go @@ -99,7 +99,10 @@ func addOperationDescribeEventSubscriptionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeEvents.go b/service/rds/api_op_DescribeEvents.go index 79a03d6ba41..65a2e398c64 100644 --- a/service/rds/api_op_DescribeEvents.go +++ b/service/rds/api_op_DescribeEvents.go @@ -147,7 +147,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeExportTasks.go b/service/rds/api_op_DescribeExportTasks.go index 02c6b2d321f..18527971a4c 100644 --- a/service/rds/api_op_DescribeExportTasks.go +++ b/service/rds/api_op_DescribeExportTasks.go @@ -111,7 +111,10 @@ func addOperationDescribeExportTasksMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeGlobalClusters.go b/service/rds/api_op_DescribeGlobalClusters.go index 63f729dc49b..42f02211f7c 100644 --- a/service/rds/api_op_DescribeGlobalClusters.go +++ b/service/rds/api_op_DescribeGlobalClusters.go @@ -105,7 +105,10 @@ func addOperationDescribeGlobalClustersMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeInstallationMedia.go b/service/rds/api_op_DescribeInstallationMedia.go index 6ccbb46265a..261d3a23ff1 100644 --- a/service/rds/api_op_DescribeInstallationMedia.go +++ b/service/rds/api_op_DescribeInstallationMedia.go @@ -102,7 +102,10 @@ func addOperationDescribeInstallationMediaMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeOptionGroupOptions.go b/service/rds/api_op_DescribeOptionGroupOptions.go index db4ef00152d..02b26b7dbd9 100644 --- a/service/rds/api_op_DescribeOptionGroupOptions.go +++ b/service/rds/api_op_DescribeOptionGroupOptions.go @@ -100,7 +100,10 @@ func addOperationDescribeOptionGroupOptionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeOptionGroups.go b/service/rds/api_op_DescribeOptionGroups.go index a4698064dc9..c1196755377 100644 --- a/service/rds/api_op_DescribeOptionGroups.go +++ b/service/rds/api_op_DescribeOptionGroups.go @@ -104,7 +104,10 @@ func addOperationDescribeOptionGroupsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeOrderableDBInstanceOptions.go b/service/rds/api_op_DescribeOrderableDBInstanceOptions.go index 3fad64d2d8b..78c7538ca1e 100644 --- a/service/rds/api_op_DescribeOrderableDBInstanceOptions.go +++ b/service/rds/api_op_DescribeOrderableDBInstanceOptions.go @@ -119,7 +119,10 @@ func addOperationDescribeOrderableDBInstanceOptionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribePendingMaintenanceActions.go b/service/rds/api_op_DescribePendingMaintenanceActions.go index 9153f07c641..00acfcbd89f 100644 --- a/service/rds/api_op_DescribePendingMaintenanceActions.go +++ b/service/rds/api_op_DescribePendingMaintenanceActions.go @@ -107,7 +107,10 @@ func addOperationDescribePendingMaintenanceActionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeReservedDBInstances.go b/service/rds/api_op_DescribeReservedDBInstances.go index 306e9c907a9..19cc38bb01e 100644 --- a/service/rds/api_op_DescribeReservedDBInstances.go +++ b/service/rds/api_op_DescribeReservedDBInstances.go @@ -128,7 +128,10 @@ func addOperationDescribeReservedDBInstancesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeReservedDBInstancesOfferings.go b/service/rds/api_op_DescribeReservedDBInstancesOfferings.go index 7245598ebf6..effac0e4863 100644 --- a/service/rds/api_op_DescribeReservedDBInstancesOfferings.go +++ b/service/rds/api_op_DescribeReservedDBInstancesOfferings.go @@ -120,7 +120,10 @@ func addOperationDescribeReservedDBInstancesOfferingsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeSourceRegions.go b/service/rds/api_op_DescribeSourceRegions.go index bbc6031b3ab..26f57eb2e34 100644 --- a/service/rds/api_op_DescribeSourceRegions.go +++ b/service/rds/api_op_DescribeSourceRegions.go @@ -101,7 +101,10 @@ func addOperationDescribeSourceRegionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DescribeValidDBInstanceModifications.go b/service/rds/api_op_DescribeValidDBInstanceModifications.go index eb10deb596a..23b7d61c190 100644 --- a/service/rds/api_op_DescribeValidDBInstanceModifications.go +++ b/service/rds/api_op_DescribeValidDBInstanceModifications.go @@ -80,7 +80,10 @@ func addOperationDescribeValidDBInstanceModificationsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_DownloadDBLogFilePortion.go b/service/rds/api_op_DownloadDBLogFilePortion.go index 3f27067ea83..616e1fd841d 100644 --- a/service/rds/api_op_DownloadDBLogFilePortion.go +++ b/service/rds/api_op_DownloadDBLogFilePortion.go @@ -121,7 +121,10 @@ func addOperationDownloadDBLogFilePortionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_FailoverDBCluster.go b/service/rds/api_op_FailoverDBCluster.go index e6401797209..546f8c07ff1 100644 --- a/service/rds/api_op_FailoverDBCluster.go +++ b/service/rds/api_op_FailoverDBCluster.go @@ -96,7 +96,10 @@ func addOperationFailoverDBClusterMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ImportInstallationMedia.go b/service/rds/api_op_ImportInstallationMedia.go index ac9c10389ea..328fa745af4 100644 --- a/service/rds/api_op_ImportInstallationMedia.go +++ b/service/rds/api_op_ImportInstallationMedia.go @@ -140,7 +140,10 @@ func addOperationImportInstallationMediaMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ListTagsForResource.go b/service/rds/api_op_ListTagsForResource.go index a593abad32c..d18ffc4c676 100644 --- a/service/rds/api_op_ListTagsForResource.go +++ b/service/rds/api_op_ListTagsForResource.go @@ -86,7 +86,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyCertificates.go b/service/rds/api_op_ModifyCertificates.go index 4315c0b6b05..33a1d7a91bc 100644 --- a/service/rds/api_op_ModifyCertificates.go +++ b/service/rds/api_op_ModifyCertificates.go @@ -104,7 +104,10 @@ func addOperationModifyCertificatesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyCurrentDBClusterCapacity.go b/service/rds/api_op_ModifyCurrentDBClusterCapacity.go index 1348bcfb16f..11f0b23d00d 100644 --- a/service/rds/api_op_ModifyCurrentDBClusterCapacity.go +++ b/service/rds/api_op_ModifyCurrentDBClusterCapacity.go @@ -130,7 +130,10 @@ func addOperationModifyCurrentDBClusterCapacityMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBCluster.go b/service/rds/api_op_ModifyDBCluster.go index 322cb47742e..e3ed06249d1 100644 --- a/service/rds/api_op_ModifyDBCluster.go +++ b/service/rds/api_op_ModifyDBCluster.go @@ -266,7 +266,10 @@ func addOperationModifyDBClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBClusterEndpoint.go b/service/rds/api_op_ModifyDBClusterEndpoint.go index c08d8b8b31c..7d70a4b2b3b 100644 --- a/service/rds/api_op_ModifyDBClusterEndpoint.go +++ b/service/rds/api_op_ModifyDBClusterEndpoint.go @@ -136,7 +136,10 @@ func addOperationModifyDBClusterEndpointMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBClusterParameterGroup.go b/service/rds/api_op_ModifyDBClusterParameterGroup.go index 79a5baf4843..5e622d73043 100644 --- a/service/rds/api_op_ModifyDBClusterParameterGroup.go +++ b/service/rds/api_op_ModifyDBClusterParameterGroup.go @@ -114,7 +114,10 @@ func addOperationModifyDBClusterParameterGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go b/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go index 1cee8f06426..d46f6f930ee 100644 --- a/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go +++ b/service/rds/api_op_ModifyDBClusterSnapshotAttribute.go @@ -119,7 +119,10 @@ func addOperationModifyDBClusterSnapshotAttributeMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBInstance.go b/service/rds/api_op_ModifyDBInstance.go index 4ae75e815bf..fa541d939e7 100644 --- a/service/rds/api_op_ModifyDBInstance.go +++ b/service/rds/api_op_ModifyDBInstance.go @@ -504,7 +504,10 @@ func addOperationModifyDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBParameterGroup.go b/service/rds/api_op_ModifyDBParameterGroup.go index 1293fbec17d..84c245ea757 100644 --- a/service/rds/api_op_ModifyDBParameterGroup.go +++ b/service/rds/api_op_ModifyDBParameterGroup.go @@ -106,7 +106,10 @@ func addOperationModifyDBParameterGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBProxy.go b/service/rds/api_op_ModifyDBProxy.go index d9459d1553c..3adaa2d506b 100644 --- a/service/rds/api_op_ModifyDBProxy.go +++ b/service/rds/api_op_ModifyDBProxy.go @@ -108,7 +108,10 @@ func addOperationModifyDBProxyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBProxyTargetGroup.go b/service/rds/api_op_ModifyDBProxyTargetGroup.go index cddcd3a3e38..5f9af23d28a 100644 --- a/service/rds/api_op_ModifyDBProxyTargetGroup.go +++ b/service/rds/api_op_ModifyDBProxyTargetGroup.go @@ -88,7 +88,10 @@ func addOperationModifyDBProxyTargetGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBSnapshot.go b/service/rds/api_op_ModifyDBSnapshot.go index 3bbcb012e18..de867bf00dc 100644 --- a/service/rds/api_op_ModifyDBSnapshot.go +++ b/service/rds/api_op_ModifyDBSnapshot.go @@ -107,7 +107,10 @@ func addOperationModifyDBSnapshotMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBSnapshotAttribute.go b/service/rds/api_op_ModifyDBSnapshotAttribute.go index 1024273966e..799b4fb90c7 100644 --- a/service/rds/api_op_ModifyDBSnapshotAttribute.go +++ b/service/rds/api_op_ModifyDBSnapshotAttribute.go @@ -115,7 +115,10 @@ func addOperationModifyDBSnapshotAttributeMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyDBSubnetGroup.go b/service/rds/api_op_ModifyDBSubnetGroup.go index 87990fca30d..a1ac0e5d7ef 100644 --- a/service/rds/api_op_ModifyDBSubnetGroup.go +++ b/service/rds/api_op_ModifyDBSubnetGroup.go @@ -87,7 +87,10 @@ func addOperationModifyDBSubnetGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyEventSubscription.go b/service/rds/api_op_ModifyEventSubscription.go index 9df9674e023..73d165d8a4d 100644 --- a/service/rds/api_op_ModifyEventSubscription.go +++ b/service/rds/api_op_ModifyEventSubscription.go @@ -102,7 +102,10 @@ func addOperationModifyEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyGlobalCluster.go b/service/rds/api_op_ModifyGlobalCluster.go index 51401a83f12..335b3d79902 100644 --- a/service/rds/api_op_ModifyGlobalCluster.go +++ b/service/rds/api_op_ModifyGlobalCluster.go @@ -100,7 +100,10 @@ func addOperationModifyGlobalClusterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ModifyOptionGroup.go b/service/rds/api_op_ModifyOptionGroup.go index dc6bb8a895e..02fe56fe162 100644 --- a/service/rds/api_op_ModifyOptionGroup.go +++ b/service/rds/api_op_ModifyOptionGroup.go @@ -89,7 +89,10 @@ func addOperationModifyOptionGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_PromoteReadReplica.go b/service/rds/api_op_PromoteReadReplica.go index 87833cb8a30..7fe04ea3f3c 100644 --- a/service/rds/api_op_PromoteReadReplica.go +++ b/service/rds/api_op_PromoteReadReplica.go @@ -123,7 +123,10 @@ func addOperationPromoteReadReplicaMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_PromoteReadReplicaDBCluster.go b/service/rds/api_op_PromoteReadReplicaDBCluster.go index ae07be01ba2..024371617b7 100644 --- a/service/rds/api_op_PromoteReadReplicaDBCluster.go +++ b/service/rds/api_op_PromoteReadReplicaDBCluster.go @@ -84,7 +84,10 @@ func addOperationPromoteReadReplicaDBClusterMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_PurchaseReservedDBInstancesOffering.go b/service/rds/api_op_PurchaseReservedDBInstancesOffering.go index 39e499fa548..72037d0aa5e 100644 --- a/service/rds/api_op_PurchaseReservedDBInstancesOffering.go +++ b/service/rds/api_op_PurchaseReservedDBInstancesOffering.go @@ -89,7 +89,10 @@ func addOperationPurchaseReservedDBInstancesOfferingMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RebootDBInstance.go b/service/rds/api_op_RebootDBInstance.go index 2a5d111124f..1c15e250488 100644 --- a/service/rds/api_op_RebootDBInstance.go +++ b/service/rds/api_op_RebootDBInstance.go @@ -92,7 +92,10 @@ func addOperationRebootDBInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RegisterDBProxyTargets.go b/service/rds/api_op_RegisterDBProxyTargets.go index a314cc14571..2e19e70158d 100644 --- a/service/rds/api_op_RegisterDBProxyTargets.go +++ b/service/rds/api_op_RegisterDBProxyTargets.go @@ -84,7 +84,10 @@ func addOperationRegisterDBProxyTargetsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RemoveFromGlobalCluster.go b/service/rds/api_op_RemoveFromGlobalCluster.go index c7520e6a178..a5d4a277f97 100644 --- a/service/rds/api_op_RemoveFromGlobalCluster.go +++ b/service/rds/api_op_RemoveFromGlobalCluster.go @@ -79,7 +79,10 @@ func addOperationRemoveFromGlobalClusterMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RemoveRoleFromDBCluster.go b/service/rds/api_op_RemoveRoleFromDBCluster.go index 8adf3ebf2f3..6c39f605e2d 100644 --- a/service/rds/api_op_RemoveRoleFromDBCluster.go +++ b/service/rds/api_op_RemoveRoleFromDBCluster.go @@ -84,7 +84,10 @@ func addOperationRemoveRoleFromDBClusterMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RemoveRoleFromDBInstance.go b/service/rds/api_op_RemoveRoleFromDBInstance.go index eb8fb160be0..79ce7df1506 100644 --- a/service/rds/api_op_RemoveRoleFromDBInstance.go +++ b/service/rds/api_op_RemoveRoleFromDBInstance.go @@ -83,7 +83,10 @@ func addOperationRemoveRoleFromDBInstanceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go b/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go index 073b3697bad..61b8b921240 100644 --- a/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go +++ b/service/rds/api_op_RemoveSourceIdentifierFromSubscription.go @@ -84,7 +84,10 @@ func addOperationRemoveSourceIdentifierFromSubscriptionMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RemoveTagsFromResource.go b/service/rds/api_op_RemoveTagsFromResource.go index 39f37e72df3..c15098bf151 100644 --- a/service/rds/api_op_RemoveTagsFromResource.go +++ b/service/rds/api_op_RemoveTagsFromResource.go @@ -82,7 +82,10 @@ func addOperationRemoveTagsFromResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ResetDBClusterParameterGroup.go b/service/rds/api_op_ResetDBClusterParameterGroup.go index 268276ae28e..7beff6b06d7 100644 --- a/service/rds/api_op_ResetDBClusterParameterGroup.go +++ b/service/rds/api_op_ResetDBClusterParameterGroup.go @@ -109,7 +109,10 @@ func addOperationResetDBClusterParameterGroupMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_ResetDBParameterGroup.go b/service/rds/api_op_ResetDBParameterGroup.go index 07c9d818130..1b43207b911 100644 --- a/service/rds/api_op_ResetDBParameterGroup.go +++ b/service/rds/api_op_ResetDBParameterGroup.go @@ -104,7 +104,10 @@ func addOperationResetDBParameterGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RestoreDBClusterFromS3.go b/service/rds/api_op_RestoreDBClusterFromS3.go index b7ca82cfb6d..0a88baad8dc 100644 --- a/service/rds/api_op_RestoreDBClusterFromS3.go +++ b/service/rds/api_op_RestoreDBClusterFromS3.go @@ -305,7 +305,10 @@ func addOperationRestoreDBClusterFromS3Middlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RestoreDBClusterFromSnapshot.go b/service/rds/api_op_RestoreDBClusterFromSnapshot.go index 7680a77d734..36264b49a06 100644 --- a/service/rds/api_op_RestoreDBClusterFromSnapshot.go +++ b/service/rds/api_op_RestoreDBClusterFromSnapshot.go @@ -241,7 +241,10 @@ func addOperationRestoreDBClusterFromSnapshotMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RestoreDBClusterToPointInTime.go b/service/rds/api_op_RestoreDBClusterToPointInTime.go index d1a02fe9355..0be08c19077 100644 --- a/service/rds/api_op_RestoreDBClusterToPointInTime.go +++ b/service/rds/api_op_RestoreDBClusterToPointInTime.go @@ -245,7 +245,10 @@ func addOperationRestoreDBClusterToPointInTimeMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go b/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go index 2174e065cde..8389732c502 100644 --- a/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go +++ b/service/rds/api_op_RestoreDBInstanceFromDBSnapshot.go @@ -310,7 +310,10 @@ func addOperationRestoreDBInstanceFromDBSnapshotMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RestoreDBInstanceFromS3.go b/service/rds/api_op_RestoreDBInstanceFromS3.go index 48174530c42..3ecc24082f0 100644 --- a/service/rds/api_op_RestoreDBInstanceFromS3.go +++ b/service/rds/api_op_RestoreDBInstanceFromS3.go @@ -364,7 +364,10 @@ func addOperationRestoreDBInstanceFromS3Middlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RestoreDBInstanceToPointInTime.go b/service/rds/api_op_RestoreDBInstanceToPointInTime.go index 511c1a0a651..ad72d2bad0a 100644 --- a/service/rds/api_op_RestoreDBInstanceToPointInTime.go +++ b/service/rds/api_op_RestoreDBInstanceToPointInTime.go @@ -317,7 +317,10 @@ func addOperationRestoreDBInstanceToPointInTimeMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_RevokeDBSecurityGroupIngress.go b/service/rds/api_op_RevokeDBSecurityGroupIngress.go index ba4ac83ddad..274ae69c03c 100644 --- a/service/rds/api_op_RevokeDBSecurityGroupIngress.go +++ b/service/rds/api_op_RevokeDBSecurityGroupIngress.go @@ -101,7 +101,10 @@ func addOperationRevokeDBSecurityGroupIngressMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_StartActivityStream.go b/service/rds/api_op_StartActivityStream.go index e91b173760d..891d5e2600f 100644 --- a/service/rds/api_op_StartActivityStream.go +++ b/service/rds/api_op_StartActivityStream.go @@ -111,7 +111,10 @@ func addOperationStartActivityStreamMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_StartDBCluster.go b/service/rds/api_op_StartDBCluster.go index 778d87c19c1..11e729ee8a6 100644 --- a/service/rds/api_op_StartDBCluster.go +++ b/service/rds/api_op_StartDBCluster.go @@ -83,7 +83,10 @@ func addOperationStartDBClusterMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_StartDBInstance.go b/service/rds/api_op_StartDBInstance.go index 7bc54da14d1..e8fb1a093ad 100644 --- a/service/rds/api_op_StartDBInstance.go +++ b/service/rds/api_op_StartDBInstance.go @@ -82,7 +82,10 @@ func addOperationStartDBInstanceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go b/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go index b038ed4fea8..891b6bc4dcc 100644 --- a/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go +++ b/service/rds/api_op_StartDBInstanceAutomatedBackupsReplication.go @@ -97,7 +97,10 @@ func addOperationStartDBInstanceAutomatedBackupsReplicationMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_StartExportTask.go b/service/rds/api_op_StartExportTask.go index b90f15ce9a1..934935a5032 100644 --- a/service/rds/api_op_StartExportTask.go +++ b/service/rds/api_op_StartExportTask.go @@ -213,7 +213,10 @@ func addOperationStartExportTaskMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_StopActivityStream.go b/service/rds/api_op_StopActivityStream.go index 22383970967..dec2f351a8c 100644 --- a/service/rds/api_op_StopActivityStream.go +++ b/service/rds/api_op_StopActivityStream.go @@ -92,7 +92,10 @@ func addOperationStopActivityStreamMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_StopDBCluster.go b/service/rds/api_op_StopDBCluster.go index 2c5e85b0f68..e971089133f 100644 --- a/service/rds/api_op_StopDBCluster.go +++ b/service/rds/api_op_StopDBCluster.go @@ -84,7 +84,10 @@ func addOperationStopDBClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_StopDBInstance.go b/service/rds/api_op_StopDBInstance.go index 68a54f547ca..ebde8e00585 100644 --- a/service/rds/api_op_StopDBInstance.go +++ b/service/rds/api_op_StopDBInstance.go @@ -88,7 +88,10 @@ func addOperationStopDBInstanceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go b/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go index 041e029daa5..f2cd187e098 100644 --- a/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go +++ b/service/rds/api_op_StopDBInstanceAutomatedBackupsReplication.go @@ -81,7 +81,10 @@ func addOperationStopDBInstanceAutomatedBackupsReplicationMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rdsdata/api_op_BatchExecuteStatement.go b/service/rdsdata/api_op_BatchExecuteStatement.go index 59e8a18ebd3..16d7118b176 100644 --- a/service/rdsdata/api_op_BatchExecuteStatement.go +++ b/service/rdsdata/api_op_BatchExecuteStatement.go @@ -118,7 +118,10 @@ func addOperationBatchExecuteStatementMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rdsdata/api_op_BeginTransaction.go b/service/rdsdata/api_op_BeginTransaction.go index 6eebad9e451..7abf400ab0c 100644 --- a/service/rdsdata/api_op_BeginTransaction.go +++ b/service/rdsdata/api_op_BeginTransaction.go @@ -94,7 +94,10 @@ func addOperationBeginTransactionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rdsdata/api_op_CommitTransaction.go b/service/rdsdata/api_op_CommitTransaction.go index 5e3e56abdac..42ca2880e3d 100644 --- a/service/rdsdata/api_op_CommitTransaction.go +++ b/service/rdsdata/api_op_CommitTransaction.go @@ -86,7 +86,10 @@ func addOperationCommitTransactionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rdsdata/api_op_ExecuteSql.go b/service/rdsdata/api_op_ExecuteSql.go index cc523ab8b83..6013bf0001c 100644 --- a/service/rdsdata/api_op_ExecuteSql.go +++ b/service/rdsdata/api_op_ExecuteSql.go @@ -101,7 +101,10 @@ func addOperationExecuteSqlMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rdsdata/api_op_ExecuteStatement.go b/service/rdsdata/api_op_ExecuteStatement.go index 771b4aca65c..720ffa3ab1b 100644 --- a/service/rdsdata/api_op_ExecuteStatement.go +++ b/service/rdsdata/api_op_ExecuteStatement.go @@ -133,7 +133,10 @@ func addOperationExecuteStatementMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rdsdata/api_op_RollbackTransaction.go b/service/rdsdata/api_op_RollbackTransaction.go index a2d78d623c0..4ef144f2026 100644 --- a/service/rdsdata/api_op_RollbackTransaction.go +++ b/service/rdsdata/api_op_RollbackTransaction.go @@ -88,7 +88,10 @@ func addOperationRollbackTransactionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_AcceptReservedNodeExchange.go b/service/redshift/api_op_AcceptReservedNodeExchange.go index f6ed288df2a..72897f9cd3e 100644 --- a/service/redshift/api_op_AcceptReservedNodeExchange.go +++ b/service/redshift/api_op_AcceptReservedNodeExchange.go @@ -83,7 +83,10 @@ func addOperationAcceptReservedNodeExchangeMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go b/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go index b4a0d743e02..bfd368aa58a 100644 --- a/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go +++ b/service/redshift/api_op_AuthorizeClusterSecurityGroupIngress.go @@ -101,7 +101,10 @@ func addOperationAuthorizeClusterSecurityGroupIngressMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_AuthorizeSnapshotAccess.go b/service/redshift/api_op_AuthorizeSnapshotAccess.go index bfac8fda7af..5640e45c29f 100644 --- a/service/redshift/api_op_AuthorizeSnapshotAccess.go +++ b/service/redshift/api_op_AuthorizeSnapshotAccess.go @@ -90,7 +90,10 @@ func addOperationAuthorizeSnapshotAccessMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_BatchDeleteClusterSnapshots.go b/service/redshift/api_op_BatchDeleteClusterSnapshots.go index 2b60b44ea1d..319a9662650 100644 --- a/service/redshift/api_op_BatchDeleteClusterSnapshots.go +++ b/service/redshift/api_op_BatchDeleteClusterSnapshots.go @@ -77,7 +77,10 @@ func addOperationBatchDeleteClusterSnapshotsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_BatchModifyClusterSnapshots.go b/service/redshift/api_op_BatchModifyClusterSnapshots.go index f0cc4503726..33ced615b00 100644 --- a/service/redshift/api_op_BatchModifyClusterSnapshots.go +++ b/service/redshift/api_op_BatchModifyClusterSnapshots.go @@ -89,7 +89,10 @@ func addOperationBatchModifyClusterSnapshotsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CancelResize.go b/service/redshift/api_op_CancelResize.go index 6131867ec82..3d7af733893 100644 --- a/service/redshift/api_op_CancelResize.go +++ b/service/redshift/api_op_CancelResize.go @@ -140,7 +140,10 @@ func addOperationCancelResizeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CopyClusterSnapshot.go b/service/redshift/api_op_CopyClusterSnapshot.go index 04a3e9e702a..436df50f4dc 100644 --- a/service/redshift/api_op_CopyClusterSnapshot.go +++ b/service/redshift/api_op_CopyClusterSnapshot.go @@ -119,7 +119,10 @@ func addOperationCopyClusterSnapshotMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateCluster.go b/service/redshift/api_op_CreateCluster.go index c7e0518fdd8..262f5e3485c 100644 --- a/service/redshift/api_op_CreateCluster.go +++ b/service/redshift/api_op_CreateCluster.go @@ -321,7 +321,10 @@ func addOperationCreateClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateClusterParameterGroup.go b/service/redshift/api_op_CreateClusterParameterGroup.go index 737317198c1..9da8c416b82 100644 --- a/service/redshift/api_op_CreateClusterParameterGroup.go +++ b/service/redshift/api_op_CreateClusterParameterGroup.go @@ -116,7 +116,10 @@ func addOperationCreateClusterParameterGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateClusterSecurityGroup.go b/service/redshift/api_op_CreateClusterSecurityGroup.go index e5adf53501e..385a1d2000d 100644 --- a/service/redshift/api_op_CreateClusterSecurityGroup.go +++ b/service/redshift/api_op_CreateClusterSecurityGroup.go @@ -98,7 +98,10 @@ func addOperationCreateClusterSecurityGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateClusterSnapshot.go b/service/redshift/api_op_CreateClusterSnapshot.go index 1280fcbd5d4..856e3e3a715 100644 --- a/service/redshift/api_op_CreateClusterSnapshot.go +++ b/service/redshift/api_op_CreateClusterSnapshot.go @@ -106,7 +106,10 @@ func addOperationCreateClusterSnapshotMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateClusterSubnetGroup.go b/service/redshift/api_op_CreateClusterSubnetGroup.go index f6d644a3e8f..c437126fd39 100644 --- a/service/redshift/api_op_CreateClusterSubnetGroup.go +++ b/service/redshift/api_op_CreateClusterSubnetGroup.go @@ -105,7 +105,10 @@ func addOperationCreateClusterSubnetGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateEventSubscription.go b/service/redshift/api_op_CreateEventSubscription.go index 9ffc6a2c92d..d2bc23fce82 100644 --- a/service/redshift/api_op_CreateEventSubscription.go +++ b/service/redshift/api_op_CreateEventSubscription.go @@ -143,7 +143,10 @@ func addOperationCreateEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateHsmClientCertificate.go b/service/redshift/api_op_CreateHsmClientCertificate.go index f92d190986b..e09ae7739f1 100644 --- a/service/redshift/api_op_CreateHsmClientCertificate.go +++ b/service/redshift/api_op_CreateHsmClientCertificate.go @@ -89,7 +89,10 @@ func addOperationCreateHsmClientCertificateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateHsmConfiguration.go b/service/redshift/api_op_CreateHsmConfiguration.go index 697239f73fe..d6d91cb7ced 100644 --- a/service/redshift/api_op_CreateHsmConfiguration.go +++ b/service/redshift/api_op_CreateHsmConfiguration.go @@ -115,7 +115,10 @@ func addOperationCreateHsmConfigurationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateScheduledAction.go b/service/redshift/api_op_CreateScheduledAction.go index c3a7c741f8b..049061a6c6c 100644 --- a/service/redshift/api_op_CreateScheduledAction.go +++ b/service/redshift/api_op_CreateScheduledAction.go @@ -158,7 +158,10 @@ func addOperationCreateScheduledActionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateSnapshotCopyGrant.go b/service/redshift/api_op_CreateSnapshotCopyGrant.go index 278b923ac1b..27e1981f7ec 100644 --- a/service/redshift/api_op_CreateSnapshotCopyGrant.go +++ b/service/redshift/api_op_CreateSnapshotCopyGrant.go @@ -106,7 +106,10 @@ func addOperationCreateSnapshotCopyGrantMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateSnapshotSchedule.go b/service/redshift/api_op_CreateSnapshotSchedule.go index 697fb39091b..c46a9705e97 100644 --- a/service/redshift/api_op_CreateSnapshotSchedule.go +++ b/service/redshift/api_op_CreateSnapshotSchedule.go @@ -112,7 +112,10 @@ func addOperationCreateSnapshotScheduleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateTags.go b/service/redshift/api_op_CreateTags.go index 0443b783706..1dace3a6638 100644 --- a/service/redshift/api_op_CreateTags.go +++ b/service/redshift/api_op_CreateTags.go @@ -85,7 +85,10 @@ func addOperationCreateTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_CreateUsageLimit.go b/service/redshift/api_op_CreateUsageLimit.go index 6bee2cab5bb..6084d3b5f92 100644 --- a/service/redshift/api_op_CreateUsageLimit.go +++ b/service/redshift/api_op_CreateUsageLimit.go @@ -139,7 +139,10 @@ func addOperationCreateUsageLimitMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteCluster.go b/service/redshift/api_op_DeleteCluster.go index a7cdd8b7673..3a96e6b7382 100644 --- a/service/redshift/api_op_DeleteCluster.go +++ b/service/redshift/api_op_DeleteCluster.go @@ -125,7 +125,10 @@ func addOperationDeleteClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteClusterParameterGroup.go b/service/redshift/api_op_DeleteClusterParameterGroup.go index 7e7406b4d38..2fc101a1046 100644 --- a/service/redshift/api_op_DeleteClusterParameterGroup.go +++ b/service/redshift/api_op_DeleteClusterParameterGroup.go @@ -77,7 +77,10 @@ func addOperationDeleteClusterParameterGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteClusterSecurityGroup.go b/service/redshift/api_op_DeleteClusterSecurityGroup.go index 08d4cbca430..f2d702a5019 100644 --- a/service/redshift/api_op_DeleteClusterSecurityGroup.go +++ b/service/redshift/api_op_DeleteClusterSecurityGroup.go @@ -75,7 +75,10 @@ func addOperationDeleteClusterSecurityGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteClusterSnapshot.go b/service/redshift/api_op_DeleteClusterSnapshot.go index 53c9ccfe583..81a8c8b3274 100644 --- a/service/redshift/api_op_DeleteClusterSnapshot.go +++ b/service/redshift/api_op_DeleteClusterSnapshot.go @@ -89,7 +89,10 @@ func addOperationDeleteClusterSnapshotMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteClusterSubnetGroup.go b/service/redshift/api_op_DeleteClusterSubnetGroup.go index 87811b92764..6733ae4656d 100644 --- a/service/redshift/api_op_DeleteClusterSubnetGroup.go +++ b/service/redshift/api_op_DeleteClusterSubnetGroup.go @@ -70,7 +70,10 @@ func addOperationDeleteClusterSubnetGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteEventSubscription.go b/service/redshift/api_op_DeleteEventSubscription.go index eac77aa4425..34edd506753 100644 --- a/service/redshift/api_op_DeleteEventSubscription.go +++ b/service/redshift/api_op_DeleteEventSubscription.go @@ -70,7 +70,10 @@ func addOperationDeleteEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteHsmClientCertificate.go b/service/redshift/api_op_DeleteHsmClientCertificate.go index a5ebaf94bda..411541aceb2 100644 --- a/service/redshift/api_op_DeleteHsmClientCertificate.go +++ b/service/redshift/api_op_DeleteHsmClientCertificate.go @@ -70,7 +70,10 @@ func addOperationDeleteHsmClientCertificateMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteHsmConfiguration.go b/service/redshift/api_op_DeleteHsmConfiguration.go index 3c2d66f2dfa..6462a10dc21 100644 --- a/service/redshift/api_op_DeleteHsmConfiguration.go +++ b/service/redshift/api_op_DeleteHsmConfiguration.go @@ -70,7 +70,10 @@ func addOperationDeleteHsmConfigurationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteScheduledAction.go b/service/redshift/api_op_DeleteScheduledAction.go index f5ca6117db9..055e0e1ff15 100644 --- a/service/redshift/api_op_DeleteScheduledAction.go +++ b/service/redshift/api_op_DeleteScheduledAction.go @@ -69,7 +69,10 @@ func addOperationDeleteScheduledActionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteSnapshotCopyGrant.go b/service/redshift/api_op_DeleteSnapshotCopyGrant.go index 69a18285ffa..f673d9e5000 100644 --- a/service/redshift/api_op_DeleteSnapshotCopyGrant.go +++ b/service/redshift/api_op_DeleteSnapshotCopyGrant.go @@ -70,7 +70,10 @@ func addOperationDeleteSnapshotCopyGrantMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteSnapshotSchedule.go b/service/redshift/api_op_DeleteSnapshotSchedule.go index f4a5d6acfe0..0fe56d6b60c 100644 --- a/service/redshift/api_op_DeleteSnapshotSchedule.go +++ b/service/redshift/api_op_DeleteSnapshotSchedule.go @@ -69,7 +69,10 @@ func addOperationDeleteSnapshotScheduleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteTags.go b/service/redshift/api_op_DeleteTags.go index 288d10ecdeb..f0756184f16 100644 --- a/service/redshift/api_op_DeleteTags.go +++ b/service/redshift/api_op_DeleteTags.go @@ -77,7 +77,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DeleteUsageLimit.go b/service/redshift/api_op_DeleteUsageLimit.go index 56b4ed71ec2..05d79146dba 100644 --- a/service/redshift/api_op_DeleteUsageLimit.go +++ b/service/redshift/api_op_DeleteUsageLimit.go @@ -69,7 +69,10 @@ func addOperationDeleteUsageLimitMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeAccountAttributes.go b/service/redshift/api_op_DescribeAccountAttributes.go index 4c9e0c02663..7647d3fdaf2 100644 --- a/service/redshift/api_op_DescribeAccountAttributes.go +++ b/service/redshift/api_op_DescribeAccountAttributes.go @@ -72,7 +72,10 @@ func addOperationDescribeAccountAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeClusterDbRevisions.go b/service/redshift/api_op_DescribeClusterDbRevisions.go index a17201a1589..26ce8b8ab6c 100644 --- a/service/redshift/api_op_DescribeClusterDbRevisions.go +++ b/service/redshift/api_op_DescribeClusterDbRevisions.go @@ -97,7 +97,10 @@ func addOperationDescribeClusterDbRevisionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeClusterParameterGroups.go b/service/redshift/api_op_DescribeClusterParameterGroups.go index 1b792028f62..4d983a5d6d8 100644 --- a/service/redshift/api_op_DescribeClusterParameterGroups.go +++ b/service/redshift/api_op_DescribeClusterParameterGroups.go @@ -128,7 +128,10 @@ func addOperationDescribeClusterParameterGroupsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeClusterParameters.go b/service/redshift/api_op_DescribeClusterParameters.go index be27887d427..2c8b690015e 100644 --- a/service/redshift/api_op_DescribeClusterParameters.go +++ b/service/redshift/api_op_DescribeClusterParameters.go @@ -114,7 +114,10 @@ func addOperationDescribeClusterParametersMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeClusterSecurityGroups.go b/service/redshift/api_op_DescribeClusterSecurityGroups.go index c949de22e9b..19d95e72812 100644 --- a/service/redshift/api_op_DescribeClusterSecurityGroups.go +++ b/service/redshift/api_op_DescribeClusterSecurityGroups.go @@ -127,7 +127,10 @@ func addOperationDescribeClusterSecurityGroupsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeClusterSnapshots.go b/service/redshift/api_op_DescribeClusterSnapshots.go index 89139f2dfe2..de739a3bf32 100644 --- a/service/redshift/api_op_DescribeClusterSnapshots.go +++ b/service/redshift/api_op_DescribeClusterSnapshots.go @@ -175,7 +175,10 @@ func addOperationDescribeClusterSnapshotsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeClusterSubnetGroups.go b/service/redshift/api_op_DescribeClusterSubnetGroups.go index de841418593..391a69f064d 100644 --- a/service/redshift/api_op_DescribeClusterSubnetGroups.go +++ b/service/redshift/api_op_DescribeClusterSubnetGroups.go @@ -122,7 +122,10 @@ func addOperationDescribeClusterSubnetGroupsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeClusterTracks.go b/service/redshift/api_op_DescribeClusterTracks.go index b418bff54b0..0407ff79406 100644 --- a/service/redshift/api_op_DescribeClusterTracks.go +++ b/service/redshift/api_op_DescribeClusterTracks.go @@ -89,7 +89,10 @@ func addOperationDescribeClusterTracksMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeClusterVersions.go b/service/redshift/api_op_DescribeClusterVersions.go index e70e12fe542..c4522a5f7df 100644 --- a/service/redshift/api_op_DescribeClusterVersions.go +++ b/service/redshift/api_op_DescribeClusterVersions.go @@ -112,7 +112,10 @@ func addOperationDescribeClusterVersionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeClusters.go b/service/redshift/api_op_DescribeClusters.go index 8eb14ffabbe..bfe0dba514a 100644 --- a/service/redshift/api_op_DescribeClusters.go +++ b/service/redshift/api_op_DescribeClusters.go @@ -130,7 +130,10 @@ func addOperationDescribeClustersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeDefaultClusterParameters.go b/service/redshift/api_op_DescribeDefaultClusterParameters.go index c914d3f8528..62fa6dde1e8 100644 --- a/service/redshift/api_op_DescribeDefaultClusterParameters.go +++ b/service/redshift/api_op_DescribeDefaultClusterParameters.go @@ -95,7 +95,10 @@ func addOperationDescribeDefaultClusterParametersMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeEventCategories.go b/service/redshift/api_op_DescribeEventCategories.go index 87500c7ca53..2e22947565d 100644 --- a/service/redshift/api_op_DescribeEventCategories.go +++ b/service/redshift/api_op_DescribeEventCategories.go @@ -79,7 +79,10 @@ func addOperationDescribeEventCategoriesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeEventSubscriptions.go b/service/redshift/api_op_DescribeEventSubscriptions.go index 74216bd3b04..ae7e923f055 100644 --- a/service/redshift/api_op_DescribeEventSubscriptions.go +++ b/service/redshift/api_op_DescribeEventSubscriptions.go @@ -122,7 +122,10 @@ func addOperationDescribeEventSubscriptionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeEvents.go b/service/redshift/api_op_DescribeEvents.go index 6243314e692..8f9583e35d5 100644 --- a/service/redshift/api_op_DescribeEvents.go +++ b/service/redshift/api_op_DescribeEvents.go @@ -148,7 +148,10 @@ func addOperationDescribeEventsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeHsmClientCertificates.go b/service/redshift/api_op_DescribeHsmClientCertificates.go index a6ed7dbf466..188eb45d56b 100644 --- a/service/redshift/api_op_DescribeHsmClientCertificates.go +++ b/service/redshift/api_op_DescribeHsmClientCertificates.go @@ -125,7 +125,10 @@ func addOperationDescribeHsmClientCertificatesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeHsmConfigurations.go b/service/redshift/api_op_DescribeHsmConfigurations.go index 679e386a569..f6ae741de0a 100644 --- a/service/redshift/api_op_DescribeHsmConfigurations.go +++ b/service/redshift/api_op_DescribeHsmConfigurations.go @@ -122,7 +122,10 @@ func addOperationDescribeHsmConfigurationsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeLoggingStatus.go b/service/redshift/api_op_DescribeLoggingStatus.go index 8d605d39850..14fafd9352e 100644 --- a/service/redshift/api_op_DescribeLoggingStatus.go +++ b/service/redshift/api_op_DescribeLoggingStatus.go @@ -93,7 +93,10 @@ func addOperationDescribeLoggingStatusMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeNodeConfigurationOptions.go b/service/redshift/api_op_DescribeNodeConfigurationOptions.go index fc8592b3f1e..252ba63f4c3 100644 --- a/service/redshift/api_op_DescribeNodeConfigurationOptions.go +++ b/service/redshift/api_op_DescribeNodeConfigurationOptions.go @@ -115,7 +115,10 @@ func addOperationDescribeNodeConfigurationOptionsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeOrderableClusterOptions.go b/service/redshift/api_op_DescribeOrderableClusterOptions.go index a2e9fbca1b3..165b739fb23 100644 --- a/service/redshift/api_op_DescribeOrderableClusterOptions.go +++ b/service/redshift/api_op_DescribeOrderableClusterOptions.go @@ -112,7 +112,10 @@ func addOperationDescribeOrderableClusterOptionsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeReservedNodeOfferings.go b/service/redshift/api_op_DescribeReservedNodeOfferings.go index cadc2ebbe8a..ab42aadf4b9 100644 --- a/service/redshift/api_op_DescribeReservedNodeOfferings.go +++ b/service/redshift/api_op_DescribeReservedNodeOfferings.go @@ -106,7 +106,10 @@ func addOperationDescribeReservedNodeOfferingsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeReservedNodes.go b/service/redshift/api_op_DescribeReservedNodes.go index 0165123139f..9b8738c214e 100644 --- a/service/redshift/api_op_DescribeReservedNodes.go +++ b/service/redshift/api_op_DescribeReservedNodes.go @@ -96,7 +96,10 @@ func addOperationDescribeReservedNodesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeResize.go b/service/redshift/api_op_DescribeResize.go index ae45852cd9b..63636103458 100644 --- a/service/redshift/api_op_DescribeResize.go +++ b/service/redshift/api_op_DescribeResize.go @@ -147,7 +147,10 @@ func addOperationDescribeResizeMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeScheduledActions.go b/service/redshift/api_op_DescribeScheduledActions.go index 0c2d5a7072b..d57084fbbe3 100644 --- a/service/redshift/api_op_DescribeScheduledActions.go +++ b/service/redshift/api_op_DescribeScheduledActions.go @@ -113,7 +113,10 @@ func addOperationDescribeScheduledActionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeSnapshotCopyGrants.go b/service/redshift/api_op_DescribeSnapshotCopyGrants.go index 15ada03f42e..89126748cfb 100644 --- a/service/redshift/api_op_DescribeSnapshotCopyGrants.go +++ b/service/redshift/api_op_DescribeSnapshotCopyGrants.go @@ -118,7 +118,10 @@ func addOperationDescribeSnapshotCopyGrantsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeSnapshotSchedules.go b/service/redshift/api_op_DescribeSnapshotSchedules.go index fc5bdd3da27..32ed69740fa 100644 --- a/service/redshift/api_op_DescribeSnapshotSchedules.go +++ b/service/redshift/api_op_DescribeSnapshotSchedules.go @@ -102,7 +102,10 @@ func addOperationDescribeSnapshotSchedulesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeStorage.go b/service/redshift/api_op_DescribeStorage.go index 326660f652f..10a53e7e1a0 100644 --- a/service/redshift/api_op_DescribeStorage.go +++ b/service/redshift/api_op_DescribeStorage.go @@ -71,7 +71,10 @@ func addOperationDescribeStorageMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeTableRestoreStatus.go b/service/redshift/api_op_DescribeTableRestoreStatus.go index dde36790866..53116d61776 100644 --- a/service/redshift/api_op_DescribeTableRestoreStatus.go +++ b/service/redshift/api_op_DescribeTableRestoreStatus.go @@ -99,7 +99,10 @@ func addOperationDescribeTableRestoreStatusMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeTags.go b/service/redshift/api_op_DescribeTags.go index fde18745ec0..15fc2bb4d01 100644 --- a/service/redshift/api_op_DescribeTags.go +++ b/service/redshift/api_op_DescribeTags.go @@ -162,7 +162,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DescribeUsageLimits.go b/service/redshift/api_op_DescribeUsageLimits.go index 8593254ee19..0017b482da9 100644 --- a/service/redshift/api_op_DescribeUsageLimits.go +++ b/service/redshift/api_op_DescribeUsageLimits.go @@ -132,7 +132,10 @@ func addOperationDescribeUsageLimitsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DisableLogging.go b/service/redshift/api_op_DisableLogging.go index b8f5da7b6db..d3785320c46 100644 --- a/service/redshift/api_op_DisableLogging.go +++ b/service/redshift/api_op_DisableLogging.go @@ -93,7 +93,10 @@ func addOperationDisableLoggingMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_DisableSnapshotCopy.go b/service/redshift/api_op_DisableSnapshotCopy.go index f87a8721b0b..4e8d2853606 100644 --- a/service/redshift/api_op_DisableSnapshotCopy.go +++ b/service/redshift/api_op_DisableSnapshotCopy.go @@ -81,7 +81,10 @@ func addOperationDisableSnapshotCopyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_EnableLogging.go b/service/redshift/api_op_EnableLogging.go index 2e978f19487..231e208c4df 100644 --- a/service/redshift/api_op_EnableLogging.go +++ b/service/redshift/api_op_EnableLogging.go @@ -124,7 +124,10 @@ func addOperationEnableLoggingMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_EnableSnapshotCopy.go b/service/redshift/api_op_EnableSnapshotCopy.go index 6655619cc08..f9bdfe9188f 100644 --- a/service/redshift/api_op_EnableSnapshotCopy.go +++ b/service/redshift/api_op_EnableSnapshotCopy.go @@ -102,7 +102,10 @@ func addOperationEnableSnapshotCopyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_GetClusterCredentials.go b/service/redshift/api_op_GetClusterCredentials.go index 16e7dc79812..c2841ab127a 100644 --- a/service/redshift/api_op_GetClusterCredentials.go +++ b/service/redshift/api_op_GetClusterCredentials.go @@ -190,7 +190,10 @@ func addOperationGetClusterCredentialsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_GetReservedNodeExchangeOfferings.go b/service/redshift/api_op_GetReservedNodeExchangeOfferings.go index 8ca6cdb3c9a..677ec3b8d18 100644 --- a/service/redshift/api_op_GetReservedNodeExchangeOfferings.go +++ b/service/redshift/api_op_GetReservedNodeExchangeOfferings.go @@ -93,7 +93,10 @@ func addOperationGetReservedNodeExchangeOfferingsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyCluster.go b/service/redshift/api_op_ModifyCluster.go index a986aa55762..5c36144980f 100644 --- a/service/redshift/api_op_ModifyCluster.go +++ b/service/redshift/api_op_ModifyCluster.go @@ -273,7 +273,10 @@ func addOperationModifyClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyClusterDbRevision.go b/service/redshift/api_op_ModifyClusterDbRevision.go index ff18b2535ae..d8fec899f4d 100644 --- a/service/redshift/api_op_ModifyClusterDbRevision.go +++ b/service/redshift/api_op_ModifyClusterDbRevision.go @@ -82,7 +82,10 @@ func addOperationModifyClusterDbRevisionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyClusterIamRoles.go b/service/redshift/api_op_ModifyClusterIamRoles.go index 6e3150b4f23..9fc92173c28 100644 --- a/service/redshift/api_op_ModifyClusterIamRoles.go +++ b/service/redshift/api_op_ModifyClusterIamRoles.go @@ -87,7 +87,10 @@ func addOperationModifyClusterIamRolesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyClusterMaintenance.go b/service/redshift/api_op_ModifyClusterMaintenance.go index 0f233b19837..600b6c764c3 100644 --- a/service/redshift/api_op_ModifyClusterMaintenance.go +++ b/service/redshift/api_op_ModifyClusterMaintenance.go @@ -93,7 +93,10 @@ func addOperationModifyClusterMaintenanceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyClusterParameterGroup.go b/service/redshift/api_op_ModifyClusterParameterGroup.go index 25b21f98060..159efa3baad 100644 --- a/service/redshift/api_op_ModifyClusterParameterGroup.go +++ b/service/redshift/api_op_ModifyClusterParameterGroup.go @@ -93,7 +93,10 @@ func addOperationModifyClusterParameterGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyClusterSnapshot.go b/service/redshift/api_op_ModifyClusterSnapshot.go index d2977351dcb..6827c4fbb15 100644 --- a/service/redshift/api_op_ModifyClusterSnapshot.go +++ b/service/redshift/api_op_ModifyClusterSnapshot.go @@ -86,7 +86,10 @@ func addOperationModifyClusterSnapshotMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyClusterSnapshotSchedule.go b/service/redshift/api_op_ModifyClusterSnapshotSchedule.go index ca5bea9457b..0b1d1614f43 100644 --- a/service/redshift/api_op_ModifyClusterSnapshotSchedule.go +++ b/service/redshift/api_op_ModifyClusterSnapshotSchedule.go @@ -77,7 +77,10 @@ func addOperationModifyClusterSnapshotScheduleMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyClusterSubnetGroup.go b/service/redshift/api_op_ModifyClusterSubnetGroup.go index ea90a9b383c..ded44c60f0d 100644 --- a/service/redshift/api_op_ModifyClusterSubnetGroup.go +++ b/service/redshift/api_op_ModifyClusterSubnetGroup.go @@ -86,7 +86,10 @@ func addOperationModifyClusterSubnetGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyEventSubscription.go b/service/redshift/api_op_ModifyEventSubscription.go index bd84eb1ce98..09a707c37cd 100644 --- a/service/redshift/api_op_ModifyEventSubscription.go +++ b/service/redshift/api_op_ModifyEventSubscription.go @@ -108,7 +108,10 @@ func addOperationModifyEventSubscriptionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyScheduledAction.go b/service/redshift/api_op_ModifyScheduledAction.go index 4b4a016b3b3..4db7ab50dbd 100644 --- a/service/redshift/api_op_ModifyScheduledAction.go +++ b/service/redshift/api_op_ModifyScheduledAction.go @@ -146,7 +146,10 @@ func addOperationModifyScheduledActionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go b/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go index 3fc00ac0432..994f147fc09 100644 --- a/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go +++ b/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go @@ -103,7 +103,10 @@ func addOperationModifySnapshotCopyRetentionPeriodMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifySnapshotSchedule.go b/service/redshift/api_op_ModifySnapshotSchedule.go index 2a8044f4a79..d19ece0a568 100644 --- a/service/redshift/api_op_ModifySnapshotSchedule.go +++ b/service/redshift/api_op_ModifySnapshotSchedule.go @@ -103,7 +103,10 @@ func addOperationModifySnapshotScheduleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ModifyUsageLimit.go b/service/redshift/api_op_ModifyUsageLimit.go index 92843448360..6b3f351c2d2 100644 --- a/service/redshift/api_op_ModifyUsageLimit.go +++ b/service/redshift/api_op_ModifyUsageLimit.go @@ -116,7 +116,10 @@ func addOperationModifyUsageLimitMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_PauseCluster.go b/service/redshift/api_op_PauseCluster.go index 50d6b72a782..018db0beaa9 100644 --- a/service/redshift/api_op_PauseCluster.go +++ b/service/redshift/api_op_PauseCluster.go @@ -76,7 +76,10 @@ func addOperationPauseClusterMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_PurchaseReservedNodeOffering.go b/service/redshift/api_op_PurchaseReservedNodeOffering.go index d9914321fcc..3f897124953 100644 --- a/service/redshift/api_op_PurchaseReservedNodeOffering.go +++ b/service/redshift/api_op_PurchaseReservedNodeOffering.go @@ -86,7 +86,10 @@ func addOperationPurchaseReservedNodeOfferingMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_RebootCluster.go b/service/redshift/api_op_RebootCluster.go index d14e57d68c4..03073e5d03c 100644 --- a/service/redshift/api_op_RebootCluster.go +++ b/service/redshift/api_op_RebootCluster.go @@ -81,7 +81,10 @@ func addOperationRebootClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ResetClusterParameterGroup.go b/service/redshift/api_op_ResetClusterParameterGroup.go index fced56b830c..2460c1fca44 100644 --- a/service/redshift/api_op_ResetClusterParameterGroup.go +++ b/service/redshift/api_op_ResetClusterParameterGroup.go @@ -93,7 +93,10 @@ func addOperationResetClusterParameterGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ResizeCluster.go b/service/redshift/api_op_ResizeCluster.go index 4af2cdbd2bf..0b8062df4a4 100644 --- a/service/redshift/api_op_ResizeCluster.go +++ b/service/redshift/api_op_ResizeCluster.go @@ -122,7 +122,10 @@ func addOperationResizeClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_RestoreFromClusterSnapshot.go b/service/redshift/api_op_RestoreFromClusterSnapshot.go index 71bb4b9b327..47f6bd6e442 100644 --- a/service/redshift/api_op_RestoreFromClusterSnapshot.go +++ b/service/redshift/api_op_RestoreFromClusterSnapshot.go @@ -246,7 +246,10 @@ func addOperationRestoreFromClusterSnapshotMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_RestoreTableFromClusterSnapshot.go b/service/redshift/api_op_RestoreTableFromClusterSnapshot.go index 92e7aecbf85..8049aefd3c5 100644 --- a/service/redshift/api_op_RestoreTableFromClusterSnapshot.go +++ b/service/redshift/api_op_RestoreTableFromClusterSnapshot.go @@ -117,7 +117,10 @@ func addOperationRestoreTableFromClusterSnapshotMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_ResumeCluster.go b/service/redshift/api_op_ResumeCluster.go index d5cfff44ed7..8a4e364b0f5 100644 --- a/service/redshift/api_op_ResumeCluster.go +++ b/service/redshift/api_op_ResumeCluster.go @@ -76,7 +76,10 @@ func addOperationResumeClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go b/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go index b5bd7f507d8..5aa0f7722b2 100644 --- a/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go +++ b/service/redshift/api_op_RevokeClusterSecurityGroupIngress.go @@ -96,7 +96,10 @@ func addOperationRevokeClusterSecurityGroupIngressMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_RevokeSnapshotAccess.go b/service/redshift/api_op_RevokeSnapshotAccess.go index 451c5520448..20002ed515c 100644 --- a/service/redshift/api_op_RevokeSnapshotAccess.go +++ b/service/redshift/api_op_RevokeSnapshotAccess.go @@ -91,7 +91,10 @@ func addOperationRevokeSnapshotAccessMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshift/api_op_RotateEncryptionKey.go b/service/redshift/api_op_RotateEncryptionKey.go index 7e85d6e2408..cb60a702710 100644 --- a/service/redshift/api_op_RotateEncryptionKey.go +++ b/service/redshift/api_op_RotateEncryptionKey.go @@ -76,7 +76,10 @@ func addOperationRotateEncryptionKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshiftdata/api_op_CancelStatement.go b/service/redshiftdata/api_op_CancelStatement.go index 25fd391c462..8a70753c1f4 100644 --- a/service/redshiftdata/api_op_CancelStatement.go +++ b/service/redshiftdata/api_op_CancelStatement.go @@ -75,7 +75,10 @@ func addOperationCancelStatementMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshiftdata/api_op_DescribeStatement.go b/service/redshiftdata/api_op_DescribeStatement.go index 959c7ad174f..bfa299471d1 100644 --- a/service/redshiftdata/api_op_DescribeStatement.go +++ b/service/redshiftdata/api_op_DescribeStatement.go @@ -151,7 +151,10 @@ func addOperationDescribeStatementMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshiftdata/api_op_DescribeTable.go b/service/redshiftdata/api_op_DescribeTable.go index 00068f32ef4..d0e1e7192b2 100644 --- a/service/redshiftdata/api_op_DescribeTable.go +++ b/service/redshiftdata/api_op_DescribeTable.go @@ -130,7 +130,10 @@ func addOperationDescribeTableMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshiftdata/api_op_ExecuteStatement.go b/service/redshiftdata/api_op_ExecuteStatement.go index f360ca12a73..b967ca2cd65 100644 --- a/service/redshiftdata/api_op_ExecuteStatement.go +++ b/service/redshiftdata/api_op_ExecuteStatement.go @@ -127,7 +127,10 @@ func addOperationExecuteStatementMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshiftdata/api_op_GetStatementResult.go b/service/redshiftdata/api_op_GetStatementResult.go index 2e64c2fa48e..e1df3c74964 100644 --- a/service/redshiftdata/api_op_GetStatementResult.go +++ b/service/redshiftdata/api_op_GetStatementResult.go @@ -102,7 +102,10 @@ func addOperationGetStatementResultMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshiftdata/api_op_ListDatabases.go b/service/redshiftdata/api_op_ListDatabases.go index 12cce6b80a2..835142445f5 100644 --- a/service/redshiftdata/api_op_ListDatabases.go +++ b/service/redshiftdata/api_op_ListDatabases.go @@ -116,7 +116,10 @@ func addOperationListDatabasesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshiftdata/api_op_ListSchemas.go b/service/redshiftdata/api_op_ListSchemas.go index d381d0b698b..dc52a3bc2c2 100644 --- a/service/redshiftdata/api_op_ListSchemas.go +++ b/service/redshiftdata/api_op_ListSchemas.go @@ -123,7 +123,10 @@ func addOperationListSchemasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshiftdata/api_op_ListStatements.go b/service/redshiftdata/api_op_ListStatements.go index 2bc6fb4c987..6f619a3b894 100644 --- a/service/redshiftdata/api_op_ListStatements.go +++ b/service/redshiftdata/api_op_ListStatements.go @@ -122,7 +122,10 @@ func addOperationListStatementsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/redshiftdata/api_op_ListTables.go b/service/redshiftdata/api_op_ListTables.go index 2599dc8462c..5c863e35a44 100644 --- a/service/redshiftdata/api_op_ListTables.go +++ b/service/redshiftdata/api_op_ListTables.go @@ -137,7 +137,10 @@ func addOperationListTablesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_CompareFaces.go b/service/rekognition/api_op_CompareFaces.go index 1186882323c..db4e2181003 100644 --- a/service/rekognition/api_op_CompareFaces.go +++ b/service/rekognition/api_op_CompareFaces.go @@ -169,7 +169,10 @@ func addOperationCompareFacesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_CreateCollection.go b/service/rekognition/api_op_CreateCollection.go index 4a82cb9059d..06063509e65 100644 --- a/service/rekognition/api_op_CreateCollection.go +++ b/service/rekognition/api_op_CreateCollection.go @@ -88,7 +88,10 @@ func addOperationCreateCollectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_CreateProject.go b/service/rekognition/api_op_CreateProject.go index 1ac11746958..109af5fcd3b 100644 --- a/service/rekognition/api_op_CreateProject.go +++ b/service/rekognition/api_op_CreateProject.go @@ -77,7 +77,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_CreateProjectVersion.go b/service/rekognition/api_op_CreateProjectVersion.go index 8ed37ac27ee..9edeabf3318 100644 --- a/service/rekognition/api_op_CreateProjectVersion.go +++ b/service/rekognition/api_op_CreateProjectVersion.go @@ -104,7 +104,10 @@ func addOperationCreateProjectVersionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_CreateStreamProcessor.go b/service/rekognition/api_op_CreateStreamProcessor.go index e2e4e70feb1..1c7efc254fe 100644 --- a/service/rekognition/api_op_CreateStreamProcessor.go +++ b/service/rekognition/api_op_CreateStreamProcessor.go @@ -111,7 +111,10 @@ func addOperationCreateStreamProcessorMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DeleteCollection.go b/service/rekognition/api_op_DeleteCollection.go index e7956ffa9ab..78fb481fa3c 100644 --- a/service/rekognition/api_op_DeleteCollection.go +++ b/service/rekognition/api_op_DeleteCollection.go @@ -75,7 +75,10 @@ func addOperationDeleteCollectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DeleteFaces.go b/service/rekognition/api_op_DeleteFaces.go index ede39626ee3..bdfb1c3bcd3 100644 --- a/service/rekognition/api_op_DeleteFaces.go +++ b/service/rekognition/api_op_DeleteFaces.go @@ -80,7 +80,10 @@ func addOperationDeleteFacesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DeleteProject.go b/service/rekognition/api_op_DeleteProject.go index c3ea1782475..c64ecf78fed 100644 --- a/service/rekognition/api_op_DeleteProject.go +++ b/service/rekognition/api_op_DeleteProject.go @@ -77,7 +77,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DeleteProjectVersion.go b/service/rekognition/api_op_DeleteProjectVersion.go index 32b61dee313..54f780f2faf 100644 --- a/service/rekognition/api_op_DeleteProjectVersion.go +++ b/service/rekognition/api_op_DeleteProjectVersion.go @@ -79,7 +79,10 @@ func addOperationDeleteProjectVersionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DeleteStreamProcessor.go b/service/rekognition/api_op_DeleteStreamProcessor.go index 202538882ed..b752f0c19a0 100644 --- a/service/rekognition/api_op_DeleteStreamProcessor.go +++ b/service/rekognition/api_op_DeleteStreamProcessor.go @@ -72,7 +72,10 @@ func addOperationDeleteStreamProcessorMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DescribeCollection.go b/service/rekognition/api_op_DescribeCollection.go index f1081990a34..addafb3f4ee 100644 --- a/service/rekognition/api_op_DescribeCollection.go +++ b/service/rekognition/api_op_DescribeCollection.go @@ -92,7 +92,10 @@ func addOperationDescribeCollectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DescribeProjectVersions.go b/service/rekognition/api_op_DescribeProjectVersions.go index 333bcc159a5..d8d83add0bc 100644 --- a/service/rekognition/api_op_DescribeProjectVersions.go +++ b/service/rekognition/api_op_DescribeProjectVersions.go @@ -107,7 +107,10 @@ func addOperationDescribeProjectVersionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DescribeProjects.go b/service/rekognition/api_op_DescribeProjects.go index 6f5bf44895d..2097f3013bf 100644 --- a/service/rekognition/api_op_DescribeProjects.go +++ b/service/rekognition/api_op_DescribeProjects.go @@ -88,7 +88,10 @@ func addOperationDescribeProjectsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DescribeStreamProcessor.go b/service/rekognition/api_op_DescribeStreamProcessor.go index 2f0d0fbbe63..09d803a150d 100644 --- a/service/rekognition/api_op_DescribeStreamProcessor.go +++ b/service/rekognition/api_op_DescribeStreamProcessor.go @@ -109,7 +109,10 @@ func addOperationDescribeStreamProcessorMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DetectCustomLabels.go b/service/rekognition/api_op_DetectCustomLabels.go index 8710e6916d6..83150427ec4 100644 --- a/service/rekognition/api_op_DetectCustomLabels.go +++ b/service/rekognition/api_op_DetectCustomLabels.go @@ -127,7 +127,10 @@ func addOperationDetectCustomLabelsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DetectFaces.go b/service/rekognition/api_op_DetectFaces.go index 5f94138fa1d..95f17633240 100644 --- a/service/rekognition/api_op_DetectFaces.go +++ b/service/rekognition/api_op_DetectFaces.go @@ -113,7 +113,10 @@ func addOperationDetectFacesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DetectLabels.go b/service/rekognition/api_op_DetectLabels.go index c77ffc82f11..959c9c08d04 100644 --- a/service/rekognition/api_op_DetectLabels.go +++ b/service/rekognition/api_op_DetectLabels.go @@ -152,7 +152,10 @@ func addOperationDetectLabelsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DetectModerationLabels.go b/service/rekognition/api_op_DetectModerationLabels.go index 4cc9e12e0b4..07a93bc77a1 100644 --- a/service/rekognition/api_op_DetectModerationLabels.go +++ b/service/rekognition/api_op_DetectModerationLabels.go @@ -105,7 +105,10 @@ func addOperationDetectModerationLabelsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DetectProtectiveEquipment.go b/service/rekognition/api_op_DetectProtectiveEquipment.go index 32abef16fa3..1dc085a8619 100644 --- a/service/rekognition/api_op_DetectProtectiveEquipment.go +++ b/service/rekognition/api_op_DetectProtectiveEquipment.go @@ -120,7 +120,10 @@ func addOperationDetectProtectiveEquipmentMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_DetectText.go b/service/rekognition/api_op_DetectText.go index 04d4d103de0..c0d245e3848 100644 --- a/service/rekognition/api_op_DetectText.go +++ b/service/rekognition/api_op_DetectText.go @@ -105,7 +105,10 @@ func addOperationDetectTextMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_GetCelebrityInfo.go b/service/rekognition/api_op_GetCelebrityInfo.go index 67594797a32..7e268c2ba13 100644 --- a/service/rekognition/api_op_GetCelebrityInfo.go +++ b/service/rekognition/api_op_GetCelebrityInfo.go @@ -82,7 +82,10 @@ func addOperationGetCelebrityInfoMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_GetCelebrityRecognition.go b/service/rekognition/api_op_GetCelebrityRecognition.go index 55c4d6744cb..94ec1aa040d 100644 --- a/service/rekognition/api_op_GetCelebrityRecognition.go +++ b/service/rekognition/api_op_GetCelebrityRecognition.go @@ -140,7 +140,10 @@ func addOperationGetCelebrityRecognitionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_GetContentModeration.go b/service/rekognition/api_op_GetContentModeration.go index bce7cb6379d..66bfde96484 100644 --- a/service/rekognition/api_op_GetContentModeration.go +++ b/service/rekognition/api_op_GetContentModeration.go @@ -135,7 +135,10 @@ func addOperationGetContentModerationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_GetFaceDetection.go b/service/rekognition/api_op_GetFaceDetection.go index b72baa8b235..c9244f3cbf8 100644 --- a/service/rekognition/api_op_GetFaceDetection.go +++ b/service/rekognition/api_op_GetFaceDetection.go @@ -118,7 +118,10 @@ func addOperationGetFaceDetectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_GetFaceSearch.go b/service/rekognition/api_op_GetFaceSearch.go index 059e9a57e5f..d89786eeaf7 100644 --- a/service/rekognition/api_op_GetFaceSearch.go +++ b/service/rekognition/api_op_GetFaceSearch.go @@ -134,7 +134,10 @@ func addOperationGetFaceSearchMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_GetLabelDetection.go b/service/rekognition/api_op_GetLabelDetection.go index df96cf3e2c1..96053c8b5c4 100644 --- a/service/rekognition/api_op_GetLabelDetection.go +++ b/service/rekognition/api_op_GetLabelDetection.go @@ -132,7 +132,10 @@ func addOperationGetLabelDetectionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_GetPersonTracking.go b/service/rekognition/api_op_GetPersonTracking.go index 642e82a24ae..ed9e933fb6f 100644 --- a/service/rekognition/api_op_GetPersonTracking.go +++ b/service/rekognition/api_op_GetPersonTracking.go @@ -132,7 +132,10 @@ func addOperationGetPersonTrackingMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_GetSegmentDetection.go b/service/rekognition/api_op_GetSegmentDetection.go index ec5b1081059..7b78bf3c03a 100644 --- a/service/rekognition/api_op_GetSegmentDetection.go +++ b/service/rekognition/api_op_GetSegmentDetection.go @@ -140,7 +140,10 @@ func addOperationGetSegmentDetectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_GetTextDetection.go b/service/rekognition/api_op_GetTextDetection.go index 84255927574..b8447957815 100644 --- a/service/rekognition/api_op_GetTextDetection.go +++ b/service/rekognition/api_op_GetTextDetection.go @@ -124,7 +124,10 @@ func addOperationGetTextDetectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_IndexFaces.go b/service/rekognition/api_op_IndexFaces.go index 91cc3079057..ab2b009a537 100644 --- a/service/rekognition/api_op_IndexFaces.go +++ b/service/rekognition/api_op_IndexFaces.go @@ -236,7 +236,10 @@ func addOperationIndexFacesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_ListCollections.go b/service/rekognition/api_op_ListCollections.go index 2dabc4897b3..ff1f17976d4 100644 --- a/service/rekognition/api_op_ListCollections.go +++ b/service/rekognition/api_op_ListCollections.go @@ -89,7 +89,10 @@ func addOperationListCollectionsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_ListFaces.go b/service/rekognition/api_op_ListFaces.go index 40d5eaff48c..032e033eb92 100644 --- a/service/rekognition/api_op_ListFaces.go +++ b/service/rekognition/api_op_ListFaces.go @@ -95,7 +95,10 @@ func addOperationListFacesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_ListStreamProcessors.go b/service/rekognition/api_op_ListStreamProcessors.go index ccc8d86afdb..e49a9edd1b1 100644 --- a/service/rekognition/api_op_ListStreamProcessors.go +++ b/service/rekognition/api_op_ListStreamProcessors.go @@ -86,7 +86,10 @@ func addOperationListStreamProcessorsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_RecognizeCelebrities.go b/service/rekognition/api_op_RecognizeCelebrities.go index 4a85f3832a7..88e50aa8a38 100644 --- a/service/rekognition/api_op_RecognizeCelebrities.go +++ b/service/rekognition/api_op_RecognizeCelebrities.go @@ -114,7 +114,10 @@ func addOperationRecognizeCelebritiesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_SearchFaces.go b/service/rekognition/api_op_SearchFaces.go index 25c24305b81..6502e451334 100644 --- a/service/rekognition/api_op_SearchFaces.go +++ b/service/rekognition/api_op_SearchFaces.go @@ -107,7 +107,10 @@ func addOperationSearchFacesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_SearchFacesByImage.go b/service/rekognition/api_op_SearchFacesByImage.go index 2b71c197645..2c3f7cfe82a 100644 --- a/service/rekognition/api_op_SearchFacesByImage.go +++ b/service/rekognition/api_op_SearchFacesByImage.go @@ -142,7 +142,10 @@ func addOperationSearchFacesByImageMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartCelebrityRecognition.go b/service/rekognition/api_op_StartCelebrityRecognition.go index bae522aa8f8..641daede26b 100644 --- a/service/rekognition/api_op_StartCelebrityRecognition.go +++ b/service/rekognition/api_op_StartCelebrityRecognition.go @@ -103,7 +103,10 @@ func addOperationStartCelebrityRecognitionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartContentModeration.go b/service/rekognition/api_op_StartContentModeration.go index 34cd2b664a0..c6b99f60ef8 100644 --- a/service/rekognition/api_op_StartContentModeration.go +++ b/service/rekognition/api_op_StartContentModeration.go @@ -112,7 +112,10 @@ func addOperationStartContentModerationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartFaceDetection.go b/service/rekognition/api_op_StartFaceDetection.go index 35a207388ba..b46b27a409a 100644 --- a/service/rekognition/api_op_StartFaceDetection.go +++ b/service/rekognition/api_op_StartFaceDetection.go @@ -107,7 +107,10 @@ func addOperationStartFaceDetectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartFaceSearch.go b/service/rekognition/api_op_StartFaceSearch.go index 4b2bf5eb77b..54c8c456992 100644 --- a/service/rekognition/api_op_StartFaceSearch.go +++ b/service/rekognition/api_op_StartFaceSearch.go @@ -111,7 +111,10 @@ func addOperationStartFaceSearchMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartLabelDetection.go b/service/rekognition/api_op_StartLabelDetection.go index 4ab02506a8c..d276990fd37 100644 --- a/service/rekognition/api_op_StartLabelDetection.go +++ b/service/rekognition/api_op_StartLabelDetection.go @@ -114,7 +114,10 @@ func addOperationStartLabelDetectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartPersonTracking.go b/service/rekognition/api_op_StartPersonTracking.go index 67b84d4675b..da429d0e6f1 100644 --- a/service/rekognition/api_op_StartPersonTracking.go +++ b/service/rekognition/api_op_StartPersonTracking.go @@ -101,7 +101,10 @@ func addOperationStartPersonTrackingMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartProjectVersion.go b/service/rekognition/api_op_StartProjectVersion.go index 3c91275e3b7..6818cfd07a5 100644 --- a/service/rekognition/api_op_StartProjectVersion.go +++ b/service/rekognition/api_op_StartProjectVersion.go @@ -87,7 +87,10 @@ func addOperationStartProjectVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartSegmentDetection.go b/service/rekognition/api_op_StartSegmentDetection.go index f2b1b5db1a5..9f1f0c69031 100644 --- a/service/rekognition/api_op_StartSegmentDetection.go +++ b/service/rekognition/api_op_StartSegmentDetection.go @@ -117,7 +117,10 @@ func addOperationStartSegmentDetectionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartStreamProcessor.go b/service/rekognition/api_op_StartStreamProcessor.go index 46d00179901..87bedfad2d4 100644 --- a/service/rekognition/api_op_StartStreamProcessor.go +++ b/service/rekognition/api_op_StartStreamProcessor.go @@ -72,7 +72,10 @@ func addOperationStartStreamProcessorMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StartTextDetection.go b/service/rekognition/api_op_StartTextDetection.go index 91f3ea72fcb..f6bfd51fd30 100644 --- a/service/rekognition/api_op_StartTextDetection.go +++ b/service/rekognition/api_op_StartTextDetection.go @@ -106,7 +106,10 @@ func addOperationStartTextDetectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StopProjectVersion.go b/service/rekognition/api_op_StopProjectVersion.go index b05e8b5b623..ac7e16ff192 100644 --- a/service/rekognition/api_op_StopProjectVersion.go +++ b/service/rekognition/api_op_StopProjectVersion.go @@ -77,7 +77,10 @@ func addOperationStopProjectVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/rekognition/api_op_StopStreamProcessor.go b/service/rekognition/api_op_StopStreamProcessor.go index 9a0389d4b68..b5fb917e672 100644 --- a/service/rekognition/api_op_StopStreamProcessor.go +++ b/service/rekognition/api_op_StopStreamProcessor.go @@ -69,7 +69,10 @@ func addOperationStopStreamProcessorMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_CreateGroup.go b/service/resourcegroups/api_op_CreateGroup.go index 39759bf793f..30d2eb1ffb7 100644 --- a/service/resourcegroups/api_op_CreateGroup.go +++ b/service/resourcegroups/api_op_CreateGroup.go @@ -112,7 +112,10 @@ func addOperationCreateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_DeleteGroup.go b/service/resourcegroups/api_op_DeleteGroup.go index c134c685b6f..6b1ba2729cf 100644 --- a/service/resourcegroups/api_op_DeleteGroup.go +++ b/service/resourcegroups/api_op_DeleteGroup.go @@ -79,7 +79,10 @@ func addOperationDeleteGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_GetGroup.go b/service/resourcegroups/api_op_GetGroup.go index c8265472a32..0a5b807a57a 100644 --- a/service/resourcegroups/api_op_GetGroup.go +++ b/service/resourcegroups/api_op_GetGroup.go @@ -77,7 +77,10 @@ func addOperationGetGroupMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_GetGroupConfiguration.go b/service/resourcegroups/api_op_GetGroupConfiguration.go index fd0251c06bc..e2b61201a96 100644 --- a/service/resourcegroups/api_op_GetGroupConfiguration.go +++ b/service/resourcegroups/api_op_GetGroupConfiguration.go @@ -79,7 +79,10 @@ func addOperationGetGroupConfigurationMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_GetGroupQuery.go b/service/resourcegroups/api_op_GetGroupQuery.go index ea37d261ec9..3384336280c 100644 --- a/service/resourcegroups/api_op_GetGroupQuery.go +++ b/service/resourcegroups/api_op_GetGroupQuery.go @@ -77,7 +77,10 @@ func addOperationGetGroupQueryMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_GetTags.go b/service/resourcegroups/api_op_GetTags.go index 93c668e3ff6..a06c6847724 100644 --- a/service/resourcegroups/api_op_GetTags.go +++ b/service/resourcegroups/api_op_GetTags.go @@ -77,7 +77,10 @@ func addOperationGetTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_GroupResources.go b/service/resourcegroups/api_op_GroupResources.go index fe5c5a76434..f72f915ea47 100644 --- a/service/resourcegroups/api_op_GroupResources.go +++ b/service/resourcegroups/api_op_GroupResources.go @@ -84,7 +84,10 @@ func addOperationGroupResourcesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_ListGroupResources.go b/service/resourcegroups/api_op_ListGroupResources.go index d4112f91cbb..623445830ce 100644 --- a/service/resourcegroups/api_op_ListGroupResources.go +++ b/service/resourcegroups/api_op_ListGroupResources.go @@ -131,7 +131,10 @@ func addOperationListGroupResourcesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_ListGroups.go b/service/resourcegroups/api_op_ListGroups.go index 3d92dce24c3..9877487fbc5 100644 --- a/service/resourcegroups/api_op_ListGroups.go +++ b/service/resourcegroups/api_op_ListGroups.go @@ -115,7 +115,10 @@ func addOperationListGroupsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_SearchResources.go b/service/resourcegroups/api_op_SearchResources.go index 9535e3358b9..6a7278d4e3a 100644 --- a/service/resourcegroups/api_op_SearchResources.go +++ b/service/resourcegroups/api_op_SearchResources.go @@ -107,7 +107,10 @@ func addOperationSearchResourcesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_Tag.go b/service/resourcegroups/api_op_Tag.go index e892fbd5cf3..7fa27b402e0 100644 --- a/service/resourcegroups/api_op_Tag.go +++ b/service/resourcegroups/api_op_Tag.go @@ -87,7 +87,10 @@ func addOperationTagMiddlewares(stack *middleware.Stack, options Options) (err e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_UngroupResources.go b/service/resourcegroups/api_op_UngroupResources.go index 1176549204a..afb002fce41 100644 --- a/service/resourcegroups/api_op_UngroupResources.go +++ b/service/resourcegroups/api_op_UngroupResources.go @@ -82,7 +82,10 @@ func addOperationUngroupResourcesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_Untag.go b/service/resourcegroups/api_op_Untag.go index b9eb87e2759..a2ab857389e 100644 --- a/service/resourcegroups/api_op_Untag.go +++ b/service/resourcegroups/api_op_Untag.go @@ -82,7 +82,10 @@ func addOperationUntagMiddlewares(stack *middleware.Stack, options Options) (err if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_UpdateGroup.go b/service/resourcegroups/api_op_UpdateGroup.go index e4a0d964075..0c5ed90b50b 100644 --- a/service/resourcegroups/api_op_UpdateGroup.go +++ b/service/resourcegroups/api_op_UpdateGroup.go @@ -83,7 +83,10 @@ func addOperationUpdateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroups/api_op_UpdateGroupQuery.go b/service/resourcegroups/api_op_UpdateGroupQuery.go index b236a67022e..1ae1fb96488 100644 --- a/service/resourcegroups/api_op_UpdateGroupQuery.go +++ b/service/resourcegroups/api_op_UpdateGroupQuery.go @@ -83,7 +83,10 @@ func addOperationUpdateGroupQueryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go b/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go index 16324751758..837f93280ff 100644 --- a/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go +++ b/service/resourcegroupstaggingapi/api_op_DescribeReportCreation.go @@ -92,7 +92,10 @@ func addOperationDescribeReportCreationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go b/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go index 968ea93d237..27f5024d7f5 100644 --- a/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go +++ b/service/resourcegroupstaggingapi/api_op_GetComplianceSummary.go @@ -132,7 +132,10 @@ func addOperationGetComplianceSummaryMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroupstaggingapi/api_op_GetResources.go b/service/resourcegroupstaggingapi/api_op_GetResources.go index 097eb8708de..621592fb715 100644 --- a/service/resourcegroupstaggingapi/api_op_GetResources.go +++ b/service/resourcegroupstaggingapi/api_op_GetResources.go @@ -195,7 +195,10 @@ func addOperationGetResourcesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroupstaggingapi/api_op_GetTagKeys.go b/service/resourcegroupstaggingapi/api_op_GetTagKeys.go index bbc930084d5..a2b3968332c 100644 --- a/service/resourcegroupstaggingapi/api_op_GetTagKeys.go +++ b/service/resourcegroupstaggingapi/api_op_GetTagKeys.go @@ -80,7 +80,10 @@ func addOperationGetTagKeysMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroupstaggingapi/api_op_GetTagValues.go b/service/resourcegroupstaggingapi/api_op_GetTagValues.go index 9fa18c4516d..b6880f8c931 100644 --- a/service/resourcegroupstaggingapi/api_op_GetTagValues.go +++ b/service/resourcegroupstaggingapi/api_op_GetTagValues.go @@ -88,7 +88,10 @@ func addOperationGetTagValuesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroupstaggingapi/api_op_StartReportCreation.go b/service/resourcegroupstaggingapi/api_op_StartReportCreation.go index f043e25f415..a36b317e558 100644 --- a/service/resourcegroupstaggingapi/api_op_StartReportCreation.go +++ b/service/resourcegroupstaggingapi/api_op_StartReportCreation.go @@ -77,7 +77,10 @@ func addOperationStartReportCreationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroupstaggingapi/api_op_TagResources.go b/service/resourcegroupstaggingapi/api_op_TagResources.go index bf34a0eddef..3349bf8db95 100644 --- a/service/resourcegroupstaggingapi/api_op_TagResources.go +++ b/service/resourcegroupstaggingapi/api_op_TagResources.go @@ -112,7 +112,10 @@ func addOperationTagResourcesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/resourcegroupstaggingapi/api_op_UntagResources.go b/service/resourcegroupstaggingapi/api_op_UntagResources.go index c6b8d4910f9..af5c2130e1b 100644 --- a/service/resourcegroupstaggingapi/api_op_UntagResources.go +++ b/service/resourcegroupstaggingapi/api_op_UntagResources.go @@ -96,7 +96,10 @@ func addOperationUntagResourcesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_BatchDeleteWorlds.go b/service/robomaker/api_op_BatchDeleteWorlds.go index af268a29c53..6f6c1185c7e 100644 --- a/service/robomaker/api_op_BatchDeleteWorlds.go +++ b/service/robomaker/api_op_BatchDeleteWorlds.go @@ -74,7 +74,10 @@ func addOperationBatchDeleteWorldsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_BatchDescribeSimulationJob.go b/service/robomaker/api_op_BatchDescribeSimulationJob.go index 712da3a7d76..30f2dd8c830 100644 --- a/service/robomaker/api_op_BatchDescribeSimulationJob.go +++ b/service/robomaker/api_op_BatchDescribeSimulationJob.go @@ -77,7 +77,10 @@ func addOperationBatchDescribeSimulationJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CancelDeploymentJob.go b/service/robomaker/api_op_CancelDeploymentJob.go index 43377601eb9..9527c90454d 100644 --- a/service/robomaker/api_op_CancelDeploymentJob.go +++ b/service/robomaker/api_op_CancelDeploymentJob.go @@ -69,7 +69,10 @@ func addOperationCancelDeploymentJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CancelSimulationJob.go b/service/robomaker/api_op_CancelSimulationJob.go index f1c339eef2b..8a290aa6d4a 100644 --- a/service/robomaker/api_op_CancelSimulationJob.go +++ b/service/robomaker/api_op_CancelSimulationJob.go @@ -69,7 +69,10 @@ func addOperationCancelSimulationJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CancelSimulationJobBatch.go b/service/robomaker/api_op_CancelSimulationJobBatch.go index 7e2cf1b9ddd..d172ea0479c 100644 --- a/service/robomaker/api_op_CancelSimulationJobBatch.go +++ b/service/robomaker/api_op_CancelSimulationJobBatch.go @@ -70,7 +70,10 @@ func addOperationCancelSimulationJobBatchMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CancelWorldExportJob.go b/service/robomaker/api_op_CancelWorldExportJob.go index 9dc421e29f3..e0087850c4f 100644 --- a/service/robomaker/api_op_CancelWorldExportJob.go +++ b/service/robomaker/api_op_CancelWorldExportJob.go @@ -69,7 +69,10 @@ func addOperationCancelWorldExportJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CancelWorldGenerationJob.go b/service/robomaker/api_op_CancelWorldGenerationJob.go index 329f52df8e7..f63b320c335 100644 --- a/service/robomaker/api_op_CancelWorldGenerationJob.go +++ b/service/robomaker/api_op_CancelWorldGenerationJob.go @@ -69,7 +69,10 @@ func addOperationCancelWorldGenerationJobMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateDeploymentJob.go b/service/robomaker/api_op_CreateDeploymentJob.go index bdf80e32494..d1784de85a2 100644 --- a/service/robomaker/api_op_CreateDeploymentJob.go +++ b/service/robomaker/api_op_CreateDeploymentJob.go @@ -144,7 +144,10 @@ func addOperationCreateDeploymentJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateFleet.go b/service/robomaker/api_op_CreateFleet.go index 06c5b3a8fca..0cc3d57806f 100644 --- a/service/robomaker/api_op_CreateFleet.go +++ b/service/robomaker/api_op_CreateFleet.go @@ -86,7 +86,10 @@ func addOperationCreateFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateRobot.go b/service/robomaker/api_op_CreateRobot.go index 8e6fa2395dc..d7e5c842ffd 100644 --- a/service/robomaker/api_op_CreateRobot.go +++ b/service/robomaker/api_op_CreateRobot.go @@ -104,7 +104,10 @@ func addOperationCreateRobotMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateRobotApplication.go b/service/robomaker/api_op_CreateRobotApplication.go index 1df767100fd..885c9a42aaa 100644 --- a/service/robomaker/api_op_CreateRobotApplication.go +++ b/service/robomaker/api_op_CreateRobotApplication.go @@ -111,7 +111,10 @@ func addOperationCreateRobotApplicationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateRobotApplicationVersion.go b/service/robomaker/api_op_CreateRobotApplicationVersion.go index cc0bffd3323..23ca27e5534 100644 --- a/service/robomaker/api_op_CreateRobotApplicationVersion.go +++ b/service/robomaker/api_op_CreateRobotApplicationVersion.go @@ -98,7 +98,10 @@ func addOperationCreateRobotApplicationVersionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateSimulationApplication.go b/service/robomaker/api_op_CreateSimulationApplication.go index 7ba204165ae..c52bced9b00 100644 --- a/service/robomaker/api_op_CreateSimulationApplication.go +++ b/service/robomaker/api_op_CreateSimulationApplication.go @@ -125,7 +125,10 @@ func addOperationCreateSimulationApplicationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateSimulationApplicationVersion.go b/service/robomaker/api_op_CreateSimulationApplicationVersion.go index cec6815b5dd..f38d14e328c 100644 --- a/service/robomaker/api_op_CreateSimulationApplicationVersion.go +++ b/service/robomaker/api_op_CreateSimulationApplicationVersion.go @@ -104,7 +104,10 @@ func addOperationCreateSimulationApplicationVersionMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateSimulationJob.go b/service/robomaker/api_op_CreateSimulationJob.go index 9849a820566..84e2befe8ab 100644 --- a/service/robomaker/api_op_CreateSimulationJob.go +++ b/service/robomaker/api_op_CreateSimulationJob.go @@ -194,7 +194,10 @@ func addOperationCreateSimulationJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateWorldExportJob.go b/service/robomaker/api_op_CreateWorldExportJob.go index 26042ff9e86..c7dafc736de 100644 --- a/service/robomaker/api_op_CreateWorldExportJob.go +++ b/service/robomaker/api_op_CreateWorldExportJob.go @@ -133,7 +133,10 @@ func addOperationCreateWorldExportJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateWorldGenerationJob.go b/service/robomaker/api_op_CreateWorldGenerationJob.go index 908e0d1d61e..34ce5feffde 100644 --- a/service/robomaker/api_op_CreateWorldGenerationJob.go +++ b/service/robomaker/api_op_CreateWorldGenerationJob.go @@ -132,7 +132,10 @@ func addOperationCreateWorldGenerationJobMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_CreateWorldTemplate.go b/service/robomaker/api_op_CreateWorldTemplate.go index dc890893883..47c75f212f4 100644 --- a/service/robomaker/api_op_CreateWorldTemplate.go +++ b/service/robomaker/api_op_CreateWorldTemplate.go @@ -101,7 +101,10 @@ func addOperationCreateWorldTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DeleteFleet.go b/service/robomaker/api_op_DeleteFleet.go index ecf94d96d2f..8e260dbbc26 100644 --- a/service/robomaker/api_op_DeleteFleet.go +++ b/service/robomaker/api_op_DeleteFleet.go @@ -69,7 +69,10 @@ func addOperationDeleteFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DeleteRobot.go b/service/robomaker/api_op_DeleteRobot.go index 29000db4424..d4e35560058 100644 --- a/service/robomaker/api_op_DeleteRobot.go +++ b/service/robomaker/api_op_DeleteRobot.go @@ -69,7 +69,10 @@ func addOperationDeleteRobotMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DeleteRobotApplication.go b/service/robomaker/api_op_DeleteRobotApplication.go index 1d422bd1c5e..6786deccfc9 100644 --- a/service/robomaker/api_op_DeleteRobotApplication.go +++ b/service/robomaker/api_op_DeleteRobotApplication.go @@ -72,7 +72,10 @@ func addOperationDeleteRobotApplicationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DeleteSimulationApplication.go b/service/robomaker/api_op_DeleteSimulationApplication.go index 0408f05140c..06cd2da7311 100644 --- a/service/robomaker/api_op_DeleteSimulationApplication.go +++ b/service/robomaker/api_op_DeleteSimulationApplication.go @@ -72,7 +72,10 @@ func addOperationDeleteSimulationApplicationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DeleteWorldTemplate.go b/service/robomaker/api_op_DeleteWorldTemplate.go index a904b059cbe..d647a3d231b 100644 --- a/service/robomaker/api_op_DeleteWorldTemplate.go +++ b/service/robomaker/api_op_DeleteWorldTemplate.go @@ -69,7 +69,10 @@ func addOperationDeleteWorldTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DeregisterRobot.go b/service/robomaker/api_op_DeregisterRobot.go index 87fa4ec026a..a6e40da306a 100644 --- a/service/robomaker/api_op_DeregisterRobot.go +++ b/service/robomaker/api_op_DeregisterRobot.go @@ -81,7 +81,10 @@ func addOperationDeregisterRobotMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeDeploymentJob.go b/service/robomaker/api_op_DescribeDeploymentJob.go index 69978970b75..3759cee249b 100644 --- a/service/robomaker/api_op_DescribeDeploymentJob.go +++ b/service/robomaker/api_op_DescribeDeploymentJob.go @@ -102,7 +102,10 @@ func addOperationDescribeDeploymentJobMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeFleet.go b/service/robomaker/api_op_DescribeFleet.go index 10c4de4af06..34ac25f2a75 100644 --- a/service/robomaker/api_op_DescribeFleet.go +++ b/service/robomaker/api_op_DescribeFleet.go @@ -96,7 +96,10 @@ func addOperationDescribeFleetMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeRobot.go b/service/robomaker/api_op_DescribeRobot.go index eed13cda22b..44bbdbf9e5e 100644 --- a/service/robomaker/api_op_DescribeRobot.go +++ b/service/robomaker/api_op_DescribeRobot.go @@ -102,7 +102,10 @@ func addOperationDescribeRobotMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeRobotApplication.go b/service/robomaker/api_op_DescribeRobotApplication.go index ea28c4a4f5f..770d7948c12 100644 --- a/service/robomaker/api_op_DescribeRobotApplication.go +++ b/service/robomaker/api_op_DescribeRobotApplication.go @@ -100,7 +100,10 @@ func addOperationDescribeRobotApplicationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeSimulationApplication.go b/service/robomaker/api_op_DescribeSimulationApplication.go index e48c85e58b0..d0f50640a70 100644 --- a/service/robomaker/api_op_DescribeSimulationApplication.go +++ b/service/robomaker/api_op_DescribeSimulationApplication.go @@ -106,7 +106,10 @@ func addOperationDescribeSimulationApplicationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeSimulationJob.go b/service/robomaker/api_op_DescribeSimulationJob.go index 0feef96f5d5..925bb22274c 100644 --- a/service/robomaker/api_op_DescribeSimulationJob.go +++ b/service/robomaker/api_op_DescribeSimulationJob.go @@ -157,7 +157,10 @@ func addOperationDescribeSimulationJobMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeSimulationJobBatch.go b/service/robomaker/api_op_DescribeSimulationJobBatch.go index 39787931360..4b267992b2d 100644 --- a/service/robomaker/api_op_DescribeSimulationJobBatch.go +++ b/service/robomaker/api_op_DescribeSimulationJobBatch.go @@ -128,7 +128,10 @@ func addOperationDescribeSimulationJobBatchMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeWorld.go b/service/robomaker/api_op_DescribeWorld.go index ab7805f10b8..21dbbe60938 100644 --- a/service/robomaker/api_op_DescribeWorld.go +++ b/service/robomaker/api_op_DescribeWorld.go @@ -87,7 +87,10 @@ func addOperationDescribeWorldMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeWorldExportJob.go b/service/robomaker/api_op_DescribeWorldExportJob.go index 5a35a5e6ae1..2094e7f2c8c 100644 --- a/service/robomaker/api_op_DescribeWorldExportJob.go +++ b/service/robomaker/api_op_DescribeWorldExportJob.go @@ -115,7 +115,10 @@ func addOperationDescribeWorldExportJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeWorldGenerationJob.go b/service/robomaker/api_op_DescribeWorldGenerationJob.go index e4759dc3ca1..eacd590871f 100644 --- a/service/robomaker/api_op_DescribeWorldGenerationJob.go +++ b/service/robomaker/api_op_DescribeWorldGenerationJob.go @@ -119,7 +119,10 @@ func addOperationDescribeWorldGenerationJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_DescribeWorldTemplate.go b/service/robomaker/api_op_DescribeWorldTemplate.go index d3ea92b692d..3e6c7691b63 100644 --- a/service/robomaker/api_op_DescribeWorldTemplate.go +++ b/service/robomaker/api_op_DescribeWorldTemplate.go @@ -92,7 +92,10 @@ func addOperationDescribeWorldTemplateMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_GetWorldTemplateBody.go b/service/robomaker/api_op_GetWorldTemplateBody.go index 502fa800ca3..b226ea8d80c 100644 --- a/service/robomaker/api_op_GetWorldTemplateBody.go +++ b/service/robomaker/api_op_GetWorldTemplateBody.go @@ -74,7 +74,10 @@ func addOperationGetWorldTemplateBodyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListDeploymentJobs.go b/service/robomaker/api_op_ListDeploymentJobs.go index cd9eb9757ef..3610333107b 100644 --- a/service/robomaker/api_op_ListDeploymentJobs.go +++ b/service/robomaker/api_op_ListDeploymentJobs.go @@ -100,7 +100,10 @@ func addOperationListDeploymentJobsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListFleets.go b/service/robomaker/api_op_ListFleets.go index 8441dc1b2be..20dba63029a 100644 --- a/service/robomaker/api_op_ListFleets.go +++ b/service/robomaker/api_op_ListFleets.go @@ -100,7 +100,10 @@ func addOperationListFleetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListRobotApplications.go b/service/robomaker/api_op_ListRobotApplications.go index 3e35d51a496..eeff71a0774 100644 --- a/service/robomaker/api_op_ListRobotApplications.go +++ b/service/robomaker/api_op_ListRobotApplications.go @@ -101,7 +101,10 @@ func addOperationListRobotApplicationsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListRobots.go b/service/robomaker/api_op_ListRobots.go index d5ed4092a4a..50b99fd25b3 100644 --- a/service/robomaker/api_op_ListRobots.go +++ b/service/robomaker/api_op_ListRobots.go @@ -100,7 +100,10 @@ func addOperationListRobotsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListSimulationApplications.go b/service/robomaker/api_op_ListSimulationApplications.go index 875335726c8..f27c57a1d0c 100644 --- a/service/robomaker/api_op_ListSimulationApplications.go +++ b/service/robomaker/api_op_ListSimulationApplications.go @@ -103,7 +103,10 @@ func addOperationListSimulationApplicationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListSimulationJobBatches.go b/service/robomaker/api_op_ListSimulationJobBatches.go index 8cf385fbfcb..ca3511cbbaf 100644 --- a/service/robomaker/api_op_ListSimulationJobBatches.go +++ b/service/robomaker/api_op_ListSimulationJobBatches.go @@ -94,7 +94,10 @@ func addOperationListSimulationJobBatchesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListSimulationJobs.go b/service/robomaker/api_op_ListSimulationJobs.go index 1403e3272eb..913728978ee 100644 --- a/service/robomaker/api_op_ListSimulationJobs.go +++ b/service/robomaker/api_op_ListSimulationJobs.go @@ -102,7 +102,10 @@ func addOperationListSimulationJobsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListTagsForResource.go b/service/robomaker/api_op_ListTagsForResource.go index 172ad3c7614..9f0d5a50aa4 100644 --- a/service/robomaker/api_op_ListTagsForResource.go +++ b/service/robomaker/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListWorldExportJobs.go b/service/robomaker/api_op_ListWorldExportJobs.go index 3a2cecb80a6..179c151b8aa 100644 --- a/service/robomaker/api_op_ListWorldExportJobs.go +++ b/service/robomaker/api_op_ListWorldExportJobs.go @@ -97,7 +97,10 @@ func addOperationListWorldExportJobsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListWorldGenerationJobs.go b/service/robomaker/api_op_ListWorldGenerationJobs.go index ce71485ee08..5f531d73fca 100644 --- a/service/robomaker/api_op_ListWorldGenerationJobs.go +++ b/service/robomaker/api_op_ListWorldGenerationJobs.go @@ -99,7 +99,10 @@ func addOperationListWorldGenerationJobsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListWorldTemplates.go b/service/robomaker/api_op_ListWorldTemplates.go index 2732a6517c9..5c442420e96 100644 --- a/service/robomaker/api_op_ListWorldTemplates.go +++ b/service/robomaker/api_op_ListWorldTemplates.go @@ -92,7 +92,10 @@ func addOperationListWorldTemplatesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_ListWorlds.go b/service/robomaker/api_op_ListWorlds.go index d5d3da32dde..8b59cf6a2c0 100644 --- a/service/robomaker/api_op_ListWorlds.go +++ b/service/robomaker/api_op_ListWorlds.go @@ -95,7 +95,10 @@ func addOperationListWorldsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_RegisterRobot.go b/service/robomaker/api_op_RegisterRobot.go index d9dbffb2cd8..c457c935435 100644 --- a/service/robomaker/api_op_RegisterRobot.go +++ b/service/robomaker/api_op_RegisterRobot.go @@ -81,7 +81,10 @@ func addOperationRegisterRobotMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_RestartSimulationJob.go b/service/robomaker/api_op_RestartSimulationJob.go index c5f1079a623..466fc5a2eb1 100644 --- a/service/robomaker/api_op_RestartSimulationJob.go +++ b/service/robomaker/api_op_RestartSimulationJob.go @@ -69,7 +69,10 @@ func addOperationRestartSimulationJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_StartSimulationJobBatch.go b/service/robomaker/api_op_StartSimulationJobBatch.go index 86c219a53b9..858df2b6ac2 100644 --- a/service/robomaker/api_op_StartSimulationJobBatch.go +++ b/service/robomaker/api_op_StartSimulationJobBatch.go @@ -138,7 +138,10 @@ func addOperationStartSimulationJobBatchMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_SyncDeploymentJob.go b/service/robomaker/api_op_SyncDeploymentJob.go index 712820dd10c..b223c9454fb 100644 --- a/service/robomaker/api_op_SyncDeploymentJob.go +++ b/service/robomaker/api_op_SyncDeploymentJob.go @@ -119,7 +119,10 @@ func addOperationSyncDeploymentJobMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_TagResource.go b/service/robomaker/api_op_TagResource.go index 551ca3f7e6f..5f01a0ab42d 100644 --- a/service/robomaker/api_op_TagResource.go +++ b/service/robomaker/api_op_TagResource.go @@ -79,7 +79,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_UntagResource.go b/service/robomaker/api_op_UntagResource.go index 686ecf78a9d..2dfbbc54d74 100644 --- a/service/robomaker/api_op_UntagResource.go +++ b/service/robomaker/api_op_UntagResource.go @@ -79,7 +79,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_UpdateRobotApplication.go b/service/robomaker/api_op_UpdateRobotApplication.go index 402c4dcd86c..3d5658fcfdb 100644 --- a/service/robomaker/api_op_UpdateRobotApplication.go +++ b/service/robomaker/api_op_UpdateRobotApplication.go @@ -107,7 +107,10 @@ func addOperationUpdateRobotApplicationMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_UpdateSimulationApplication.go b/service/robomaker/api_op_UpdateSimulationApplication.go index 1656d9513db..3154fc03bb9 100644 --- a/service/robomaker/api_op_UpdateSimulationApplication.go +++ b/service/robomaker/api_op_UpdateSimulationApplication.go @@ -121,7 +121,10 @@ func addOperationUpdateSimulationApplicationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/robomaker/api_op_UpdateWorldTemplate.go b/service/robomaker/api_op_UpdateWorldTemplate.go index cd6f0a58c96..4a41360a33f 100644 --- a/service/robomaker/api_op_UpdateWorldTemplate.go +++ b/service/robomaker/api_op_UpdateWorldTemplate.go @@ -94,7 +94,10 @@ func addOperationUpdateWorldTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ActivateKeySigningKey.go b/service/route53/api_op_ActivateKeySigningKey.go index 51bcfa3c29c..2947f9a5060 100644 --- a/service/route53/api_op_ActivateKeySigningKey.go +++ b/service/route53/api_op_ActivateKeySigningKey.go @@ -83,7 +83,10 @@ func addOperationActivateKeySigningKeyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_AssociateVPCWithHostedZone.go b/service/route53/api_op_AssociateVPCWithHostedZone.go index 4a90a774fb5..5ffc74c6926 100644 --- a/service/route53/api_op_AssociateVPCWithHostedZone.go +++ b/service/route53/api_op_AssociateVPCWithHostedZone.go @@ -98,7 +98,10 @@ func addOperationAssociateVPCWithHostedZoneMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ChangeResourceRecordSets.go b/service/route53/api_op_ChangeResourceRecordSets.go index 514e57dc285..e131d4c56f9 100644 --- a/service/route53/api_op_ChangeResourceRecordSets.go +++ b/service/route53/api_op_ChangeResourceRecordSets.go @@ -148,7 +148,10 @@ func addOperationChangeResourceRecordSetsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ChangeTagsForResource.go b/service/route53/api_op_ChangeTagsForResource.go index 0adc62cdbf8..c95081344d2 100644 --- a/service/route53/api_op_ChangeTagsForResource.go +++ b/service/route53/api_op_ChangeTagsForResource.go @@ -95,7 +95,10 @@ func addOperationChangeTagsForResourceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_CreateHealthCheck.go b/service/route53/api_op_CreateHealthCheck.go index 7f79ac45b0b..11bbf47c48a 100644 --- a/service/route53/api_op_CreateHealthCheck.go +++ b/service/route53/api_op_CreateHealthCheck.go @@ -136,7 +136,10 @@ func addOperationCreateHealthCheckMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_CreateHostedZone.go b/service/route53/api_op_CreateHostedZone.go index 7099ed2468c..bfb45840037 100644 --- a/service/route53/api_op_CreateHostedZone.go +++ b/service/route53/api_op_CreateHostedZone.go @@ -176,7 +176,10 @@ func addOperationCreateHostedZoneMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_CreateKeySigningKey.go b/service/route53/api_op_CreateKeySigningKey.go index 1afbcca0058..afa56da0cdb 100644 --- a/service/route53/api_op_CreateKeySigningKey.go +++ b/service/route53/api_op_CreateKeySigningKey.go @@ -133,7 +133,10 @@ func addOperationCreateKeySigningKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_CreateQueryLoggingConfig.go b/service/route53/api_op_CreateQueryLoggingConfig.go index a61736948a8..81f1fe208de 100644 --- a/service/route53/api_op_CreateQueryLoggingConfig.go +++ b/service/route53/api_op_CreateQueryLoggingConfig.go @@ -184,7 +184,10 @@ func addOperationCreateQueryLoggingConfigMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_CreateReusableDelegationSet.go b/service/route53/api_op_CreateReusableDelegationSet.go index c8959f9f974..e795857c064 100644 --- a/service/route53/api_op_CreateReusableDelegationSet.go +++ b/service/route53/api_op_CreateReusableDelegationSet.go @@ -136,7 +136,10 @@ func addOperationCreateReusableDelegationSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_CreateTrafficPolicy.go b/service/route53/api_op_CreateTrafficPolicy.go index 1f2459979a3..2e1b96a6ecc 100644 --- a/service/route53/api_op_CreateTrafficPolicy.go +++ b/service/route53/api_op_CreateTrafficPolicy.go @@ -97,7 +97,10 @@ func addOperationCreateTrafficPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_CreateTrafficPolicyInstance.go b/service/route53/api_op_CreateTrafficPolicyInstance.go index 990191eb108..1e1ddf57757 100644 --- a/service/route53/api_op_CreateTrafficPolicyInstance.go +++ b/service/route53/api_op_CreateTrafficPolicyInstance.go @@ -116,7 +116,10 @@ func addOperationCreateTrafficPolicyInstanceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_CreateTrafficPolicyVersion.go b/service/route53/api_op_CreateTrafficPolicyVersion.go index e7d50bc10a2..e00d415cab4 100644 --- a/service/route53/api_op_CreateTrafficPolicyVersion.go +++ b/service/route53/api_op_CreateTrafficPolicyVersion.go @@ -104,7 +104,10 @@ func addOperationCreateTrafficPolicyVersionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_CreateVPCAssociationAuthorization.go b/service/route53/api_op_CreateVPCAssociationAuthorization.go index cb295d10cc4..6cf6b64834a 100644 --- a/service/route53/api_op_CreateVPCAssociationAuthorization.go +++ b/service/route53/api_op_CreateVPCAssociationAuthorization.go @@ -101,7 +101,10 @@ func addOperationCreateVPCAssociationAuthorizationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DeactivateKeySigningKey.go b/service/route53/api_op_DeactivateKeySigningKey.go index 1c77765d042..31e295e6ead 100644 --- a/service/route53/api_op_DeactivateKeySigningKey.go +++ b/service/route53/api_op_DeactivateKeySigningKey.go @@ -83,7 +83,10 @@ func addOperationDeactivateKeySigningKeyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DeleteHealthCheck.go b/service/route53/api_op_DeleteHealthCheck.go index ada21c9bc79..d41e525ea18 100644 --- a/service/route53/api_op_DeleteHealthCheck.go +++ b/service/route53/api_op_DeleteHealthCheck.go @@ -84,7 +84,10 @@ func addOperationDeleteHealthCheckMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DeleteHostedZone.go b/service/route53/api_op_DeleteHostedZone.go index ea6f6f5b5f3..9be7aacfe64 100644 --- a/service/route53/api_op_DeleteHostedZone.go +++ b/service/route53/api_op_DeleteHostedZone.go @@ -118,7 +118,10 @@ func addOperationDeleteHostedZoneMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DeleteKeySigningKey.go b/service/route53/api_op_DeleteKeySigningKey.go index f85f08ba389..208e76e4335 100644 --- a/service/route53/api_op_DeleteKeySigningKey.go +++ b/service/route53/api_op_DeleteKeySigningKey.go @@ -84,7 +84,10 @@ func addOperationDeleteKeySigningKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DeleteQueryLoggingConfig.go b/service/route53/api_op_DeleteQueryLoggingConfig.go index c598a44452c..8322cd67d69 100644 --- a/service/route53/api_op_DeleteQueryLoggingConfig.go +++ b/service/route53/api_op_DeleteQueryLoggingConfig.go @@ -73,7 +73,10 @@ func addOperationDeleteQueryLoggingConfigMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DeleteReusableDelegationSet.go b/service/route53/api_op_DeleteReusableDelegationSet.go index 1def82d0637..416a9e64c5b 100644 --- a/service/route53/api_op_DeleteReusableDelegationSet.go +++ b/service/route53/api_op_DeleteReusableDelegationSet.go @@ -77,7 +77,10 @@ func addOperationDeleteReusableDelegationSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DeleteTrafficPolicy.go b/service/route53/api_op_DeleteTrafficPolicy.go index a133d002f30..82ec4137286 100644 --- a/service/route53/api_op_DeleteTrafficPolicy.go +++ b/service/route53/api_op_DeleteTrafficPolicy.go @@ -90,7 +90,10 @@ func addOperationDeleteTrafficPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DeleteTrafficPolicyInstance.go b/service/route53/api_op_DeleteTrafficPolicyInstance.go index 459b2dfcd8a..a84e1bbf852 100644 --- a/service/route53/api_op_DeleteTrafficPolicyInstance.go +++ b/service/route53/api_op_DeleteTrafficPolicyInstance.go @@ -75,7 +75,10 @@ func addOperationDeleteTrafficPolicyInstanceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DeleteVPCAssociationAuthorization.go b/service/route53/api_op_DeleteVPCAssociationAuthorization.go index 6cdc05bea0b..fa45d4fddfa 100644 --- a/service/route53/api_op_DeleteVPCAssociationAuthorization.go +++ b/service/route53/api_op_DeleteVPCAssociationAuthorization.go @@ -91,7 +91,10 @@ func addOperationDeleteVPCAssociationAuthorizationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DisableHostedZoneDNSSEC.go b/service/route53/api_op_DisableHostedZoneDNSSEC.go index c09d7c8ff16..cc774a7ab70 100644 --- a/service/route53/api_op_DisableHostedZoneDNSSEC.go +++ b/service/route53/api_op_DisableHostedZoneDNSSEC.go @@ -78,7 +78,10 @@ func addOperationDisableHostedZoneDNSSECMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_DisassociateVPCFromHostedZone.go b/service/route53/api_op_DisassociateVPCFromHostedZone.go index 8949973cbcb..bcd3837d145 100644 --- a/service/route53/api_op_DisassociateVPCFromHostedZone.go +++ b/service/route53/api_op_DisassociateVPCFromHostedZone.go @@ -112,7 +112,10 @@ func addOperationDisassociateVPCFromHostedZoneMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_EnableHostedZoneDNSSEC.go b/service/route53/api_op_EnableHostedZoneDNSSEC.go index 523419880c7..4662e36c32b 100644 --- a/service/route53/api_op_EnableHostedZoneDNSSEC.go +++ b/service/route53/api_op_EnableHostedZoneDNSSEC.go @@ -77,7 +77,10 @@ func addOperationEnableHostedZoneDNSSECMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetAccountLimit.go b/service/route53/api_op_GetAccountLimit.go index bf74f56be92..ad49038c092 100644 --- a/service/route53/api_op_GetAccountLimit.go +++ b/service/route53/api_op_GetAccountLimit.go @@ -120,7 +120,10 @@ func addOperationGetAccountLimitMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetChange.go b/service/route53/api_op_GetChange.go index 85acca5722c..2f3f1ab2519 100644 --- a/service/route53/api_op_GetChange.go +++ b/service/route53/api_op_GetChange.go @@ -88,7 +88,10 @@ func addOperationGetChangeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetCheckerIpRanges.go b/service/route53/api_op_GetCheckerIpRanges.go index 82516baf6b3..d641c41edb2 100644 --- a/service/route53/api_op_GetCheckerIpRanges.go +++ b/service/route53/api_op_GetCheckerIpRanges.go @@ -77,7 +77,10 @@ func addOperationGetCheckerIpRangesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetDNSSEC.go b/service/route53/api_op_GetDNSSEC.go index 81fc0b95e5a..15f07e80c73 100644 --- a/service/route53/api_op_GetDNSSEC.go +++ b/service/route53/api_op_GetDNSSEC.go @@ -82,7 +82,10 @@ func addOperationGetDNSSECMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetGeoLocation.go b/service/route53/api_op_GetGeoLocation.go index 6ac6a582313..5c7c10cf199 100644 --- a/service/route53/api_op_GetGeoLocation.go +++ b/service/route53/api_op_GetGeoLocation.go @@ -115,7 +115,10 @@ func addOperationGetGeoLocationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetHealthCheck.go b/service/route53/api_op_GetHealthCheck.go index bac4d56b3f1..6c97fa9db62 100644 --- a/service/route53/api_op_GetHealthCheck.go +++ b/service/route53/api_op_GetHealthCheck.go @@ -81,7 +81,10 @@ func addOperationGetHealthCheckMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetHealthCheckCount.go b/service/route53/api_op_GetHealthCheckCount.go index d8211c60724..23e89fafe97 100644 --- a/service/route53/api_op_GetHealthCheckCount.go +++ b/service/route53/api_op_GetHealthCheckCount.go @@ -74,7 +74,10 @@ func addOperationGetHealthCheckCountMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetHealthCheckLastFailureReason.go b/service/route53/api_op_GetHealthCheckLastFailureReason.go index 1a0277d3517..52d172f0e18 100644 --- a/service/route53/api_op_GetHealthCheckLastFailureReason.go +++ b/service/route53/api_op_GetHealthCheckLastFailureReason.go @@ -85,7 +85,10 @@ func addOperationGetHealthCheckLastFailureReasonMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetHealthCheckStatus.go b/service/route53/api_op_GetHealthCheckStatus.go index e2681728175..bf19f11f2b3 100644 --- a/service/route53/api_op_GetHealthCheckStatus.go +++ b/service/route53/api_op_GetHealthCheckStatus.go @@ -84,7 +84,10 @@ func addOperationGetHealthCheckStatusMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetHostedZone.go b/service/route53/api_op_GetHostedZone.go index b70e8f748f1..37cebd1627f 100644 --- a/service/route53/api_op_GetHostedZone.go +++ b/service/route53/api_op_GetHostedZone.go @@ -88,7 +88,10 @@ func addOperationGetHostedZoneMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetHostedZoneCount.go b/service/route53/api_op_GetHostedZoneCount.go index 1908206bb11..2394b2bdad6 100644 --- a/service/route53/api_op_GetHostedZoneCount.go +++ b/service/route53/api_op_GetHostedZoneCount.go @@ -75,7 +75,10 @@ func addOperationGetHostedZoneCountMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetHostedZoneLimit.go b/service/route53/api_op_GetHostedZoneLimit.go index b25957b6a91..9ed487c5561 100644 --- a/service/route53/api_op_GetHostedZoneLimit.go +++ b/service/route53/api_op_GetHostedZoneLimit.go @@ -106,7 +106,10 @@ func addOperationGetHostedZoneLimitMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetQueryLoggingConfig.go b/service/route53/api_op_GetQueryLoggingConfig.go index 790990937a5..a9ba685a65d 100644 --- a/service/route53/api_op_GetQueryLoggingConfig.go +++ b/service/route53/api_op_GetQueryLoggingConfig.go @@ -84,7 +84,10 @@ func addOperationGetQueryLoggingConfigMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetReusableDelegationSet.go b/service/route53/api_op_GetReusableDelegationSet.go index 54935d4b09e..dbbc24439aa 100644 --- a/service/route53/api_op_GetReusableDelegationSet.go +++ b/service/route53/api_op_GetReusableDelegationSet.go @@ -81,7 +81,10 @@ func addOperationGetReusableDelegationSetMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetReusableDelegationSetLimit.go b/service/route53/api_op_GetReusableDelegationSetLimit.go index afff9bd30c0..95624549f68 100644 --- a/service/route53/api_op_GetReusableDelegationSetLimit.go +++ b/service/route53/api_op_GetReusableDelegationSetLimit.go @@ -96,7 +96,10 @@ func addOperationGetReusableDelegationSetLimitMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetTrafficPolicy.go b/service/route53/api_op_GetTrafficPolicy.go index 0b6d5fffa70..65e9e8c1ba2 100644 --- a/service/route53/api_op_GetTrafficPolicy.go +++ b/service/route53/api_op_GetTrafficPolicy.go @@ -86,7 +86,10 @@ func addOperationGetTrafficPolicyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetTrafficPolicyInstance.go b/service/route53/api_op_GetTrafficPolicyInstance.go index f142e0a71a0..ca43fe8ed92 100644 --- a/service/route53/api_op_GetTrafficPolicyInstance.go +++ b/service/route53/api_op_GetTrafficPolicyInstance.go @@ -84,7 +84,10 @@ func addOperationGetTrafficPolicyInstanceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_GetTrafficPolicyInstanceCount.go b/service/route53/api_op_GetTrafficPolicyInstanceCount.go index 2635c48eec2..4bda85514e3 100644 --- a/service/route53/api_op_GetTrafficPolicyInstanceCount.go +++ b/service/route53/api_op_GetTrafficPolicyInstanceCount.go @@ -76,7 +76,10 @@ func addOperationGetTrafficPolicyInstanceCountMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListGeoLocations.go b/service/route53/api_op_ListGeoLocations.go index 3671a1d5ff2..7e309426492 100644 --- a/service/route53/api_op_ListGeoLocations.go +++ b/service/route53/api_op_ListGeoLocations.go @@ -139,7 +139,10 @@ func addOperationListGeoLocationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListHealthChecks.go b/service/route53/api_op_ListHealthChecks.go index c4cacd38df9..b3ce319f0b2 100644 --- a/service/route53/api_op_ListHealthChecks.go +++ b/service/route53/api_op_ListHealthChecks.go @@ -116,7 +116,10 @@ func addOperationListHealthChecksMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListHostedZones.go b/service/route53/api_op_ListHostedZones.go index f15ccbd1ee9..7a021ddbda0 100644 --- a/service/route53/api_op_ListHostedZones.go +++ b/service/route53/api_op_ListHostedZones.go @@ -124,7 +124,10 @@ func addOperationListHostedZonesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListHostedZonesByName.go b/service/route53/api_op_ListHostedZonesByName.go index 6a773684e7b..70c596b996f 100644 --- a/service/route53/api_op_ListHostedZonesByName.go +++ b/service/route53/api_op_ListHostedZonesByName.go @@ -173,7 +173,10 @@ func addOperationListHostedZonesByNameMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListHostedZonesByVPC.go b/service/route53/api_op_ListHostedZonesByVPC.go index 017c9f7ed9b..d600331d1ef 100644 --- a/service/route53/api_op_ListHostedZonesByVPC.go +++ b/service/route53/api_op_ListHostedZonesByVPC.go @@ -122,7 +122,10 @@ func addOperationListHostedZonesByVPCMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListQueryLoggingConfigs.go b/service/route53/api_op_ListQueryLoggingConfigs.go index 360f25d501f..d1a9110f11e 100644 --- a/service/route53/api_op_ListQueryLoggingConfigs.go +++ b/service/route53/api_op_ListQueryLoggingConfigs.go @@ -113,7 +113,10 @@ func addOperationListQueryLoggingConfigsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListResourceRecordSets.go b/service/route53/api_op_ListResourceRecordSets.go index e89f63a55f6..b6a70b1159c 100644 --- a/service/route53/api_op_ListResourceRecordSets.go +++ b/service/route53/api_op_ListResourceRecordSets.go @@ -186,7 +186,10 @@ func addOperationListResourceRecordSetsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListReusableDelegationSets.go b/service/route53/api_op_ListReusableDelegationSets.go index 19e4bc7c546..b93270aef36 100644 --- a/service/route53/api_op_ListReusableDelegationSets.go +++ b/service/route53/api_op_ListReusableDelegationSets.go @@ -116,7 +116,10 @@ func addOperationListReusableDelegationSetsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListTagsForResource.go b/service/route53/api_op_ListTagsForResource.go index bfe80233940..c3c49b265cb 100644 --- a/service/route53/api_op_ListTagsForResource.go +++ b/service/route53/api_op_ListTagsForResource.go @@ -93,7 +93,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListTagsForResources.go b/service/route53/api_op_ListTagsForResources.go index c98eb33a4e7..4d1c23cbf8e 100644 --- a/service/route53/api_op_ListTagsForResources.go +++ b/service/route53/api_op_ListTagsForResources.go @@ -94,7 +94,10 @@ func addOperationListTagsForResourcesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListTrafficPolicies.go b/service/route53/api_op_ListTrafficPolicies.go index af4ec1cc825..6e3910ad91e 100644 --- a/service/route53/api_op_ListTrafficPolicies.go +++ b/service/route53/api_op_ListTrafficPolicies.go @@ -114,7 +114,10 @@ func addOperationListTrafficPoliciesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListTrafficPolicyInstances.go b/service/route53/api_op_ListTrafficPolicyInstances.go index 605b5baf92d..530d290f329 100644 --- a/service/route53/api_op_ListTrafficPolicyInstances.go +++ b/service/route53/api_op_ListTrafficPolicyInstances.go @@ -148,7 +148,10 @@ func addOperationListTrafficPolicyInstancesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go b/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go index bdb662d89ce..865bd377a0f 100644 --- a/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go +++ b/service/route53/api_op_ListTrafficPolicyInstancesByHostedZone.go @@ -139,7 +139,10 @@ func addOperationListTrafficPolicyInstancesByHostedZoneMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go b/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go index 2fb6c865a92..64cd4ec4365 100644 --- a/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go +++ b/service/route53/api_op_ListTrafficPolicyInstancesByPolicy.go @@ -161,7 +161,10 @@ func addOperationListTrafficPolicyInstancesByPolicyMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListTrafficPolicyVersions.go b/service/route53/api_op_ListTrafficPolicyVersions.go index a365ca1917d..805e6391475 100644 --- a/service/route53/api_op_ListTrafficPolicyVersions.go +++ b/service/route53/api_op_ListTrafficPolicyVersions.go @@ -120,7 +120,10 @@ func addOperationListTrafficPolicyVersionsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_ListVPCAssociationAuthorizations.go b/service/route53/api_op_ListVPCAssociationAuthorizations.go index ea3166ba59c..c2a344a6e1d 100644 --- a/service/route53/api_op_ListVPCAssociationAuthorizations.go +++ b/service/route53/api_op_ListVPCAssociationAuthorizations.go @@ -108,7 +108,10 @@ func addOperationListVPCAssociationAuthorizationsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_TestDNSAnswer.go b/service/route53/api_op_TestDNSAnswer.go index a8579532a25..238b99241a4 100644 --- a/service/route53/api_op_TestDNSAnswer.go +++ b/service/route53/api_op_TestDNSAnswer.go @@ -149,7 +149,10 @@ func addOperationTestDNSAnswerMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_UpdateHealthCheck.go b/service/route53/api_op_UpdateHealthCheck.go index b2219932b9a..8d8bd6d21ef 100644 --- a/service/route53/api_op_UpdateHealthCheck.go +++ b/service/route53/api_op_UpdateHealthCheck.go @@ -345,7 +345,10 @@ func addOperationUpdateHealthCheckMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_UpdateHostedZoneComment.go b/service/route53/api_op_UpdateHostedZoneComment.go index f99056aaf12..da793e093b1 100644 --- a/service/route53/api_op_UpdateHostedZoneComment.go +++ b/service/route53/api_op_UpdateHostedZoneComment.go @@ -84,7 +84,10 @@ func addOperationUpdateHostedZoneCommentMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_UpdateTrafficPolicyComment.go b/service/route53/api_op_UpdateTrafficPolicyComment.go index 127f460725b..16a724c456f 100644 --- a/service/route53/api_op_UpdateTrafficPolicyComment.go +++ b/service/route53/api_op_UpdateTrafficPolicyComment.go @@ -90,7 +90,10 @@ func addOperationUpdateTrafficPolicyCommentMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53/api_op_UpdateTrafficPolicyInstance.go b/service/route53/api_op_UpdateTrafficPolicyInstance.go index ea147e930c7..83a784478cb 100644 --- a/service/route53/api_op_UpdateTrafficPolicyInstance.go +++ b/service/route53/api_op_UpdateTrafficPolicyInstance.go @@ -116,7 +116,10 @@ func addOperationUpdateTrafficPolicyInstanceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go b/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go index f26d6d6137f..5f62f275770 100644 --- a/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go +++ b/service/route53domains/api_op_AcceptDomainTransferFromAnotherAwsAccount.go @@ -100,7 +100,10 @@ func addOperationAcceptDomainTransferFromAnotherAwsAccountMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go b/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go index 150bb415487..2294c123eb4 100644 --- a/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go +++ b/service/route53domains/api_op_CancelDomainTransferToAnotherAwsAccount.go @@ -95,7 +95,10 @@ func addOperationCancelDomainTransferToAnotherAwsAccountMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_CheckDomainAvailability.go b/service/route53domains/api_op_CheckDomainAvailability.go index 918a0d20d2c..07e47282e5f 100644 --- a/service/route53domains/api_op_CheckDomainAvailability.go +++ b/service/route53domains/api_op_CheckDomainAvailability.go @@ -119,7 +119,10 @@ func addOperationCheckDomainAvailabilityMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_CheckDomainTransferability.go b/service/route53domains/api_op_CheckDomainTransferability.go index cbe340e18d0..9952f486758 100644 --- a/service/route53domains/api_op_CheckDomainTransferability.go +++ b/service/route53domains/api_op_CheckDomainTransferability.go @@ -100,7 +100,10 @@ func addOperationCheckDomainTransferabilityMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_DeleteTagsForDomain.go b/service/route53domains/api_op_DeleteTagsForDomain.go index 008cbbaac71..5176d5d8042 100644 --- a/service/route53domains/api_op_DeleteTagsForDomain.go +++ b/service/route53domains/api_op_DeleteTagsForDomain.go @@ -77,7 +77,10 @@ func addOperationDeleteTagsForDomainMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_DisableDomainAutoRenew.go b/service/route53domains/api_op_DisableDomainAutoRenew.go index 82bde727426..cffd4853667 100644 --- a/service/route53domains/api_op_DisableDomainAutoRenew.go +++ b/service/route53domains/api_op_DisableDomainAutoRenew.go @@ -70,7 +70,10 @@ func addOperationDisableDomainAutoRenewMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_DisableDomainTransferLock.go b/service/route53domains/api_op_DisableDomainTransferLock.go index 463e0bd5410..532026f294f 100644 --- a/service/route53domains/api_op_DisableDomainTransferLock.go +++ b/service/route53domains/api_op_DisableDomainTransferLock.go @@ -84,7 +84,10 @@ func addOperationDisableDomainTransferLockMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_EnableDomainAutoRenew.go b/service/route53domains/api_op_EnableDomainAutoRenew.go index 454164ecd80..d79c639f339 100644 --- a/service/route53domains/api_op_EnableDomainAutoRenew.go +++ b/service/route53domains/api_op_EnableDomainAutoRenew.go @@ -76,7 +76,10 @@ func addOperationEnableDomainAutoRenewMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_EnableDomainTransferLock.go b/service/route53domains/api_op_EnableDomainTransferLock.go index a151e9aab60..22bbc3c487f 100644 --- a/service/route53domains/api_op_EnableDomainTransferLock.go +++ b/service/route53domains/api_op_EnableDomainTransferLock.go @@ -82,7 +82,10 @@ func addOperationEnableDomainTransferLockMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_GetContactReachabilityStatus.go b/service/route53domains/api_op_GetContactReachabilityStatus.go index 3111fc05957..c1d386e9e45 100644 --- a/service/route53domains/api_op_GetContactReachabilityStatus.go +++ b/service/route53domains/api_op_GetContactReachabilityStatus.go @@ -82,7 +82,10 @@ func addOperationGetContactReachabilityStatusMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_GetDomainDetail.go b/service/route53domains/api_op_GetDomainDetail.go index 9e70d04a609..71b45f6845b 100644 --- a/service/route53domains/api_op_GetDomainDetail.go +++ b/service/route53domains/api_op_GetDomainDetail.go @@ -181,7 +181,10 @@ func addOperationGetDomainDetailMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_GetDomainSuggestions.go b/service/route53domains/api_op_GetDomainSuggestions.go index 99588a83d04..41f4f363b14 100644 --- a/service/route53domains/api_op_GetDomainSuggestions.go +++ b/service/route53domains/api_op_GetDomainSuggestions.go @@ -112,7 +112,10 @@ func addOperationGetDomainSuggestionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_GetOperationDetail.go b/service/route53domains/api_op_GetOperationDetail.go index b9cdffdebd0..3f28d673df3 100644 --- a/service/route53domains/api_op_GetOperationDetail.go +++ b/service/route53domains/api_op_GetOperationDetail.go @@ -95,7 +95,10 @@ func addOperationGetOperationDetailMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_ListDomains.go b/service/route53domains/api_op_ListDomains.go index 30cb1e42375..cb93b4ae1ec 100644 --- a/service/route53domains/api_op_ListDomains.go +++ b/service/route53domains/api_op_ListDomains.go @@ -90,7 +90,10 @@ func addOperationListDomainsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_ListOperations.go b/service/route53domains/api_op_ListOperations.go index 88a1497174b..cfb8c4a4296 100644 --- a/service/route53domains/api_op_ListOperations.go +++ b/service/route53domains/api_op_ListOperations.go @@ -97,7 +97,10 @@ func addOperationListOperationsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_ListTagsForDomain.go b/service/route53domains/api_op_ListTagsForDomain.go index 10638a5e20c..36ee12cfb81 100644 --- a/service/route53domains/api_op_ListTagsForDomain.go +++ b/service/route53domains/api_op_ListTagsForDomain.go @@ -80,7 +80,10 @@ func addOperationListTagsForDomainMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_RegisterDomain.go b/service/route53domains/api_op_RegisterDomain.go index 888dd1370f8..91aa1238ef9 100644 --- a/service/route53domains/api_op_RegisterDomain.go +++ b/service/route53domains/api_op_RegisterDomain.go @@ -193,7 +193,10 @@ func addOperationRegisterDomainMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go b/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go index 77ebb84d622..0135d375f10 100644 --- a/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go +++ b/service/route53domains/api_op_RejectDomainTransferFromAnotherAwsAccount.go @@ -94,7 +94,10 @@ func addOperationRejectDomainTransferFromAnotherAwsAccountMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_RenewDomain.go b/service/route53domains/api_op_RenewDomain.go index a13e8a1c6d4..46153af7b5c 100644 --- a/service/route53domains/api_op_RenewDomain.go +++ b/service/route53domains/api_op_RenewDomain.go @@ -99,7 +99,10 @@ func addOperationRenewDomainMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_ResendContactReachabilityEmail.go b/service/route53domains/api_op_ResendContactReachabilityEmail.go index 93ea4e88a6e..116b5c4451a 100644 --- a/service/route53domains/api_op_ResendContactReachabilityEmail.go +++ b/service/route53domains/api_op_ResendContactReachabilityEmail.go @@ -84,7 +84,10 @@ func addOperationResendContactReachabilityEmailMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_RetrieveDomainAuthCode.go b/service/route53domains/api_op_RetrieveDomainAuthCode.go index 1903c45de1f..c5b68016ba1 100644 --- a/service/route53domains/api_op_RetrieveDomainAuthCode.go +++ b/service/route53domains/api_op_RetrieveDomainAuthCode.go @@ -79,7 +79,10 @@ func addOperationRetrieveDomainAuthCodeMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_TransferDomain.go b/service/route53domains/api_op_TransferDomain.go index dc205129609..41a4e43a7c5 100644 --- a/service/route53domains/api_op_TransferDomain.go +++ b/service/route53domains/api_op_TransferDomain.go @@ -189,7 +189,10 @@ func addOperationTransferDomainMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go b/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go index 4a7537d055a..2cadefde484 100644 --- a/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go +++ b/service/route53domains/api_op_TransferDomainToAnotherAwsAccount.go @@ -125,7 +125,10 @@ func addOperationTransferDomainToAnotherAwsAccountMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_UpdateDomainContact.go b/service/route53domains/api_op_UpdateDomainContact.go index e2d9c28bf29..2d97b01102c 100644 --- a/service/route53domains/api_op_UpdateDomainContact.go +++ b/service/route53domains/api_op_UpdateDomainContact.go @@ -93,7 +93,10 @@ func addOperationUpdateDomainContactMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_UpdateDomainContactPrivacy.go b/service/route53domains/api_op_UpdateDomainContactPrivacy.go index 062cf97d67a..d176bd5192c 100644 --- a/service/route53domains/api_op_UpdateDomainContactPrivacy.go +++ b/service/route53domains/api_op_UpdateDomainContactPrivacy.go @@ -118,7 +118,10 @@ func addOperationUpdateDomainContactPrivacyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_UpdateDomainNameservers.go b/service/route53domains/api_op_UpdateDomainNameservers.go index 82a0c01ae9f..34ec9553a32 100644 --- a/service/route53domains/api_op_UpdateDomainNameservers.go +++ b/service/route53domains/api_op_UpdateDomainNameservers.go @@ -100,7 +100,10 @@ func addOperationUpdateDomainNameserversMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_UpdateTagsForDomain.go b/service/route53domains/api_op_UpdateTagsForDomain.go index 69b15853b64..3d5db1932c2 100644 --- a/service/route53domains/api_op_UpdateTagsForDomain.go +++ b/service/route53domains/api_op_UpdateTagsForDomain.go @@ -77,7 +77,10 @@ func addOperationUpdateTagsForDomainMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53domains/api_op_ViewBilling.go b/service/route53domains/api_op_ViewBilling.go index da4a6267b5e..dee7110b269 100644 --- a/service/route53domains/api_op_ViewBilling.go +++ b/service/route53domains/api_op_ViewBilling.go @@ -101,7 +101,10 @@ func addOperationViewBillingMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go b/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go index af32e29208d..424ceee5fa3 100644 --- a/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go +++ b/service/route53resolver/api_op_AssociateResolverEndpointIpAddress.go @@ -85,7 +85,10 @@ func addOperationAssociateResolverEndpointIpAddressMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go b/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go index 81cc1aa6636..51f442b803f 100644 --- a/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_AssociateResolverQueryLogConfig.go @@ -89,7 +89,10 @@ func addOperationAssociateResolverQueryLogConfigMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_AssociateResolverRule.go b/service/route53resolver/api_op_AssociateResolverRule.go index ab74e208f37..ae156c16ca3 100644 --- a/service/route53resolver/api_op_AssociateResolverRule.go +++ b/service/route53resolver/api_op_AssociateResolverRule.go @@ -91,7 +91,10 @@ func addOperationAssociateResolverRuleMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_CreateResolverEndpoint.go b/service/route53resolver/api_op_CreateResolverEndpoint.go index fada49d6313..0f9da89529a 100644 --- a/service/route53resolver/api_op_CreateResolverEndpoint.go +++ b/service/route53resolver/api_op_CreateResolverEndpoint.go @@ -119,7 +119,10 @@ func addOperationCreateResolverEndpointMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_CreateResolverQueryLogConfig.go b/service/route53resolver/api_op_CreateResolverQueryLogConfig.go index a78f6d7b295..9030c8beb9d 100644 --- a/service/route53resolver/api_op_CreateResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_CreateResolverQueryLogConfig.go @@ -117,7 +117,10 @@ func addOperationCreateResolverQueryLogConfigMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_CreateResolverRule.go b/service/route53resolver/api_op_CreateResolverRule.go index 4d28b02abc4..9efa26743b5 100644 --- a/service/route53resolver/api_op_CreateResolverRule.go +++ b/service/route53resolver/api_op_CreateResolverRule.go @@ -115,7 +115,10 @@ func addOperationCreateResolverRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_DeleteResolverEndpoint.go b/service/route53resolver/api_op_DeleteResolverEndpoint.go index b38e203cf5b..88232cd254d 100644 --- a/service/route53resolver/api_op_DeleteResolverEndpoint.go +++ b/service/route53resolver/api_op_DeleteResolverEndpoint.go @@ -83,7 +83,10 @@ func addOperationDeleteResolverEndpointMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go b/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go index 9c45a7167e0..dba2c80bec5 100644 --- a/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_DeleteResolverQueryLogConfig.go @@ -88,7 +88,10 @@ func addOperationDeleteResolverQueryLogConfigMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_DeleteResolverRule.go b/service/route53resolver/api_op_DeleteResolverRule.go index 5dcce0f3cda..f4906cec254 100644 --- a/service/route53resolver/api_op_DeleteResolverRule.go +++ b/service/route53resolver/api_op_DeleteResolverRule.go @@ -78,7 +78,10 @@ func addOperationDeleteResolverRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go b/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go index f6444d0070e..ef13ec0c617 100644 --- a/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go +++ b/service/route53resolver/api_op_DisassociateResolverEndpointIpAddress.go @@ -84,7 +84,10 @@ func addOperationDisassociateResolverEndpointIpAddressMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go b/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go index 03e0f6d2e61..e4b2dd8421d 100644 --- a/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_DisassociateResolverQueryLogConfig.go @@ -92,7 +92,10 @@ func addOperationDisassociateResolverQueryLogConfigMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_DisassociateResolverRule.go b/service/route53resolver/api_op_DisassociateResolverRule.go index 21461a5c4a1..c7f7d4b395b 100644 --- a/service/route53resolver/api_op_DisassociateResolverRule.go +++ b/service/route53resolver/api_op_DisassociateResolverRule.go @@ -83,7 +83,10 @@ func addOperationDisassociateResolverRuleMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_GetResolverEndpoint.go b/service/route53resolver/api_op_GetResolverEndpoint.go index 4aec2673396..8246a94f22c 100644 --- a/service/route53resolver/api_op_GetResolverEndpoint.go +++ b/service/route53resolver/api_op_GetResolverEndpoint.go @@ -77,7 +77,10 @@ func addOperationGetResolverEndpointMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_GetResolverQueryLogConfig.go b/service/route53resolver/api_op_GetResolverQueryLogConfig.go index 31a47fd5342..15c0f843248 100644 --- a/service/route53resolver/api_op_GetResolverQueryLogConfig.go +++ b/service/route53resolver/api_op_GetResolverQueryLogConfig.go @@ -78,7 +78,10 @@ func addOperationGetResolverQueryLogConfigMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go b/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go index c9d736fdb3c..991121ed6d1 100644 --- a/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go +++ b/service/route53resolver/api_op_GetResolverQueryLogConfigAssociation.go @@ -78,7 +78,10 @@ func addOperationGetResolverQueryLogConfigAssociationMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go b/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go index 7b3e238c804..0589418efdb 100644 --- a/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go +++ b/service/route53resolver/api_op_GetResolverQueryLogConfigPolicy.go @@ -77,7 +77,10 @@ func addOperationGetResolverQueryLogConfigPolicyMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_GetResolverRule.go b/service/route53resolver/api_op_GetResolverRule.go index 60066e5300e..75ddb958764 100644 --- a/service/route53resolver/api_op_GetResolverRule.go +++ b/service/route53resolver/api_op_GetResolverRule.go @@ -77,7 +77,10 @@ func addOperationGetResolverRuleMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_GetResolverRuleAssociation.go b/service/route53resolver/api_op_GetResolverRuleAssociation.go index 7a5d9f95b71..d2d52d925a9 100644 --- a/service/route53resolver/api_op_GetResolverRuleAssociation.go +++ b/service/route53resolver/api_op_GetResolverRuleAssociation.go @@ -77,7 +77,10 @@ func addOperationGetResolverRuleAssociationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_GetResolverRulePolicy.go b/service/route53resolver/api_op_GetResolverRulePolicy.go index 38d6a7e8047..9b11e830733 100644 --- a/service/route53resolver/api_op_GetResolverRulePolicy.go +++ b/service/route53resolver/api_op_GetResolverRulePolicy.go @@ -76,7 +76,10 @@ func addOperationGetResolverRulePolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go b/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go index 62bd6e8580c..3dbc42380fd 100644 --- a/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go +++ b/service/route53resolver/api_op_ListResolverEndpointIpAddresses.go @@ -98,7 +98,10 @@ func addOperationListResolverEndpointIpAddressesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_ListResolverEndpoints.go b/service/route53resolver/api_op_ListResolverEndpoints.go index 71952ab0fc2..012f2e42dc8 100644 --- a/service/route53resolver/api_op_ListResolverEndpoints.go +++ b/service/route53resolver/api_op_ListResolverEndpoints.go @@ -97,7 +97,10 @@ func addOperationListResolverEndpointsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go b/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go index efef6006310..2b8e1962fa0 100644 --- a/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go +++ b/service/route53resolver/api_op_ListResolverQueryLogConfigAssociations.go @@ -171,7 +171,10 @@ func addOperationListResolverQueryLogConfigAssociationsMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_ListResolverQueryLogConfigs.go b/service/route53resolver/api_op_ListResolverQueryLogConfigs.go index 6f675d52b5e..f7e6c06934b 100644 --- a/service/route53resolver/api_op_ListResolverQueryLogConfigs.go +++ b/service/route53resolver/api_op_ListResolverQueryLogConfigs.go @@ -174,7 +174,10 @@ func addOperationListResolverQueryLogConfigsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_ListResolverRuleAssociations.go b/service/route53resolver/api_op_ListResolverRuleAssociations.go index f1d250ed7b1..b779765965b 100644 --- a/service/route53resolver/api_op_ListResolverRuleAssociations.go +++ b/service/route53resolver/api_op_ListResolverRuleAssociations.go @@ -99,7 +99,10 @@ func addOperationListResolverRuleAssociationsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_ListResolverRules.go b/service/route53resolver/api_op_ListResolverRules.go index d2b9b37b776..ef73c7cc8f8 100644 --- a/service/route53resolver/api_op_ListResolverRules.go +++ b/service/route53resolver/api_op_ListResolverRules.go @@ -97,7 +97,10 @@ func addOperationListResolverRulesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_ListTagsForResource.go b/service/route53resolver/api_op_ListTagsForResource.go index 6737e6fe6bd..e572c31fe9f 100644 --- a/service/route53resolver/api_op_ListTagsForResource.go +++ b/service/route53resolver/api_op_ListTagsForResource.go @@ -92,7 +92,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go b/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go index aa4a820ea26..475a59f09c6 100644 --- a/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go +++ b/service/route53resolver/api_op_PutResolverQueryLogConfigPolicy.go @@ -100,7 +100,10 @@ func addOperationPutResolverQueryLogConfigPolicyMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_PutResolverRulePolicy.go b/service/route53resolver/api_op_PutResolverRulePolicy.go index 0eb2a1d26f5..22a5403b184 100644 --- a/service/route53resolver/api_op_PutResolverRulePolicy.go +++ b/service/route53resolver/api_op_PutResolverRulePolicy.go @@ -101,7 +101,10 @@ func addOperationPutResolverRulePolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_TagResource.go b/service/route53resolver/api_op_TagResource.go index 92a229c3b87..404b21461bb 100644 --- a/service/route53resolver/api_op_TagResource.go +++ b/service/route53resolver/api_op_TagResource.go @@ -100,7 +100,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_UntagResource.go b/service/route53resolver/api_op_UntagResource.go index 70022304290..0ae7cfc71f9 100644 --- a/service/route53resolver/api_op_UntagResource.go +++ b/service/route53resolver/api_op_UntagResource.go @@ -99,7 +99,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_UpdateResolverEndpoint.go b/service/route53resolver/api_op_UpdateResolverEndpoint.go index 5a23b43d054..760e494d1ab 100644 --- a/service/route53resolver/api_op_UpdateResolverEndpoint.go +++ b/service/route53resolver/api_op_UpdateResolverEndpoint.go @@ -77,7 +77,10 @@ func addOperationUpdateResolverEndpointMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/route53resolver/api_op_UpdateResolverRule.go b/service/route53resolver/api_op_UpdateResolverRule.go index 6470b0bf9c3..40d19c93420 100644 --- a/service/route53resolver/api_op_UpdateResolverRule.go +++ b/service/route53resolver/api_op_UpdateResolverRule.go @@ -81,7 +81,10 @@ func addOperationUpdateResolverRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_AbortMultipartUpload.go b/service/s3/api_op_AbortMultipartUpload.go index 60814755671..10886dda6b8 100644 --- a/service/s3/api_op_AbortMultipartUpload.go +++ b/service/s3/api_op_AbortMultipartUpload.go @@ -147,7 +147,10 @@ func addOperationAbortMultipartUploadMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_CompleteMultipartUpload.go b/service/s3/api_op_CompleteMultipartUpload.go index 8af3761bed8..0ec9c0c0c31 100644 --- a/service/s3/api_op_CompleteMultipartUpload.go +++ b/service/s3/api_op_CompleteMultipartUpload.go @@ -239,7 +239,10 @@ func addOperationCompleteMultipartUploadMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_CopyObject.go b/service/s3/api_op_CopyObject.go index ebfca348306..033af456b99 100644 --- a/service/s3/api_op_CopyObject.go +++ b/service/s3/api_op_CopyObject.go @@ -466,7 +466,10 @@ func addOperationCopyObjectMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_CreateBucket.go b/service/s3/api_op_CreateBucket.go index 1300730f6cb..0acb6492e07 100644 --- a/service/s3/api_op_CreateBucket.go +++ b/service/s3/api_op_CreateBucket.go @@ -191,7 +191,10 @@ func addOperationCreateBucketMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_CreateMultipartUpload.go b/service/s3/api_op_CreateMultipartUpload.go index 982661a9881..d39625e0d67 100644 --- a/service/s3/api_op_CreateMultipartUpload.go +++ b/service/s3/api_op_CreateMultipartUpload.go @@ -498,7 +498,10 @@ func addOperationCreateMultipartUploadMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucket.go b/service/s3/api_op_DeleteBucket.go index 70e09b6d9a1..cd1eee14c48 100644 --- a/service/s3/api_op_DeleteBucket.go +++ b/service/s3/api_op_DeleteBucket.go @@ -83,7 +83,10 @@ func addOperationDeleteBucketMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go b/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go index bb12f88124a..77260700a9d 100644 --- a/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go @@ -103,7 +103,10 @@ func addOperationDeleteBucketAnalyticsConfigurationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketCors.go b/service/s3/api_op_DeleteBucketCors.go index 9647a68587a..49eea49b28f 100644 --- a/service/s3/api_op_DeleteBucketCors.go +++ b/service/s3/api_op_DeleteBucketCors.go @@ -86,7 +86,10 @@ func addOperationDeleteBucketCorsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketEncryption.go b/service/s3/api_op_DeleteBucketEncryption.go index b6ff0169376..45dc15fab9e 100644 --- a/service/s3/api_op_DeleteBucketEncryption.go +++ b/service/s3/api_op_DeleteBucketEncryption.go @@ -95,7 +95,10 @@ func addOperationDeleteBucketEncryptionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go b/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go index 7c074585769..167f0fa571f 100644 --- a/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go @@ -102,7 +102,10 @@ func addOperationDeleteBucketIntelligentTieringConfigurationMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketInventoryConfiguration.go b/service/s3/api_op_DeleteBucketInventoryConfiguration.go index 68310f638ba..0eec2938dd4 100644 --- a/service/s3/api_op_DeleteBucketInventoryConfiguration.go +++ b/service/s3/api_op_DeleteBucketInventoryConfiguration.go @@ -102,7 +102,10 @@ func addOperationDeleteBucketInventoryConfigurationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketLifecycle.go b/service/s3/api_op_DeleteBucketLifecycle.go index 4574b593444..d68b5197f25 100644 --- a/service/s3/api_op_DeleteBucketLifecycle.go +++ b/service/s3/api_op_DeleteBucketLifecycle.go @@ -92,7 +92,10 @@ func addOperationDeleteBucketLifecycleMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketMetricsConfiguration.go b/service/s3/api_op_DeleteBucketMetricsConfiguration.go index 6a037b896f0..14e7bc4cca8 100644 --- a/service/s3/api_op_DeleteBucketMetricsConfiguration.go +++ b/service/s3/api_op_DeleteBucketMetricsConfiguration.go @@ -108,7 +108,10 @@ func addOperationDeleteBucketMetricsConfigurationMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketOwnershipControls.go b/service/s3/api_op_DeleteBucketOwnershipControls.go index eadcede51bd..1522ab63ccb 100644 --- a/service/s3/api_op_DeleteBucketOwnershipControls.go +++ b/service/s3/api_op_DeleteBucketOwnershipControls.go @@ -85,7 +85,10 @@ func addOperationDeleteBucketOwnershipControlsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketPolicy.go b/service/s3/api_op_DeleteBucketPolicy.go index 062cf1cdbcc..40f58449f74 100644 --- a/service/s3/api_op_DeleteBucketPolicy.go +++ b/service/s3/api_op_DeleteBucketPolicy.go @@ -94,7 +94,10 @@ func addOperationDeleteBucketPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketReplication.go b/service/s3/api_op_DeleteBucketReplication.go index b65be710e94..805db12a3d3 100644 --- a/service/s3/api_op_DeleteBucketReplication.go +++ b/service/s3/api_op_DeleteBucketReplication.go @@ -93,7 +93,10 @@ func addOperationDeleteBucketReplicationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketTagging.go b/service/s3/api_op_DeleteBucketTagging.go index 8f3917fab9c..fbb8ece1730 100644 --- a/service/s3/api_op_DeleteBucketTagging.go +++ b/service/s3/api_op_DeleteBucketTagging.go @@ -84,7 +84,10 @@ func addOperationDeleteBucketTaggingMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteBucketWebsite.go b/service/s3/api_op_DeleteBucketWebsite.go index 242daa42e0e..eafabc3b079 100644 --- a/service/s3/api_op_DeleteBucketWebsite.go +++ b/service/s3/api_op_DeleteBucketWebsite.go @@ -93,7 +93,10 @@ func addOperationDeleteBucketWebsiteMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteObject.go b/service/s3/api_op_DeleteObject.go index ad1b14c1351..aae9e85f9e6 100644 --- a/service/s3/api_op_DeleteObject.go +++ b/service/s3/api_op_DeleteObject.go @@ -151,7 +151,10 @@ func addOperationDeleteObjectMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteObjectTagging.go b/service/s3/api_op_DeleteObjectTagging.go index 1eb5c8de9c6..4d86e955064 100644 --- a/service/s3/api_op_DeleteObjectTagging.go +++ b/service/s3/api_op_DeleteObjectTagging.go @@ -116,7 +116,10 @@ func addOperationDeleteObjectTaggingMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeleteObjects.go b/service/s3/api_op_DeleteObjects.go index b29e5738f8f..20f85c0c7ce 100644 --- a/service/s3/api_op_DeleteObjects.go +++ b/service/s3/api_op_DeleteObjects.go @@ -171,7 +171,10 @@ func addOperationDeleteObjectsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_DeletePublicAccessBlock.go b/service/s3/api_op_DeletePublicAccessBlock.go index 5cf79c9e272..c882c384a7f 100644 --- a/service/s3/api_op_DeletePublicAccessBlock.go +++ b/service/s3/api_op_DeletePublicAccessBlock.go @@ -97,7 +97,10 @@ func addOperationDeletePublicAccessBlockMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketAccelerateConfiguration.go b/service/s3/api_op_GetBucketAccelerateConfiguration.go index 6e910dba924..bc6fc6a38a5 100644 --- a/service/s3/api_op_GetBucketAccelerateConfiguration.go +++ b/service/s3/api_op_GetBucketAccelerateConfiguration.go @@ -103,7 +103,10 @@ func addOperationGetBucketAccelerateConfigurationMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketAcl.go b/service/s3/api_op_GetBucketAcl.go index 8a4a8af1925..034cdd279c8 100644 --- a/service/s3/api_op_GetBucketAcl.go +++ b/service/s3/api_op_GetBucketAcl.go @@ -89,7 +89,10 @@ func addOperationGetBucketAclMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketAnalyticsConfiguration.go b/service/s3/api_op_GetBucketAnalyticsConfiguration.go index a1035f05836..ee01383b3b9 100644 --- a/service/s3/api_op_GetBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_GetBucketAnalyticsConfiguration.go @@ -108,7 +108,10 @@ func addOperationGetBucketAnalyticsConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketCors.go b/service/s3/api_op_GetBucketCors.go index 1cb732d8a23..ea1d44eb2e5 100644 --- a/service/s3/api_op_GetBucketCors.go +++ b/service/s3/api_op_GetBucketCors.go @@ -92,7 +92,10 @@ func addOperationGetBucketCorsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketEncryption.go b/service/s3/api_op_GetBucketEncryption.go index a5b934eac7e..8c82020107e 100644 --- a/service/s3/api_op_GetBucketEncryption.go +++ b/service/s3/api_op_GetBucketEncryption.go @@ -99,7 +99,10 @@ func addOperationGetBucketEncryptionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go b/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go index fc6d0aff201..22cd6debef3 100644 --- a/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go @@ -107,7 +107,10 @@ func addOperationGetBucketIntelligentTieringConfigurationMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketInventoryConfiguration.go b/service/s3/api_op_GetBucketInventoryConfiguration.go index 9425b49318a..86104679008 100644 --- a/service/s3/api_op_GetBucketInventoryConfiguration.go +++ b/service/s3/api_op_GetBucketInventoryConfiguration.go @@ -106,7 +106,10 @@ func addOperationGetBucketInventoryConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketLifecycleConfiguration.go b/service/s3/api_op_GetBucketLifecycleConfiguration.go index dfb40838d6b..28012f7effd 100644 --- a/service/s3/api_op_GetBucketLifecycleConfiguration.go +++ b/service/s3/api_op_GetBucketLifecycleConfiguration.go @@ -123,7 +123,10 @@ func addOperationGetBucketLifecycleConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketLocation.go b/service/s3/api_op_GetBucketLocation.go index 2c2371403be..db188614ede 100644 --- a/service/s3/api_op_GetBucketLocation.go +++ b/service/s3/api_op_GetBucketLocation.go @@ -94,7 +94,10 @@ func addOperationGetBucketLocationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketLogging.go b/service/s3/api_op_GetBucketLogging.go index d98796e5a02..b38234cf44b 100644 --- a/service/s3/api_op_GetBucketLogging.go +++ b/service/s3/api_op_GetBucketLogging.go @@ -91,7 +91,10 @@ func addOperationGetBucketLoggingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketMetricsConfiguration.go b/service/s3/api_op_GetBucketMetricsConfiguration.go index c5436d7b9ee..a6f8a5b7863 100644 --- a/service/s3/api_op_GetBucketMetricsConfiguration.go +++ b/service/s3/api_op_GetBucketMetricsConfiguration.go @@ -113,7 +113,10 @@ func addOperationGetBucketMetricsConfigurationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketNotificationConfiguration.go b/service/s3/api_op_GetBucketNotificationConfiguration.go index e09521f0236..40f29d365a2 100644 --- a/service/s3/api_op_GetBucketNotificationConfiguration.go +++ b/service/s3/api_op_GetBucketNotificationConfiguration.go @@ -105,7 +105,10 @@ func addOperationGetBucketNotificationConfigurationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketOwnershipControls.go b/service/s3/api_op_GetBucketOwnershipControls.go index 4d040c0b80c..05e94b5d1cb 100644 --- a/service/s3/api_op_GetBucketOwnershipControls.go +++ b/service/s3/api_op_GetBucketOwnershipControls.go @@ -91,7 +91,10 @@ func addOperationGetBucketOwnershipControlsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketPolicy.go b/service/s3/api_op_GetBucketPolicy.go index 10664d0f0da..e43b4e885e4 100644 --- a/service/s3/api_op_GetBucketPolicy.go +++ b/service/s3/api_op_GetBucketPolicy.go @@ -93,7 +93,10 @@ func addOperationGetBucketPolicyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketPolicyStatus.go b/service/s3/api_op_GetBucketPolicyStatus.go index 5a3a518f977..aef96762399 100644 --- a/service/s3/api_op_GetBucketPolicyStatus.go +++ b/service/s3/api_op_GetBucketPolicyStatus.go @@ -103,7 +103,10 @@ func addOperationGetBucketPolicyStatusMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketReplication.go b/service/s3/api_op_GetBucketReplication.go index d7732c9372f..ead3f563da6 100644 --- a/service/s3/api_op_GetBucketReplication.go +++ b/service/s3/api_op_GetBucketReplication.go @@ -102,7 +102,10 @@ func addOperationGetBucketReplicationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketRequestPayment.go b/service/s3/api_op_GetBucketRequestPayment.go index 193b012a2ea..4551dc842f0 100644 --- a/service/s3/api_op_GetBucketRequestPayment.go +++ b/service/s3/api_op_GetBucketRequestPayment.go @@ -86,7 +86,10 @@ func addOperationGetBucketRequestPaymentMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketTagging.go b/service/s3/api_op_GetBucketTagging.go index c7f333f6511..013c1ad0ca2 100644 --- a/service/s3/api_op_GetBucketTagging.go +++ b/service/s3/api_op_GetBucketTagging.go @@ -100,7 +100,10 @@ func addOperationGetBucketTaggingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketVersioning.go b/service/s3/api_op_GetBucketVersioning.go index 0131e4823c2..4e2346777c1 100644 --- a/service/s3/api_op_GetBucketVersioning.go +++ b/service/s3/api_op_GetBucketVersioning.go @@ -100,7 +100,10 @@ func addOperationGetBucketVersioningMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetBucketWebsite.go b/service/s3/api_op_GetBucketWebsite.go index 3c2ef6307e5..383e04ccddd 100644 --- a/service/s3/api_op_GetBucketWebsite.go +++ b/service/s3/api_op_GetBucketWebsite.go @@ -104,7 +104,10 @@ func addOperationGetBucketWebsiteMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetObject.go b/service/s3/api_op_GetObject.go index f52c5996f22..af1c85f6d98 100644 --- a/service/s3/api_op_GetObject.go +++ b/service/s3/api_op_GetObject.go @@ -412,7 +412,10 @@ func addOperationGetObjectMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetObjectAcl.go b/service/s3/api_op_GetObjectAcl.go index 93a0c5a1540..1cb1b7ad30e 100644 --- a/service/s3/api_op_GetObjectAcl.go +++ b/service/s3/api_op_GetObjectAcl.go @@ -125,7 +125,10 @@ func addOperationGetObjectAclMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetObjectLegalHold.go b/service/s3/api_op_GetObjectLegalHold.go index 9c80135e791..0172da80cac 100644 --- a/service/s3/api_op_GetObjectLegalHold.go +++ b/service/s3/api_op_GetObjectLegalHold.go @@ -105,7 +105,10 @@ func addOperationGetObjectLegalHoldMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetObjectLockConfiguration.go b/service/s3/api_op_GetObjectLockConfiguration.go index 6a776ae7267..5d2a4a682f8 100644 --- a/service/s3/api_op_GetObjectLockConfiguration.go +++ b/service/s3/api_op_GetObjectLockConfiguration.go @@ -90,7 +90,10 @@ func addOperationGetObjectLockConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetObjectRetention.go b/service/s3/api_op_GetObjectRetention.go index db398746869..ce361486a41 100644 --- a/service/s3/api_op_GetObjectRetention.go +++ b/service/s3/api_op_GetObjectRetention.go @@ -105,7 +105,10 @@ func addOperationGetObjectRetentionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetObjectTagging.go b/service/s3/api_op_GetObjectTagging.go index 6ebb31566d3..de4098aaad5 100644 --- a/service/s3/api_op_GetObjectTagging.go +++ b/service/s3/api_op_GetObjectTagging.go @@ -121,7 +121,10 @@ func addOperationGetObjectTaggingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetObjectTorrent.go b/service/s3/api_op_GetObjectTorrent.go index a47461ce1fc..0529c9462f5 100644 --- a/service/s3/api_op_GetObjectTorrent.go +++ b/service/s3/api_op_GetObjectTorrent.go @@ -108,7 +108,10 @@ func addOperationGetObjectTorrentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_GetPublicAccessBlock.go b/service/s3/api_op_GetPublicAccessBlock.go index ac67e404c79..38d82ac523d 100644 --- a/service/s3/api_op_GetPublicAccessBlock.go +++ b/service/s3/api_op_GetPublicAccessBlock.go @@ -110,7 +110,10 @@ func addOperationGetPublicAccessBlockMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_HeadBucket.go b/service/s3/api_op_HeadBucket.go index 9a3b1424e02..9994c8f664d 100644 --- a/service/s3/api_op_HeadBucket.go +++ b/service/s3/api_op_HeadBucket.go @@ -103,7 +103,10 @@ func addOperationHeadBucketMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_HeadObject.go b/service/s3/api_op_HeadObject.go index 05e51377012..b34c441c0fa 100644 --- a/service/s3/api_op_HeadObject.go +++ b/service/s3/api_op_HeadObject.go @@ -397,7 +397,10 @@ func addOperationHeadObjectMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListBucketAnalyticsConfigurations.go b/service/s3/api_op_ListBucketAnalyticsConfigurations.go index 366818622cf..68257520c00 100644 --- a/service/s3/api_op_ListBucketAnalyticsConfigurations.go +++ b/service/s3/api_op_ListBucketAnalyticsConfigurations.go @@ -128,7 +128,10 @@ func addOperationListBucketAnalyticsConfigurationsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go b/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go index a468c32bc6a..1d311ab7a5b 100644 --- a/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go +++ b/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go @@ -120,7 +120,10 @@ func addOperationListBucketIntelligentTieringConfigurationsMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListBucketInventoryConfigurations.go b/service/s3/api_op_ListBucketInventoryConfigurations.go index 5b4055d103c..0260b091ae6 100644 --- a/service/s3/api_op_ListBucketInventoryConfigurations.go +++ b/service/s3/api_op_ListBucketInventoryConfigurations.go @@ -129,7 +129,10 @@ func addOperationListBucketInventoryConfigurationsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListBucketMetricsConfigurations.go b/service/s3/api_op_ListBucketMetricsConfigurations.go index 66d9d7c5cb0..57927ed5a6a 100644 --- a/service/s3/api_op_ListBucketMetricsConfigurations.go +++ b/service/s3/api_op_ListBucketMetricsConfigurations.go @@ -132,7 +132,10 @@ func addOperationListBucketMetricsConfigurationsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListBuckets.go b/service/s3/api_op_ListBuckets.go index fbc85b49265..127dc70ee94 100644 --- a/service/s3/api_op_ListBuckets.go +++ b/service/s3/api_op_ListBuckets.go @@ -73,7 +73,10 @@ func addOperationListBucketsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListMultipartUploads.go b/service/s3/api_op_ListMultipartUploads.go index dab1a0da359..1ed082f82d7 100644 --- a/service/s3/api_op_ListMultipartUploads.go +++ b/service/s3/api_op_ListMultipartUploads.go @@ -223,7 +223,10 @@ func addOperationListMultipartUploadsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListObjectVersions.go b/service/s3/api_op_ListObjectVersions.go index 074a5e0b0e8..752b51a04d5 100644 --- a/service/s3/api_op_ListObjectVersions.go +++ b/service/s3/api_op_ListObjectVersions.go @@ -188,7 +188,10 @@ func addOperationListObjectVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListObjects.go b/service/s3/api_op_ListObjects.go index e19daa7635f..92e3baacea6 100644 --- a/service/s3/api_op_ListObjects.go +++ b/service/s3/api_op_ListObjects.go @@ -197,7 +197,10 @@ func addOperationListObjectsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListObjectsV2.go b/service/s3/api_op_ListObjectsV2.go index 4e137e6969c..e952e8dddbe 100644 --- a/service/s3/api_op_ListObjectsV2.go +++ b/service/s3/api_op_ListObjectsV2.go @@ -228,7 +228,10 @@ func addOperationListObjectsV2Middlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_ListParts.go b/service/s3/api_op_ListParts.go index e1487a13004..929cba3c05a 100644 --- a/service/s3/api_op_ListParts.go +++ b/service/s3/api_op_ListParts.go @@ -220,7 +220,10 @@ func addOperationListPartsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketAccelerateConfiguration.go b/service/s3/api_op_PutBucketAccelerateConfiguration.go index ac957b6f3b2..38c7ab3e156 100644 --- a/service/s3/api_op_PutBucketAccelerateConfiguration.go +++ b/service/s3/api_op_PutBucketAccelerateConfiguration.go @@ -116,7 +116,10 @@ func addOperationPutBucketAccelerateConfigurationMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketAcl.go b/service/s3/api_op_PutBucketAcl.go index 0b6bf29d5ee..ac98127702f 100644 --- a/service/s3/api_op_PutBucketAcl.go +++ b/service/s3/api_op_PutBucketAcl.go @@ -234,7 +234,10 @@ func addOperationPutBucketAclMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketAnalyticsConfiguration.go b/service/s3/api_op_PutBucketAnalyticsConfiguration.go index 01b4b9b2773..337da2220fd 100644 --- a/service/s3/api_op_PutBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_PutBucketAnalyticsConfiguration.go @@ -148,7 +148,10 @@ func addOperationPutBucketAnalyticsConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketCors.go b/service/s3/api_op_PutBucketCors.go index 560046bdccf..f547945d1d5 100644 --- a/service/s3/api_op_PutBucketCors.go +++ b/service/s3/api_op_PutBucketCors.go @@ -131,7 +131,10 @@ func addOperationPutBucketCorsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketEncryption.go b/service/s3/api_op_PutBucketEncryption.go index b8b865ca18e..5c9d2c5802d 100644 --- a/service/s3/api_op_PutBucketEncryption.go +++ b/service/s3/api_op_PutBucketEncryption.go @@ -118,7 +118,10 @@ func addOperationPutBucketEncryptionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go b/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go index c987a8b2834..fb8984b91ba 100644 --- a/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go @@ -108,7 +108,10 @@ func addOperationPutBucketIntelligentTieringConfigurationMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketInventoryConfiguration.go b/service/s3/api_op_PutBucketInventoryConfiguration.go index 7fe9a7f9d81..2fd12d8c11f 100644 --- a/service/s3/api_op_PutBucketInventoryConfiguration.go +++ b/service/s3/api_op_PutBucketInventoryConfiguration.go @@ -148,7 +148,10 @@ func addOperationPutBucketInventoryConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketLifecycleConfiguration.go b/service/s3/api_op_PutBucketLifecycleConfiguration.go index 195168799be..dd554732f67 100644 --- a/service/s3/api_op_PutBucketLifecycleConfiguration.go +++ b/service/s3/api_op_PutBucketLifecycleConfiguration.go @@ -143,7 +143,10 @@ func addOperationPutBucketLifecycleConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketLogging.go b/service/s3/api_op_PutBucketLogging.go index c450ca9629e..b9fc986ff77 100644 --- a/service/s3/api_op_PutBucketLogging.go +++ b/service/s3/api_op_PutBucketLogging.go @@ -130,7 +130,10 @@ func addOperationPutBucketLoggingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketMetricsConfiguration.go b/service/s3/api_op_PutBucketMetricsConfiguration.go index 365a94901d1..ea997182c94 100644 --- a/service/s3/api_op_PutBucketMetricsConfiguration.go +++ b/service/s3/api_op_PutBucketMetricsConfiguration.go @@ -123,7 +123,10 @@ func addOperationPutBucketMetricsConfigurationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketNotificationConfiguration.go b/service/s3/api_op_PutBucketNotificationConfiguration.go index 067addd09d1..f6398222218 100644 --- a/service/s3/api_op_PutBucketNotificationConfiguration.go +++ b/service/s3/api_op_PutBucketNotificationConfiguration.go @@ -115,7 +115,10 @@ func addOperationPutBucketNotificationConfigurationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketOwnershipControls.go b/service/s3/api_op_PutBucketOwnershipControls.go index b8ebba8aef2..90132d8a308 100644 --- a/service/s3/api_op_PutBucketOwnershipControls.go +++ b/service/s3/api_op_PutBucketOwnershipControls.go @@ -97,7 +97,10 @@ func addOperationPutBucketOwnershipControlsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketPolicy.go b/service/s3/api_op_PutBucketPolicy.go index 93eaeb52df4..aadcfe841cc 100644 --- a/service/s3/api_op_PutBucketPolicy.go +++ b/service/s3/api_op_PutBucketPolicy.go @@ -106,7 +106,10 @@ func addOperationPutBucketPolicyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketReplication.go b/service/s3/api_op_PutBucketReplication.go index d344a13608a..a44af9b8370 100644 --- a/service/s3/api_op_PutBucketReplication.go +++ b/service/s3/api_op_PutBucketReplication.go @@ -141,7 +141,10 @@ func addOperationPutBucketReplicationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketRequestPayment.go b/service/s3/api_op_PutBucketRequestPayment.go index 6d1c4cc8298..b486030c870 100644 --- a/service/s3/api_op_PutBucketRequestPayment.go +++ b/service/s3/api_op_PutBucketRequestPayment.go @@ -99,7 +99,10 @@ func addOperationPutBucketRequestPaymentMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketTagging.go b/service/s3/api_op_PutBucketTagging.go index 937fe0336e6..33312209b51 100644 --- a/service/s3/api_op_PutBucketTagging.go +++ b/service/s3/api_op_PutBucketTagging.go @@ -143,7 +143,10 @@ func addOperationPutBucketTaggingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketVersioning.go b/service/s3/api_op_PutBucketVersioning.go index 8fb2329d9c1..248d379289f 100644 --- a/service/s3/api_op_PutBucketVersioning.go +++ b/service/s3/api_op_PutBucketVersioning.go @@ -121,7 +121,10 @@ func addOperationPutBucketVersioningMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutBucketWebsite.go b/service/s3/api_op_PutBucketWebsite.go index 328a79d41e5..7b36f959d75 100644 --- a/service/s3/api_op_PutBucketWebsite.go +++ b/service/s3/api_op_PutBucketWebsite.go @@ -157,7 +157,10 @@ func addOperationPutBucketWebsiteMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutObject.go b/service/s3/api_op_PutObject.go index 87f4914f62e..28badfb4005 100644 --- a/service/s3/api_op_PutObject.go +++ b/service/s3/api_op_PutObject.go @@ -367,7 +367,10 @@ func addOperationPutObjectMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutObjectAcl.go b/service/s3/api_op_PutObjectAcl.go index 3c2dd8f77ed..1ce14c11035 100644 --- a/service/s3/api_op_PutObjectAcl.go +++ b/service/s3/api_op_PutObjectAcl.go @@ -276,7 +276,10 @@ func addOperationPutObjectAclMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutObjectLegalHold.go b/service/s3/api_op_PutObjectLegalHold.go index 10a60d3c4f5..3a47adabad2 100644 --- a/service/s3/api_op_PutObjectLegalHold.go +++ b/service/s3/api_op_PutObjectLegalHold.go @@ -116,7 +116,10 @@ func addOperationPutObjectLegalHoldMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutObjectLockConfiguration.go b/service/s3/api_op_PutObjectLockConfiguration.go index 921a0b179b9..44148171a9c 100644 --- a/service/s3/api_op_PutObjectLockConfiguration.go +++ b/service/s3/api_op_PutObjectLockConfiguration.go @@ -104,7 +104,10 @@ func addOperationPutObjectLockConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutObjectRetention.go b/service/s3/api_op_PutObjectRetention.go index f445ba75f95..c4f93ae81ef 100644 --- a/service/s3/api_op_PutObjectRetention.go +++ b/service/s3/api_op_PutObjectRetention.go @@ -120,7 +120,10 @@ func addOperationPutObjectRetentionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutObjectTagging.go b/service/s3/api_op_PutObjectTagging.go index 6e93bf682c2..b8eb54f982d 100644 --- a/service/s3/api_op_PutObjectTagging.go +++ b/service/s3/api_op_PutObjectTagging.go @@ -156,7 +156,10 @@ func addOperationPutObjectTaggingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_PutPublicAccessBlock.go b/service/s3/api_op_PutPublicAccessBlock.go index 68187cb121a..b440b9f8f8b 100644 --- a/service/s3/api_op_PutPublicAccessBlock.go +++ b/service/s3/api_op_PutPublicAccessBlock.go @@ -119,7 +119,10 @@ func addOperationPutPublicAccessBlockMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_RestoreObject.go b/service/s3/api_op_RestoreObject.go index 34165388d5e..063b299646f 100644 --- a/service/s3/api_op_RestoreObject.go +++ b/service/s3/api_op_RestoreObject.go @@ -339,7 +339,10 @@ func addOperationRestoreObjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_UploadPart.go b/service/s3/api_op_UploadPart.go index 38eac8149a7..bcff02c89b7 100644 --- a/service/s3/api_op_UploadPart.go +++ b/service/s3/api_op_UploadPart.go @@ -269,7 +269,10 @@ func addOperationUploadPartMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3/api_op_UploadPartCopy.go b/service/s3/api_op_UploadPartCopy.go index f178f095976..5cbdb601f73 100644 --- a/service/s3/api_op_UploadPartCopy.go +++ b/service/s3/api_op_UploadPartCopy.go @@ -352,7 +352,10 @@ func addOperationUploadPartCopyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_CreateAccessPoint.go b/service/s3control/api_op_CreateAccessPoint.go index 680dfdf6311..031c450d6bd 100644 --- a/service/s3control/api_op_CreateAccessPoint.go +++ b/service/s3control/api_op_CreateAccessPoint.go @@ -149,7 +149,10 @@ func addOperationCreateAccessPointMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_CreateBucket.go b/service/s3control/api_op_CreateBucket.go index f9d8e03dacd..819c85fa2ff 100644 --- a/service/s3control/api_op_CreateBucket.go +++ b/service/s3control/api_op_CreateBucket.go @@ -170,7 +170,10 @@ func addOperationCreateBucketMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_CreateJob.go b/service/s3control/api_op_CreateJob.go index 44ed0d30801..1ef455f2cc2 100644 --- a/service/s3control/api_op_CreateJob.go +++ b/service/s3control/api_op_CreateJob.go @@ -147,7 +147,10 @@ func addOperationCreateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeleteAccessPoint.go b/service/s3control/api_op_DeleteAccessPoint.go index 8a7ba2fe9d8..331483d057f 100644 --- a/service/s3control/api_op_DeleteAccessPoint.go +++ b/service/s3control/api_op_DeleteAccessPoint.go @@ -105,7 +105,10 @@ func addOperationDeleteAccessPointMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeleteAccessPointPolicy.go b/service/s3control/api_op_DeleteAccessPointPolicy.go index cda88dd020f..b61eec7558e 100644 --- a/service/s3control/api_op_DeleteAccessPointPolicy.go +++ b/service/s3control/api_op_DeleteAccessPointPolicy.go @@ -101,7 +101,10 @@ func addOperationDeleteAccessPointPolicyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeleteBucket.go b/service/s3control/api_op_DeleteBucket.go index 30f014977a5..0dd2ee86ebf 100644 --- a/service/s3control/api_op_DeleteBucket.go +++ b/service/s3control/api_op_DeleteBucket.go @@ -112,7 +112,10 @@ func addOperationDeleteBucketMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go b/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go index bb215e39148..d0489f2d5cc 100644 --- a/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go @@ -117,7 +117,10 @@ func addOperationDeleteBucketLifecycleConfigurationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeleteBucketPolicy.go b/service/s3control/api_op_DeleteBucketPolicy.go index 9942cdd8692..721d95eb866 100644 --- a/service/s3control/api_op_DeleteBucketPolicy.go +++ b/service/s3control/api_op_DeleteBucketPolicy.go @@ -121,7 +121,10 @@ func addOperationDeleteBucketPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeleteBucketTagging.go b/service/s3control/api_op_DeleteBucketTagging.go index 6850f882c00..3fde9459b48 100644 --- a/service/s3control/api_op_DeleteBucketTagging.go +++ b/service/s3control/api_op_DeleteBucketTagging.go @@ -109,7 +109,10 @@ func addOperationDeleteBucketTaggingMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeleteJobTagging.go b/service/s3control/api_op_DeleteJobTagging.go index c9ccea9c71a..c6c6a80bd41 100644 --- a/service/s3control/api_op_DeleteJobTagging.go +++ b/service/s3control/api_op_DeleteJobTagging.go @@ -95,7 +95,10 @@ func addOperationDeleteJobTaggingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeletePublicAccessBlock.go b/service/s3control/api_op_DeletePublicAccessBlock.go index 4ad3b192c46..862abce9308 100644 --- a/service/s3control/api_op_DeletePublicAccessBlock.go +++ b/service/s3control/api_op_DeletePublicAccessBlock.go @@ -84,7 +84,10 @@ func addOperationDeletePublicAccessBlockMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeleteStorageLensConfiguration.go b/service/s3control/api_op_DeleteStorageLensConfiguration.go index f687e94ccf8..c66c8ceed19 100644 --- a/service/s3control/api_op_DeleteStorageLensConfiguration.go +++ b/service/s3control/api_op_DeleteStorageLensConfiguration.go @@ -85,7 +85,10 @@ func addOperationDeleteStorageLensConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go b/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go index 38bde5319f1..6c9d27325c6 100644 --- a/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go @@ -86,7 +86,10 @@ func addOperationDeleteStorageLensConfigurationTaggingMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_DescribeJob.go b/service/s3control/api_op_DescribeJob.go index cd8de829ce2..eb720f9f3e9 100644 --- a/service/s3control/api_op_DescribeJob.go +++ b/service/s3control/api_op_DescribeJob.go @@ -103,7 +103,10 @@ func addOperationDescribeJobMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetAccessPoint.go b/service/s3control/api_op_GetAccessPoint.go index 0dd54638464..8304148002c 100644 --- a/service/s3control/api_op_GetAccessPoint.go +++ b/service/s3control/api_op_GetAccessPoint.go @@ -139,7 +139,10 @@ func addOperationGetAccessPointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetAccessPointPolicy.go b/service/s3control/api_op_GetAccessPointPolicy.go index b39dad8eda7..2f355d89687 100644 --- a/service/s3control/api_op_GetAccessPointPolicy.go +++ b/service/s3control/api_op_GetAccessPointPolicy.go @@ -98,7 +98,10 @@ func addOperationGetAccessPointPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetAccessPointPolicyStatus.go b/service/s3control/api_op_GetAccessPointPolicyStatus.go index 402a447fad7..2c4e51fa799 100644 --- a/service/s3control/api_op_GetAccessPointPolicyStatus.go +++ b/service/s3control/api_op_GetAccessPointPolicyStatus.go @@ -87,7 +87,10 @@ func addOperationGetAccessPointPolicyStatusMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetBucket.go b/service/s3control/api_op_GetBucket.go index 212d11e2b68..9bf101f8ada 100644 --- a/service/s3control/api_op_GetBucket.go +++ b/service/s3control/api_op_GetBucket.go @@ -125,7 +125,10 @@ func addOperationGetBucketMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetBucketLifecycleConfiguration.go b/service/s3control/api_op_GetBucketLifecycleConfiguration.go index d58bc534f2d..5cfc0abc018 100644 --- a/service/s3control/api_op_GetBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_GetBucketLifecycleConfiguration.go @@ -137,7 +137,10 @@ func addOperationGetBucketLifecycleConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetBucketPolicy.go b/service/s3control/api_op_GetBucketPolicy.go index d7a507caa06..6d966af654a 100644 --- a/service/s3control/api_op_GetBucketPolicy.go +++ b/service/s3control/api_op_GetBucketPolicy.go @@ -127,7 +127,10 @@ func addOperationGetBucketPolicyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetBucketTagging.go b/service/s3control/api_op_GetBucketTagging.go index ee75313c7e6..df438cf6ec8 100644 --- a/service/s3control/api_op_GetBucketTagging.go +++ b/service/s3control/api_op_GetBucketTagging.go @@ -125,7 +125,10 @@ func addOperationGetBucketTaggingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetJobTagging.go b/service/s3control/api_op_GetJobTagging.go index e11b6044aa5..eaa614b8843 100644 --- a/service/s3control/api_op_GetJobTagging.go +++ b/service/s3control/api_op_GetJobTagging.go @@ -99,7 +99,10 @@ func addOperationGetJobTaggingMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetPublicAccessBlock.go b/service/s3control/api_op_GetPublicAccessBlock.go index 77b42425bdd..c98caddc508 100644 --- a/service/s3control/api_op_GetPublicAccessBlock.go +++ b/service/s3control/api_op_GetPublicAccessBlock.go @@ -89,7 +89,10 @@ func addOperationGetPublicAccessBlockMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetStorageLensConfiguration.go b/service/s3control/api_op_GetStorageLensConfiguration.go index b2ff4f0609d..f461e88f045 100644 --- a/service/s3control/api_op_GetStorageLensConfiguration.go +++ b/service/s3control/api_op_GetStorageLensConfiguration.go @@ -90,7 +90,10 @@ func addOperationGetStorageLensConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_GetStorageLensConfigurationTagging.go b/service/s3control/api_op_GetStorageLensConfigurationTagging.go index bb91ecf2fad..89e24aaf7d2 100644 --- a/service/s3control/api_op_GetStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_GetStorageLensConfigurationTagging.go @@ -91,7 +91,10 @@ func addOperationGetStorageLensConfigurationTaggingMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_ListAccessPoints.go b/service/s3control/api_op_ListAccessPoints.go index 36de44c5b12..eaffe23728f 100644 --- a/service/s3control/api_op_ListAccessPoints.go +++ b/service/s3control/api_op_ListAccessPoints.go @@ -129,7 +129,10 @@ func addOperationListAccessPointsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_ListJobs.go b/service/s3control/api_op_ListJobs.go index 94f85c64088..795adb43531 100644 --- a/service/s3control/api_op_ListJobs.go +++ b/service/s3control/api_op_ListJobs.go @@ -118,7 +118,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_ListRegionalBuckets.go b/service/s3control/api_op_ListRegionalBuckets.go index dddcf8f38cd..2e071204501 100644 --- a/service/s3control/api_op_ListRegionalBuckets.go +++ b/service/s3control/api_op_ListRegionalBuckets.go @@ -99,7 +99,10 @@ func addOperationListRegionalBucketsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_ListStorageLensConfigurations.go b/service/s3control/api_op_ListStorageLensConfigurations.go index 13d14b504b1..10ec290e2d7 100644 --- a/service/s3control/api_op_ListStorageLensConfigurations.go +++ b/service/s3control/api_op_ListStorageLensConfigurations.go @@ -93,7 +93,10 @@ func addOperationListStorageLensConfigurationsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_PutAccessPointPolicy.go b/service/s3control/api_op_PutAccessPointPolicy.go index bda1d729566..004c74867d8 100644 --- a/service/s3control/api_op_PutAccessPointPolicy.go +++ b/service/s3control/api_op_PutAccessPointPolicy.go @@ -114,7 +114,10 @@ func addOperationPutAccessPointPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_PutBucketLifecycleConfiguration.go b/service/s3control/api_op_PutBucketLifecycleConfiguration.go index 54488162abe..2bf6dd995bc 100644 --- a/service/s3control/api_op_PutBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_PutBucketLifecycleConfiguration.go @@ -107,7 +107,10 @@ func addOperationPutBucketLifecycleConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_PutBucketPolicy.go b/service/s3control/api_op_PutBucketPolicy.go index 4849a8f5e9f..8e8f00553ee 100644 --- a/service/s3control/api_op_PutBucketPolicy.go +++ b/service/s3control/api_op_PutBucketPolicy.go @@ -129,7 +129,10 @@ func addOperationPutBucketPolicyMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_PutBucketTagging.go b/service/s3control/api_op_PutBucketTagging.go index 6f1fcf111b0..2b326ec3faa 100644 --- a/service/s3control/api_op_PutBucketTagging.go +++ b/service/s3control/api_op_PutBucketTagging.go @@ -163,7 +163,10 @@ func addOperationPutBucketTaggingMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_PutJobTagging.go b/service/s3control/api_op_PutJobTagging.go index 43c7306fb53..fdbb1b44067 100644 --- a/service/s3control/api_op_PutJobTagging.go +++ b/service/s3control/api_op_PutJobTagging.go @@ -142,7 +142,10 @@ func addOperationPutJobTaggingMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_PutPublicAccessBlock.go b/service/s3control/api_op_PutPublicAccessBlock.go index 4bb36d9cff8..9e806bbd0a3 100644 --- a/service/s3control/api_op_PutPublicAccessBlock.go +++ b/service/s3control/api_op_PutPublicAccessBlock.go @@ -91,7 +91,10 @@ func addOperationPutPublicAccessBlockMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_PutStorageLensConfiguration.go b/service/s3control/api_op_PutStorageLensConfiguration.go index ffd8f1031ea..5f6717c3232 100644 --- a/service/s3control/api_op_PutStorageLensConfiguration.go +++ b/service/s3control/api_op_PutStorageLensConfiguration.go @@ -95,7 +95,10 @@ func addOperationPutStorageLensConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_PutStorageLensConfigurationTagging.go b/service/s3control/api_op_PutStorageLensConfigurationTagging.go index 21b4ada8358..61b6ce44d80 100644 --- a/service/s3control/api_op_PutStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_PutStorageLensConfigurationTagging.go @@ -93,7 +93,10 @@ func addOperationPutStorageLensConfigurationTaggingMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_UpdateJobPriority.go b/service/s3control/api_op_UpdateJobPriority.go index cac8c425198..783ed562027 100644 --- a/service/s3control/api_op_UpdateJobPriority.go +++ b/service/s3control/api_op_UpdateJobPriority.go @@ -113,7 +113,10 @@ func addOperationUpdateJobPriorityMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3control/api_op_UpdateJobStatus.go b/service/s3control/api_op_UpdateJobStatus.go index 8bd949eb299..9ce62e90816 100644 --- a/service/s3control/api_op_UpdateJobStatus.go +++ b/service/s3control/api_op_UpdateJobStatus.go @@ -118,7 +118,10 @@ func addOperationUpdateJobStatusMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3outposts/api_op_CreateEndpoint.go b/service/s3outposts/api_op_CreateEndpoint.go index e5c95847331..cfeb0ecd91d 100644 --- a/service/s3outposts/api_op_CreateEndpoint.go +++ b/service/s3outposts/api_op_CreateEndpoint.go @@ -94,7 +94,10 @@ func addOperationCreateEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3outposts/api_op_DeleteEndpoint.go b/service/s3outposts/api_op_DeleteEndpoint.go index 964f50ca3d0..fe6de5291c1 100644 --- a/service/s3outposts/api_op_DeleteEndpoint.go +++ b/service/s3outposts/api_op_DeleteEndpoint.go @@ -85,7 +85,10 @@ func addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/s3outposts/api_op_ListEndpoints.go b/service/s3outposts/api_op_ListEndpoints.go index 6f1d1dff5ec..f41b2d237fb 100644 --- a/service/s3outposts/api_op_ListEndpoints.go +++ b/service/s3outposts/api_op_ListEndpoints.go @@ -90,7 +90,10 @@ func addOperationListEndpointsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_AddAssociation.go b/service/sagemaker/api_op_AddAssociation.go index 4b872323249..69cd28b3309 100644 --- a/service/sagemaker/api_op_AddAssociation.go +++ b/service/sagemaker/api_op_AddAssociation.go @@ -106,7 +106,10 @@ func addOperationAddAssociationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_AddTags.go b/service/sagemaker/api_op_AddTags.go index 040cb7d9b8a..b3946caace3 100644 --- a/service/sagemaker/api_op_AddTags.go +++ b/service/sagemaker/api_op_AddTags.go @@ -96,7 +96,10 @@ func addOperationAddTagsMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_AssociateTrialComponent.go b/service/sagemaker/api_op_AssociateTrialComponent.go index 0867202da0f..0cf16fcff3d 100644 --- a/service/sagemaker/api_op_AssociateTrialComponent.go +++ b/service/sagemaker/api_op_AssociateTrialComponent.go @@ -83,7 +83,10 @@ func addOperationAssociateTrialComponentMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateAction.go b/service/sagemaker/api_op_CreateAction.go index 283948275db..141fbf6d85f 100644 --- a/service/sagemaker/api_op_CreateAction.go +++ b/service/sagemaker/api_op_CreateAction.go @@ -103,7 +103,10 @@ func addOperationCreateActionMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateAlgorithm.go b/service/sagemaker/api_op_CreateAlgorithm.go index 9729e54d536..34bf1845781 100644 --- a/service/sagemaker/api_op_CreateAlgorithm.go +++ b/service/sagemaker/api_op_CreateAlgorithm.go @@ -135,7 +135,10 @@ func addOperationCreateAlgorithmMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateApp.go b/service/sagemaker/api_op_CreateApp.go index 3067fddb9c0..3a3950f26f5 100644 --- a/service/sagemaker/api_op_CreateApp.go +++ b/service/sagemaker/api_op_CreateApp.go @@ -101,7 +101,10 @@ func addOperationCreateAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateAppImageConfig.go b/service/sagemaker/api_op_CreateAppImageConfig.go index 4b1007f668a..75ec63bbcf8 100644 --- a/service/sagemaker/api_op_CreateAppImageConfig.go +++ b/service/sagemaker/api_op_CreateAppImageConfig.go @@ -82,7 +82,10 @@ func addOperationCreateAppImageConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateArtifact.go b/service/sagemaker/api_op_CreateArtifact.go index 2098cb1f92d..b6730c5e170 100644 --- a/service/sagemaker/api_op_CreateArtifact.go +++ b/service/sagemaker/api_op_CreateArtifact.go @@ -95,7 +95,10 @@ func addOperationCreateArtifactMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateAutoMLJob.go b/service/sagemaker/api_op_CreateAutoMLJob.go index 2ab5924757e..44faa4eef2b 100644 --- a/service/sagemaker/api_op_CreateAutoMLJob.go +++ b/service/sagemaker/api_op_CreateAutoMLJob.go @@ -120,7 +120,10 @@ func addOperationCreateAutoMLJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateCodeRepository.go b/service/sagemaker/api_op_CreateCodeRepository.go index 6919361de4d..68ab84df64f 100644 --- a/service/sagemaker/api_op_CreateCodeRepository.go +++ b/service/sagemaker/api_op_CreateCodeRepository.go @@ -97,7 +97,10 @@ func addOperationCreateCodeRepositoryMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateCompilationJob.go b/service/sagemaker/api_op_CreateCompilationJob.go index 68f2674e4c9..7be39405f9d 100644 --- a/service/sagemaker/api_op_CreateCompilationJob.go +++ b/service/sagemaker/api_op_CreateCompilationJob.go @@ -153,7 +153,10 @@ func addOperationCreateCompilationJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateContext.go b/service/sagemaker/api_op_CreateContext.go index 925963745da..1a934ee4bfd 100644 --- a/service/sagemaker/api_op_CreateContext.go +++ b/service/sagemaker/api_op_CreateContext.go @@ -97,7 +97,10 @@ func addOperationCreateContextMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateDataQualityJobDefinition.go b/service/sagemaker/api_op_CreateDataQualityJobDefinition.go index 0512de45534..ac0aca8fbea 100644 --- a/service/sagemaker/api_op_CreateDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_CreateDataQualityJobDefinition.go @@ -120,7 +120,10 @@ func addOperationCreateDataQualityJobDefinitionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateDeviceFleet.go b/service/sagemaker/api_op_CreateDeviceFleet.go index ed4260e203a..09c6a9ec6a8 100644 --- a/service/sagemaker/api_op_CreateDeviceFleet.go +++ b/service/sagemaker/api_op_CreateDeviceFleet.go @@ -84,7 +84,10 @@ func addOperationCreateDeviceFleetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateDomain.go b/service/sagemaker/api_op_CreateDomain.go index ce762690234..896b90eef88 100644 --- a/service/sagemaker/api_op_CreateDomain.go +++ b/service/sagemaker/api_op_CreateDomain.go @@ -155,7 +155,10 @@ func addOperationCreateDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateEdgePackagingJob.go b/service/sagemaker/api_op_CreateEdgePackagingJob.go index b295cbe2832..caebc0e81ae 100644 --- a/service/sagemaker/api_op_CreateEdgePackagingJob.go +++ b/service/sagemaker/api_op_CreateEdgePackagingJob.go @@ -106,7 +106,10 @@ func addOperationCreateEdgePackagingJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateEndpoint.go b/service/sagemaker/api_op_CreateEndpoint.go index c2b351fd6d1..00bcce877a4 100644 --- a/service/sagemaker/api_op_CreateEndpoint.go +++ b/service/sagemaker/api_op_CreateEndpoint.go @@ -143,7 +143,10 @@ func addOperationCreateEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateEndpointConfig.go b/service/sagemaker/api_op_CreateEndpointConfig.go index da66118e6c1..7db194bfa39 100644 --- a/service/sagemaker/api_op_CreateEndpointConfig.go +++ b/service/sagemaker/api_op_CreateEndpointConfig.go @@ -155,7 +155,10 @@ func addOperationCreateEndpointConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateExperiment.go b/service/sagemaker/api_op_CreateExperiment.go index 3f99a2c214a..8a2fe28d225 100644 --- a/service/sagemaker/api_op_CreateExperiment.go +++ b/service/sagemaker/api_op_CreateExperiment.go @@ -102,7 +102,10 @@ func addOperationCreateExperimentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateFeatureGroup.go b/service/sagemaker/api_op_CreateFeatureGroup.go index b1b6600d200..10519ee756c 100644 --- a/service/sagemaker/api_op_CreateFeatureGroup.go +++ b/service/sagemaker/api_op_CreateFeatureGroup.go @@ -161,7 +161,10 @@ func addOperationCreateFeatureGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateFlowDefinition.go b/service/sagemaker/api_op_CreateFlowDefinition.go index d7b7df753b2..e6d2bf94cfb 100644 --- a/service/sagemaker/api_op_CreateFlowDefinition.go +++ b/service/sagemaker/api_op_CreateFlowDefinition.go @@ -107,7 +107,10 @@ func addOperationCreateFlowDefinitionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateHumanTaskUi.go b/service/sagemaker/api_op_CreateHumanTaskUi.go index a5bd2d66b76..c82e1677a0b 100644 --- a/service/sagemaker/api_op_CreateHumanTaskUi.go +++ b/service/sagemaker/api_op_CreateHumanTaskUi.go @@ -89,7 +89,10 @@ func addOperationCreateHumanTaskUiMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateHyperParameterTuningJob.go b/service/sagemaker/api_op_CreateHyperParameterTuningJob.go index 51eb315261f..a1c88da6748 100644 --- a/service/sagemaker/api_op_CreateHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_CreateHyperParameterTuningJob.go @@ -126,7 +126,10 @@ func addOperationCreateHyperParameterTuningJobMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateImage.go b/service/sagemaker/api_op_CreateImage.go index ea0e7cf8e55..306a215ce76 100644 --- a/service/sagemaker/api_op_CreateImage.go +++ b/service/sagemaker/api_op_CreateImage.go @@ -92,7 +92,10 @@ func addOperationCreateImageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateImageVersion.go b/service/sagemaker/api_op_CreateImageVersion.go index 6cdf3759a81..6993f11deb4 100644 --- a/service/sagemaker/api_op_CreateImageVersion.go +++ b/service/sagemaker/api_op_CreateImageVersion.go @@ -89,7 +89,10 @@ func addOperationCreateImageVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateLabelingJob.go b/service/sagemaker/api_op_CreateLabelingJob.go index 9777f3e0624..07437761cc7 100644 --- a/service/sagemaker/api_op_CreateLabelingJob.go +++ b/service/sagemaker/api_op_CreateLabelingJob.go @@ -198,7 +198,10 @@ func addOperationCreateLabelingJobMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateModel.go b/service/sagemaker/api_op_CreateModel.go index 520bf588c58..3cb19b607c4 100644 --- a/service/sagemaker/api_op_CreateModel.go +++ b/service/sagemaker/api_op_CreateModel.go @@ -135,7 +135,10 @@ func addOperationCreateModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateModelBiasJobDefinition.go b/service/sagemaker/api_op_CreateModelBiasJobDefinition.go index 4e712c2435a..a827b44a89d 100644 --- a/service/sagemaker/api_op_CreateModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelBiasJobDefinition.go @@ -118,7 +118,10 @@ func addOperationCreateModelBiasJobDefinitionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go index 540fc528f24..cf99345f7ea 100644 --- a/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelExplainabilityJobDefinition.go @@ -119,7 +119,10 @@ func addOperationCreateModelExplainabilityJobDefinitionMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateModelPackage.go b/service/sagemaker/api_op_CreateModelPackage.go index e13fa942fd3..d1cee0a9118 100644 --- a/service/sagemaker/api_op_CreateModelPackage.go +++ b/service/sagemaker/api_op_CreateModelPackage.go @@ -143,7 +143,10 @@ func addOperationCreateModelPackageMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateModelPackageGroup.go b/service/sagemaker/api_op_CreateModelPackageGroup.go index e957bf6ee03..06785ad648a 100644 --- a/service/sagemaker/api_op_CreateModelPackageGroup.go +++ b/service/sagemaker/api_op_CreateModelPackageGroup.go @@ -85,7 +85,10 @@ func addOperationCreateModelPackageGroupMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateModelQualityJobDefinition.go b/service/sagemaker/api_op_CreateModelQualityJobDefinition.go index b2065f0c6c8..07fa712a03e 100644 --- a/service/sagemaker/api_op_CreateModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_CreateModelQualityJobDefinition.go @@ -119,7 +119,10 @@ func addOperationCreateModelQualityJobDefinitionMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateMonitoringSchedule.go b/service/sagemaker/api_op_CreateMonitoringSchedule.go index b626b300b20..134c6cc1206 100644 --- a/service/sagemaker/api_op_CreateMonitoringSchedule.go +++ b/service/sagemaker/api_op_CreateMonitoringSchedule.go @@ -90,7 +90,10 @@ func addOperationCreateMonitoringScheduleMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateNotebookInstance.go b/service/sagemaker/api_op_CreateNotebookInstance.go index 9ad3bf5f2ca..3aed8291852 100644 --- a/service/sagemaker/api_op_CreateNotebookInstance.go +++ b/service/sagemaker/api_op_CreateNotebookInstance.go @@ -200,7 +200,10 @@ func addOperationCreateNotebookInstanceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go index bfa162c3825..f908ee0a73f 100644 --- a/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_CreateNotebookInstanceLifecycleConfig.go @@ -95,7 +95,10 @@ func addOperationCreateNotebookInstanceLifecycleConfigMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreatePipeline.go b/service/sagemaker/api_op_CreatePipeline.go index 84d53237424..d72ffae0b76 100644 --- a/service/sagemaker/api_op_CreatePipeline.go +++ b/service/sagemaker/api_op_CreatePipeline.go @@ -101,7 +101,10 @@ func addOperationCreatePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreatePresignedDomainUrl.go b/service/sagemaker/api_op_CreatePresignedDomainUrl.go index d5916f7ce7b..2ec72968e0a 100644 --- a/service/sagemaker/api_op_CreatePresignedDomainUrl.go +++ b/service/sagemaker/api_op_CreatePresignedDomainUrl.go @@ -88,7 +88,10 @@ func addOperationCreatePresignedDomainUrlMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go b/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go index a17b7477f08..1386a569b61 100644 --- a/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go +++ b/service/sagemaker/api_op_CreatePresignedNotebookInstanceUrl.go @@ -93,7 +93,10 @@ func addOperationCreatePresignedNotebookInstanceUrlMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateProcessingJob.go b/service/sagemaker/api_op_CreateProcessingJob.go index 225c3d74416..fd7b96fc7fa 100644 --- a/service/sagemaker/api_op_CreateProcessingJob.go +++ b/service/sagemaker/api_op_CreateProcessingJob.go @@ -127,7 +127,10 @@ func addOperationCreateProcessingJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateProject.go b/service/sagemaker/api_op_CreateProject.go index 4d935b96294..246ffda870f 100644 --- a/service/sagemaker/api_op_CreateProject.go +++ b/service/sagemaker/api_op_CreateProject.go @@ -98,7 +98,10 @@ func addOperationCreateProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateTrainingJob.go b/service/sagemaker/api_op_CreateTrainingJob.go index d041e954537..1b8d127b311 100644 --- a/service/sagemaker/api_op_CreateTrainingJob.go +++ b/service/sagemaker/api_op_CreateTrainingJob.go @@ -273,7 +273,10 @@ func addOperationCreateTrainingJobMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateTransformJob.go b/service/sagemaker/api_op_CreateTransformJob.go index 93a89750c67..d0f97878e3f 100644 --- a/service/sagemaker/api_op_CreateTransformJob.go +++ b/service/sagemaker/api_op_CreateTransformJob.go @@ -193,7 +193,10 @@ func addOperationCreateTransformJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateTrial.go b/service/sagemaker/api_op_CreateTrial.go index 02034c9403b..57f8bc2b219 100644 --- a/service/sagemaker/api_op_CreateTrial.go +++ b/service/sagemaker/api_op_CreateTrial.go @@ -100,7 +100,10 @@ func addOperationCreateTrialMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateTrialComponent.go b/service/sagemaker/api_op_CreateTrialComponent.go index 5269bfc1411..dd60a9bbc4e 100644 --- a/service/sagemaker/api_op_CreateTrialComponent.go +++ b/service/sagemaker/api_op_CreateTrialComponent.go @@ -125,7 +125,10 @@ func addOperationCreateTrialComponentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateUserProfile.go b/service/sagemaker/api_op_CreateUserProfile.go index 48f6074a70d..4457e61712f 100644 --- a/service/sagemaker/api_op_CreateUserProfile.go +++ b/service/sagemaker/api_op_CreateUserProfile.go @@ -104,7 +104,10 @@ func addOperationCreateUserProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateWorkforce.go b/service/sagemaker/api_op_CreateWorkforce.go index 2610ef87372..9d2cf0a5cac 100644 --- a/service/sagemaker/api_op_CreateWorkforce.go +++ b/service/sagemaker/api_op_CreateWorkforce.go @@ -113,7 +113,10 @@ func addOperationCreateWorkforceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_CreateWorkteam.go b/service/sagemaker/api_op_CreateWorkteam.go index b7cfbe75b25..5386ce09eb1 100644 --- a/service/sagemaker/api_op_CreateWorkteam.go +++ b/service/sagemaker/api_op_CreateWorkteam.go @@ -116,7 +116,10 @@ func addOperationCreateWorkteamMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteAction.go b/service/sagemaker/api_op_DeleteAction.go index f6d2d92c115..d546d0b6b17 100644 --- a/service/sagemaker/api_op_DeleteAction.go +++ b/service/sagemaker/api_op_DeleteAction.go @@ -73,7 +73,10 @@ func addOperationDeleteActionMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteAlgorithm.go b/service/sagemaker/api_op_DeleteAlgorithm.go index cdd13335022..678229c4c2e 100644 --- a/service/sagemaker/api_op_DeleteAlgorithm.go +++ b/service/sagemaker/api_op_DeleteAlgorithm.go @@ -69,7 +69,10 @@ func addOperationDeleteAlgorithmMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteApp.go b/service/sagemaker/api_op_DeleteApp.go index 6744758022e..18da5815048 100644 --- a/service/sagemaker/api_op_DeleteApp.go +++ b/service/sagemaker/api_op_DeleteApp.go @@ -85,7 +85,10 @@ func addOperationDeleteAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteAppImageConfig.go b/service/sagemaker/api_op_DeleteAppImageConfig.go index e170904c504..88430cebd9a 100644 --- a/service/sagemaker/api_op_DeleteAppImageConfig.go +++ b/service/sagemaker/api_op_DeleteAppImageConfig.go @@ -69,7 +69,10 @@ func addOperationDeleteAppImageConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteArtifact.go b/service/sagemaker/api_op_DeleteArtifact.go index bf2ac1f944c..c4f7fa5d93e 100644 --- a/service/sagemaker/api_op_DeleteArtifact.go +++ b/service/sagemaker/api_op_DeleteArtifact.go @@ -75,7 +75,10 @@ func addOperationDeleteArtifactMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteAssociation.go b/service/sagemaker/api_op_DeleteAssociation.go index 3ad3a4510e4..cacadbd4c54 100644 --- a/service/sagemaker/api_op_DeleteAssociation.go +++ b/service/sagemaker/api_op_DeleteAssociation.go @@ -81,7 +81,10 @@ func addOperationDeleteAssociationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteCodeRepository.go b/service/sagemaker/api_op_DeleteCodeRepository.go index 9c298396b18..23df885d447 100644 --- a/service/sagemaker/api_op_DeleteCodeRepository.go +++ b/service/sagemaker/api_op_DeleteCodeRepository.go @@ -69,7 +69,10 @@ func addOperationDeleteCodeRepositoryMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteContext.go b/service/sagemaker/api_op_DeleteContext.go index 1d9f5992247..a5b8d40aa48 100644 --- a/service/sagemaker/api_op_DeleteContext.go +++ b/service/sagemaker/api_op_DeleteContext.go @@ -73,7 +73,10 @@ func addOperationDeleteContextMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go b/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go index 9ce5cd124ab..c39d725e3ae 100644 --- a/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_DeleteDataQualityJobDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteDataQualityJobDefinitionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteDeviceFleet.go b/service/sagemaker/api_op_DeleteDeviceFleet.go index 65da26034e0..5e115504e77 100644 --- a/service/sagemaker/api_op_DeleteDeviceFleet.go +++ b/service/sagemaker/api_op_DeleteDeviceFleet.go @@ -69,7 +69,10 @@ func addOperationDeleteDeviceFleetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteDomain.go b/service/sagemaker/api_op_DeleteDomain.go index df49f98ad2d..7c2468aa72d 100644 --- a/service/sagemaker/api_op_DeleteDomain.go +++ b/service/sagemaker/api_op_DeleteDomain.go @@ -78,7 +78,10 @@ func addOperationDeleteDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteEndpoint.go b/service/sagemaker/api_op_DeleteEndpoint.go index afe3dcd7bf3..35a11334d37 100644 --- a/service/sagemaker/api_op_DeleteEndpoint.go +++ b/service/sagemaker/api_op_DeleteEndpoint.go @@ -74,7 +74,10 @@ func addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteEndpointConfig.go b/service/sagemaker/api_op_DeleteEndpointConfig.go index 19c1b2447d9..0dead29243e 100644 --- a/service/sagemaker/api_op_DeleteEndpointConfig.go +++ b/service/sagemaker/api_op_DeleteEndpointConfig.go @@ -76,7 +76,10 @@ func addOperationDeleteEndpointConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteExperiment.go b/service/sagemaker/api_op_DeleteExperiment.go index 9938be0f3ed..3195356a825 100644 --- a/service/sagemaker/api_op_DeleteExperiment.go +++ b/service/sagemaker/api_op_DeleteExperiment.go @@ -75,7 +75,10 @@ func addOperationDeleteExperimentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteFeatureGroup.go b/service/sagemaker/api_op_DeleteFeatureGroup.go index 63bfe1e07f9..0808d00c96d 100644 --- a/service/sagemaker/api_op_DeleteFeatureGroup.go +++ b/service/sagemaker/api_op_DeleteFeatureGroup.go @@ -74,7 +74,10 @@ func addOperationDeleteFeatureGroupMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteFlowDefinition.go b/service/sagemaker/api_op_DeleteFlowDefinition.go index cdedfb83c64..32178132ff8 100644 --- a/service/sagemaker/api_op_DeleteFlowDefinition.go +++ b/service/sagemaker/api_op_DeleteFlowDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteFlowDefinitionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteHumanTaskUi.go b/service/sagemaker/api_op_DeleteHumanTaskUi.go index e2c9b841971..67417c6f7b0 100644 --- a/service/sagemaker/api_op_DeleteHumanTaskUi.go +++ b/service/sagemaker/api_op_DeleteHumanTaskUi.go @@ -73,7 +73,10 @@ func addOperationDeleteHumanTaskUiMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteImage.go b/service/sagemaker/api_op_DeleteImage.go index 952f0861b77..0444890f7fb 100644 --- a/service/sagemaker/api_op_DeleteImage.go +++ b/service/sagemaker/api_op_DeleteImage.go @@ -70,7 +70,10 @@ func addOperationDeleteImageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteImageVersion.go b/service/sagemaker/api_op_DeleteImageVersion.go index 10d73194835..d40975fe777 100644 --- a/service/sagemaker/api_op_DeleteImageVersion.go +++ b/service/sagemaker/api_op_DeleteImageVersion.go @@ -75,7 +75,10 @@ func addOperationDeleteImageVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteModel.go b/service/sagemaker/api_op_DeleteModel.go index 2afa98b035f..ffcdce52567 100644 --- a/service/sagemaker/api_op_DeleteModel.go +++ b/service/sagemaker/api_op_DeleteModel.go @@ -72,7 +72,10 @@ func addOperationDeleteModelMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go b/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go index fa92defd3b1..48ff1356053 100644 --- a/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_DeleteModelBiasJobDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteModelBiasJobDefinitionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go index 7b6eecb1c0f..c252fc2c24e 100644 --- a/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_DeleteModelExplainabilityJobDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteModelExplainabilityJobDefinitionMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteModelPackage.go b/service/sagemaker/api_op_DeleteModelPackage.go index 479eb74abf4..17edc0ed2e9 100644 --- a/service/sagemaker/api_op_DeleteModelPackage.go +++ b/service/sagemaker/api_op_DeleteModelPackage.go @@ -72,7 +72,10 @@ func addOperationDeleteModelPackageMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteModelPackageGroup.go b/service/sagemaker/api_op_DeleteModelPackageGroup.go index cc4196e3e61..16f90f01586 100644 --- a/service/sagemaker/api_op_DeleteModelPackageGroup.go +++ b/service/sagemaker/api_op_DeleteModelPackageGroup.go @@ -69,7 +69,10 @@ func addOperationDeleteModelPackageGroupMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go b/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go index 08271fc2667..963624f15ef 100644 --- a/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go +++ b/service/sagemaker/api_op_DeleteModelPackageGroupPolicy.go @@ -69,7 +69,10 @@ func addOperationDeleteModelPackageGroupPolicyMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go b/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go index d61fd725e43..bcd93278f7e 100644 --- a/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_DeleteModelQualityJobDefinition.go @@ -69,7 +69,10 @@ func addOperationDeleteModelQualityJobDefinitionMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteMonitoringSchedule.go b/service/sagemaker/api_op_DeleteMonitoringSchedule.go index b17c04feb2b..4968172d28f 100644 --- a/service/sagemaker/api_op_DeleteMonitoringSchedule.go +++ b/service/sagemaker/api_op_DeleteMonitoringSchedule.go @@ -71,7 +71,10 @@ func addOperationDeleteMonitoringScheduleMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteNotebookInstance.go b/service/sagemaker/api_op_DeleteNotebookInstance.go index 0dc06b180dd..10124bc6ad0 100644 --- a/service/sagemaker/api_op_DeleteNotebookInstance.go +++ b/service/sagemaker/api_op_DeleteNotebookInstance.go @@ -73,7 +73,10 @@ func addOperationDeleteNotebookInstanceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go index a1d1203a126..2f3ae873793 100644 --- a/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_DeleteNotebookInstanceLifecycleConfig.go @@ -69,7 +69,10 @@ func addOperationDeleteNotebookInstanceLifecycleConfigMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeletePipeline.go b/service/sagemaker/api_op_DeletePipeline.go index 6c18be8a739..a525bfa8245 100644 --- a/service/sagemaker/api_op_DeletePipeline.go +++ b/service/sagemaker/api_op_DeletePipeline.go @@ -80,7 +80,10 @@ func addOperationDeletePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteProject.go b/service/sagemaker/api_op_DeleteProject.go index 12920f42f44..01e3b6194d1 100644 --- a/service/sagemaker/api_op_DeleteProject.go +++ b/service/sagemaker/api_op_DeleteProject.go @@ -69,7 +69,10 @@ func addOperationDeleteProjectMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteTags.go b/service/sagemaker/api_op_DeleteTags.go index 638b30ab64c..efa481fded7 100644 --- a/service/sagemaker/api_op_DeleteTags.go +++ b/service/sagemaker/api_op_DeleteTags.go @@ -77,7 +77,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteTrial.go b/service/sagemaker/api_op_DeleteTrial.go index d13b1808627..0dee70e595a 100644 --- a/service/sagemaker/api_op_DeleteTrial.go +++ b/service/sagemaker/api_op_DeleteTrial.go @@ -75,7 +75,10 @@ func addOperationDeleteTrialMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteTrialComponent.go b/service/sagemaker/api_op_DeleteTrialComponent.go index 1f14624af30..9768010c45f 100644 --- a/service/sagemaker/api_op_DeleteTrialComponent.go +++ b/service/sagemaker/api_op_DeleteTrialComponent.go @@ -75,7 +75,10 @@ func addOperationDeleteTrialComponentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteUserProfile.go b/service/sagemaker/api_op_DeleteUserProfile.go index 0a7019f8efe..2e20855490f 100644 --- a/service/sagemaker/api_op_DeleteUserProfile.go +++ b/service/sagemaker/api_op_DeleteUserProfile.go @@ -75,7 +75,10 @@ func addOperationDeleteUserProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteWorkforce.go b/service/sagemaker/api_op_DeleteWorkforce.go index 5e5812eef34..4025790f15e 100644 --- a/service/sagemaker/api_op_DeleteWorkforce.go +++ b/service/sagemaker/api_op_DeleteWorkforce.go @@ -74,7 +74,10 @@ func addOperationDeleteWorkforceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeleteWorkteam.go b/service/sagemaker/api_op_DeleteWorkteam.go index f3f9ec07c03..7a97e0d52a4 100644 --- a/service/sagemaker/api_op_DeleteWorkteam.go +++ b/service/sagemaker/api_op_DeleteWorkteam.go @@ -76,7 +76,10 @@ func addOperationDeleteWorkteamMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DeregisterDevices.go b/service/sagemaker/api_op_DeregisterDevices.go index d35ff6808a8..eb4593efdac 100644 --- a/service/sagemaker/api_op_DeregisterDevices.go +++ b/service/sagemaker/api_op_DeregisterDevices.go @@ -75,7 +75,10 @@ func addOperationDeregisterDevicesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeAction.go b/service/sagemaker/api_op_DescribeAction.go index 66192c8410a..2c959e268dc 100644 --- a/service/sagemaker/api_op_DescribeAction.go +++ b/service/sagemaker/api_op_DescribeAction.go @@ -110,7 +110,10 @@ func addOperationDescribeActionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeAlgorithm.go b/service/sagemaker/api_op_DescribeAlgorithm.go index e995a8d1b15..a63c42f8d9c 100644 --- a/service/sagemaker/api_op_DescribeAlgorithm.go +++ b/service/sagemaker/api_op_DescribeAlgorithm.go @@ -118,7 +118,10 @@ func addOperationDescribeAlgorithmMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeApp.go b/service/sagemaker/api_op_DescribeApp.go index 988aa5bf4ec..b40063ddc82 100644 --- a/service/sagemaker/api_op_DescribeApp.go +++ b/service/sagemaker/api_op_DescribeApp.go @@ -121,7 +121,10 @@ func addOperationDescribeAppMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeAppImageConfig.go b/service/sagemaker/api_op_DescribeAppImageConfig.go index 4465d684b7b..bf7e2fc6fe0 100644 --- a/service/sagemaker/api_op_DescribeAppImageConfig.go +++ b/service/sagemaker/api_op_DescribeAppImageConfig.go @@ -87,7 +87,10 @@ func addOperationDescribeAppImageConfigMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeArtifact.go b/service/sagemaker/api_op_DescribeArtifact.go index 19fee549a26..10d0d9b985d 100644 --- a/service/sagemaker/api_op_DescribeArtifact.go +++ b/service/sagemaker/api_op_DescribeArtifact.go @@ -104,7 +104,10 @@ func addOperationDescribeArtifactMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeAutoMLJob.go b/service/sagemaker/api_op_DescribeAutoMLJob.go index cfb71ce2874..b3740ffb638 100644 --- a/service/sagemaker/api_op_DescribeAutoMLJob.go +++ b/service/sagemaker/api_op_DescribeAutoMLJob.go @@ -148,7 +148,10 @@ func addOperationDescribeAutoMLJobMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeCodeRepository.go b/service/sagemaker/api_op_DescribeCodeRepository.go index dadabc1d86f..074961e66f4 100644 --- a/service/sagemaker/api_op_DescribeCodeRepository.go +++ b/service/sagemaker/api_op_DescribeCodeRepository.go @@ -98,7 +98,10 @@ func addOperationDescribeCodeRepositoryMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeCompilationJob.go b/service/sagemaker/api_op_DescribeCompilationJob.go index dd88992e888..d981eafe17c 100644 --- a/service/sagemaker/api_op_DescribeCompilationJob.go +++ b/service/sagemaker/api_op_DescribeCompilationJob.go @@ -154,7 +154,10 @@ func addOperationDescribeCompilationJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeContext.go b/service/sagemaker/api_op_DescribeContext.go index 32e92314c0f..8d954122e72 100644 --- a/service/sagemaker/api_op_DescribeContext.go +++ b/service/sagemaker/api_op_DescribeContext.go @@ -104,7 +104,10 @@ func addOperationDescribeContextMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go b/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go index b8318d21032..62d4edf1058 100644 --- a/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeDataQualityJobDefinition.go @@ -123,7 +123,10 @@ func addOperationDescribeDataQualityJobDefinitionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeDevice.go b/service/sagemaker/api_op_DescribeDevice.go index 44dfef6caf5..ab2ba36c152 100644 --- a/service/sagemaker/api_op_DescribeDevice.go +++ b/service/sagemaker/api_op_DescribeDevice.go @@ -117,7 +117,10 @@ func addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeDeviceFleet.go b/service/sagemaker/api_op_DescribeDeviceFleet.go index 96dffd0d3ab..aa0d51923f8 100644 --- a/service/sagemaker/api_op_DescribeDeviceFleet.go +++ b/service/sagemaker/api_op_DescribeDeviceFleet.go @@ -106,7 +106,10 @@ func addOperationDescribeDeviceFleetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeDomain.go b/service/sagemaker/api_op_DescribeDomain.go index 99f7f58a67f..565e2d6d730 100644 --- a/service/sagemaker/api_op_DescribeDomain.go +++ b/service/sagemaker/api_op_DescribeDomain.go @@ -135,7 +135,10 @@ func addOperationDescribeDomainMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeEdgePackagingJob.go b/service/sagemaker/api_op_DescribeEdgePackagingJob.go index 30458426a4b..b7fd4c02c11 100644 --- a/service/sagemaker/api_op_DescribeEdgePackagingJob.go +++ b/service/sagemaker/api_op_DescribeEdgePackagingJob.go @@ -122,7 +122,10 @@ func addOperationDescribeEdgePackagingJobMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeEndpoint.go b/service/sagemaker/api_op_DescribeEndpoint.go index 9884073b384..48c319ccde5 100644 --- a/service/sagemaker/api_op_DescribeEndpoint.go +++ b/service/sagemaker/api_op_DescribeEndpoint.go @@ -147,7 +147,10 @@ func addOperationDescribeEndpointMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeEndpointConfig.go b/service/sagemaker/api_op_DescribeEndpointConfig.go index 85ea79a20d8..a15df7de186 100644 --- a/service/sagemaker/api_op_DescribeEndpointConfig.go +++ b/service/sagemaker/api_op_DescribeEndpointConfig.go @@ -101,7 +101,10 @@ func addOperationDescribeEndpointConfigMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeExperiment.go b/service/sagemaker/api_op_DescribeExperiment.go index 32fc122d05d..4d0f5454286 100644 --- a/service/sagemaker/api_op_DescribeExperiment.go +++ b/service/sagemaker/api_op_DescribeExperiment.go @@ -100,7 +100,10 @@ func addOperationDescribeExperimentMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeFeatureGroup.go b/service/sagemaker/api_op_DescribeFeatureGroup.go index 50b1801bfcb..37ca94d630f 100644 --- a/service/sagemaker/api_op_DescribeFeatureGroup.go +++ b/service/sagemaker/api_op_DescribeFeatureGroup.go @@ -150,7 +150,10 @@ func addOperationDescribeFeatureGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeFlowDefinition.go b/service/sagemaker/api_op_DescribeFlowDefinition.go index eb2713d1cc8..f0f9928a45b 100644 --- a/service/sagemaker/api_op_DescribeFlowDefinition.go +++ b/service/sagemaker/api_op_DescribeFlowDefinition.go @@ -119,7 +119,10 @@ func addOperationDescribeFlowDefinitionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeHumanTaskUi.go b/service/sagemaker/api_op_DescribeHumanTaskUi.go index 065c33bcacf..f5ac59ad37d 100644 --- a/service/sagemaker/api_op_DescribeHumanTaskUi.go +++ b/service/sagemaker/api_op_DescribeHumanTaskUi.go @@ -99,7 +99,10 @@ func addOperationDescribeHumanTaskUiMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go b/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go index dd5a83eea4a..bbdb4ef4c5d 100644 --- a/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_DescribeHyperParameterTuningJob.go @@ -146,7 +146,10 @@ func addOperationDescribeHyperParameterTuningJobMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeImage.go b/service/sagemaker/api_op_DescribeImage.go index 32c74bd97a8..ab617be7617 100644 --- a/service/sagemaker/api_op_DescribeImage.go +++ b/service/sagemaker/api_op_DescribeImage.go @@ -100,7 +100,10 @@ func addOperationDescribeImageMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeImageVersion.go b/service/sagemaker/api_op_DescribeImageVersion.go index e8bdfdacf63..1c3ca74609a 100644 --- a/service/sagemaker/api_op_DescribeImageVersion.go +++ b/service/sagemaker/api_op_DescribeImageVersion.go @@ -102,7 +102,10 @@ func addOperationDescribeImageVersionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeLabelingJob.go b/service/sagemaker/api_op_DescribeLabelingJob.go index f3a1ae3667a..f8dd2bf835e 100644 --- a/service/sagemaker/api_op_DescribeLabelingJob.go +++ b/service/sagemaker/api_op_DescribeLabelingJob.go @@ -198,7 +198,10 @@ func addOperationDescribeLabelingJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeModel.go b/service/sagemaker/api_op_DescribeModel.go index d542a0dc12c..5b738a5e999 100644 --- a/service/sagemaker/api_op_DescribeModel.go +++ b/service/sagemaker/api_op_DescribeModel.go @@ -108,7 +108,10 @@ func addOperationDescribeModelMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go b/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go index 1d7456945bb..9cc8ab6c027 100644 --- a/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelBiasJobDefinition.go @@ -125,7 +125,10 @@ func addOperationDescribeModelBiasJobDefinitionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go b/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go index 4ac9fe06f3b..82525aaf36d 100644 --- a/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelExplainabilityJobDefinition.go @@ -126,7 +126,10 @@ func addOperationDescribeModelExplainabilityJobDefinitionMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeModelPackage.go b/service/sagemaker/api_op_DescribeModelPackage.go index 1ba00e3dcbf..09ee211e00e 100644 --- a/service/sagemaker/api_op_DescribeModelPackage.go +++ b/service/sagemaker/api_op_DescribeModelPackage.go @@ -147,7 +147,10 @@ func addOperationDescribeModelPackageMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeModelPackageGroup.go b/service/sagemaker/api_op_DescribeModelPackageGroup.go index eb878b04627..07c43fecab5 100644 --- a/service/sagemaker/api_op_DescribeModelPackageGroup.go +++ b/service/sagemaker/api_op_DescribeModelPackageGroup.go @@ -101,7 +101,10 @@ func addOperationDescribeModelPackageGroupMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go b/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go index 4bef8244ea1..5aca88dd65f 100644 --- a/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go +++ b/service/sagemaker/api_op_DescribeModelQualityJobDefinition.go @@ -124,7 +124,10 @@ func addOperationDescribeModelQualityJobDefinitionMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeMonitoringSchedule.go b/service/sagemaker/api_op_DescribeMonitoringSchedule.go index 2120ef43f8b..de3e5d34092 100644 --- a/service/sagemaker/api_op_DescribeMonitoringSchedule.go +++ b/service/sagemaker/api_op_DescribeMonitoringSchedule.go @@ -128,7 +128,10 @@ func addOperationDescribeMonitoringScheduleMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeNotebookInstance.go b/service/sagemaker/api_op_DescribeNotebookInstance.go index 443672bf49e..c445fe14dc8 100644 --- a/service/sagemaker/api_op_DescribeNotebookInstance.go +++ b/service/sagemaker/api_op_DescribeNotebookInstance.go @@ -169,7 +169,10 @@ func addOperationDescribeNotebookInstanceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go index fa0a9de8384..80fc68877f6 100644 --- a/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_DescribeNotebookInstanceLifecycleConfig.go @@ -94,7 +94,10 @@ func addOperationDescribeNotebookInstanceLifecycleConfigMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribePipeline.go b/service/sagemaker/api_op_DescribePipeline.go index 2158c9d9e27..ec1ba77faec 100644 --- a/service/sagemaker/api_op_DescribePipeline.go +++ b/service/sagemaker/api_op_DescribePipeline.go @@ -110,7 +110,10 @@ func addOperationDescribePipelineMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go b/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go index 8edfaa26a4e..f94bab9512b 100644 --- a/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go +++ b/service/sagemaker/api_op_DescribePipelineDefinitionForExecution.go @@ -77,7 +77,10 @@ func addOperationDescribePipelineDefinitionForExecutionMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribePipelineExecution.go b/service/sagemaker/api_op_DescribePipelineExecution.go index a21f3682527..3da1a4f48d7 100644 --- a/service/sagemaker/api_op_DescribePipelineExecution.go +++ b/service/sagemaker/api_op_DescribePipelineExecution.go @@ -101,7 +101,10 @@ func addOperationDescribePipelineExecutionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeProcessingJob.go b/service/sagemaker/api_op_DescribeProcessingJob.go index 3af1dedb4b4..921aa75a544 100644 --- a/service/sagemaker/api_op_DescribeProcessingJob.go +++ b/service/sagemaker/api_op_DescribeProcessingJob.go @@ -155,7 +155,10 @@ func addOperationDescribeProcessingJobMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeProject.go b/service/sagemaker/api_op_DescribeProject.go index 6160519943b..9172bc71ba3 100644 --- a/service/sagemaker/api_op_DescribeProject.go +++ b/service/sagemaker/api_op_DescribeProject.go @@ -114,7 +114,10 @@ func addOperationDescribeProjectMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeSubscribedWorkteam.go b/service/sagemaker/api_op_DescribeSubscribedWorkteam.go index acad9b967a1..bbbc1a9eb6d 100644 --- a/service/sagemaker/api_op_DescribeSubscribedWorkteam.go +++ b/service/sagemaker/api_op_DescribeSubscribedWorkteam.go @@ -77,7 +77,10 @@ func addOperationDescribeSubscribedWorkteamMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeTrainingJob.go b/service/sagemaker/api_op_DescribeTrainingJob.go index 4cf04fdc64e..21922a1696a 100644 --- a/service/sagemaker/api_op_DescribeTrainingJob.go +++ b/service/sagemaker/api_op_DescribeTrainingJob.go @@ -330,7 +330,10 @@ func addOperationDescribeTrainingJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeTransformJob.go b/service/sagemaker/api_op_DescribeTransformJob.go index c3f42016d1c..75626a9008d 100644 --- a/service/sagemaker/api_op_DescribeTransformJob.go +++ b/service/sagemaker/api_op_DescribeTransformJob.go @@ -179,7 +179,10 @@ func addOperationDescribeTransformJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeTrial.go b/service/sagemaker/api_op_DescribeTrial.go index fc800dad9f2..6d8939d45e9 100644 --- a/service/sagemaker/api_op_DescribeTrial.go +++ b/service/sagemaker/api_op_DescribeTrial.go @@ -103,7 +103,10 @@ func addOperationDescribeTrialMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeTrialComponent.go b/service/sagemaker/api_op_DescribeTrialComponent.go index dc16f984f98..5d8e9baab35 100644 --- a/service/sagemaker/api_op_DescribeTrialComponent.go +++ b/service/sagemaker/api_op_DescribeTrialComponent.go @@ -128,7 +128,10 @@ func addOperationDescribeTrialComponentMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeUserProfile.go b/service/sagemaker/api_op_DescribeUserProfile.go index 6b81c71aae1..2c39ca9f77e 100644 --- a/service/sagemaker/api_op_DescribeUserProfile.go +++ b/service/sagemaker/api_op_DescribeUserProfile.go @@ -110,7 +110,10 @@ func addOperationDescribeUserProfileMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeWorkforce.go b/service/sagemaker/api_op_DescribeWorkforce.go index 58c6653cdad..31421b580ed 100644 --- a/service/sagemaker/api_op_DescribeWorkforce.go +++ b/service/sagemaker/api_op_DescribeWorkforce.go @@ -87,7 +87,10 @@ func addOperationDescribeWorkforceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DescribeWorkteam.go b/service/sagemaker/api_op_DescribeWorkteam.go index d8a66e9f5bf..7746473489b 100644 --- a/service/sagemaker/api_op_DescribeWorkteam.go +++ b/service/sagemaker/api_op_DescribeWorkteam.go @@ -78,7 +78,10 @@ func addOperationDescribeWorkteamMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go b/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go index 7c4da2b898a..d5ca5604207 100644 --- a/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go +++ b/service/sagemaker/api_op_DisableSagemakerServicecatalogPortfolio.go @@ -65,7 +65,10 @@ func addOperationDisableSagemakerServicecatalogPortfolioMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_DisassociateTrialComponent.go b/service/sagemaker/api_op_DisassociateTrialComponent.go index cd6eaf48635..f02cd5bd05e 100644 --- a/service/sagemaker/api_op_DisassociateTrialComponent.go +++ b/service/sagemaker/api_op_DisassociateTrialComponent.go @@ -87,7 +87,10 @@ func addOperationDisassociateTrialComponentMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go b/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go index 1d70c2c8117..5417d98a6f2 100644 --- a/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go +++ b/service/sagemaker/api_op_EnableSagemakerServicecatalogPortfolio.go @@ -65,7 +65,10 @@ func addOperationEnableSagemakerServicecatalogPortfolioMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_GetDeviceFleetReport.go b/service/sagemaker/api_op_GetDeviceFleetReport.go index 7e0a7bcb609..0f58c2a72b7 100644 --- a/service/sagemaker/api_op_GetDeviceFleetReport.go +++ b/service/sagemaker/api_op_GetDeviceFleetReport.go @@ -100,7 +100,10 @@ func addOperationGetDeviceFleetReportMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_GetModelPackageGroupPolicy.go b/service/sagemaker/api_op_GetModelPackageGroupPolicy.go index 3aece795840..debed394b00 100644 --- a/service/sagemaker/api_op_GetModelPackageGroupPolicy.go +++ b/service/sagemaker/api_op_GetModelPackageGroupPolicy.go @@ -78,7 +78,10 @@ func addOperationGetModelPackageGroupPolicyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go b/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go index 15462acc5aa..9078b350173 100644 --- a/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go +++ b/service/sagemaker/api_op_GetSagemakerServicecatalogPortfolioStatus.go @@ -70,7 +70,10 @@ func addOperationGetSagemakerServicecatalogPortfolioStatusMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_GetSearchSuggestions.go b/service/sagemaker/api_op_GetSearchSuggestions.go index 0978cc4c7c0..007f2b271e6 100644 --- a/service/sagemaker/api_op_GetSearchSuggestions.go +++ b/service/sagemaker/api_op_GetSearchSuggestions.go @@ -79,7 +79,10 @@ func addOperationGetSearchSuggestionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListActions.go b/service/sagemaker/api_op_ListActions.go index 40c311067a3..48276bb01ec 100644 --- a/service/sagemaker/api_op_ListActions.go +++ b/service/sagemaker/api_op_ListActions.go @@ -100,7 +100,10 @@ func addOperationListActionsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListAlgorithms.go b/service/sagemaker/api_op_ListAlgorithms.go index fe11f6970bd..526aa94f3ff 100644 --- a/service/sagemaker/api_op_ListAlgorithms.go +++ b/service/sagemaker/api_op_ListAlgorithms.go @@ -103,7 +103,10 @@ func addOperationListAlgorithmsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListAppImageConfigs.go b/service/sagemaker/api_op_ListAppImageConfigs.go index 5b8973c08b0..a1d39ac6283 100644 --- a/service/sagemaker/api_op_ListAppImageConfigs.go +++ b/service/sagemaker/api_op_ListAppImageConfigs.go @@ -111,7 +111,10 @@ func addOperationListAppImageConfigsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListApps.go b/service/sagemaker/api_op_ListApps.go index 8e6251f9731..dc2b4082a51 100644 --- a/service/sagemaker/api_op_ListApps.go +++ b/service/sagemaker/api_op_ListApps.go @@ -93,7 +93,10 @@ func addOperationListAppsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListArtifacts.go b/service/sagemaker/api_op_ListArtifacts.go index 87225519892..94776f83903 100644 --- a/service/sagemaker/api_op_ListArtifacts.go +++ b/service/sagemaker/api_op_ListArtifacts.go @@ -100,7 +100,10 @@ func addOperationListArtifactsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListAssociations.go b/service/sagemaker/api_op_ListAssociations.go index b79d814f267..8a5860134a9 100644 --- a/service/sagemaker/api_op_ListAssociations.go +++ b/service/sagemaker/api_op_ListAssociations.go @@ -110,7 +110,10 @@ func addOperationListAssociationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListAutoMLJobs.go b/service/sagemaker/api_op_ListAutoMLJobs.go index 2fa976f77e3..89d2c0856b2 100644 --- a/service/sagemaker/api_op_ListAutoMLJobs.go +++ b/service/sagemaker/api_op_ListAutoMLJobs.go @@ -108,7 +108,10 @@ func addOperationListAutoMLJobsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go b/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go index 1b7ca8abc3b..e6c19d68ef9 100644 --- a/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go +++ b/service/sagemaker/api_op_ListCandidatesForAutoMLJob.go @@ -100,7 +100,10 @@ func addOperationListCandidatesForAutoMLJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListCodeRepositories.go b/service/sagemaker/api_op_ListCodeRepositories.go index 38c586fb12c..0feabb9195a 100644 --- a/service/sagemaker/api_op_ListCodeRepositories.go +++ b/service/sagemaker/api_op_ListCodeRepositories.go @@ -126,7 +126,10 @@ func addOperationListCodeRepositoriesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListCompilationJobs.go b/service/sagemaker/api_op_ListCompilationJobs.go index 6024fa6c3c4..8bf6053470e 100644 --- a/service/sagemaker/api_op_ListCompilationJobs.go +++ b/service/sagemaker/api_op_ListCompilationJobs.go @@ -119,7 +119,10 @@ func addOperationListCompilationJobsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListContexts.go b/service/sagemaker/api_op_ListContexts.go index 12b441f3680..3d1b8122c55 100644 --- a/service/sagemaker/api_op_ListContexts.go +++ b/service/sagemaker/api_op_ListContexts.go @@ -100,7 +100,10 @@ func addOperationListContextsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListDataQualityJobDefinitions.go b/service/sagemaker/api_op_ListDataQualityJobDefinitions.go index e5020276f27..d4e71135470 100644 --- a/service/sagemaker/api_op_ListDataQualityJobDefinitions.go +++ b/service/sagemaker/api_op_ListDataQualityJobDefinitions.go @@ -110,7 +110,10 @@ func addOperationListDataQualityJobDefinitionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListDeviceFleets.go b/service/sagemaker/api_op_ListDeviceFleets.go index d25a21045be..031965538ba 100644 --- a/service/sagemaker/api_op_ListDeviceFleets.go +++ b/service/sagemaker/api_op_ListDeviceFleets.go @@ -105,7 +105,10 @@ func addOperationListDeviceFleetsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListDevices.go b/service/sagemaker/api_op_ListDevices.go index b6840b0a8a1..7f59732961a 100644 --- a/service/sagemaker/api_op_ListDevices.go +++ b/service/sagemaker/api_op_ListDevices.go @@ -93,7 +93,10 @@ func addOperationListDevicesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListDomains.go b/service/sagemaker/api_op_ListDomains.go index 92215447a59..d3ad10ab276 100644 --- a/service/sagemaker/api_op_ListDomains.go +++ b/service/sagemaker/api_op_ListDomains.go @@ -81,7 +81,10 @@ func addOperationListDomainsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListEdgePackagingJobs.go b/service/sagemaker/api_op_ListEdgePackagingJobs.go index 246e5fd4153..267abab1c65 100644 --- a/service/sagemaker/api_op_ListEdgePackagingJobs.go +++ b/service/sagemaker/api_op_ListEdgePackagingJobs.go @@ -110,7 +110,10 @@ func addOperationListEdgePackagingJobsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListEndpointConfigs.go b/service/sagemaker/api_op_ListEndpointConfigs.go index 1f9ff254d3b..5c235e3c30a 100644 --- a/service/sagemaker/api_op_ListEndpointConfigs.go +++ b/service/sagemaker/api_op_ListEndpointConfigs.go @@ -103,7 +103,10 @@ func addOperationListEndpointConfigsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListEndpoints.go b/service/sagemaker/api_op_ListEndpoints.go index a8c09263143..9f6aaf59c98 100644 --- a/service/sagemaker/api_op_ListEndpoints.go +++ b/service/sagemaker/api_op_ListEndpoints.go @@ -114,7 +114,10 @@ func addOperationListEndpointsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListExperiments.go b/service/sagemaker/api_op_ListExperiments.go index e3f3aa151cb..4761af4f123 100644 --- a/service/sagemaker/api_op_ListExperiments.go +++ b/service/sagemaker/api_op_ListExperiments.go @@ -96,7 +96,10 @@ func addOperationListExperimentsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListFeatureGroups.go b/service/sagemaker/api_op_ListFeatureGroups.go index e820ab08b06..1949bac0b71 100644 --- a/service/sagemaker/api_op_ListFeatureGroups.go +++ b/service/sagemaker/api_op_ListFeatureGroups.go @@ -107,7 +107,10 @@ func addOperationListFeatureGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListFlowDefinitions.go b/service/sagemaker/api_op_ListFlowDefinitions.go index 43cc2dc6057..13e8149fac2 100644 --- a/service/sagemaker/api_op_ListFlowDefinitions.go +++ b/service/sagemaker/api_op_ListFlowDefinitions.go @@ -96,7 +96,10 @@ func addOperationListFlowDefinitionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListHumanTaskUis.go b/service/sagemaker/api_op_ListHumanTaskUis.go index bc6bee0a9a3..0004c9fd70d 100644 --- a/service/sagemaker/api_op_ListHumanTaskUis.go +++ b/service/sagemaker/api_op_ListHumanTaskUis.go @@ -96,7 +96,10 @@ func addOperationListHumanTaskUisMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListHyperParameterTuningJobs.go b/service/sagemaker/api_op_ListHyperParameterTuningJobs.go index a6be450afbf..3c8445412da 100644 --- a/service/sagemaker/api_op_ListHyperParameterTuningJobs.go +++ b/service/sagemaker/api_op_ListHyperParameterTuningJobs.go @@ -117,7 +117,10 @@ func addOperationListHyperParameterTuningJobsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListImageVersions.go b/service/sagemaker/api_op_ListImageVersions.go index c9497d38bb8..6597cff0bd7 100644 --- a/service/sagemaker/api_op_ListImageVersions.go +++ b/service/sagemaker/api_op_ListImageVersions.go @@ -106,7 +106,10 @@ func addOperationListImageVersionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListImages.go b/service/sagemaker/api_op_ListImages.go index c5f2f621706..a02a7923b3f 100644 --- a/service/sagemaker/api_op_ListImages.go +++ b/service/sagemaker/api_op_ListImages.go @@ -104,7 +104,10 @@ func addOperationListImagesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListLabelingJobs.go b/service/sagemaker/api_op_ListLabelingJobs.go index 562603a4d2e..24ea7a789e0 100644 --- a/service/sagemaker/api_op_ListLabelingJobs.go +++ b/service/sagemaker/api_op_ListLabelingJobs.go @@ -112,7 +112,10 @@ func addOperationListLabelingJobsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go b/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go index 0e0a66e1eed..3de2b094f74 100644 --- a/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go +++ b/service/sagemaker/api_op_ListLabelingJobsForWorkteam.go @@ -109,7 +109,10 @@ func addOperationListLabelingJobsForWorkteamMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListModelBiasJobDefinitions.go b/service/sagemaker/api_op_ListModelBiasJobDefinitions.go index 31cc491341f..d901cad5a92 100644 --- a/service/sagemaker/api_op_ListModelBiasJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelBiasJobDefinitions.go @@ -105,7 +105,10 @@ func addOperationListModelBiasJobDefinitionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go b/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go index 5ec8b1d001d..9bce334fc08 100644 --- a/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelExplainabilityJobDefinitions.go @@ -106,7 +106,10 @@ func addOperationListModelExplainabilityJobDefinitionsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListModelPackageGroups.go b/service/sagemaker/api_op_ListModelPackageGroups.go index af2b331ef93..75fe2af8f0d 100644 --- a/service/sagemaker/api_op_ListModelPackageGroups.go +++ b/service/sagemaker/api_op_ListModelPackageGroups.go @@ -101,7 +101,10 @@ func addOperationListModelPackageGroupsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListModelPackages.go b/service/sagemaker/api_op_ListModelPackages.go index 279fb90a6f1..f314b54def5 100644 --- a/service/sagemaker/api_op_ListModelPackages.go +++ b/service/sagemaker/api_op_ListModelPackages.go @@ -123,7 +123,10 @@ func addOperationListModelPackagesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListModelQualityJobDefinitions.go b/service/sagemaker/api_op_ListModelQualityJobDefinitions.go index 1b154e5cf59..c0aaa02e73c 100644 --- a/service/sagemaker/api_op_ListModelQualityJobDefinitions.go +++ b/service/sagemaker/api_op_ListModelQualityJobDefinitions.go @@ -109,7 +109,10 @@ func addOperationListModelQualityJobDefinitionsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListModels.go b/service/sagemaker/api_op_ListModels.go index 0e3798e8979..941a2b4d90a 100644 --- a/service/sagemaker/api_op_ListModels.go +++ b/service/sagemaker/api_op_ListModels.go @@ -102,7 +102,10 @@ func addOperationListModelsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListMonitoringExecutions.go b/service/sagemaker/api_op_ListMonitoringExecutions.go index 969ccb372c7..95851311456 100644 --- a/service/sagemaker/api_op_ListMonitoringExecutions.go +++ b/service/sagemaker/api_op_ListMonitoringExecutions.go @@ -127,7 +127,10 @@ func addOperationListMonitoringExecutionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListMonitoringSchedules.go b/service/sagemaker/api_op_ListMonitoringSchedules.go index 0ee9da984ea..bf4f5fabad7 100644 --- a/service/sagemaker/api_op_ListMonitoringSchedules.go +++ b/service/sagemaker/api_op_ListMonitoringSchedules.go @@ -123,7 +123,10 @@ func addOperationListMonitoringSchedulesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go b/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go index 19b205000e1..49c03b8b4a7 100644 --- a/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go +++ b/service/sagemaker/api_op_ListNotebookInstanceLifecycleConfigs.go @@ -111,7 +111,10 @@ func addOperationListNotebookInstanceLifecycleConfigsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListNotebookInstances.go b/service/sagemaker/api_op_ListNotebookInstances.go index 2f3f048a127..3d8181c6a59 100644 --- a/service/sagemaker/api_op_ListNotebookInstances.go +++ b/service/sagemaker/api_op_ListNotebookInstances.go @@ -132,7 +132,10 @@ func addOperationListNotebookInstancesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListPipelineExecutionSteps.go b/service/sagemaker/api_op_ListPipelineExecutionSteps.go index 8d2a240ee2e..04fde492653 100644 --- a/service/sagemaker/api_op_ListPipelineExecutionSteps.go +++ b/service/sagemaker/api_op_ListPipelineExecutionSteps.go @@ -92,7 +92,10 @@ func addOperationListPipelineExecutionStepsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListPipelineExecutions.go b/service/sagemaker/api_op_ListPipelineExecutions.go index 62bce737837..e50d65145bc 100644 --- a/service/sagemaker/api_op_ListPipelineExecutions.go +++ b/service/sagemaker/api_op_ListPipelineExecutions.go @@ -105,7 +105,10 @@ func addOperationListPipelineExecutionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListPipelineParametersForExecution.go b/service/sagemaker/api_op_ListPipelineParametersForExecution.go index 4612b472ebd..2dd3896f027 100644 --- a/service/sagemaker/api_op_ListPipelineParametersForExecution.go +++ b/service/sagemaker/api_op_ListPipelineParametersForExecution.go @@ -88,7 +88,10 @@ func addOperationListPipelineParametersForExecutionMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListPipelines.go b/service/sagemaker/api_op_ListPipelines.go index 38b431d6f28..31a10a0ab81 100644 --- a/service/sagemaker/api_op_ListPipelines.go +++ b/service/sagemaker/api_op_ListPipelines.go @@ -102,7 +102,10 @@ func addOperationListPipelinesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListProcessingJobs.go b/service/sagemaker/api_op_ListProcessingJobs.go index a7b72bd63d9..e9280311465 100644 --- a/service/sagemaker/api_op_ListProcessingJobs.go +++ b/service/sagemaker/api_op_ListProcessingJobs.go @@ -110,7 +110,10 @@ func addOperationListProcessingJobsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListProjects.go b/service/sagemaker/api_op_ListProjects.go index 8a356ab74cf..1d37065fa86 100644 --- a/service/sagemaker/api_op_ListProjects.go +++ b/service/sagemaker/api_op_ListProjects.go @@ -101,7 +101,10 @@ func addOperationListProjectsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListSubscribedWorkteams.go b/service/sagemaker/api_op_ListSubscribedWorkteams.go index a6036843a79..a23d190c04c 100644 --- a/service/sagemaker/api_op_ListSubscribedWorkteams.go +++ b/service/sagemaker/api_op_ListSubscribedWorkteams.go @@ -90,7 +90,10 @@ func addOperationListSubscribedWorkteamsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListTags.go b/service/sagemaker/api_op_ListTags.go index 058a38cb6f4..9e3f06ff2b9 100644 --- a/service/sagemaker/api_op_ListTags.go +++ b/service/sagemaker/api_op_ListTags.go @@ -87,7 +87,10 @@ func addOperationListTagsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListTrainingJobs.go b/service/sagemaker/api_op_ListTrainingJobs.go index 6520bc73f79..9e0ac42c5ca 100644 --- a/service/sagemaker/api_op_ListTrainingJobs.go +++ b/service/sagemaker/api_op_ListTrainingJobs.go @@ -114,7 +114,10 @@ func addOperationListTrainingJobsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go b/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go index 3e87ccad715..9069ec0c769 100644 --- a/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_ListTrainingJobsForHyperParameterTuningJob.go @@ -103,7 +103,10 @@ func addOperationListTrainingJobsForHyperParameterTuningJobMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListTransformJobs.go b/service/sagemaker/api_op_ListTransformJobs.go index 248d9daa0c1..99607625ef0 100644 --- a/service/sagemaker/api_op_ListTransformJobs.go +++ b/service/sagemaker/api_op_ListTransformJobs.go @@ -111,7 +111,10 @@ func addOperationListTransformJobsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListTrialComponents.go b/service/sagemaker/api_op_ListTrialComponents.go index 9523c8aa518..5b541c819d7 100644 --- a/service/sagemaker/api_op_ListTrialComponents.go +++ b/service/sagemaker/api_op_ListTrialComponents.go @@ -116,7 +116,10 @@ func addOperationListTrialComponentsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListTrials.go b/service/sagemaker/api_op_ListTrials.go index dc53cecd4d6..8104239ede8 100644 --- a/service/sagemaker/api_op_ListTrials.go +++ b/service/sagemaker/api_op_ListTrials.go @@ -104,7 +104,10 @@ func addOperationListTrialsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListUserProfiles.go b/service/sagemaker/api_op_ListUserProfiles.go index bee84b37d57..bf96701a10a 100644 --- a/service/sagemaker/api_op_ListUserProfiles.go +++ b/service/sagemaker/api_op_ListUserProfiles.go @@ -93,7 +93,10 @@ func addOperationListUserProfilesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListWorkforces.go b/service/sagemaker/api_op_ListWorkforces.go index 9213ba41fbb..4b4e95ad968 100644 --- a/service/sagemaker/api_op_ListWorkforces.go +++ b/service/sagemaker/api_op_ListWorkforces.go @@ -91,7 +91,10 @@ func addOperationListWorkforcesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_ListWorkteams.go b/service/sagemaker/api_op_ListWorkteams.go index d2a04d305f1..88e469b95b3 100644 --- a/service/sagemaker/api_op_ListWorkteams.go +++ b/service/sagemaker/api_op_ListWorkteams.go @@ -96,7 +96,10 @@ func addOperationListWorkteamsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_PutModelPackageGroupPolicy.go b/service/sagemaker/api_op_PutModelPackageGroupPolicy.go index 470645e781e..a416ee8f673 100644 --- a/service/sagemaker/api_op_PutModelPackageGroupPolicy.go +++ b/service/sagemaker/api_op_PutModelPackageGroupPolicy.go @@ -83,7 +83,10 @@ func addOperationPutModelPackageGroupPolicyMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_RegisterDevices.go b/service/sagemaker/api_op_RegisterDevices.go index afe7130e01c..4ca96d01358 100644 --- a/service/sagemaker/api_op_RegisterDevices.go +++ b/service/sagemaker/api_op_RegisterDevices.go @@ -78,7 +78,10 @@ func addOperationRegisterDevicesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_RenderUiTemplate.go b/service/sagemaker/api_op_RenderUiTemplate.go index 8440264617d..c6b26207676 100644 --- a/service/sagemaker/api_op_RenderUiTemplate.go +++ b/service/sagemaker/api_op_RenderUiTemplate.go @@ -96,7 +96,10 @@ func addOperationRenderUiTemplateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_Search.go b/service/sagemaker/api_op_Search.go index 580cf82bab6..86988695fb5 100644 --- a/service/sagemaker/api_op_Search.go +++ b/service/sagemaker/api_op_Search.go @@ -106,7 +106,10 @@ func addOperationSearchMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StartMonitoringSchedule.go b/service/sagemaker/api_op_StartMonitoringSchedule.go index a52ab5fd31c..32d7b98abe1 100644 --- a/service/sagemaker/api_op_StartMonitoringSchedule.go +++ b/service/sagemaker/api_op_StartMonitoringSchedule.go @@ -71,7 +71,10 @@ func addOperationStartMonitoringScheduleMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StartNotebookInstance.go b/service/sagemaker/api_op_StartNotebookInstance.go index 213a7f4481d..0012679881e 100644 --- a/service/sagemaker/api_op_StartNotebookInstance.go +++ b/service/sagemaker/api_op_StartNotebookInstance.go @@ -72,7 +72,10 @@ func addOperationStartNotebookInstanceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StartPipelineExecution.go b/service/sagemaker/api_op_StartPipelineExecution.go index 2d69b9915be..269ae3d3ff4 100644 --- a/service/sagemaker/api_op_StartPipelineExecution.go +++ b/service/sagemaker/api_op_StartPipelineExecution.go @@ -90,7 +90,10 @@ func addOperationStartPipelineExecutionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopAutoMLJob.go b/service/sagemaker/api_op_StopAutoMLJob.go index 8909d5f8303..eda04452889 100644 --- a/service/sagemaker/api_op_StopAutoMLJob.go +++ b/service/sagemaker/api_op_StopAutoMLJob.go @@ -69,7 +69,10 @@ func addOperationStopAutoMLJobMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopCompilationJob.go b/service/sagemaker/api_op_StopCompilationJob.go index a3b6dafbf8f..d30d91c28fd 100644 --- a/service/sagemaker/api_op_StopCompilationJob.go +++ b/service/sagemaker/api_op_StopCompilationJob.go @@ -75,7 +75,10 @@ func addOperationStopCompilationJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopEdgePackagingJob.go b/service/sagemaker/api_op_StopEdgePackagingJob.go index 96fabb66c72..ca1f5756f84 100644 --- a/service/sagemaker/api_op_StopEdgePackagingJob.go +++ b/service/sagemaker/api_op_StopEdgePackagingJob.go @@ -69,7 +69,10 @@ func addOperationStopEdgePackagingJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopHyperParameterTuningJob.go b/service/sagemaker/api_op_StopHyperParameterTuningJob.go index 1ef4d37d2c1..9855fa94322 100644 --- a/service/sagemaker/api_op_StopHyperParameterTuningJob.go +++ b/service/sagemaker/api_op_StopHyperParameterTuningJob.go @@ -74,7 +74,10 @@ func addOperationStopHyperParameterTuningJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopLabelingJob.go b/service/sagemaker/api_op_StopLabelingJob.go index 75423824d44..959a57d86f6 100644 --- a/service/sagemaker/api_op_StopLabelingJob.go +++ b/service/sagemaker/api_op_StopLabelingJob.go @@ -71,7 +71,10 @@ func addOperationStopLabelingJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopMonitoringSchedule.go b/service/sagemaker/api_op_StopMonitoringSchedule.go index 90d93af4af4..a2928c267a6 100644 --- a/service/sagemaker/api_op_StopMonitoringSchedule.go +++ b/service/sagemaker/api_op_StopMonitoringSchedule.go @@ -69,7 +69,10 @@ func addOperationStopMonitoringScheduleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopNotebookInstance.go b/service/sagemaker/api_op_StopNotebookInstance.go index a6e26a79eec..e77aaa6d888 100644 --- a/service/sagemaker/api_op_StopNotebookInstance.go +++ b/service/sagemaker/api_op_StopNotebookInstance.go @@ -76,7 +76,10 @@ func addOperationStopNotebookInstanceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopPipelineExecution.go b/service/sagemaker/api_op_StopPipelineExecution.go index 0a663cd858b..451f1bfbb69 100644 --- a/service/sagemaker/api_op_StopPipelineExecution.go +++ b/service/sagemaker/api_op_StopPipelineExecution.go @@ -80,7 +80,10 @@ func addOperationStopPipelineExecutionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopProcessingJob.go b/service/sagemaker/api_op_StopProcessingJob.go index 58b29d1e4b9..854adcae2ef 100644 --- a/service/sagemaker/api_op_StopProcessingJob.go +++ b/service/sagemaker/api_op_StopProcessingJob.go @@ -69,7 +69,10 @@ func addOperationStopProcessingJobMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopTrainingJob.go b/service/sagemaker/api_op_StopTrainingJob.go index d6742bcccb8..4d7580c4b89 100644 --- a/service/sagemaker/api_op_StopTrainingJob.go +++ b/service/sagemaker/api_op_StopTrainingJob.go @@ -74,7 +74,10 @@ func addOperationStopTrainingJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_StopTransformJob.go b/service/sagemaker/api_op_StopTransformJob.go index ef607108372..f0b22220d09 100644 --- a/service/sagemaker/api_op_StopTransformJob.go +++ b/service/sagemaker/api_op_StopTransformJob.go @@ -72,7 +72,10 @@ func addOperationStopTransformJobMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateAction.go b/service/sagemaker/api_op_UpdateAction.go index 055a12c8b6d..12794450ab9 100644 --- a/service/sagemaker/api_op_UpdateAction.go +++ b/service/sagemaker/api_op_UpdateAction.go @@ -86,7 +86,10 @@ func addOperationUpdateActionMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateAppImageConfig.go b/service/sagemaker/api_op_UpdateAppImageConfig.go index 4fa89675deb..16d0bf8b836 100644 --- a/service/sagemaker/api_op_UpdateAppImageConfig.go +++ b/service/sagemaker/api_op_UpdateAppImageConfig.go @@ -77,7 +77,10 @@ func addOperationUpdateAppImageConfigMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateArtifact.go b/service/sagemaker/api_op_UpdateArtifact.go index 710f8ca7e86..c57a6b5f74f 100644 --- a/service/sagemaker/api_op_UpdateArtifact.go +++ b/service/sagemaker/api_op_UpdateArtifact.go @@ -82,7 +82,10 @@ func addOperationUpdateArtifactMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateCodeRepository.go b/service/sagemaker/api_op_UpdateCodeRepository.go index d4feb8805e3..d5c46ab2b93 100644 --- a/service/sagemaker/api_op_UpdateCodeRepository.go +++ b/service/sagemaker/api_op_UpdateCodeRepository.go @@ -83,7 +83,10 @@ func addOperationUpdateCodeRepositoryMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateContext.go b/service/sagemaker/api_op_UpdateContext.go index 7457e4d3cd4..806acb96bde 100644 --- a/service/sagemaker/api_op_UpdateContext.go +++ b/service/sagemaker/api_op_UpdateContext.go @@ -82,7 +82,10 @@ func addOperationUpdateContextMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateDeviceFleet.go b/service/sagemaker/api_op_UpdateDeviceFleet.go index bb4250e961e..a2e43de9ed1 100644 --- a/service/sagemaker/api_op_UpdateDeviceFleet.go +++ b/service/sagemaker/api_op_UpdateDeviceFleet.go @@ -81,7 +81,10 @@ func addOperationUpdateDeviceFleetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateDevices.go b/service/sagemaker/api_op_UpdateDevices.go index 1fce418b42b..eaf6097e7b9 100644 --- a/service/sagemaker/api_op_UpdateDevices.go +++ b/service/sagemaker/api_op_UpdateDevices.go @@ -75,7 +75,10 @@ func addOperationUpdateDevicesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateDomain.go b/service/sagemaker/api_op_UpdateDomain.go index 048ba90ed4b..5a50d9a2a55 100644 --- a/service/sagemaker/api_op_UpdateDomain.go +++ b/service/sagemaker/api_op_UpdateDomain.go @@ -77,7 +77,10 @@ func addOperationUpdateDomainMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateEndpoint.go b/service/sagemaker/api_op_UpdateEndpoint.go index aed61cc0047..fd7e376b52d 100644 --- a/service/sagemaker/api_op_UpdateEndpoint.go +++ b/service/sagemaker/api_op_UpdateEndpoint.go @@ -112,7 +112,10 @@ func addOperationUpdateEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go b/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go index d7e88790daf..a439f03c667 100644 --- a/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go +++ b/service/sagemaker/api_op_UpdateEndpointWeightsAndCapacities.go @@ -85,7 +85,10 @@ func addOperationUpdateEndpointWeightsAndCapacitiesMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateExperiment.go b/service/sagemaker/api_op_UpdateExperiment.go index 92439494449..bd0c4c9bf73 100644 --- a/service/sagemaker/api_op_UpdateExperiment.go +++ b/service/sagemaker/api_op_UpdateExperiment.go @@ -81,7 +81,10 @@ func addOperationUpdateExperimentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateImage.go b/service/sagemaker/api_op_UpdateImage.go index fd161e81795..316b5168713 100644 --- a/service/sagemaker/api_op_UpdateImage.go +++ b/service/sagemaker/api_op_UpdateImage.go @@ -88,7 +88,10 @@ func addOperationUpdateImageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateModelPackage.go b/service/sagemaker/api_op_UpdateModelPackage.go index 3f35058ba3b..1b67a44a923 100644 --- a/service/sagemaker/api_op_UpdateModelPackage.go +++ b/service/sagemaker/api_op_UpdateModelPackage.go @@ -84,7 +84,10 @@ func addOperationUpdateModelPackageMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateMonitoringSchedule.go b/service/sagemaker/api_op_UpdateMonitoringSchedule.go index 26faac38cec..ce29eb7ddc4 100644 --- a/service/sagemaker/api_op_UpdateMonitoringSchedule.go +++ b/service/sagemaker/api_op_UpdateMonitoringSchedule.go @@ -83,7 +83,10 @@ func addOperationUpdateMonitoringScheduleMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateNotebookInstance.go b/service/sagemaker/api_op_UpdateNotebookInstance.go index b1796dd57bb..f4a9578e734 100644 --- a/service/sagemaker/api_op_UpdateNotebookInstance.go +++ b/service/sagemaker/api_op_UpdateNotebookInstance.go @@ -152,7 +152,10 @@ func addOperationUpdateNotebookInstanceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go b/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go index 5de91bec316..8205cfc33d4 100644 --- a/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go +++ b/service/sagemaker/api_op_UpdateNotebookInstanceLifecycleConfig.go @@ -80,7 +80,10 @@ func addOperationUpdateNotebookInstanceLifecycleConfigMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdatePipeline.go b/service/sagemaker/api_op_UpdatePipeline.go index b5a4a225eac..74be676bf37 100644 --- a/service/sagemaker/api_op_UpdatePipeline.go +++ b/service/sagemaker/api_op_UpdatePipeline.go @@ -85,7 +85,10 @@ func addOperationUpdatePipelineMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdatePipelineExecution.go b/service/sagemaker/api_op_UpdatePipelineExecution.go index d7adee04153..8fa80e4b296 100644 --- a/service/sagemaker/api_op_UpdatePipelineExecution.go +++ b/service/sagemaker/api_op_UpdatePipelineExecution.go @@ -79,7 +79,10 @@ func addOperationUpdatePipelineExecutionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateTrainingJob.go b/service/sagemaker/api_op_UpdateTrainingJob.go index 09185d8340e..484969c4e9e 100644 --- a/service/sagemaker/api_op_UpdateTrainingJob.go +++ b/service/sagemaker/api_op_UpdateTrainingJob.go @@ -84,7 +84,10 @@ func addOperationUpdateTrainingJobMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateTrial.go b/service/sagemaker/api_op_UpdateTrial.go index 2ac25f31163..a26df94249c 100644 --- a/service/sagemaker/api_op_UpdateTrial.go +++ b/service/sagemaker/api_op_UpdateTrial.go @@ -77,7 +77,10 @@ func addOperationUpdateTrialMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateTrialComponent.go b/service/sagemaker/api_op_UpdateTrialComponent.go index d1fc7d25718..83eeb16d4b9 100644 --- a/service/sagemaker/api_op_UpdateTrialComponent.go +++ b/service/sagemaker/api_op_UpdateTrialComponent.go @@ -107,7 +107,10 @@ func addOperationUpdateTrialComponentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateUserProfile.go b/service/sagemaker/api_op_UpdateUserProfile.go index d9a0b3ad1bd..f31796654dc 100644 --- a/service/sagemaker/api_op_UpdateUserProfile.go +++ b/service/sagemaker/api_op_UpdateUserProfile.go @@ -82,7 +82,10 @@ func addOperationUpdateUserProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateWorkforce.go b/service/sagemaker/api_op_UpdateWorkforce.go index 8e31cbfff1a..212ff810a64 100644 --- a/service/sagemaker/api_op_UpdateWorkforce.go +++ b/service/sagemaker/api_op_UpdateWorkforce.go @@ -105,7 +105,10 @@ func addOperationUpdateWorkforceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemaker/api_op_UpdateWorkteam.go b/service/sagemaker/api_op_UpdateWorkteam.go index 507d1020e9f..aefccb5efb0 100644 --- a/service/sagemaker/api_op_UpdateWorkteam.go +++ b/service/sagemaker/api_op_UpdateWorkteam.go @@ -103,7 +103,10 @@ func addOperationUpdateWorkteamMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go b/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go index 44fe53caa5e..3c777d77757 100644 --- a/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_DeleteHumanLoop.go @@ -69,7 +69,10 @@ func addOperationDeleteHumanLoopMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go b/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go index 92779b4bc67..9ea1b901435 100644 --- a/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_DescribeHumanLoop.go @@ -109,7 +109,10 @@ func addOperationDescribeHumanLoopMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakera2iruntime/api_op_ListHumanLoops.go b/service/sagemakera2iruntime/api_op_ListHumanLoops.go index 75714d3a30d..2e3b854c2c4 100644 --- a/service/sagemakera2iruntime/api_op_ListHumanLoops.go +++ b/service/sagemakera2iruntime/api_op_ListHumanLoops.go @@ -102,7 +102,10 @@ func addOperationListHumanLoopsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakera2iruntime/api_op_StartHumanLoop.go b/service/sagemakera2iruntime/api_op_StartHumanLoop.go index 3695e3b0d0f..366074ebae7 100644 --- a/service/sagemakera2iruntime/api_op_StartHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_StartHumanLoop.go @@ -89,7 +89,10 @@ func addOperationStartHumanLoopMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakera2iruntime/api_op_StopHumanLoop.go b/service/sagemakera2iruntime/api_op_StopHumanLoop.go index bbf1023e904..d906f8e10c2 100644 --- a/service/sagemakera2iruntime/api_op_StopHumanLoop.go +++ b/service/sagemakera2iruntime/api_op_StopHumanLoop.go @@ -69,7 +69,10 @@ func addOperationStopHumanLoopMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakeredge/api_op_GetDeviceRegistration.go b/service/sagemakeredge/api_op_GetDeviceRegistration.go index f9256e54f08..a3cc1198a59 100644 --- a/service/sagemakeredge/api_op_GetDeviceRegistration.go +++ b/service/sagemakeredge/api_op_GetDeviceRegistration.go @@ -82,7 +82,10 @@ func addOperationGetDeviceRegistrationMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakeredge/api_op_SendHeartbeat.go b/service/sagemakeredge/api_op_SendHeartbeat.go index ef18d9fdb49..8c771749231 100644 --- a/service/sagemakeredge/api_op_SendHeartbeat.go +++ b/service/sagemakeredge/api_op_SendHeartbeat.go @@ -87,7 +87,10 @@ func addOperationSendHeartbeatMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go b/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go index 323da197d92..d26fe270f20 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_DeleteRecord.go @@ -83,7 +83,10 @@ func addOperationDeleteRecordMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go b/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go index 9c569f545ff..0130004f59a 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_GetRecord.go @@ -86,7 +86,10 @@ func addOperationGetRecordMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go b/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go index fb9e982cf35..538e5965d89 100644 --- a/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go +++ b/service/sagemakerfeaturestoreruntime/api_op_PutRecord.go @@ -88,7 +88,10 @@ func addOperationPutRecordMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sagemakerruntime/api_op_InvokeEndpoint.go b/service/sagemakerruntime/api_op_InvokeEndpoint.go index 661c9bf22db..cab8cc55ab1 100644 --- a/service/sagemakerruntime/api_op_InvokeEndpoint.go +++ b/service/sagemakerruntime/api_op_InvokeEndpoint.go @@ -165,7 +165,10 @@ func addOperationInvokeEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/savingsplans/api_op_CreateSavingsPlan.go b/service/savingsplans/api_op_CreateSavingsPlan.go index 285968ef3b7..ca8206e6a61 100644 --- a/service/savingsplans/api_op_CreateSavingsPlan.go +++ b/service/savingsplans/api_op_CreateSavingsPlan.go @@ -97,7 +97,10 @@ func addOperationCreateSavingsPlanMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go b/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go index 06e0e1dd5e1..18508c16042 100644 --- a/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go +++ b/service/savingsplans/api_op_DeleteQueuedSavingsPlan.go @@ -69,7 +69,10 @@ func addOperationDeleteQueuedSavingsPlanMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/savingsplans/api_op_DescribeSavingsPlanRates.go b/service/savingsplans/api_op_DescribeSavingsPlanRates.go index 58e87f719c6..5f3dc131b5b 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlanRates.go +++ b/service/savingsplans/api_op_DescribeSavingsPlanRates.go @@ -91,7 +91,10 @@ func addOperationDescribeSavingsPlanRatesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/savingsplans/api_op_DescribeSavingsPlans.go b/service/savingsplans/api_op_DescribeSavingsPlans.go index 398dc042ddb..41a96003e53 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlans.go +++ b/service/savingsplans/api_op_DescribeSavingsPlans.go @@ -92,7 +92,10 @@ func addOperationDescribeSavingsPlansMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go b/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go index 5d635ea6e72..3da338865d8 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go +++ b/service/savingsplans/api_op_DescribeSavingsPlansOfferingRates.go @@ -104,7 +104,10 @@ func addOperationDescribeSavingsPlansOfferingRatesMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go b/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go index 7197a51d743..49733c1944e 100644 --- a/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go +++ b/service/savingsplans/api_op_DescribeSavingsPlansOfferings.go @@ -113,7 +113,10 @@ func addOperationDescribeSavingsPlansOfferingsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/savingsplans/api_op_ListTagsForResource.go b/service/savingsplans/api_op_ListTagsForResource.go index 897a5b1d394..41a80310ed4 100644 --- a/service/savingsplans/api_op_ListTagsForResource.go +++ b/service/savingsplans/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/savingsplans/api_op_TagResource.go b/service/savingsplans/api_op_TagResource.go index 68d54b7c3f9..fb90c56a682 100644 --- a/service/savingsplans/api_op_TagResource.go +++ b/service/savingsplans/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/savingsplans/api_op_UntagResource.go b/service/savingsplans/api_op_UntagResource.go index 2d45a625b05..04c07ffa6a1 100644 --- a/service/savingsplans/api_op_UntagResource.go +++ b/service/savingsplans/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_CreateDiscoverer.go b/service/schemas/api_op_CreateDiscoverer.go index 1a154165de6..4a3c660f535 100644 --- a/service/schemas/api_op_CreateDiscoverer.go +++ b/service/schemas/api_op_CreateDiscoverer.go @@ -95,7 +95,10 @@ func addOperationCreateDiscovererMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_CreateRegistry.go b/service/schemas/api_op_CreateRegistry.go index 5ef16a72a79..5ca6ff4afdf 100644 --- a/service/schemas/api_op_CreateRegistry.go +++ b/service/schemas/api_op_CreateRegistry.go @@ -88,7 +88,10 @@ func addOperationCreateRegistryMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_CreateSchema.go b/service/schemas/api_op_CreateSchema.go index a074f3dcf2d..52a7e02c83c 100644 --- a/service/schemas/api_op_CreateSchema.go +++ b/service/schemas/api_op_CreateSchema.go @@ -117,7 +117,10 @@ func addOperationCreateSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_DeleteDiscoverer.go b/service/schemas/api_op_DeleteDiscoverer.go index ff4695c1aa8..81f108224b6 100644 --- a/service/schemas/api_op_DeleteDiscoverer.go +++ b/service/schemas/api_op_DeleteDiscoverer.go @@ -69,7 +69,10 @@ func addOperationDeleteDiscovererMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_DeleteRegistry.go b/service/schemas/api_op_DeleteRegistry.go index af760e19355..6e8c11c4402 100644 --- a/service/schemas/api_op_DeleteRegistry.go +++ b/service/schemas/api_op_DeleteRegistry.go @@ -69,7 +69,10 @@ func addOperationDeleteRegistryMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_DeleteResourcePolicy.go b/service/schemas/api_op_DeleteResourcePolicy.go index b55e0de8423..5504df563fa 100644 --- a/service/schemas/api_op_DeleteResourcePolicy.go +++ b/service/schemas/api_op_DeleteResourcePolicy.go @@ -67,7 +67,10 @@ func addOperationDeleteResourcePolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_DeleteSchema.go b/service/schemas/api_op_DeleteSchema.go index 2229500c832..cd845cc3bc0 100644 --- a/service/schemas/api_op_DeleteSchema.go +++ b/service/schemas/api_op_DeleteSchema.go @@ -74,7 +74,10 @@ func addOperationDeleteSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_DeleteSchemaVersion.go b/service/schemas/api_op_DeleteSchemaVersion.go index a1edd813b70..b71dc3e63f2 100644 --- a/service/schemas/api_op_DeleteSchemaVersion.go +++ b/service/schemas/api_op_DeleteSchemaVersion.go @@ -79,7 +79,10 @@ func addOperationDeleteSchemaVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_DescribeCodeBinding.go b/service/schemas/api_op_DescribeCodeBinding.go index 31d8cbeba56..0d11cbeaa8a 100644 --- a/service/schemas/api_op_DescribeCodeBinding.go +++ b/service/schemas/api_op_DescribeCodeBinding.go @@ -102,7 +102,10 @@ func addOperationDescribeCodeBindingMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_DescribeDiscoverer.go b/service/schemas/api_op_DescribeDiscoverer.go index dc74ffc74c5..1da76a15f69 100644 --- a/service/schemas/api_op_DescribeDiscoverer.go +++ b/service/schemas/api_op_DescribeDiscoverer.go @@ -89,7 +89,10 @@ func addOperationDescribeDiscovererMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_DescribeRegistry.go b/service/schemas/api_op_DescribeRegistry.go index cb6c2a16911..2bbb8edb526 100644 --- a/service/schemas/api_op_DescribeRegistry.go +++ b/service/schemas/api_op_DescribeRegistry.go @@ -82,7 +82,10 @@ func addOperationDescribeRegistryMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_DescribeSchema.go b/service/schemas/api_op_DescribeSchema.go index c82044313b8..b9aa234f9c4 100644 --- a/service/schemas/api_op_DescribeSchema.go +++ b/service/schemas/api_op_DescribeSchema.go @@ -106,7 +106,10 @@ func addOperationDescribeSchemaMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_ExportSchema.go b/service/schemas/api_op_ExportSchema.go index 1a7965a973a..af7a0f89b80 100644 --- a/service/schemas/api_op_ExportSchema.go +++ b/service/schemas/api_op_ExportSchema.go @@ -89,7 +89,10 @@ func addOperationExportSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_GetCodeBindingSource.go b/service/schemas/api_op_GetCodeBindingSource.go index 5cfcfb7e126..30df7178fd3 100644 --- a/service/schemas/api_op_GetCodeBindingSource.go +++ b/service/schemas/api_op_GetCodeBindingSource.go @@ -84,7 +84,10 @@ func addOperationGetCodeBindingSourceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_GetDiscoveredSchema.go b/service/schemas/api_op_GetDiscoveredSchema.go index 9e79ea37421..89c2dd77cfc 100644 --- a/service/schemas/api_op_GetDiscoveredSchema.go +++ b/service/schemas/api_op_GetDiscoveredSchema.go @@ -81,7 +81,10 @@ func addOperationGetDiscoveredSchemaMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_GetResourcePolicy.go b/service/schemas/api_op_GetResourcePolicy.go index 88661f95fdd..1271f8d13c9 100644 --- a/service/schemas/api_op_GetResourcePolicy.go +++ b/service/schemas/api_op_GetResourcePolicy.go @@ -76,7 +76,10 @@ func addOperationGetResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_ListDiscoverers.go b/service/schemas/api_op_ListDiscoverers.go index 40f36c645f8..153a87af046 100644 --- a/service/schemas/api_op_ListDiscoverers.go +++ b/service/schemas/api_op_ListDiscoverers.go @@ -90,7 +90,10 @@ func addOperationListDiscoverersMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_ListRegistries.go b/service/schemas/api_op_ListRegistries.go index 36b4095309a..02d9f5944f1 100644 --- a/service/schemas/api_op_ListRegistries.go +++ b/service/schemas/api_op_ListRegistries.go @@ -89,7 +89,10 @@ func addOperationListRegistriesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_ListSchemaVersions.go b/service/schemas/api_op_ListSchemaVersions.go index 7f49c757ef6..955045e46a8 100644 --- a/service/schemas/api_op_ListSchemaVersions.go +++ b/service/schemas/api_op_ListSchemaVersions.go @@ -92,7 +92,10 @@ func addOperationListSchemaVersionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_ListSchemas.go b/service/schemas/api_op_ListSchemas.go index 405f31de9b9..c68de6cb5d8 100644 --- a/service/schemas/api_op_ListSchemas.go +++ b/service/schemas/api_op_ListSchemas.go @@ -91,7 +91,10 @@ func addOperationListSchemasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_ListTagsForResource.go b/service/schemas/api_op_ListTagsForResource.go index 35d109a7b4b..4a73760f38f 100644 --- a/service/schemas/api_op_ListTagsForResource.go +++ b/service/schemas/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_PutCodeBinding.go b/service/schemas/api_op_PutCodeBinding.go index 1cd8c553cec..eb718fbba24 100644 --- a/service/schemas/api_op_PutCodeBinding.go +++ b/service/schemas/api_op_PutCodeBinding.go @@ -97,7 +97,10 @@ func addOperationPutCodeBindingMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_PutResourcePolicy.go b/service/schemas/api_op_PutResourcePolicy.go index e3c212d240d..a079b33b993 100644 --- a/service/schemas/api_op_PutResourcePolicy.go +++ b/service/schemas/api_op_PutResourcePolicy.go @@ -87,7 +87,10 @@ func addOperationPutResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_SearchSchemas.go b/service/schemas/api_op_SearchSchemas.go index b1a2df9bfc0..05c3fbf1724 100644 --- a/service/schemas/api_op_SearchSchemas.go +++ b/service/schemas/api_op_SearchSchemas.go @@ -93,7 +93,10 @@ func addOperationSearchSchemasMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_StartDiscoverer.go b/service/schemas/api_op_StartDiscoverer.go index 61fd68954bd..296b6e7be53 100644 --- a/service/schemas/api_op_StartDiscoverer.go +++ b/service/schemas/api_op_StartDiscoverer.go @@ -77,7 +77,10 @@ func addOperationStartDiscovererMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_StopDiscoverer.go b/service/schemas/api_op_StopDiscoverer.go index bc1fba1537b..db1a13edde1 100644 --- a/service/schemas/api_op_StopDiscoverer.go +++ b/service/schemas/api_op_StopDiscoverer.go @@ -77,7 +77,10 @@ func addOperationStopDiscovererMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_TagResource.go b/service/schemas/api_op_TagResource.go index 65a30399ea9..b1ee78eaacf 100644 --- a/service/schemas/api_op_TagResource.go +++ b/service/schemas/api_op_TagResource.go @@ -75,7 +75,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_UntagResource.go b/service/schemas/api_op_UntagResource.go index f31ff851e8c..83d5688a969 100644 --- a/service/schemas/api_op_UntagResource.go +++ b/service/schemas/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_UpdateDiscoverer.go b/service/schemas/api_op_UpdateDiscoverer.go index f92585167b1..88a84eb265b 100644 --- a/service/schemas/api_op_UpdateDiscoverer.go +++ b/service/schemas/api_op_UpdateDiscoverer.go @@ -92,7 +92,10 @@ func addOperationUpdateDiscovererMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_UpdateRegistry.go b/service/schemas/api_op_UpdateRegistry.go index 1ebacff6f8c..6a67d4a2fe7 100644 --- a/service/schemas/api_op_UpdateRegistry.go +++ b/service/schemas/api_op_UpdateRegistry.go @@ -86,7 +86,10 @@ func addOperationUpdateRegistryMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/schemas/api_op_UpdateSchema.go b/service/schemas/api_op_UpdateSchema.go index 3c65c8b72fe..22432f78356 100644 --- a/service/schemas/api_op_UpdateSchema.go +++ b/service/schemas/api_op_UpdateSchema.go @@ -114,7 +114,10 @@ func addOperationUpdateSchemaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_CancelRotateSecret.go b/service/secretsmanager/api_op_CancelRotateSecret.go index 76f4b70aefc..07efe12c473 100644 --- a/service/secretsmanager/api_op_CancelRotateSecret.go +++ b/service/secretsmanager/api_op_CancelRotateSecret.go @@ -137,7 +137,10 @@ func addOperationCancelRotateSecretMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_CreateSecret.go b/service/secretsmanager/api_op_CreateSecret.go index 7b32601e69c..6e85d33b92d 100644 --- a/service/secretsmanager/api_op_CreateSecret.go +++ b/service/secretsmanager/api_op_CreateSecret.go @@ -288,7 +288,10 @@ func addOperationCreateSecretMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_DeleteResourcePolicy.go b/service/secretsmanager/api_op_DeleteResourcePolicy.go index 69d4286514b..4141a79271b 100644 --- a/service/secretsmanager/api_op_DeleteResourcePolicy.go +++ b/service/secretsmanager/api_op_DeleteResourcePolicy.go @@ -107,7 +107,10 @@ func addOperationDeleteResourcePolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_DeleteSecret.go b/service/secretsmanager/api_op_DeleteSecret.go index a5ff1eed5f2..1716e3eca1d 100644 --- a/service/secretsmanager/api_op_DeleteSecret.go +++ b/service/secretsmanager/api_op_DeleteSecret.go @@ -151,7 +151,10 @@ func addOperationDeleteSecretMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_DescribeSecret.go b/service/secretsmanager/api_op_DescribeSecret.go index 4f651a41af1..ff282301151 100644 --- a/service/secretsmanager/api_op_DescribeSecret.go +++ b/service/secretsmanager/api_op_DescribeSecret.go @@ -171,7 +171,10 @@ func addOperationDescribeSecretMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_GetRandomPassword.go b/service/secretsmanager/api_op_GetRandomPassword.go index f3bb925c8d5..181dbeb9c2f 100644 --- a/service/secretsmanager/api_op_GetRandomPassword.go +++ b/service/secretsmanager/api_op_GetRandomPassword.go @@ -115,7 +115,10 @@ func addOperationGetRandomPasswordMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_GetResourcePolicy.go b/service/secretsmanager/api_op_GetResourcePolicy.go index 23688599871..27c140dde03 100644 --- a/service/secretsmanager/api_op_GetResourcePolicy.go +++ b/service/secretsmanager/api_op_GetResourcePolicy.go @@ -121,7 +121,10 @@ func addOperationGetResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_GetSecretValue.go b/service/secretsmanager/api_op_GetSecretValue.go index 7b72583754a..1a73303a5fb 100644 --- a/service/secretsmanager/api_op_GetSecretValue.go +++ b/service/secretsmanager/api_op_GetSecretValue.go @@ -159,7 +159,10 @@ func addOperationGetSecretValueMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_ListSecretVersionIds.go b/service/secretsmanager/api_op_ListSecretVersionIds.go index 39b42e01fc1..49be4e0ee29 100644 --- a/service/secretsmanager/api_op_ListSecretVersionIds.go +++ b/service/secretsmanager/api_op_ListSecretVersionIds.go @@ -149,7 +149,10 @@ func addOperationListSecretVersionIdsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_ListSecrets.go b/service/secretsmanager/api_op_ListSecrets.go index 0c9b15f748e..88ae4697596 100644 --- a/service/secretsmanager/api_op_ListSecrets.go +++ b/service/secretsmanager/api_op_ListSecrets.go @@ -119,7 +119,10 @@ func addOperationListSecretsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_PutResourcePolicy.go b/service/secretsmanager/api_op_PutResourcePolicy.go index 77113531a01..ede511b851e 100644 --- a/service/secretsmanager/api_op_PutResourcePolicy.go +++ b/service/secretsmanager/api_op_PutResourcePolicy.go @@ -133,7 +133,10 @@ func addOperationPutResourcePolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_PutSecretValue.go b/service/secretsmanager/api_op_PutSecretValue.go index 2ed2425b6f5..371f11a5680 100644 --- a/service/secretsmanager/api_op_PutSecretValue.go +++ b/service/secretsmanager/api_op_PutSecretValue.go @@ -240,7 +240,10 @@ func addOperationPutSecretValueMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_RestoreSecret.go b/service/secretsmanager/api_op_RestoreSecret.go index 51369112cd6..39fad7f689d 100644 --- a/service/secretsmanager/api_op_RestoreSecret.go +++ b/service/secretsmanager/api_op_RestoreSecret.go @@ -102,7 +102,10 @@ func addOperationRestoreSecretMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_RotateSecret.go b/service/secretsmanager/api_op_RotateSecret.go index 183fdaf82e6..b794b71ab6c 100644 --- a/service/secretsmanager/api_op_RotateSecret.go +++ b/service/secretsmanager/api_op_RotateSecret.go @@ -174,7 +174,10 @@ func addOperationRotateSecretMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_TagResource.go b/service/secretsmanager/api_op_TagResource.go index 1e2f3ef0129..d59a763b02e 100644 --- a/service/secretsmanager/api_op_TagResource.go +++ b/service/secretsmanager/api_op_TagResource.go @@ -140,7 +140,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_UntagResource.go b/service/secretsmanager/api_op_UntagResource.go index f2dc0f44f2c..e14be9ff66c 100644 --- a/service/secretsmanager/api_op_UntagResource.go +++ b/service/secretsmanager/api_op_UntagResource.go @@ -113,7 +113,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_UpdateSecret.go b/service/secretsmanager/api_op_UpdateSecret.go index b8363dfb857..fe642458d84 100644 --- a/service/secretsmanager/api_op_UpdateSecret.go +++ b/service/secretsmanager/api_op_UpdateSecret.go @@ -240,7 +240,10 @@ func addOperationUpdateSecretMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_UpdateSecretVersionStage.go b/service/secretsmanager/api_op_UpdateSecretVersionStage.go index 2caaee12001..2624b56b46d 100644 --- a/service/secretsmanager/api_op_UpdateSecretVersionStage.go +++ b/service/secretsmanager/api_op_UpdateSecretVersionStage.go @@ -135,7 +135,10 @@ func addOperationUpdateSecretVersionStageMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/secretsmanager/api_op_ValidateResourcePolicy.go b/service/secretsmanager/api_op_ValidateResourcePolicy.go index 3191731a2ec..2bac40fd099 100644 --- a/service/secretsmanager/api_op_ValidateResourcePolicy.go +++ b/service/secretsmanager/api_op_ValidateResourcePolicy.go @@ -99,7 +99,10 @@ func addOperationValidateResourcePolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_AcceptInvitation.go b/service/securityhub/api_op_AcceptInvitation.go index ad6df7b8081..0ed5e25050e 100644 --- a/service/securityhub/api_op_AcceptInvitation.go +++ b/service/securityhub/api_op_AcceptInvitation.go @@ -78,7 +78,10 @@ func addOperationAcceptInvitationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_BatchDisableStandards.go b/service/securityhub/api_op_BatchDisableStandards.go index 5e8640715bb..3183e775f29 100644 --- a/service/securityhub/api_op_BatchDisableStandards.go +++ b/service/securityhub/api_op_BatchDisableStandards.go @@ -77,7 +77,10 @@ func addOperationBatchDisableStandardsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_BatchEnableStandards.go b/service/securityhub/api_op_BatchEnableStandards.go index fe8858f5315..605da3780d3 100644 --- a/service/securityhub/api_op_BatchEnableStandards.go +++ b/service/securityhub/api_op_BatchEnableStandards.go @@ -78,7 +78,10 @@ func addOperationBatchEnableStandardsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_BatchImportFindings.go b/service/securityhub/api_op_BatchImportFindings.go index 5ffa0a22ca5..a57f053a3ba 100644 --- a/service/securityhub/api_op_BatchImportFindings.go +++ b/service/securityhub/api_op_BatchImportFindings.go @@ -118,7 +118,10 @@ func addOperationBatchImportFindingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_BatchUpdateFindings.go b/service/securityhub/api_op_BatchUpdateFindings.go index 179c49fb6e5..3fe997f8d93 100644 --- a/service/securityhub/api_op_BatchUpdateFindings.go +++ b/service/securityhub/api_op_BatchUpdateFindings.go @@ -177,7 +177,10 @@ func addOperationBatchUpdateFindingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_CreateActionTarget.go b/service/securityhub/api_op_CreateActionTarget.go index e9c3d9037f0..067bae8afdb 100644 --- a/service/securityhub/api_op_CreateActionTarget.go +++ b/service/securityhub/api_op_CreateActionTarget.go @@ -87,7 +87,10 @@ func addOperationCreateActionTargetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_CreateInsight.go b/service/securityhub/api_op_CreateInsight.go index 02a76e707c2..8e8b01ae4d1 100644 --- a/service/securityhub/api_op_CreateInsight.go +++ b/service/securityhub/api_op_CreateInsight.go @@ -92,7 +92,10 @@ func addOperationCreateInsightMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_CreateMembers.go b/service/securityhub/api_op_CreateMembers.go index 25277aa5f49..75b706c7340 100644 --- a/service/securityhub/api_op_CreateMembers.go +++ b/service/securityhub/api_op_CreateMembers.go @@ -102,7 +102,10 @@ func addOperationCreateMembersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DeclineInvitations.go b/service/securityhub/api_op_DeclineInvitations.go index 8c920beb351..6325ca03223 100644 --- a/service/securityhub/api_op_DeclineInvitations.go +++ b/service/securityhub/api_op_DeclineInvitations.go @@ -78,7 +78,10 @@ func addOperationDeclineInvitationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DeleteActionTarget.go b/service/securityhub/api_op_DeleteActionTarget.go index 4addff77606..c17cd000f51 100644 --- a/service/securityhub/api_op_DeleteActionTarget.go +++ b/service/securityhub/api_op_DeleteActionTarget.go @@ -77,7 +77,10 @@ func addOperationDeleteActionTargetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DeleteInsight.go b/service/securityhub/api_op_DeleteInsight.go index 70cb9ade056..2d892015bcf 100644 --- a/service/securityhub/api_op_DeleteInsight.go +++ b/service/securityhub/api_op_DeleteInsight.go @@ -75,7 +75,10 @@ func addOperationDeleteInsightMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DeleteInvitations.go b/service/securityhub/api_op_DeleteInvitations.go index 79bfe990d04..29302973bea 100644 --- a/service/securityhub/api_op_DeleteInvitations.go +++ b/service/securityhub/api_op_DeleteInvitations.go @@ -77,7 +77,10 @@ func addOperationDeleteInvitationsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DeleteMembers.go b/service/securityhub/api_op_DeleteMembers.go index 74f8305d08f..4db8d629580 100644 --- a/service/securityhub/api_op_DeleteMembers.go +++ b/service/securityhub/api_op_DeleteMembers.go @@ -77,7 +77,10 @@ func addOperationDeleteMembersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DescribeActionTargets.go b/service/securityhub/api_op_DescribeActionTargets.go index 6576ceccda0..742749c6cc3 100644 --- a/service/securityhub/api_op_DescribeActionTargets.go +++ b/service/securityhub/api_op_DescribeActionTargets.go @@ -88,7 +88,10 @@ func addOperationDescribeActionTargetsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DescribeHub.go b/service/securityhub/api_op_DescribeHub.go index ceb398d9342..5f959c74239 100644 --- a/service/securityhub/api_op_DescribeHub.go +++ b/service/securityhub/api_op_DescribeHub.go @@ -80,7 +80,10 @@ func addOperationDescribeHubMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DescribeOrganizationConfiguration.go b/service/securityhub/api_op_DescribeOrganizationConfiguration.go index f9b18b2e599..f9f71859432 100644 --- a/service/securityhub/api_op_DescribeOrganizationConfiguration.go +++ b/service/securityhub/api_op_DescribeOrganizationConfiguration.go @@ -75,7 +75,10 @@ func addOperationDescribeOrganizationConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DescribeProducts.go b/service/securityhub/api_op_DescribeProducts.go index 56fb3b23f3e..7d39f87a8fe 100644 --- a/service/securityhub/api_op_DescribeProducts.go +++ b/service/securityhub/api_op_DescribeProducts.go @@ -85,7 +85,10 @@ func addOperationDescribeProductsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DescribeStandards.go b/service/securityhub/api_op_DescribeStandards.go index 64f47a8c399..cb6725269a8 100644 --- a/service/securityhub/api_op_DescribeStandards.go +++ b/service/securityhub/api_op_DescribeStandards.go @@ -83,7 +83,10 @@ func addOperationDescribeStandardsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DescribeStandardsControls.go b/service/securityhub/api_op_DescribeStandardsControls.go index 708d377d50a..7be25f696b6 100644 --- a/service/securityhub/api_op_DescribeStandardsControls.go +++ b/service/securityhub/api_op_DescribeStandardsControls.go @@ -91,7 +91,10 @@ func addOperationDescribeStandardsControlsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DisableImportFindingsForProduct.go b/service/securityhub/api_op_DisableImportFindingsForProduct.go index 30e812c74eb..3ceb7c08d3d 100644 --- a/service/securityhub/api_op_DisableImportFindingsForProduct.go +++ b/service/securityhub/api_op_DisableImportFindingsForProduct.go @@ -71,7 +71,10 @@ func addOperationDisableImportFindingsForProductMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DisableOrganizationAdminAccount.go b/service/securityhub/api_op_DisableOrganizationAdminAccount.go index 34f72e14aca..8725f82d268 100644 --- a/service/securityhub/api_op_DisableOrganizationAdminAccount.go +++ b/service/securityhub/api_op_DisableOrganizationAdminAccount.go @@ -70,7 +70,10 @@ func addOperationDisableOrganizationAdminAccountMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DisableSecurityHub.go b/service/securityhub/api_op_DisableSecurityHub.go index cb79c96cb23..d46355a00eb 100644 --- a/service/securityhub/api_op_DisableSecurityHub.go +++ b/service/securityhub/api_op_DisableSecurityHub.go @@ -72,7 +72,10 @@ func addOperationDisableSecurityHubMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DisassociateFromMasterAccount.go b/service/securityhub/api_op_DisassociateFromMasterAccount.go index 8fe1b4336c7..f13f3f96cbe 100644 --- a/service/securityhub/api_op_DisassociateFromMasterAccount.go +++ b/service/securityhub/api_op_DisassociateFromMasterAccount.go @@ -67,7 +67,10 @@ func addOperationDisassociateFromMasterAccountMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_DisassociateMembers.go b/service/securityhub/api_op_DisassociateMembers.go index 6092ee823a8..e0b382b9eb7 100644 --- a/service/securityhub/api_op_DisassociateMembers.go +++ b/service/securityhub/api_op_DisassociateMembers.go @@ -71,7 +71,10 @@ func addOperationDisassociateMembersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_EnableImportFindingsForProduct.go b/service/securityhub/api_op_EnableImportFindingsForProduct.go index 7644ee5579b..fc469a29ac2 100644 --- a/service/securityhub/api_op_EnableImportFindingsForProduct.go +++ b/service/securityhub/api_op_EnableImportFindingsForProduct.go @@ -76,7 +76,10 @@ func addOperationEnableImportFindingsForProductMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_EnableOrganizationAdminAccount.go b/service/securityhub/api_op_EnableOrganizationAdminAccount.go index 51945cb2cd3..4b8bbe4806d 100644 --- a/service/securityhub/api_op_EnableOrganizationAdminAccount.go +++ b/service/securityhub/api_op_EnableOrganizationAdminAccount.go @@ -71,7 +71,10 @@ func addOperationEnableOrganizationAdminAccountMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_EnableSecurityHub.go b/service/securityhub/api_op_EnableSecurityHub.go index a0764d71187..8f0a4c3ded6 100644 --- a/service/securityhub/api_op_EnableSecurityHub.go +++ b/service/securityhub/api_op_EnableSecurityHub.go @@ -91,7 +91,10 @@ func addOperationEnableSecurityHubMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_GetEnabledStandards.go b/service/securityhub/api_op_GetEnabledStandards.go index b6fb97969ad..842b58338ae 100644 --- a/service/securityhub/api_op_GetEnabledStandards.go +++ b/service/securityhub/api_op_GetEnabledStandards.go @@ -86,7 +86,10 @@ func addOperationGetEnabledStandardsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_GetFindings.go b/service/securityhub/api_op_GetFindings.go index a974b5cecdb..e419e836aad 100644 --- a/service/securityhub/api_op_GetFindings.go +++ b/service/securityhub/api_op_GetFindings.go @@ -94,7 +94,10 @@ func addOperationGetFindingsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_GetInsightResults.go b/service/securityhub/api_op_GetInsightResults.go index 1afe82f0610..6ff550a1d6f 100644 --- a/service/securityhub/api_op_GetInsightResults.go +++ b/service/securityhub/api_op_GetInsightResults.go @@ -76,7 +76,10 @@ func addOperationGetInsightResultsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_GetInsights.go b/service/securityhub/api_op_GetInsights.go index 43b080cb2b0..dc9ce9212e6 100644 --- a/service/securityhub/api_op_GetInsights.go +++ b/service/securityhub/api_op_GetInsights.go @@ -89,7 +89,10 @@ func addOperationGetInsightsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_GetInvitationsCount.go b/service/securityhub/api_op_GetInvitationsCount.go index 71a3bdde29c..1145913f06f 100644 --- a/service/securityhub/api_op_GetInvitationsCount.go +++ b/service/securityhub/api_op_GetInvitationsCount.go @@ -70,7 +70,10 @@ func addOperationGetInvitationsCountMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_GetMasterAccount.go b/service/securityhub/api_op_GetMasterAccount.go index 1493eb06ded..12dbd33a22b 100644 --- a/service/securityhub/api_op_GetMasterAccount.go +++ b/service/securityhub/api_op_GetMasterAccount.go @@ -72,7 +72,10 @@ func addOperationGetMasterAccountMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_GetMembers.go b/service/securityhub/api_op_GetMembers.go index eae0f3a30ea..db7fb91b812 100644 --- a/service/securityhub/api_op_GetMembers.go +++ b/service/securityhub/api_op_GetMembers.go @@ -83,7 +83,10 @@ func addOperationGetMembersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_InviteMembers.go b/service/securityhub/api_op_InviteMembers.go index 03f397b48b9..4fb97f01249 100644 --- a/service/securityhub/api_op_InviteMembers.go +++ b/service/securityhub/api_op_InviteMembers.go @@ -83,7 +83,10 @@ func addOperationInviteMembersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_ListEnabledProductsForImport.go b/service/securityhub/api_op_ListEnabledProductsForImport.go index 0e1f618f350..2fd0c0d63d4 100644 --- a/service/securityhub/api_op_ListEnabledProductsForImport.go +++ b/service/securityhub/api_op_ListEnabledProductsForImport.go @@ -83,7 +83,10 @@ func addOperationListEnabledProductsForImportMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_ListInvitations.go b/service/securityhub/api_op_ListInvitations.go index e30dede6b63..e5f217c37f7 100644 --- a/service/securityhub/api_op_ListInvitations.go +++ b/service/securityhub/api_op_ListInvitations.go @@ -84,7 +84,10 @@ func addOperationListInvitationsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_ListMembers.go b/service/securityhub/api_op_ListMembers.go index f63d4c89e10..859cf1f85db 100644 --- a/service/securityhub/api_op_ListMembers.go +++ b/service/securityhub/api_op_ListMembers.go @@ -91,7 +91,10 @@ func addOperationListMembersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_ListOrganizationAdminAccounts.go b/service/securityhub/api_op_ListOrganizationAdminAccounts.go index b3df8f47aa3..b83b10f218e 100644 --- a/service/securityhub/api_op_ListOrganizationAdminAccounts.go +++ b/service/securityhub/api_op_ListOrganizationAdminAccounts.go @@ -83,7 +83,10 @@ func addOperationListOrganizationAdminAccountsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_ListTagsForResource.go b/service/securityhub/api_op_ListTagsForResource.go index 385117b83d8..c6ce6509138 100644 --- a/service/securityhub/api_op_ListTagsForResource.go +++ b/service/securityhub/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_TagResource.go b/service/securityhub/api_op_TagResource.go index 944e0b3627c..44a9a943906 100644 --- a/service/securityhub/api_op_TagResource.go +++ b/service/securityhub/api_op_TagResource.go @@ -74,7 +74,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_UntagResource.go b/service/securityhub/api_op_UntagResource.go index f021de56ff0..cb5c086b41a 100644 --- a/service/securityhub/api_op_UntagResource.go +++ b/service/securityhub/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_UpdateActionTarget.go b/service/securityhub/api_op_UpdateActionTarget.go index 4f229bc862d..9bb81fba7e1 100644 --- a/service/securityhub/api_op_UpdateActionTarget.go +++ b/service/securityhub/api_op_UpdateActionTarget.go @@ -75,7 +75,10 @@ func addOperationUpdateActionTargetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_UpdateFindings.go b/service/securityhub/api_op_UpdateFindings.go index db0769624c8..d80e4171f4b 100644 --- a/service/securityhub/api_op_UpdateFindings.go +++ b/service/securityhub/api_op_UpdateFindings.go @@ -79,7 +79,10 @@ func addOperationUpdateFindingsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_UpdateInsight.go b/service/securityhub/api_op_UpdateInsight.go index f4bcd60017c..45fc2c42a6c 100644 --- a/service/securityhub/api_op_UpdateInsight.go +++ b/service/securityhub/api_op_UpdateInsight.go @@ -79,7 +79,10 @@ func addOperationUpdateInsightMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_UpdateOrganizationConfiguration.go b/service/securityhub/api_op_UpdateOrganizationConfiguration.go index c47e39eabb9..d68040aff11 100644 --- a/service/securityhub/api_op_UpdateOrganizationConfiguration.go +++ b/service/securityhub/api_op_UpdateOrganizationConfiguration.go @@ -73,7 +73,10 @@ func addOperationUpdateOrganizationConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_UpdateSecurityHubConfiguration.go b/service/securityhub/api_op_UpdateSecurityHubConfiguration.go index 3a2a6cd803c..fc5c93de11d 100644 --- a/service/securityhub/api_op_UpdateSecurityHubConfiguration.go +++ b/service/securityhub/api_op_UpdateSecurityHubConfiguration.go @@ -69,7 +69,10 @@ func addOperationUpdateSecurityHubConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/securityhub/api_op_UpdateStandardsControl.go b/service/securityhub/api_op_UpdateStandardsControl.go index 4e6e7f0b024..95691290fca 100644 --- a/service/securityhub/api_op_UpdateStandardsControl.go +++ b/service/securityhub/api_op_UpdateStandardsControl.go @@ -78,7 +78,10 @@ func addOperationUpdateStandardsControlMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_CreateApplication.go b/service/serverlessapplicationrepository/api_op_CreateApplication.go index b37fd4150b3..969ee6374ad 100644 --- a/service/serverlessapplicationrepository/api_op_CreateApplication.go +++ b/service/serverlessapplicationrepository/api_op_CreateApplication.go @@ -188,7 +188,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go b/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go index c897939cea6..d69f5bc0cd3 100644 --- a/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go +++ b/service/serverlessapplicationrepository/api_op_CreateApplicationVersion.go @@ -155,7 +155,10 @@ func addOperationCreateApplicationVersionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go b/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go index e984d046709..a738557d37b 100644 --- a/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go +++ b/service/serverlessapplicationrepository/api_op_CreateCloudFormationChangeSet.go @@ -183,7 +183,10 @@ func addOperationCreateCloudFormationChangeSetMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go b/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go index 00976664ad3..50c6ba955f0 100644 --- a/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go +++ b/service/serverlessapplicationrepository/api_op_CreateCloudFormationTemplate.go @@ -100,7 +100,10 @@ func addOperationCreateCloudFormationTemplateMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_DeleteApplication.go b/service/serverlessapplicationrepository/api_op_DeleteApplication.go index beac82857b2..503cd338248 100644 --- a/service/serverlessapplicationrepository/api_op_DeleteApplication.go +++ b/service/serverlessapplicationrepository/api_op_DeleteApplication.go @@ -69,7 +69,10 @@ func addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_GetApplication.go b/service/serverlessapplicationrepository/api_op_GetApplication.go index 02d803fc1e9..16f5e2bde5c 100644 --- a/service/serverlessapplicationrepository/api_op_GetApplication.go +++ b/service/serverlessapplicationrepository/api_op_GetApplication.go @@ -123,7 +123,10 @@ func addOperationGetApplicationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go b/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go index 4cfce60c86a..d304c92ef2c 100644 --- a/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go +++ b/service/serverlessapplicationrepository/api_op_GetApplicationPolicy.go @@ -74,7 +74,10 @@ func addOperationGetApplicationPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go b/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go index 2dfa2435c90..14758ddd7d1 100644 --- a/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go +++ b/service/serverlessapplicationrepository/api_op_GetCloudFormationTemplate.go @@ -102,7 +102,10 @@ func addOperationGetCloudFormationTemplateMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go b/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go index 2fd47bed5bd..4622da3e380 100644 --- a/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go +++ b/service/serverlessapplicationrepository/api_op_ListApplicationDependencies.go @@ -87,7 +87,10 @@ func addOperationListApplicationDependenciesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go b/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go index e57173deb32..9b6a4e53c42 100644 --- a/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go +++ b/service/serverlessapplicationrepository/api_op_ListApplicationVersions.go @@ -84,7 +84,10 @@ func addOperationListApplicationVersionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_ListApplications.go b/service/serverlessapplicationrepository/api_op_ListApplications.go index ccb41a23d59..829483cec6d 100644 --- a/service/serverlessapplicationrepository/api_op_ListApplications.go +++ b/service/serverlessapplicationrepository/api_op_ListApplications.go @@ -79,7 +79,10 @@ func addOperationListApplicationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go b/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go index f6c1eb5df6f..f016f9b2dea 100644 --- a/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go +++ b/service/serverlessapplicationrepository/api_op_PutApplicationPolicy.go @@ -82,7 +82,10 @@ func addOperationPutApplicationPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_UnshareApplication.go b/service/serverlessapplicationrepository/api_op_UnshareApplication.go index 9fbfdd76ec1..8b0c025c8c0 100644 --- a/service/serverlessapplicationrepository/api_op_UnshareApplication.go +++ b/service/serverlessapplicationrepository/api_op_UnshareApplication.go @@ -75,7 +75,10 @@ func addOperationUnshareApplicationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/serverlessapplicationrepository/api_op_UpdateApplication.go b/service/serverlessapplicationrepository/api_op_UpdateApplication.go index 365a03311bf..d7a076b8096 100644 --- a/service/serverlessapplicationrepository/api_op_UpdateApplication.go +++ b/service/serverlessapplicationrepository/api_op_UpdateApplication.go @@ -143,7 +143,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_AcceptPortfolioShare.go b/service/servicecatalog/api_op_AcceptPortfolioShare.go index 5ba8b040245..4ba40570db0 100644 --- a/service/servicecatalog/api_op_AcceptPortfolioShare.go +++ b/service/servicecatalog/api_op_AcceptPortfolioShare.go @@ -95,7 +95,10 @@ func addOperationAcceptPortfolioShareMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_AssociateBudgetWithResource.go b/service/servicecatalog/api_op_AssociateBudgetWithResource.go index 7d59c36a1ba..5a0d590bd32 100644 --- a/service/servicecatalog/api_op_AssociateBudgetWithResource.go +++ b/service/servicecatalog/api_op_AssociateBudgetWithResource.go @@ -74,7 +74,10 @@ func addOperationAssociateBudgetWithResourceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go b/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go index 6f58a2ee8ad..6a517e85ab8 100644 --- a/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go +++ b/service/servicecatalog/api_op_AssociatePrincipalWithPortfolio.go @@ -89,7 +89,10 @@ func addOperationAssociatePrincipalWithPortfolioMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_AssociateProductWithPortfolio.go b/service/servicecatalog/api_op_AssociateProductWithPortfolio.go index fe2ba5af868..414e3e126ed 100644 --- a/service/servicecatalog/api_op_AssociateProductWithPortfolio.go +++ b/service/servicecatalog/api_op_AssociateProductWithPortfolio.go @@ -87,7 +87,10 @@ func addOperationAssociateProductWithPortfolioMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go b/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go index 452b8c66d39..5f34deac294 100644 --- a/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go +++ b/service/servicecatalog/api_op_AssociateServiceActionWithProvisioningArtifact.go @@ -88,7 +88,10 @@ func addOperationAssociateServiceActionWithProvisioningArtifactMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_AssociateTagOptionWithResource.go b/service/servicecatalog/api_op_AssociateTagOptionWithResource.go index d9bc58e2f17..318769db04c 100644 --- a/service/servicecatalog/api_op_AssociateTagOptionWithResource.go +++ b/service/servicecatalog/api_op_AssociateTagOptionWithResource.go @@ -74,7 +74,10 @@ func addOperationAssociateTagOptionWithResourceMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go b/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go index 87475cdbb18..3d1b6b1fd19 100644 --- a/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go +++ b/service/servicecatalog/api_op_BatchAssociateServiceActionWithProvisioningArtifact.go @@ -85,7 +85,10 @@ func addOperationBatchAssociateServiceActionWithProvisioningArtifactMiddlewares( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go b/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go index 1611907e64c..50956739d11 100644 --- a/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go +++ b/service/servicecatalog/api_op_BatchDisassociateServiceActionFromProvisioningArtifact.go @@ -86,7 +86,10 @@ func addOperationBatchDisassociateServiceActionFromProvisioningArtifactMiddlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_CopyProduct.go b/service/servicecatalog/api_op_CopyProduct.go index 373c5f2fa1d..f1916d7bfb3 100644 --- a/service/servicecatalog/api_op_CopyProduct.go +++ b/service/servicecatalog/api_op_CopyProduct.go @@ -109,7 +109,10 @@ func addOperationCopyProductMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_CreateConstraint.go b/service/servicecatalog/api_op_CreateConstraint.go index d1f14899ac7..071a1ae3863 100644 --- a/service/servicecatalog/api_op_CreateConstraint.go +++ b/service/servicecatalog/api_op_CreateConstraint.go @@ -150,7 +150,10 @@ func addOperationCreateConstraintMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_CreatePortfolio.go b/service/servicecatalog/api_op_CreatePortfolio.go index a2580850807..deef406c533 100644 --- a/service/servicecatalog/api_op_CreatePortfolio.go +++ b/service/servicecatalog/api_op_CreatePortfolio.go @@ -105,7 +105,10 @@ func addOperationCreatePortfolioMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_CreatePortfolioShare.go b/service/servicecatalog/api_op_CreatePortfolioShare.go index 0ac400df36f..abaa8ccfa21 100644 --- a/service/servicecatalog/api_op_CreatePortfolioShare.go +++ b/service/servicecatalog/api_op_CreatePortfolioShare.go @@ -108,7 +108,10 @@ func addOperationCreatePortfolioShareMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_CreateProduct.go b/service/servicecatalog/api_op_CreateProduct.go index ad1224f513f..6cc878d6ecd 100644 --- a/service/servicecatalog/api_op_CreateProduct.go +++ b/service/servicecatalog/api_op_CreateProduct.go @@ -135,7 +135,10 @@ func addOperationCreateProductMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_CreateProvisionedProductPlan.go b/service/servicecatalog/api_op_CreateProvisionedProductPlan.go index b6c1e089c8c..6f4a51cefb4 100644 --- a/service/servicecatalog/api_op_CreateProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_CreateProvisionedProductPlan.go @@ -148,7 +148,10 @@ func addOperationCreateProvisionedProductPlanMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_CreateProvisioningArtifact.go b/service/servicecatalog/api_op_CreateProvisioningArtifact.go index c8494110d7d..c9c4ee9cfea 100644 --- a/service/servicecatalog/api_op_CreateProvisioningArtifact.go +++ b/service/servicecatalog/api_op_CreateProvisioningArtifact.go @@ -112,7 +112,10 @@ func addOperationCreateProvisioningArtifactMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_CreateServiceAction.go b/service/servicecatalog/api_op_CreateServiceAction.go index 39e92fcc839..b464c575e53 100644 --- a/service/servicecatalog/api_op_CreateServiceAction.go +++ b/service/servicecatalog/api_op_CreateServiceAction.go @@ -114,7 +114,10 @@ func addOperationCreateServiceActionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_CreateTagOption.go b/service/servicecatalog/api_op_CreateTagOption.go index a315fe914cd..42c29217d57 100644 --- a/service/servicecatalog/api_op_CreateTagOption.go +++ b/service/servicecatalog/api_op_CreateTagOption.go @@ -79,7 +79,10 @@ func addOperationCreateTagOptionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DeleteConstraint.go b/service/servicecatalog/api_op_DeleteConstraint.go index bc9acc35244..7a9d96ef7d2 100644 --- a/service/servicecatalog/api_op_DeleteConstraint.go +++ b/service/servicecatalog/api_op_DeleteConstraint.go @@ -79,7 +79,10 @@ func addOperationDeleteConstraintMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DeletePortfolio.go b/service/servicecatalog/api_op_DeletePortfolio.go index f1d52b72592..7541f3a60bf 100644 --- a/service/servicecatalog/api_op_DeletePortfolio.go +++ b/service/servicecatalog/api_op_DeletePortfolio.go @@ -80,7 +80,10 @@ func addOperationDeletePortfolioMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DeletePortfolioShare.go b/service/servicecatalog/api_op_DeletePortfolioShare.go index 5fe33b9310e..36cd860d78c 100644 --- a/service/servicecatalog/api_op_DeletePortfolioShare.go +++ b/service/servicecatalog/api_op_DeletePortfolioShare.go @@ -94,7 +94,10 @@ func addOperationDeletePortfolioShareMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DeleteProduct.go b/service/servicecatalog/api_op_DeleteProduct.go index d9382c19ca1..139a69764a0 100644 --- a/service/servicecatalog/api_op_DeleteProduct.go +++ b/service/servicecatalog/api_op_DeleteProduct.go @@ -80,7 +80,10 @@ func addOperationDeleteProductMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go b/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go index 41564fc5f0d..73edd25c615 100644 --- a/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_DeleteProvisionedProductPlan.go @@ -82,7 +82,10 @@ func addOperationDeleteProvisionedProductPlanMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DeleteProvisioningArtifact.go b/service/servicecatalog/api_op_DeleteProvisioningArtifact.go index ab0c03746a5..9ae7553de5a 100644 --- a/service/servicecatalog/api_op_DeleteProvisioningArtifact.go +++ b/service/servicecatalog/api_op_DeleteProvisioningArtifact.go @@ -87,7 +87,10 @@ func addOperationDeleteProvisioningArtifactMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DeleteServiceAction.go b/service/servicecatalog/api_op_DeleteServiceAction.go index fb9eb9e42ea..9ac1842a83b 100644 --- a/service/servicecatalog/api_op_DeleteServiceAction.go +++ b/service/servicecatalog/api_op_DeleteServiceAction.go @@ -78,7 +78,10 @@ func addOperationDeleteServiceActionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DeleteTagOption.go b/service/servicecatalog/api_op_DeleteTagOption.go index c8e6ccbb57c..bb3882ec9fd 100644 --- a/service/servicecatalog/api_op_DeleteTagOption.go +++ b/service/servicecatalog/api_op_DeleteTagOption.go @@ -70,7 +70,10 @@ func addOperationDeleteTagOptionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeConstraint.go b/service/servicecatalog/api_op_DescribeConstraint.go index ad48193652a..19513ea7a90 100644 --- a/service/servicecatalog/api_op_DescribeConstraint.go +++ b/service/servicecatalog/api_op_DescribeConstraint.go @@ -89,7 +89,10 @@ func addOperationDescribeConstraintMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeCopyProductStatus.go b/service/servicecatalog/api_op_DescribeCopyProductStatus.go index f92795ad0f9..88171681adb 100644 --- a/service/servicecatalog/api_op_DescribeCopyProductStatus.go +++ b/service/servicecatalog/api_op_DescribeCopyProductStatus.go @@ -89,7 +89,10 @@ func addOperationDescribeCopyProductStatusMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribePortfolio.go b/service/servicecatalog/api_op_DescribePortfolio.go index 5d9559cbf8d..237bbb0597e 100644 --- a/service/servicecatalog/api_op_DescribePortfolio.go +++ b/service/servicecatalog/api_op_DescribePortfolio.go @@ -93,7 +93,10 @@ func addOperationDescribePortfolioMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribePortfolioShareStatus.go b/service/servicecatalog/api_op_DescribePortfolioShareStatus.go index c18a8afcb9d..66ea5708d98 100644 --- a/service/servicecatalog/api_op_DescribePortfolioShareStatus.go +++ b/service/servicecatalog/api_op_DescribePortfolioShareStatus.go @@ -89,7 +89,10 @@ func addOperationDescribePortfolioShareStatusMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribePortfolioShares.go b/service/servicecatalog/api_op_DescribePortfolioShares.go index 5b3072494a1..20e2868a861 100644 --- a/service/servicecatalog/api_op_DescribePortfolioShares.go +++ b/service/servicecatalog/api_op_DescribePortfolioShares.go @@ -101,7 +101,10 @@ func addOperationDescribePortfolioSharesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeProduct.go b/service/servicecatalog/api_op_DescribeProduct.go index 0742f773b9a..6d117cae471 100644 --- a/service/servicecatalog/api_op_DescribeProduct.go +++ b/service/servicecatalog/api_op_DescribeProduct.go @@ -93,7 +93,10 @@ func addOperationDescribeProductMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeProductAsAdmin.go b/service/servicecatalog/api_op_DescribeProductAsAdmin.go index 21bfafc0461..c2aef396f5e 100644 --- a/service/servicecatalog/api_op_DescribeProductAsAdmin.go +++ b/service/servicecatalog/api_op_DescribeProductAsAdmin.go @@ -106,7 +106,10 @@ func addOperationDescribeProductAsAdminMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeProductView.go b/service/servicecatalog/api_op_DescribeProductView.go index 90715dafe55..8283afbd351 100644 --- a/service/servicecatalog/api_op_DescribeProductView.go +++ b/service/servicecatalog/api_op_DescribeProductView.go @@ -86,7 +86,10 @@ func addOperationDescribeProductViewMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeProvisionedProduct.go b/service/servicecatalog/api_op_DescribeProvisionedProduct.go index 52b481f1fd6..a627f5730a9 100644 --- a/service/servicecatalog/api_op_DescribeProvisionedProduct.go +++ b/service/servicecatalog/api_op_DescribeProvisionedProduct.go @@ -95,7 +95,10 @@ func addOperationDescribeProvisionedProductMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go b/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go index 67fcd8015b0..defd2b282ea 100644 --- a/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_DescribeProvisionedProductPlan.go @@ -98,7 +98,10 @@ func addOperationDescribeProvisionedProductPlanMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeProvisioningArtifact.go b/service/servicecatalog/api_op_DescribeProvisioningArtifact.go index 2e5ec2ece7b..be9e9b10b1f 100644 --- a/service/servicecatalog/api_op_DescribeProvisioningArtifact.go +++ b/service/servicecatalog/api_op_DescribeProvisioningArtifact.go @@ -100,7 +100,10 @@ func addOperationDescribeProvisioningArtifactMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeProvisioningParameters.go b/service/servicecatalog/api_op_DescribeProvisioningParameters.go index 7e515ff9e9b..bedd84a36c9 100644 --- a/service/servicecatalog/api_op_DescribeProvisioningParameters.go +++ b/service/servicecatalog/api_op_DescribeProvisioningParameters.go @@ -125,7 +125,10 @@ func addOperationDescribeProvisioningParametersMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeRecord.go b/service/servicecatalog/api_op_DescribeRecord.go index 9a7cf942f23..c7a02d14036 100644 --- a/service/servicecatalog/api_op_DescribeRecord.go +++ b/service/servicecatalog/api_op_DescribeRecord.go @@ -107,7 +107,10 @@ func addOperationDescribeRecordMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeServiceAction.go b/service/servicecatalog/api_op_DescribeServiceAction.go index 2e8d446ffaf..cec5918f540 100644 --- a/service/servicecatalog/api_op_DescribeServiceAction.go +++ b/service/servicecatalog/api_op_DescribeServiceAction.go @@ -83,7 +83,10 @@ func addOperationDescribeServiceActionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go b/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go index 984772e2d2a..13c195675e9 100644 --- a/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go +++ b/service/servicecatalog/api_op_DescribeServiceActionExecutionParameters.go @@ -89,7 +89,10 @@ func addOperationDescribeServiceActionExecutionParametersMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DescribeTagOption.go b/service/servicecatalog/api_op_DescribeTagOption.go index 466618e9192..d0b08d724ba 100644 --- a/service/servicecatalog/api_op_DescribeTagOption.go +++ b/service/servicecatalog/api_op_DescribeTagOption.go @@ -74,7 +74,10 @@ func addOperationDescribeTagOptionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go b/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go index 8989ef0b849..9fe28189503 100644 --- a/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go +++ b/service/servicecatalog/api_op_DisableAWSOrganizationsAccess.go @@ -71,7 +71,10 @@ func addOperationDisableAWSOrganizationsAccessMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DisassociateBudgetFromResource.go b/service/servicecatalog/api_op_DisassociateBudgetFromResource.go index 429b601bbef..6876ee263a5 100644 --- a/service/servicecatalog/api_op_DisassociateBudgetFromResource.go +++ b/service/servicecatalog/api_op_DisassociateBudgetFromResource.go @@ -75,7 +75,10 @@ func addOperationDisassociateBudgetFromResourceMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go b/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go index f1e9ec4d27f..5a0305807f4 100644 --- a/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go +++ b/service/servicecatalog/api_op_DisassociatePrincipalFromPortfolio.go @@ -83,7 +83,10 @@ func addOperationDisassociatePrincipalFromPortfolioMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go b/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go index d90d45d48a0..fd41d71417d 100644 --- a/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go +++ b/service/servicecatalog/api_op_DisassociateProductFromPortfolio.go @@ -84,7 +84,10 @@ func addOperationDisassociateProductFromPortfolioMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go b/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go index c45280ecb92..7f3356e2988 100644 --- a/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go +++ b/service/servicecatalog/api_op_DisassociateServiceActionFromProvisioningArtifact.go @@ -89,7 +89,10 @@ func addOperationDisassociateServiceActionFromProvisioningArtifactMiddlewares(st if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go b/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go index 559f8a124a9..0b988595e4e 100644 --- a/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go +++ b/service/servicecatalog/api_op_DisassociateTagOptionFromResource.go @@ -74,7 +74,10 @@ func addOperationDisassociateTagOptionFromResourceMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go b/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go index c34fdb7746f..fa94f17bc07 100644 --- a/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go +++ b/service/servicecatalog/api_op_EnableAWSOrganizationsAccess.go @@ -71,7 +71,10 @@ func addOperationEnableAWSOrganizationsAccessMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go b/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go index eb31b9d4786..01994a14d6c 100644 --- a/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go +++ b/service/servicecatalog/api_op_ExecuteProvisionedProductPlan.go @@ -92,7 +92,10 @@ func addOperationExecuteProvisionedProductPlanMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go b/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go index bda5f1a9c7d..f98d8329b99 100644 --- a/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go +++ b/service/servicecatalog/api_op_ExecuteProvisionedProductServiceAction.go @@ -102,7 +102,10 @@ func addOperationExecuteProvisionedProductServiceActionMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go b/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go index d1eef6c370c..ddd673f6207 100644 --- a/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go +++ b/service/servicecatalog/api_op_GetAWSOrganizationsAccessStatus.go @@ -71,7 +71,10 @@ func addOperationGetAWSOrganizationsAccessStatusMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_GetProvisionedProductOutputs.go b/service/servicecatalog/api_op_GetProvisionedProductOutputs.go index 8d4ca8ae057..37f1593cb27 100644 --- a/service/servicecatalog/api_op_GetProvisionedProductOutputs.go +++ b/service/servicecatalog/api_op_GetProvisionedProductOutputs.go @@ -104,7 +104,10 @@ func addOperationGetProvisionedProductOutputsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ImportAsProvisionedProduct.go b/service/servicecatalog/api_op_ImportAsProvisionedProduct.go index 4e33f453b1d..db931f6b123 100644 --- a/service/servicecatalog/api_op_ImportAsProvisionedProduct.go +++ b/service/servicecatalog/api_op_ImportAsProvisionedProduct.go @@ -119,7 +119,10 @@ func addOperationImportAsProvisionedProductMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go b/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go index 8a240da3c9f..febacdc8c71 100644 --- a/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go +++ b/service/servicecatalog/api_op_ListAcceptedPortfolioShares.go @@ -102,7 +102,10 @@ func addOperationListAcceptedPortfolioSharesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListBudgetsForResource.go b/service/servicecatalog/api_op_ListBudgetsForResource.go index c6603566b53..567821e1b9c 100644 --- a/service/servicecatalog/api_op_ListBudgetsForResource.go +++ b/service/servicecatalog/api_op_ListBudgetsForResource.go @@ -95,7 +95,10 @@ func addOperationListBudgetsForResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListConstraintsForPortfolio.go b/service/servicecatalog/api_op_ListConstraintsForPortfolio.go index edcae359a59..373c599614f 100644 --- a/service/servicecatalog/api_op_ListConstraintsForPortfolio.go +++ b/service/servicecatalog/api_op_ListConstraintsForPortfolio.go @@ -98,7 +98,10 @@ func addOperationListConstraintsForPortfolioMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListLaunchPaths.go b/service/servicecatalog/api_op_ListLaunchPaths.go index e6b01054e30..ef087204181 100644 --- a/service/servicecatalog/api_op_ListLaunchPaths.go +++ b/service/servicecatalog/api_op_ListLaunchPaths.go @@ -97,7 +97,10 @@ func addOperationListLaunchPathsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go b/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go index 4ae5bc751b0..57da9f0d4d0 100644 --- a/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go +++ b/service/servicecatalog/api_op_ListOrganizationPortfolioAccess.go @@ -113,7 +113,10 @@ func addOperationListOrganizationPortfolioAccessMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListPortfolioAccess.go b/service/servicecatalog/api_op_ListPortfolioAccess.go index ac485ab5a2c..240073d2ba1 100644 --- a/service/servicecatalog/api_op_ListPortfolioAccess.go +++ b/service/servicecatalog/api_op_ListPortfolioAccess.go @@ -101,7 +101,10 @@ func addOperationListPortfolioAccessMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListPortfolios.go b/service/servicecatalog/api_op_ListPortfolios.go index 727c01697cf..1ddc5e11482 100644 --- a/service/servicecatalog/api_op_ListPortfolios.go +++ b/service/servicecatalog/api_op_ListPortfolios.go @@ -90,7 +90,10 @@ func addOperationListPortfoliosMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListPortfoliosForProduct.go b/service/servicecatalog/api_op_ListPortfoliosForProduct.go index 1d93d50d71c..f50a49c7181 100644 --- a/service/servicecatalog/api_op_ListPortfoliosForProduct.go +++ b/service/servicecatalog/api_op_ListPortfoliosForProduct.go @@ -95,7 +95,10 @@ func addOperationListPortfoliosForProductMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go b/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go index 86187877449..b70873cc106 100644 --- a/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go +++ b/service/servicecatalog/api_op_ListPrincipalsForPortfolio.go @@ -95,7 +95,10 @@ func addOperationListPrincipalsForPortfolioMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListProvisionedProductPlans.go b/service/servicecatalog/api_op_ListProvisionedProductPlans.go index 02718457c9f..cb0122a9f5d 100644 --- a/service/servicecatalog/api_op_ListProvisionedProductPlans.go +++ b/service/servicecatalog/api_op_ListProvisionedProductPlans.go @@ -96,7 +96,10 @@ func addOperationListProvisionedProductPlansMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListProvisioningArtifacts.go b/service/servicecatalog/api_op_ListProvisioningArtifacts.go index fc3414fc5c9..16a3a616fe8 100644 --- a/service/servicecatalog/api_op_ListProvisioningArtifacts.go +++ b/service/servicecatalog/api_op_ListProvisioningArtifacts.go @@ -88,7 +88,10 @@ func addOperationListProvisioningArtifactsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go b/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go index d96bf17baaf..5d6fa71f850 100644 --- a/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go +++ b/service/servicecatalog/api_op_ListProvisioningArtifactsForServiceAction.go @@ -97,7 +97,10 @@ func addOperationListProvisioningArtifactsForServiceActionMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListRecordHistory.go b/service/servicecatalog/api_op_ListRecordHistory.go index 805e074ce21..3fc4d33eaac 100644 --- a/service/servicecatalog/api_op_ListRecordHistory.go +++ b/service/servicecatalog/api_op_ListRecordHistory.go @@ -95,7 +95,10 @@ func addOperationListRecordHistoryMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListResourcesForTagOption.go b/service/servicecatalog/api_op_ListResourcesForTagOption.go index f4382dd460c..b7d2e196d54 100644 --- a/service/servicecatalog/api_op_ListResourcesForTagOption.go +++ b/service/servicecatalog/api_op_ListResourcesForTagOption.go @@ -93,7 +93,10 @@ func addOperationListResourcesForTagOptionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListServiceActions.go b/service/servicecatalog/api_op_ListServiceActions.go index c378022cf5f..775c2e9f921 100644 --- a/service/servicecatalog/api_op_ListServiceActions.go +++ b/service/servicecatalog/api_op_ListServiceActions.go @@ -91,7 +91,10 @@ func addOperationListServiceActionsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go b/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go index c33f71e4ffe..80682d2f194 100644 --- a/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go +++ b/service/servicecatalog/api_op_ListServiceActionsForProvisioningArtifact.go @@ -102,7 +102,10 @@ func addOperationListServiceActionsForProvisioningArtifactMiddlewares(stack *mid if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go b/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go index d0f9d56c6fc..f8a909c6428 100644 --- a/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go +++ b/service/servicecatalog/api_op_ListStackInstancesForProvisionedProduct.go @@ -96,7 +96,10 @@ func addOperationListStackInstancesForProvisionedProductMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ListTagOptions.go b/service/servicecatalog/api_op_ListTagOptions.go index 6d7be3c2bbc..dafb7a7670f 100644 --- a/service/servicecatalog/api_op_ListTagOptions.go +++ b/service/servicecatalog/api_op_ListTagOptions.go @@ -85,7 +85,10 @@ func addOperationListTagOptionsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ProvisionProduct.go b/service/servicecatalog/api_op_ProvisionProduct.go index 72c24cfa6b2..0ffd73abac5 100644 --- a/service/servicecatalog/api_op_ProvisionProduct.go +++ b/service/servicecatalog/api_op_ProvisionProduct.go @@ -134,7 +134,10 @@ func addOperationProvisionProductMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_RejectPortfolioShare.go b/service/servicecatalog/api_op_RejectPortfolioShare.go index 3a5d0aee473..9181cd382ef 100644 --- a/service/servicecatalog/api_op_RejectPortfolioShare.go +++ b/service/servicecatalog/api_op_RejectPortfolioShare.go @@ -95,7 +95,10 @@ func addOperationRejectPortfolioShareMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_ScanProvisionedProducts.go b/service/servicecatalog/api_op_ScanProvisionedProducts.go index b20141519bb..f6f5ba57505 100644 --- a/service/servicecatalog/api_op_ScanProvisionedProducts.go +++ b/service/servicecatalog/api_op_ScanProvisionedProducts.go @@ -93,7 +93,10 @@ func addOperationScanProvisionedProductsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_SearchProducts.go b/service/servicecatalog/api_op_SearchProducts.go index 53bc3f00d97..3911301d7fc 100644 --- a/service/servicecatalog/api_op_SearchProducts.go +++ b/service/servicecatalog/api_op_SearchProducts.go @@ -103,7 +103,10 @@ func addOperationSearchProductsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_SearchProductsAsAdmin.go b/service/servicecatalog/api_op_SearchProductsAsAdmin.go index 73496583f15..94b6b089055 100644 --- a/service/servicecatalog/api_op_SearchProductsAsAdmin.go +++ b/service/servicecatalog/api_op_SearchProductsAsAdmin.go @@ -106,7 +106,10 @@ func addOperationSearchProductsAsAdminMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_SearchProvisionedProducts.go b/service/servicecatalog/api_op_SearchProvisionedProducts.go index ca6c32d22c6..52f2a31d644 100644 --- a/service/servicecatalog/api_op_SearchProvisionedProducts.go +++ b/service/servicecatalog/api_op_SearchProvisionedProducts.go @@ -111,7 +111,10 @@ func addOperationSearchProvisionedProductsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_TerminateProvisionedProduct.go b/service/servicecatalog/api_op_TerminateProvisionedProduct.go index d72a22ea079..9fefec482a4 100644 --- a/service/servicecatalog/api_op_TerminateProvisionedProduct.go +++ b/service/servicecatalog/api_op_TerminateProvisionedProduct.go @@ -107,7 +107,10 @@ func addOperationTerminateProvisionedProductMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_UpdateConstraint.go b/service/servicecatalog/api_op_UpdateConstraint.go index 31fda8acbaf..3d07546656e 100644 --- a/service/servicecatalog/api_op_UpdateConstraint.go +++ b/service/servicecatalog/api_op_UpdateConstraint.go @@ -119,7 +119,10 @@ func addOperationUpdateConstraintMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_UpdatePortfolio.go b/service/servicecatalog/api_op_UpdatePortfolio.go index 71c4ef06691..24c3364c0ac 100644 --- a/service/servicecatalog/api_op_UpdatePortfolio.go +++ b/service/servicecatalog/api_op_UpdatePortfolio.go @@ -102,7 +102,10 @@ func addOperationUpdatePortfolioMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_UpdatePortfolioShare.go b/service/servicecatalog/api_op_UpdatePortfolioShare.go index 7836018c863..0ed772a67d3 100644 --- a/service/servicecatalog/api_op_UpdatePortfolioShare.go +++ b/service/servicecatalog/api_op_UpdatePortfolioShare.go @@ -109,7 +109,10 @@ func addOperationUpdatePortfolioShareMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_UpdateProduct.go b/service/servicecatalog/api_op_UpdateProduct.go index e2aa085508b..41f3882e4b4 100644 --- a/service/servicecatalog/api_op_UpdateProduct.go +++ b/service/servicecatalog/api_op_UpdateProduct.go @@ -113,7 +113,10 @@ func addOperationUpdateProductMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_UpdateProvisionedProduct.go b/service/servicecatalog/api_op_UpdateProvisionedProduct.go index 4e0d5ffde66..fa57ca8d3cf 100644 --- a/service/servicecatalog/api_op_UpdateProvisionedProduct.go +++ b/service/servicecatalog/api_op_UpdateProvisionedProduct.go @@ -128,7 +128,10 @@ func addOperationUpdateProvisionedProductMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go b/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go index 7a857ae097f..a70904213a0 100644 --- a/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go +++ b/service/servicecatalog/api_op_UpdateProvisionedProductProperties.go @@ -124,7 +124,10 @@ func addOperationUpdateProvisionedProductPropertiesMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_UpdateProvisioningArtifact.go b/service/servicecatalog/api_op_UpdateProvisioningArtifact.go index 11633592044..b0f32a1d633 100644 --- a/service/servicecatalog/api_op_UpdateProvisioningArtifact.go +++ b/service/servicecatalog/api_op_UpdateProvisioningArtifact.go @@ -115,7 +115,10 @@ func addOperationUpdateProvisioningArtifactMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_UpdateServiceAction.go b/service/servicecatalog/api_op_UpdateServiceAction.go index 947cc07c186..e65a988a286 100644 --- a/service/servicecatalog/api_op_UpdateServiceAction.go +++ b/service/servicecatalog/api_op_UpdateServiceAction.go @@ -92,7 +92,10 @@ func addOperationUpdateServiceActionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalog/api_op_UpdateTagOption.go b/service/servicecatalog/api_op_UpdateTagOption.go index f30f17500b3..ca7e7ee6a2e 100644 --- a/service/servicecatalog/api_op_UpdateTagOption.go +++ b/service/servicecatalog/api_op_UpdateTagOption.go @@ -80,7 +80,10 @@ func addOperationUpdateTagOptionMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go b/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go index a60b5102ad4..1ebf3bc9555 100644 --- a/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_AssociateAttributeGroup.go @@ -87,7 +87,10 @@ func addOperationAssociateAttributeGroupMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_AssociateResource.go b/service/servicecatalogappregistry/api_op_AssociateResource.go index f6db02da1a5..b98f1d9b2db 100644 --- a/service/servicecatalogappregistry/api_op_AssociateResource.go +++ b/service/servicecatalogappregistry/api_op_AssociateResource.go @@ -89,7 +89,10 @@ func addOperationAssociateResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_CreateApplication.go b/service/servicecatalogappregistry/api_op_CreateApplication.go index 0a1344e7c76..eee1b1e6c82 100644 --- a/service/servicecatalogappregistry/api_op_CreateApplication.go +++ b/service/servicecatalogappregistry/api_op_CreateApplication.go @@ -92,7 +92,10 @@ func addOperationCreateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go b/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go index 8c03e82ea40..b9310673a1c 100644 --- a/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_CreateAttributeGroup.go @@ -99,7 +99,10 @@ func addOperationCreateAttributeGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_DeleteApplication.go b/service/servicecatalogappregistry/api_op_DeleteApplication.go index c975c4f7e27..1b07541817b 100644 --- a/service/servicecatalogappregistry/api_op_DeleteApplication.go +++ b/service/servicecatalogappregistry/api_op_DeleteApplication.go @@ -76,7 +76,10 @@ func addOperationDeleteApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go b/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go index 37de3ed9e1f..5b04d8a16c4 100644 --- a/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_DeleteAttributeGroup.go @@ -75,7 +75,10 @@ func addOperationDeleteAttributeGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go b/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go index 64295fbd62d..76aceb45124 100644 --- a/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_DisassociateAttributeGroup.go @@ -84,7 +84,10 @@ func addOperationDisassociateAttributeGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_DisassociateResource.go b/service/servicecatalogappregistry/api_op_DisassociateResource.go index f90739fd6c1..59b74d07919 100644 --- a/service/servicecatalogappregistry/api_op_DisassociateResource.go +++ b/service/servicecatalogappregistry/api_op_DisassociateResource.go @@ -88,7 +88,10 @@ func addOperationDisassociateResourceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_GetApplication.go b/service/servicecatalogappregistry/api_op_GetApplication.go index ea4d7233fc3..7a12cd086f3 100644 --- a/service/servicecatalogappregistry/api_op_GetApplication.go +++ b/service/servicecatalogappregistry/api_op_GetApplication.go @@ -102,7 +102,10 @@ func addOperationGetApplicationMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_GetAttributeGroup.go b/service/servicecatalogappregistry/api_op_GetAttributeGroup.go index f5e66563cb9..b968f3f20d1 100644 --- a/service/servicecatalogappregistry/api_op_GetAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_GetAttributeGroup.go @@ -101,7 +101,10 @@ func addOperationGetAttributeGroupMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_ListApplications.go b/service/servicecatalogappregistry/api_op_ListApplications.go index 6f8ddbb913c..2b48a8a1fff 100644 --- a/service/servicecatalogappregistry/api_op_ListApplications.go +++ b/service/servicecatalogappregistry/api_op_ListApplications.go @@ -80,7 +80,10 @@ func addOperationListApplicationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go b/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go index 69fc0a5e4ac..c4b0dd04f2f 100644 --- a/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go +++ b/service/servicecatalogappregistry/api_op_ListAssociatedAttributeGroups.go @@ -85,7 +85,10 @@ func addOperationListAssociatedAttributeGroupsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_ListAssociatedResources.go b/service/servicecatalogappregistry/api_op_ListAssociatedResources.go index 00f30c5f650..bd852830fd8 100644 --- a/service/servicecatalogappregistry/api_op_ListAssociatedResources.go +++ b/service/servicecatalogappregistry/api_op_ListAssociatedResources.go @@ -86,7 +86,10 @@ func addOperationListAssociatedResourcesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_ListAttributeGroups.go b/service/servicecatalogappregistry/api_op_ListAttributeGroups.go index 97ce742cc4e..f72ad248074 100644 --- a/service/servicecatalogappregistry/api_op_ListAttributeGroups.go +++ b/service/servicecatalogappregistry/api_op_ListAttributeGroups.go @@ -80,7 +80,10 @@ func addOperationListAttributeGroupsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_ListTagsForResource.go b/service/servicecatalogappregistry/api_op_ListTagsForResource.go index 5e715bd36bf..773c0d3a93d 100644 --- a/service/servicecatalogappregistry/api_op_ListTagsForResource.go +++ b/service/servicecatalogappregistry/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_SyncResource.go b/service/servicecatalogappregistry/api_op_SyncResource.go index 99b0bf4a7cd..3687261560b 100644 --- a/service/servicecatalogappregistry/api_op_SyncResource.go +++ b/service/servicecatalogappregistry/api_op_SyncResource.go @@ -90,7 +90,10 @@ func addOperationSyncResourceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_TagResource.go b/service/servicecatalogappregistry/api_op_TagResource.go index 3205f6c138a..c80c9038e38 100644 --- a/service/servicecatalogappregistry/api_op_TagResource.go +++ b/service/servicecatalogappregistry/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_UntagResource.go b/service/servicecatalogappregistry/api_op_UntagResource.go index beadb7f8a42..d718237bce1 100644 --- a/service/servicecatalogappregistry/api_op_UntagResource.go +++ b/service/servicecatalogappregistry/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_UpdateApplication.go b/service/servicecatalogappregistry/api_op_UpdateApplication.go index 28e3f97df82..e131bc4320b 100644 --- a/service/servicecatalogappregistry/api_op_UpdateApplication.go +++ b/service/servicecatalogappregistry/api_op_UpdateApplication.go @@ -81,7 +81,10 @@ func addOperationUpdateApplicationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go b/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go index 9c023add1c1..61b314cdbbe 100644 --- a/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go +++ b/service/servicecatalogappregistry/api_op_UpdateAttributeGroup.go @@ -86,7 +86,10 @@ func addOperationUpdateAttributeGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_CreateHttpNamespace.go b/service/servicediscovery/api_op_CreateHttpNamespace.go index 08b0d2cf070..6326a03a3bb 100644 --- a/service/servicediscovery/api_op_CreateHttpNamespace.go +++ b/service/servicediscovery/api_op_CreateHttpNamespace.go @@ -96,7 +96,10 @@ func addOperationCreateHttpNamespaceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go b/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go index c50982e4a66..e9e65bbce6c 100644 --- a/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go +++ b/service/servicediscovery/api_op_CreatePrivateDnsNamespace.go @@ -105,7 +105,10 @@ func addOperationCreatePrivateDnsNamespaceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_CreatePublicDnsNamespace.go b/service/servicediscovery/api_op_CreatePublicDnsNamespace.go index 85a83e68be5..8650384dadf 100644 --- a/service/servicediscovery/api_op_CreatePublicDnsNamespace.go +++ b/service/servicediscovery/api_op_CreatePublicDnsNamespace.go @@ -97,7 +97,10 @@ func addOperationCreatePublicDnsNamespaceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_CreateService.go b/service/servicediscovery/api_op_CreateService.go index 93f9266278f..f2b22a2e5ea 100644 --- a/service/servicediscovery/api_op_CreateService.go +++ b/service/servicediscovery/api_op_CreateService.go @@ -151,7 +151,10 @@ func addOperationCreateServiceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_DeleteNamespace.go b/service/servicediscovery/api_op_DeleteNamespace.go index cef52bde1d1..0f37ee29ce4 100644 --- a/service/servicediscovery/api_op_DeleteNamespace.go +++ b/service/servicediscovery/api_op_DeleteNamespace.go @@ -76,7 +76,10 @@ func addOperationDeleteNamespaceMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_DeleteService.go b/service/servicediscovery/api_op_DeleteService.go index f8dd30a3a5b..0584003ac8e 100644 --- a/service/servicediscovery/api_op_DeleteService.go +++ b/service/servicediscovery/api_op_DeleteService.go @@ -70,7 +70,10 @@ func addOperationDeleteServiceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_DeregisterInstance.go b/service/servicediscovery/api_op_DeregisterInstance.go index 5c5043579c5..5894515ebe0 100644 --- a/service/servicediscovery/api_op_DeregisterInstance.go +++ b/service/servicediscovery/api_op_DeregisterInstance.go @@ -83,7 +83,10 @@ func addOperationDeregisterInstanceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_DiscoverInstances.go b/service/servicediscovery/api_op_DiscoverInstances.go index 596d3ef98a1..63902d9f843 100644 --- a/service/servicediscovery/api_op_DiscoverInstances.go +++ b/service/servicediscovery/api_op_DiscoverInstances.go @@ -104,7 +104,10 @@ func addOperationDiscoverInstancesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_GetInstance.go b/service/servicediscovery/api_op_GetInstance.go index 6f0a0d28852..c9ab4b911ad 100644 --- a/service/servicediscovery/api_op_GetInstance.go +++ b/service/servicediscovery/api_op_GetInstance.go @@ -79,7 +79,10 @@ func addOperationGetInstanceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_GetInstancesHealthStatus.go b/service/servicediscovery/api_op_GetInstancesHealthStatus.go index 6d75285c4ca..9db4f128484 100644 --- a/service/servicediscovery/api_op_GetInstancesHealthStatus.go +++ b/service/servicediscovery/api_op_GetInstancesHealthStatus.go @@ -104,7 +104,10 @@ func addOperationGetInstancesHealthStatusMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_GetNamespace.go b/service/servicediscovery/api_op_GetNamespace.go index 6a23edc338b..06d7a21d9ad 100644 --- a/service/servicediscovery/api_op_GetNamespace.go +++ b/service/servicediscovery/api_op_GetNamespace.go @@ -74,7 +74,10 @@ func addOperationGetNamespaceMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_GetOperation.go b/service/servicediscovery/api_op_GetOperation.go index a14ff3b594a..8c6802b7b1b 100644 --- a/service/servicediscovery/api_op_GetOperation.go +++ b/service/servicediscovery/api_op_GetOperation.go @@ -77,7 +77,10 @@ func addOperationGetOperationMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_GetService.go b/service/servicediscovery/api_op_GetService.go index 34da6f3a6eb..6671ce4e0c6 100644 --- a/service/servicediscovery/api_op_GetService.go +++ b/service/servicediscovery/api_op_GetService.go @@ -74,7 +74,10 @@ func addOperationGetServiceMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_ListInstances.go b/service/servicediscovery/api_op_ListInstances.go index 907a819b63d..4c967d472fa 100644 --- a/service/servicediscovery/api_op_ListInstances.go +++ b/service/servicediscovery/api_op_ListInstances.go @@ -93,7 +93,10 @@ func addOperationListInstancesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_ListNamespaces.go b/service/servicediscovery/api_op_ListNamespaces.go index 714a0178560..65edff11b0d 100644 --- a/service/servicediscovery/api_op_ListNamespaces.go +++ b/service/servicediscovery/api_op_ListNamespaces.go @@ -100,7 +100,10 @@ func addOperationListNamespacesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_ListOperations.go b/service/servicediscovery/api_op_ListOperations.go index 73124a533ee..a4943bd6916 100644 --- a/service/servicediscovery/api_op_ListOperations.go +++ b/service/servicediscovery/api_op_ListOperations.go @@ -99,7 +99,10 @@ func addOperationListOperationsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_ListServices.go b/service/servicediscovery/api_op_ListServices.go index bc9030f857f..b51ae03af07 100644 --- a/service/servicediscovery/api_op_ListServices.go +++ b/service/servicediscovery/api_op_ListServices.go @@ -99,7 +99,10 @@ func addOperationListServicesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_ListTagsForResource.go b/service/servicediscovery/api_op_ListTagsForResource.go index 675d8a632f2..0e80154e860 100644 --- a/service/servicediscovery/api_op_ListTagsForResource.go +++ b/service/servicediscovery/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_RegisterInstance.go b/service/servicediscovery/api_op_RegisterInstance.go index 7b130607249..b3f72b1f6a7 100644 --- a/service/servicediscovery/api_op_RegisterInstance.go +++ b/service/servicediscovery/api_op_RegisterInstance.go @@ -215,7 +215,10 @@ func addOperationRegisterInstanceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_TagResource.go b/service/servicediscovery/api_op_TagResource.go index 2d7e9f17699..4c52d7f3f25 100644 --- a/service/servicediscovery/api_op_TagResource.go +++ b/service/servicediscovery/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_UntagResource.go b/service/servicediscovery/api_op_UntagResource.go index 9ed865cbd77..5856f3aa6c9 100644 --- a/service/servicediscovery/api_op_UntagResource.go +++ b/service/servicediscovery/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go b/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go index 9fab4dfbb06..e8e705f502d 100644 --- a/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go +++ b/service/servicediscovery/api_op_UpdateInstanceCustomHealthStatus.go @@ -87,7 +87,10 @@ func addOperationUpdateInstanceCustomHealthStatusMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicediscovery/api_op_UpdateService.go b/service/servicediscovery/api_op_UpdateService.go index 2888b94ae30..a97355d6a67 100644 --- a/service/servicediscovery/api_op_UpdateService.go +++ b/service/servicediscovery/api_op_UpdateService.go @@ -103,7 +103,10 @@ func addOperationUpdateServiceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go b/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go index 73f78995e10..bb5fec1a3a4 100644 --- a/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go +++ b/service/servicequotas/api_op_AssociateServiceQuotaTemplate.go @@ -67,7 +67,10 @@ func addOperationAssociateServiceQuotaTemplateMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go b/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go index b65f2e6f57b..2596f5a206c 100644 --- a/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go +++ b/service/servicequotas/api_op_DeleteServiceQuotaIncreaseRequestFromTemplate.go @@ -80,7 +80,10 @@ func addOperationDeleteServiceQuotaIncreaseRequestFromTemplateMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go b/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go index 7d5b7eab2b5..ed2f40455e2 100644 --- a/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go +++ b/service/servicequotas/api_op_DisassociateServiceQuotaTemplate.go @@ -67,7 +67,10 @@ func addOperationDisassociateServiceQuotaTemplateMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go b/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go index c2242b669c1..38d4b42a468 100644 --- a/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go +++ b/service/servicequotas/api_op_GetAWSDefaultServiceQuota.go @@ -80,7 +80,10 @@ func addOperationGetAWSDefaultServiceQuotaMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go b/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go index 0407f9e8370..e7f0fe85348 100644 --- a/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go +++ b/service/servicequotas/api_op_GetAssociationForServiceQuotaTemplate.go @@ -70,7 +70,10 @@ func addOperationGetAssociationForServiceQuotaTemplateMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go b/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go index eb049f68078..20abc27c027 100644 --- a/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go +++ b/service/servicequotas/api_op_GetRequestedServiceQuotaChange.go @@ -74,7 +74,10 @@ func addOperationGetRequestedServiceQuotaChangeMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_GetServiceQuota.go b/service/servicequotas/api_op_GetServiceQuota.go index a08a37021e3..c50e6128fd1 100644 --- a/service/servicequotas/api_op_GetServiceQuota.go +++ b/service/servicequotas/api_op_GetServiceQuota.go @@ -81,7 +81,10 @@ func addOperationGetServiceQuotaMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go b/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go index 1e0b0da78f6..bebb45fcb08 100644 --- a/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go +++ b/service/servicequotas/api_op_GetServiceQuotaIncreaseRequestFromTemplate.go @@ -85,7 +85,10 @@ func addOperationGetServiceQuotaIncreaseRequestFromTemplateMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go b/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go index a6100f25737..19cfc453662 100644 --- a/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go +++ b/service/servicequotas/api_op_ListAWSDefaultServiceQuotas.go @@ -88,7 +88,10 @@ func addOperationListAWSDefaultServiceQuotasMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go index 5dcd9054065..2b4127bf45c 100644 --- a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go +++ b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistory.go @@ -88,7 +88,10 @@ func addOperationListRequestedServiceQuotaChangeHistoryMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go index 0c3df13e6bd..2b911a607de 100644 --- a/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go +++ b/service/servicequotas/api_op_ListRequestedServiceQuotaChangeHistoryByQuota.go @@ -95,7 +95,10 @@ func addOperationListRequestedServiceQuotaChangeHistoryByQuotaMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go b/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go index 7fa0f3fa4ca..2742d893ea2 100644 --- a/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go +++ b/service/servicequotas/api_op_ListServiceQuotaIncreaseRequestsInTemplate.go @@ -88,7 +88,10 @@ func addOperationListServiceQuotaIncreaseRequestsInTemplateMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_ListServiceQuotas.go b/service/servicequotas/api_op_ListServiceQuotas.go index 3fef5628716..71bfc84b75d 100644 --- a/service/servicequotas/api_op_ListServiceQuotas.go +++ b/service/servicequotas/api_op_ListServiceQuotas.go @@ -89,7 +89,10 @@ func addOperationListServiceQuotasMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_ListServices.go b/service/servicequotas/api_op_ListServices.go index 8db215a1796..62f9307d042 100644 --- a/service/servicequotas/api_op_ListServices.go +++ b/service/servicequotas/api_op_ListServices.go @@ -82,7 +82,10 @@ func addOperationListServicesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_ListTagsForResource.go b/service/servicequotas/api_op_ListTagsForResource.go index 2c45ba8914b..126c2339b49 100644 --- a/service/servicequotas/api_op_ListTagsForResource.go +++ b/service/servicequotas/api_op_ListTagsForResource.go @@ -80,7 +80,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go b/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go index 4fb174231bc..dbf3e97fb73 100644 --- a/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go +++ b/service/servicequotas/api_op_PutServiceQuotaIncreaseRequestIntoTemplate.go @@ -89,7 +89,10 @@ func addOperationPutServiceQuotaIncreaseRequestIntoTemplateMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_RequestServiceQuotaIncrease.go b/service/servicequotas/api_op_RequestServiceQuotaIncrease.go index 7ae27897538..adba68250c1 100644 --- a/service/servicequotas/api_op_RequestServiceQuotaIncrease.go +++ b/service/servicequotas/api_op_RequestServiceQuotaIncrease.go @@ -84,7 +84,10 @@ func addOperationRequestServiceQuotaIncreaseMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_TagResource.go b/service/servicequotas/api_op_TagResource.go index e590957e042..82a0622c6ac 100644 --- a/service/servicequotas/api_op_TagResource.go +++ b/service/servicequotas/api_op_TagResource.go @@ -82,7 +82,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/servicequotas/api_op_UntagResource.go b/service/servicequotas/api_op_UntagResource.go index f4a485821e0..a4bcdad5913 100644 --- a/service/servicequotas/api_op_UntagResource.go +++ b/service/servicequotas/api_op_UntagResource.go @@ -81,7 +81,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_CloneReceiptRuleSet.go b/service/ses/api_op_CloneReceiptRuleSet.go index 4193d9926d7..811412ba2a9 100644 --- a/service/ses/api_op_CloneReceiptRuleSet.go +++ b/service/ses/api_op_CloneReceiptRuleSet.go @@ -93,7 +93,10 @@ func addOperationCloneReceiptRuleSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_CreateConfigurationSet.go b/service/ses/api_op_CreateConfigurationSet.go index 841309945ad..73ffb69bc3f 100644 --- a/service/ses/api_op_CreateConfigurationSet.go +++ b/service/ses/api_op_CreateConfigurationSet.go @@ -79,7 +79,10 @@ func addOperationCreateConfigurationSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_CreateConfigurationSetEventDestination.go b/service/ses/api_op_CreateConfigurationSetEventDestination.go index eb5a5d955bb..a4128f62065 100644 --- a/service/ses/api_op_CreateConfigurationSetEventDestination.go +++ b/service/ses/api_op_CreateConfigurationSetEventDestination.go @@ -92,7 +92,10 @@ func addOperationCreateConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_CreateConfigurationSetTrackingOptions.go b/service/ses/api_op_CreateConfigurationSetTrackingOptions.go index 6674df4185d..aaaeca1e2b6 100644 --- a/service/ses/api_op_CreateConfigurationSetTrackingOptions.go +++ b/service/ses/api_op_CreateConfigurationSetTrackingOptions.go @@ -89,7 +89,10 @@ func addOperationCreateConfigurationSetTrackingOptionsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_CreateCustomVerificationEmailTemplate.go b/service/ses/api_op_CreateCustomVerificationEmailTemplate.go index 3d7479bcd38..c9ad6977e7e 100644 --- a/service/ses/api_op_CreateCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_CreateCustomVerificationEmailTemplate.go @@ -106,7 +106,10 @@ func addOperationCreateCustomVerificationEmailTemplateMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_CreateReceiptFilter.go b/service/ses/api_op_CreateReceiptFilter.go index 36f58f3108d..a0cfd55e978 100644 --- a/service/ses/api_op_CreateReceiptFilter.go +++ b/service/ses/api_op_CreateReceiptFilter.go @@ -79,7 +79,10 @@ func addOperationCreateReceiptFilterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_CreateReceiptRule.go b/service/ses/api_op_CreateReceiptRule.go index 0f4d7d3fa48..6b7932d03a3 100644 --- a/service/ses/api_op_CreateReceiptRule.go +++ b/service/ses/api_op_CreateReceiptRule.go @@ -88,7 +88,10 @@ func addOperationCreateReceiptRuleMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_CreateReceiptRuleSet.go b/service/ses/api_op_CreateReceiptRuleSet.go index afe94a2f20f..adb30cb6210 100644 --- a/service/ses/api_op_CreateReceiptRuleSet.go +++ b/service/ses/api_op_CreateReceiptRuleSet.go @@ -86,7 +86,10 @@ func addOperationCreateReceiptRuleSetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_CreateTemplate.go b/service/ses/api_op_CreateTemplate.go index 2f3f2cbb3b5..12369768256 100644 --- a/service/ses/api_op_CreateTemplate.go +++ b/service/ses/api_op_CreateTemplate.go @@ -78,7 +78,10 @@ func addOperationCreateTemplateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteConfigurationSet.go b/service/ses/api_op_DeleteConfigurationSet.go index 1b867c8df0d..521121e4439 100644 --- a/service/ses/api_op_DeleteConfigurationSet.go +++ b/service/ses/api_op_DeleteConfigurationSet.go @@ -78,7 +78,10 @@ func addOperationDeleteConfigurationSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteConfigurationSetEventDestination.go b/service/ses/api_op_DeleteConfigurationSetEventDestination.go index f8b708990a0..ea3d82eecec 100644 --- a/service/ses/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/ses/api_op_DeleteConfigurationSetEventDestination.go @@ -85,7 +85,10 @@ func addOperationDeleteConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go b/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go index e0c5f6fcec7..5fa64cdfe8d 100644 --- a/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go +++ b/service/ses/api_op_DeleteConfigurationSetTrackingOptions.go @@ -81,7 +81,10 @@ func addOperationDeleteConfigurationSetTrackingOptionsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go b/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go index f78c9a3b8b2..0ab613287ab 100644 --- a/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_DeleteCustomVerificationEmailTemplate.go @@ -75,7 +75,10 @@ func addOperationDeleteCustomVerificationEmailTemplateMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteIdentity.go b/service/ses/api_op_DeleteIdentity.go index 753b5a5ca6e..654a0afd771 100644 --- a/service/ses/api_op_DeleteIdentity.go +++ b/service/ses/api_op_DeleteIdentity.go @@ -74,7 +74,10 @@ func addOperationDeleteIdentityMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteIdentityPolicy.go b/service/ses/api_op_DeleteIdentityPolicy.go index 78a5a341e39..38214e476d0 100644 --- a/service/ses/api_op_DeleteIdentityPolicy.go +++ b/service/ses/api_op_DeleteIdentityPolicy.go @@ -92,7 +92,10 @@ func addOperationDeleteIdentityPolicyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteReceiptFilter.go b/service/ses/api_op_DeleteReceiptFilter.go index e1b622f3b36..9b79ad9c79b 100644 --- a/service/ses/api_op_DeleteReceiptFilter.go +++ b/service/ses/api_op_DeleteReceiptFilter.go @@ -77,7 +77,10 @@ func addOperationDeleteReceiptFilterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteReceiptRule.go b/service/ses/api_op_DeleteReceiptRule.go index d1b269a939f..54c66259d86 100644 --- a/service/ses/api_op_DeleteReceiptRule.go +++ b/service/ses/api_op_DeleteReceiptRule.go @@ -81,7 +81,10 @@ func addOperationDeleteReceiptRuleMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteReceiptRuleSet.go b/service/ses/api_op_DeleteReceiptRuleSet.go index 42d9f2de76e..2df97410be4 100644 --- a/service/ses/api_op_DeleteReceiptRuleSet.go +++ b/service/ses/api_op_DeleteReceiptRuleSet.go @@ -78,7 +78,10 @@ func addOperationDeleteReceiptRuleSetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteTemplate.go b/service/ses/api_op_DeleteTemplate.go index 27d249e318c..5d931b24853 100644 --- a/service/ses/api_op_DeleteTemplate.go +++ b/service/ses/api_op_DeleteTemplate.go @@ -73,7 +73,10 @@ func addOperationDeleteTemplateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DeleteVerifiedEmailAddress.go b/service/ses/api_op_DeleteVerifiedEmailAddress.go index d566583fc26..c6b69039058 100644 --- a/service/ses/api_op_DeleteVerifiedEmailAddress.go +++ b/service/ses/api_op_DeleteVerifiedEmailAddress.go @@ -72,7 +72,10 @@ func addOperationDeleteVerifiedEmailAddressMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DescribeActiveReceiptRuleSet.go b/service/ses/api_op_DescribeActiveReceiptRuleSet.go index 544a5861fb9..634748608e6 100644 --- a/service/ses/api_op_DescribeActiveReceiptRuleSet.go +++ b/service/ses/api_op_DescribeActiveReceiptRuleSet.go @@ -83,7 +83,10 @@ func addOperationDescribeActiveReceiptRuleSetMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DescribeConfigurationSet.go b/service/ses/api_op_DescribeConfigurationSet.go index b0e6e98f4c2..c8cd3d5b21e 100644 --- a/service/ses/api_op_DescribeConfigurationSet.go +++ b/service/ses/api_op_DescribeConfigurationSet.go @@ -102,7 +102,10 @@ func addOperationDescribeConfigurationSetMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DescribeReceiptRule.go b/service/ses/api_op_DescribeReceiptRule.go index 9ad7f144b96..9f82c8d1f97 100644 --- a/service/ses/api_op_DescribeReceiptRule.go +++ b/service/ses/api_op_DescribeReceiptRule.go @@ -89,7 +89,10 @@ func addOperationDescribeReceiptRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_DescribeReceiptRuleSet.go b/service/ses/api_op_DescribeReceiptRuleSet.go index ea654827ae9..172c436f505 100644 --- a/service/ses/api_op_DescribeReceiptRuleSet.go +++ b/service/ses/api_op_DescribeReceiptRuleSet.go @@ -86,7 +86,10 @@ func addOperationDescribeReceiptRuleSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetAccountSendingEnabled.go b/service/ses/api_op_GetAccountSendingEnabled.go index 5c33c160223..e8b93154b75 100644 --- a/service/ses/api_op_GetAccountSendingEnabled.go +++ b/service/ses/api_op_GetAccountSendingEnabled.go @@ -72,7 +72,10 @@ func addOperationGetAccountSendingEnabledMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetCustomVerificationEmailTemplate.go b/service/ses/api_op_GetCustomVerificationEmailTemplate.go index 8c3ac71260a..48fe565c211 100644 --- a/service/ses/api_op_GetCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_GetCustomVerificationEmailTemplate.go @@ -97,7 +97,10 @@ func addOperationGetCustomVerificationEmailTemplateMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetIdentityDkimAttributes.go b/service/ses/api_op_GetIdentityDkimAttributes.go index 9c5c7568f98..c089cc449aa 100644 --- a/service/ses/api_op_GetIdentityDkimAttributes.go +++ b/service/ses/api_op_GetIdentityDkimAttributes.go @@ -107,7 +107,10 @@ func addOperationGetIdentityDkimAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetIdentityMailFromDomainAttributes.go b/service/ses/api_op_GetIdentityMailFromDomainAttributes.go index 9d32f074833..bad8d222a0a 100644 --- a/service/ses/api_op_GetIdentityMailFromDomainAttributes.go +++ b/service/ses/api_op_GetIdentityMailFromDomainAttributes.go @@ -83,7 +83,10 @@ func addOperationGetIdentityMailFromDomainAttributesMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetIdentityNotificationAttributes.go b/service/ses/api_op_GetIdentityNotificationAttributes.go index bf9783fdcb9..793d61d62e2 100644 --- a/service/ses/api_op_GetIdentityNotificationAttributes.go +++ b/service/ses/api_op_GetIdentityNotificationAttributes.go @@ -88,7 +88,10 @@ func addOperationGetIdentityNotificationAttributesMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetIdentityPolicies.go b/service/ses/api_op_GetIdentityPolicies.go index 1b90ea09399..bf61e1278f5 100644 --- a/service/ses/api_op_GetIdentityPolicies.go +++ b/service/ses/api_op_GetIdentityPolicies.go @@ -100,7 +100,10 @@ func addOperationGetIdentityPoliciesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetIdentityVerificationAttributes.go b/service/ses/api_op_GetIdentityVerificationAttributes.go index cbf76950def..916b2e599e2 100644 --- a/service/ses/api_op_GetIdentityVerificationAttributes.go +++ b/service/ses/api_op_GetIdentityVerificationAttributes.go @@ -104,7 +104,10 @@ func addOperationGetIdentityVerificationAttributesMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetSendQuota.go b/service/ses/api_op_GetSendQuota.go index 90f9404b1bb..2da2c9993a3 100644 --- a/service/ses/api_op_GetSendQuota.go +++ b/service/ses/api_op_GetSendQuota.go @@ -80,7 +80,10 @@ func addOperationGetSendQuotaMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetSendStatistics.go b/service/ses/api_op_GetSendStatistics.go index c276f472b7b..5f574afb1c5 100644 --- a/service/ses/api_op_GetSendStatistics.go +++ b/service/ses/api_op_GetSendStatistics.go @@ -74,7 +74,10 @@ func addOperationGetSendStatisticsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_GetTemplate.go b/service/ses/api_op_GetTemplate.go index acce269ab6e..671a10b0449 100644 --- a/service/ses/api_op_GetTemplate.go +++ b/service/ses/api_op_GetTemplate.go @@ -77,7 +77,10 @@ func addOperationGetTemplateMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_ListConfigurationSets.go b/service/ses/api_op_ListConfigurationSets.go index a47bbc3b9ef..d46abc50a8f 100644 --- a/service/ses/api_op_ListConfigurationSets.go +++ b/service/ses/api_op_ListConfigurationSets.go @@ -97,7 +97,10 @@ func addOperationListConfigurationSetsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_ListCustomVerificationEmailTemplates.go b/service/ses/api_op_ListCustomVerificationEmailTemplates.go index 35227f199df..494f0d6062a 100644 --- a/service/ses/api_op_ListCustomVerificationEmailTemplates.go +++ b/service/ses/api_op_ListCustomVerificationEmailTemplates.go @@ -96,7 +96,10 @@ func addOperationListCustomVerificationEmailTemplatesMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_ListIdentities.go b/service/ses/api_op_ListIdentities.go index 06166d01e65..b490ce370c6 100644 --- a/service/ses/api_op_ListIdentities.go +++ b/service/ses/api_op_ListIdentities.go @@ -92,7 +92,10 @@ func addOperationListIdentitiesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_ListIdentityPolicies.go b/service/ses/api_op_ListIdentityPolicies.go index 33877b327b1..03caaf8a103 100644 --- a/service/ses/api_op_ListIdentityPolicies.go +++ b/service/ses/api_op_ListIdentityPolicies.go @@ -93,7 +93,10 @@ func addOperationListIdentityPoliciesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_ListReceiptFilters.go b/service/ses/api_op_ListReceiptFilters.go index 7b250a29a45..d9a2d51ceb1 100644 --- a/service/ses/api_op_ListReceiptFilters.go +++ b/service/ses/api_op_ListReceiptFilters.go @@ -79,7 +79,10 @@ func addOperationListReceiptFiltersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_ListReceiptRuleSets.go b/service/ses/api_op_ListReceiptRuleSets.go index 47d73e745db..7455a136b20 100644 --- a/service/ses/api_op_ListReceiptRuleSets.go +++ b/service/ses/api_op_ListReceiptRuleSets.go @@ -90,7 +90,10 @@ func addOperationListReceiptRuleSetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_ListTemplates.go b/service/ses/api_op_ListTemplates.go index cb4d0f7d4b8..e1186769ea3 100644 --- a/service/ses/api_op_ListTemplates.go +++ b/service/ses/api_op_ListTemplates.go @@ -86,7 +86,10 @@ func addOperationListTemplatesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_ListVerifiedEmailAddresses.go b/service/ses/api_op_ListVerifiedEmailAddresses.go index a0b32519bd9..de02785970f 100644 --- a/service/ses/api_op_ListVerifiedEmailAddresses.go +++ b/service/ses/api_op_ListVerifiedEmailAddresses.go @@ -71,7 +71,10 @@ func addOperationListVerifiedEmailAddressesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_PutConfigurationSetDeliveryOptions.go b/service/ses/api_op_PutConfigurationSetDeliveryOptions.go index 6e5408723b6..3c9b41540e1 100644 --- a/service/ses/api_op_PutConfigurationSetDeliveryOptions.go +++ b/service/ses/api_op_PutConfigurationSetDeliveryOptions.go @@ -78,7 +78,10 @@ func addOperationPutConfigurationSetDeliveryOptionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_PutIdentityPolicy.go b/service/ses/api_op_PutIdentityPolicy.go index 4714ac1db33..c18577bffa1 100644 --- a/service/ses/api_op_PutIdentityPolicy.go +++ b/service/ses/api_op_PutIdentityPolicy.go @@ -99,7 +99,10 @@ func addOperationPutIdentityPolicyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_ReorderReceiptRuleSet.go b/service/ses/api_op_ReorderReceiptRuleSet.go index 1a90f08a98d..43c90041869 100644 --- a/service/ses/api_op_ReorderReceiptRuleSet.go +++ b/service/ses/api_op_ReorderReceiptRuleSet.go @@ -85,7 +85,10 @@ func addOperationReorderReceiptRuleSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SendBounce.go b/service/ses/api_op_SendBounce.go index 9dbdc9cee79..1adf1e9011d 100644 --- a/service/ses/api_op_SendBounce.go +++ b/service/ses/api_op_SendBounce.go @@ -111,7 +111,10 @@ func addOperationSendBounceMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SendBulkTemplatedEmail.go b/service/ses/api_op_SendBulkTemplatedEmail.go index 821d497730a..4be2e8dbe42 100644 --- a/service/ses/api_op_SendBulkTemplatedEmail.go +++ b/service/ses/api_op_SendBulkTemplatedEmail.go @@ -202,7 +202,10 @@ func addOperationSendBulkTemplatedEmailMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SendCustomVerificationEmail.go b/service/ses/api_op_SendCustomVerificationEmail.go index 2bb9ab37d18..0b50a93be38 100644 --- a/service/ses/api_op_SendCustomVerificationEmail.go +++ b/service/ses/api_op_SendCustomVerificationEmail.go @@ -94,7 +94,10 @@ func addOperationSendCustomVerificationEmailMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SendEmail.go b/service/ses/api_op_SendEmail.go index cbdc6e1c258..b2d0c19e335 100644 --- a/service/ses/api_op_SendEmail.go +++ b/service/ses/api_op_SendEmail.go @@ -193,7 +193,10 @@ func addOperationSendEmailMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SendRawEmail.go b/service/ses/api_op_SendRawEmail.go index bd2f4d3c68a..489416b25d6 100644 --- a/service/ses/api_op_SendRawEmail.go +++ b/service/ses/api_op_SendRawEmail.go @@ -269,7 +269,10 @@ func addOperationSendRawEmailMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SendTemplatedEmail.go b/service/ses/api_op_SendTemplatedEmail.go index b44e4fc780e..326f8d83351 100644 --- a/service/ses/api_op_SendTemplatedEmail.go +++ b/service/ses/api_op_SendTemplatedEmail.go @@ -210,7 +210,10 @@ func addOperationSendTemplatedEmailMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SetActiveReceiptRuleSet.go b/service/ses/api_op_SetActiveReceiptRuleSet.go index 85802dcbe66..bfc4fdf1cf7 100644 --- a/service/ses/api_op_SetActiveReceiptRuleSet.go +++ b/service/ses/api_op_SetActiveReceiptRuleSet.go @@ -78,7 +78,10 @@ func addOperationSetActiveReceiptRuleSetMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SetIdentityDkimEnabled.go b/service/ses/api_op_SetIdentityDkimEnabled.go index 03b8cfdcf76..3adc666cae2 100644 --- a/service/ses/api_op_SetIdentityDkimEnabled.go +++ b/service/ses/api_op_SetIdentityDkimEnabled.go @@ -91,7 +91,10 @@ func addOperationSetIdentityDkimEnabledMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go b/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go index aaa6386ba04..7a895313697 100644 --- a/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go +++ b/service/ses/api_op_SetIdentityFeedbackForwardingEnabled.go @@ -93,7 +93,10 @@ func addOperationSetIdentityFeedbackForwardingEnabledMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go b/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go index aeb3b78ac12..755f22358db 100644 --- a/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go +++ b/service/ses/api_op_SetIdentityHeadersInNotificationsEnabled.go @@ -96,7 +96,10 @@ func addOperationSetIdentityHeadersInNotificationsEnabledMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SetIdentityMailFromDomain.go b/service/ses/api_op_SetIdentityMailFromDomain.go index d7511294292..ea9c235a148 100644 --- a/service/ses/api_op_SetIdentityMailFromDomain.go +++ b/service/ses/api_op_SetIdentityMailFromDomain.go @@ -101,7 +101,10 @@ func addOperationSetIdentityMailFromDomainMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SetIdentityNotificationTopic.go b/service/ses/api_op_SetIdentityNotificationTopic.go index e1c132b8386..74cba877a17 100644 --- a/service/ses/api_op_SetIdentityNotificationTopic.go +++ b/service/ses/api_op_SetIdentityNotificationTopic.go @@ -99,7 +99,10 @@ func addOperationSetIdentityNotificationTopicMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_SetReceiptRulePosition.go b/service/ses/api_op_SetReceiptRulePosition.go index f8dec2ef024..52eb1796beb 100644 --- a/service/ses/api_op_SetReceiptRulePosition.go +++ b/service/ses/api_op_SetReceiptRulePosition.go @@ -85,7 +85,10 @@ func addOperationSetReceiptRulePositionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_TestRenderTemplate.go b/service/ses/api_op_TestRenderTemplate.go index 91085e4d9e8..653e05b9c79 100644 --- a/service/ses/api_op_TestRenderTemplate.go +++ b/service/ses/api_op_TestRenderTemplate.go @@ -83,7 +83,10 @@ func addOperationTestRenderTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_UpdateAccountSendingEnabled.go b/service/ses/api_op_UpdateAccountSendingEnabled.go index ce016bc072a..36c5e1d81ff 100644 --- a/service/ses/api_op_UpdateAccountSendingEnabled.go +++ b/service/ses/api_op_UpdateAccountSendingEnabled.go @@ -75,7 +75,10 @@ func addOperationUpdateAccountSendingEnabledMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_UpdateConfigurationSetEventDestination.go b/service/ses/api_op_UpdateConfigurationSetEventDestination.go index 5975cc1f2c3..92d832783cd 100644 --- a/service/ses/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/ses/api_op_UpdateConfigurationSetEventDestination.go @@ -92,7 +92,10 @@ func addOperationUpdateConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go b/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go index 740b87a9fa1..b22774aa382 100644 --- a/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go +++ b/service/ses/api_op_UpdateConfigurationSetReputationMetricsEnabled.go @@ -81,7 +81,10 @@ func addOperationUpdateConfigurationSetReputationMetricsEnabledMiddlewares(stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go b/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go index 5b4f05a4e5d..b2ba1dea69f 100644 --- a/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go +++ b/service/ses/api_op_UpdateConfigurationSetSendingEnabled.go @@ -82,7 +82,10 @@ func addOperationUpdateConfigurationSetSendingEnabledMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go b/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go index 240708ddebc..b1731887f64 100644 --- a/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go +++ b/service/ses/api_op_UpdateConfigurationSetTrackingOptions.go @@ -88,7 +88,10 @@ func addOperationUpdateConfigurationSetTrackingOptionsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go b/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go index 154a8390dbc..239051d7778 100644 --- a/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go +++ b/service/ses/api_op_UpdateCustomVerificationEmailTemplate.go @@ -96,7 +96,10 @@ func addOperationUpdateCustomVerificationEmailTemplateMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_UpdateReceiptRule.go b/service/ses/api_op_UpdateReceiptRule.go index 1d5f1690721..f1301ef417e 100644 --- a/service/ses/api_op_UpdateReceiptRule.go +++ b/service/ses/api_op_UpdateReceiptRule.go @@ -82,7 +82,10 @@ func addOperationUpdateReceiptRuleMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_UpdateTemplate.go b/service/ses/api_op_UpdateTemplate.go index b87e5696376..306a1a97946 100644 --- a/service/ses/api_op_UpdateTemplate.go +++ b/service/ses/api_op_UpdateTemplate.go @@ -75,7 +75,10 @@ func addOperationUpdateTemplateMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_VerifyDomainDkim.go b/service/ses/api_op_VerifyDomainDkim.go index 4b9bb9ab008..390e2a5bd31 100644 --- a/service/ses/api_op_VerifyDomainDkim.go +++ b/service/ses/api_op_VerifyDomainDkim.go @@ -119,7 +119,10 @@ func addOperationVerifyDomainDkimMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_VerifyDomainIdentity.go b/service/ses/api_op_VerifyDomainIdentity.go index 70f737d85e8..0d25b28b5c0 100644 --- a/service/ses/api_op_VerifyDomainIdentity.go +++ b/service/ses/api_op_VerifyDomainIdentity.go @@ -93,7 +93,10 @@ func addOperationVerifyDomainIdentityMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_VerifyEmailAddress.go b/service/ses/api_op_VerifyEmailAddress.go index ce73594bdec..52b3cad65b2 100644 --- a/service/ses/api_op_VerifyEmailAddress.go +++ b/service/ses/api_op_VerifyEmailAddress.go @@ -72,7 +72,10 @@ func addOperationVerifyEmailAddressMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ses/api_op_VerifyEmailIdentity.go b/service/ses/api_op_VerifyEmailIdentity.go index fbb922cfb32..91e49494dd9 100644 --- a/service/ses/api_op_VerifyEmailIdentity.go +++ b/service/ses/api_op_VerifyEmailIdentity.go @@ -76,7 +76,10 @@ func addOperationVerifyEmailIdentityMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateConfigurationSet.go b/service/sesv2/api_op_CreateConfigurationSet.go index 2501a5bd82a..1e2cddce9e0 100644 --- a/service/sesv2/api_op_CreateConfigurationSet.go +++ b/service/sesv2/api_op_CreateConfigurationSet.go @@ -101,7 +101,10 @@ func addOperationCreateConfigurationSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateConfigurationSetEventDestination.go b/service/sesv2/api_op_CreateConfigurationSetEventDestination.go index 55ee00f3109..ecc050377a5 100644 --- a/service/sesv2/api_op_CreateConfigurationSetEventDestination.go +++ b/service/sesv2/api_op_CreateConfigurationSetEventDestination.go @@ -89,7 +89,10 @@ func addOperationCreateConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateContact.go b/service/sesv2/api_op_CreateContact.go index 590469642dc..e9797987474 100644 --- a/service/sesv2/api_op_CreateContact.go +++ b/service/sesv2/api_op_CreateContact.go @@ -86,7 +86,10 @@ func addOperationCreateContactMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateContactList.go b/service/sesv2/api_op_CreateContactList.go index 0f01874e442..3bdae50358e 100644 --- a/service/sesv2/api_op_CreateContactList.go +++ b/service/sesv2/api_op_CreateContactList.go @@ -80,7 +80,10 @@ func addOperationCreateContactListMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go b/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go index 545a06f703b..13c07aae0fe 100644 --- a/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_CreateCustomVerificationEmailTemplate.go @@ -108,7 +108,10 @@ func addOperationCreateCustomVerificationEmailTemplateMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateDedicatedIpPool.go b/service/sesv2/api_op_CreateDedicatedIpPool.go index 78bb5f1d6a1..0b6a596e6ed 100644 --- a/service/sesv2/api_op_CreateDedicatedIpPool.go +++ b/service/sesv2/api_op_CreateDedicatedIpPool.go @@ -81,7 +81,10 @@ func addOperationCreateDedicatedIpPoolMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateDeliverabilityTestReport.go b/service/sesv2/api_op_CreateDeliverabilityTestReport.go index 439e385f56e..57e7a160363 100644 --- a/service/sesv2/api_op_CreateDeliverabilityTestReport.go +++ b/service/sesv2/api_op_CreateDeliverabilityTestReport.go @@ -115,7 +115,10 @@ func addOperationCreateDeliverabilityTestReportMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateEmailIdentity.go b/service/sesv2/api_op_CreateEmailIdentity.go index ac02fcbb1cd..b3e76ec222c 100644 --- a/service/sesv2/api_op_CreateEmailIdentity.go +++ b/service/sesv2/api_op_CreateEmailIdentity.go @@ -118,7 +118,10 @@ func addOperationCreateEmailIdentityMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateEmailIdentityPolicy.go b/service/sesv2/api_op_CreateEmailIdentityPolicy.go index f99580e412e..4b6ffb2d046 100644 --- a/service/sesv2/api_op_CreateEmailIdentityPolicy.go +++ b/service/sesv2/api_op_CreateEmailIdentityPolicy.go @@ -97,7 +97,10 @@ func addOperationCreateEmailIdentityPolicyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateEmailTemplate.go b/service/sesv2/api_op_CreateEmailTemplate.go index a777a0ee6b7..8de39b19be0 100644 --- a/service/sesv2/api_op_CreateEmailTemplate.go +++ b/service/sesv2/api_op_CreateEmailTemplate.go @@ -85,7 +85,10 @@ func addOperationCreateEmailTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_CreateImportJob.go b/service/sesv2/api_op_CreateImportJob.go index f3e20a801e1..a1ccb553618 100644 --- a/service/sesv2/api_op_CreateImportJob.go +++ b/service/sesv2/api_op_CreateImportJob.go @@ -83,7 +83,10 @@ func addOperationCreateImportJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteConfigurationSet.go b/service/sesv2/api_op_DeleteConfigurationSet.go index c0602fddf4e..9cd0c148eb3 100644 --- a/service/sesv2/api_op_DeleteConfigurationSet.go +++ b/service/sesv2/api_op_DeleteConfigurationSet.go @@ -76,7 +76,10 @@ func addOperationDeleteConfigurationSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go b/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go index ec350bfa3a2..29a73c099f0 100644 --- a/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go +++ b/service/sesv2/api_op_DeleteConfigurationSetEventDestination.go @@ -83,7 +83,10 @@ func addOperationDeleteConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteContact.go b/service/sesv2/api_op_DeleteContact.go index 7540f0c2f08..36ae1b8c50d 100644 --- a/service/sesv2/api_op_DeleteContact.go +++ b/service/sesv2/api_op_DeleteContact.go @@ -74,7 +74,10 @@ func addOperationDeleteContactMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteContactList.go b/service/sesv2/api_op_DeleteContactList.go index b75a493c988..6a56a694c4d 100644 --- a/service/sesv2/api_op_DeleteContactList.go +++ b/service/sesv2/api_op_DeleteContactList.go @@ -69,7 +69,10 @@ func addOperationDeleteContactListMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go b/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go index 9da2a87bb98..d9c959673c0 100644 --- a/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_DeleteCustomVerificationEmailTemplate.go @@ -77,7 +77,10 @@ func addOperationDeleteCustomVerificationEmailTemplateMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteDedicatedIpPool.go b/service/sesv2/api_op_DeleteDedicatedIpPool.go index 30b37c34ad7..f781c2ba540 100644 --- a/service/sesv2/api_op_DeleteDedicatedIpPool.go +++ b/service/sesv2/api_op_DeleteDedicatedIpPool.go @@ -72,7 +72,10 @@ func addOperationDeleteDedicatedIpPoolMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteEmailIdentity.go b/service/sesv2/api_op_DeleteEmailIdentity.go index aa0f58823dc..daab29df886 100644 --- a/service/sesv2/api_op_DeleteEmailIdentity.go +++ b/service/sesv2/api_op_DeleteEmailIdentity.go @@ -75,7 +75,10 @@ func addOperationDeleteEmailIdentityMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteEmailIdentityPolicy.go b/service/sesv2/api_op_DeleteEmailIdentityPolicy.go index 325f16f19b3..2d9649c05c9 100644 --- a/service/sesv2/api_op_DeleteEmailIdentityPolicy.go +++ b/service/sesv2/api_op_DeleteEmailIdentityPolicy.go @@ -90,7 +90,10 @@ func addOperationDeleteEmailIdentityPolicyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteEmailTemplate.go b/service/sesv2/api_op_DeleteEmailTemplate.go index 32223672dcb..fff57f1b43b 100644 --- a/service/sesv2/api_op_DeleteEmailTemplate.go +++ b/service/sesv2/api_op_DeleteEmailTemplate.go @@ -75,7 +75,10 @@ func addOperationDeleteEmailTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_DeleteSuppressedDestination.go b/service/sesv2/api_op_DeleteSuppressedDestination.go index f666d1e48fc..e6f5178c66c 100644 --- a/service/sesv2/api_op_DeleteSuppressedDestination.go +++ b/service/sesv2/api_op_DeleteSuppressedDestination.go @@ -72,7 +72,10 @@ func addOperationDeleteSuppressedDestinationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetAccount.go b/service/sesv2/api_op_GetAccount.go index 5a4930a7161..8a5b276b566 100644 --- a/service/sesv2/api_op_GetAccount.go +++ b/service/sesv2/api_op_GetAccount.go @@ -117,7 +117,10 @@ func addOperationGetAccountMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetBlacklistReports.go b/service/sesv2/api_op_GetBlacklistReports.go index 3353064ee48..6a8e15f2417 100644 --- a/service/sesv2/api_op_GetBlacklistReports.go +++ b/service/sesv2/api_op_GetBlacklistReports.go @@ -82,7 +82,10 @@ func addOperationGetBlacklistReportsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetConfigurationSet.go b/service/sesv2/api_op_GetConfigurationSet.go index 018dd165ae9..6335684f630 100644 --- a/service/sesv2/api_op_GetConfigurationSet.go +++ b/service/sesv2/api_op_GetConfigurationSet.go @@ -107,7 +107,10 @@ func addOperationGetConfigurationSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetConfigurationSetEventDestinations.go b/service/sesv2/api_op_GetConfigurationSetEventDestinations.go index 4cb0a8ed5d4..6ab47af9633 100644 --- a/service/sesv2/api_op_GetConfigurationSetEventDestinations.go +++ b/service/sesv2/api_op_GetConfigurationSetEventDestinations.go @@ -83,7 +83,10 @@ func addOperationGetConfigurationSetEventDestinationsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetContact.go b/service/sesv2/api_op_GetContact.go index de9e724f76b..ff302b8b3f8 100644 --- a/service/sesv2/api_op_GetContact.go +++ b/service/sesv2/api_op_GetContact.go @@ -102,7 +102,10 @@ func addOperationGetContactMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetContactList.go b/service/sesv2/api_op_GetContactList.go index 7c7567389b5..f86af82a4cc 100644 --- a/service/sesv2/api_op_GetContactList.go +++ b/service/sesv2/api_op_GetContactList.go @@ -92,7 +92,10 @@ func addOperationGetContactListMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go b/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go index f7c0c84035b..17c37ba71b3 100644 --- a/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_GetCustomVerificationEmailTemplate.go @@ -97,7 +97,10 @@ func addOperationGetCustomVerificationEmailTemplateMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetDedicatedIp.go b/service/sesv2/api_op_GetDedicatedIp.go index 10062651a38..c5ada281754 100644 --- a/service/sesv2/api_op_GetDedicatedIp.go +++ b/service/sesv2/api_op_GetDedicatedIp.go @@ -80,7 +80,10 @@ func addOperationGetDedicatedIpMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetDedicatedIps.go b/service/sesv2/api_op_GetDedicatedIps.go index 10fb2f9efcc..ef65ff0d438 100644 --- a/service/sesv2/api_op_GetDedicatedIps.go +++ b/service/sesv2/api_op_GetDedicatedIps.go @@ -91,7 +91,10 @@ func addOperationGetDedicatedIpsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go b/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go index eda9eb907bb..4460d631208 100644 --- a/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go +++ b/service/sesv2/api_op_GetDeliverabilityDashboardOptions.go @@ -113,7 +113,10 @@ func addOperationGetDeliverabilityDashboardOptionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetDeliverabilityTestReport.go b/service/sesv2/api_op_GetDeliverabilityTestReport.go index 6b0efb3958d..eeac2b943a5 100644 --- a/service/sesv2/api_op_GetDeliverabilityTestReport.go +++ b/service/sesv2/api_op_GetDeliverabilityTestReport.go @@ -99,7 +99,10 @@ func addOperationGetDeliverabilityTestReportMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go b/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go index d97010318cf..15f8eb2fb71 100644 --- a/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go +++ b/service/sesv2/api_op_GetDomainDeliverabilityCampaign.go @@ -86,7 +86,10 @@ func addOperationGetDomainDeliverabilityCampaignMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetDomainStatisticsReport.go b/service/sesv2/api_op_GetDomainStatisticsReport.go index b86e54f7f24..de4477121d5 100644 --- a/service/sesv2/api_op_GetDomainStatisticsReport.go +++ b/service/sesv2/api_op_GetDomainStatisticsReport.go @@ -103,7 +103,10 @@ func addOperationGetDomainStatisticsReportMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetEmailIdentity.go b/service/sesv2/api_op_GetEmailIdentity.go index ac25b8698f0..f962506d56b 100644 --- a/service/sesv2/api_op_GetEmailIdentity.go +++ b/service/sesv2/api_op_GetEmailIdentity.go @@ -108,7 +108,10 @@ func addOperationGetEmailIdentityMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetEmailIdentityPolicies.go b/service/sesv2/api_op_GetEmailIdentityPolicies.go index 94f20e19601..516339b5386 100644 --- a/service/sesv2/api_op_GetEmailIdentityPolicies.go +++ b/service/sesv2/api_op_GetEmailIdentityPolicies.go @@ -83,7 +83,10 @@ func addOperationGetEmailIdentityPoliciesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetEmailTemplate.go b/service/sesv2/api_op_GetEmailTemplate.go index 15672b94fcc..cf92a71421b 100644 --- a/service/sesv2/api_op_GetEmailTemplate.go +++ b/service/sesv2/api_op_GetEmailTemplate.go @@ -87,7 +87,10 @@ func addOperationGetEmailTemplateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetImportJob.go b/service/sesv2/api_op_GetImportJob.go index 56727e79600..b6e32798058 100644 --- a/service/sesv2/api_op_GetImportJob.go +++ b/service/sesv2/api_op_GetImportJob.go @@ -104,7 +104,10 @@ func addOperationGetImportJobMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_GetSuppressedDestination.go b/service/sesv2/api_op_GetSuppressedDestination.go index 17cefe1f92e..fb1c77f87c8 100644 --- a/service/sesv2/api_op_GetSuppressedDestination.go +++ b/service/sesv2/api_op_GetSuppressedDestination.go @@ -80,7 +80,10 @@ func addOperationGetSuppressedDestinationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListConfigurationSets.go b/service/sesv2/api_op_ListConfigurationSets.go index 192c84db4eb..a929e8c9797 100644 --- a/service/sesv2/api_op_ListConfigurationSets.go +++ b/service/sesv2/api_op_ListConfigurationSets.go @@ -94,7 +94,10 @@ func addOperationListConfigurationSetsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListContactLists.go b/service/sesv2/api_op_ListContactLists.go index adabdbfc80c..bc52860c4a0 100644 --- a/service/sesv2/api_op_ListContactLists.go +++ b/service/sesv2/api_op_ListContactLists.go @@ -87,7 +87,10 @@ func addOperationListContactListsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListContacts.go b/service/sesv2/api_op_ListContacts.go index 3b660a3af33..9b72b4b1644 100644 --- a/service/sesv2/api_op_ListContacts.go +++ b/service/sesv2/api_op_ListContacts.go @@ -95,7 +95,10 @@ func addOperationListContactsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go b/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go index 70a48eedaa8..29ad743c914 100644 --- a/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go +++ b/service/sesv2/api_op_ListCustomVerificationEmailTemplates.go @@ -95,7 +95,10 @@ func addOperationListCustomVerificationEmailTemplatesMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListDedicatedIpPools.go b/service/sesv2/api_op_ListDedicatedIpPools.go index 9b3c36da8dc..ad702a10e8d 100644 --- a/service/sesv2/api_op_ListDedicatedIpPools.go +++ b/service/sesv2/api_op_ListDedicatedIpPools.go @@ -88,7 +88,10 @@ func addOperationListDedicatedIpPoolsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListDeliverabilityTestReports.go b/service/sesv2/api_op_ListDeliverabilityTestReports.go index f3883c93dbd..f3bee176259 100644 --- a/service/sesv2/api_op_ListDeliverabilityTestReports.go +++ b/service/sesv2/api_op_ListDeliverabilityTestReports.go @@ -97,7 +97,10 @@ func addOperationListDeliverabilityTestReportsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go b/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go index a62b95a6f82..3940ce7c14c 100644 --- a/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go +++ b/service/sesv2/api_op_ListDomainDeliverabilityCampaigns.go @@ -117,7 +117,10 @@ func addOperationListDomainDeliverabilityCampaignsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListEmailIdentities.go b/service/sesv2/api_op_ListEmailIdentities.go index 3ad2a7e0f10..adfe76e1315 100644 --- a/service/sesv2/api_op_ListEmailIdentities.go +++ b/service/sesv2/api_op_ListEmailIdentities.go @@ -97,7 +97,10 @@ func addOperationListEmailIdentitiesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListEmailTemplates.go b/service/sesv2/api_op_ListEmailTemplates.go index 7ea83b29ea5..0e4a6f1207e 100644 --- a/service/sesv2/api_op_ListEmailTemplates.go +++ b/service/sesv2/api_op_ListEmailTemplates.go @@ -93,7 +93,10 @@ func addOperationListEmailTemplatesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListImportJobs.go b/service/sesv2/api_op_ListImportJobs.go index 13275aa65d5..ff5740361e2 100644 --- a/service/sesv2/api_op_ListImportJobs.go +++ b/service/sesv2/api_op_ListImportJobs.go @@ -94,7 +94,10 @@ func addOperationListImportJobsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListSuppressedDestinations.go b/service/sesv2/api_op_ListSuppressedDestinations.go index 48be63f0bd5..eda8100d163 100644 --- a/service/sesv2/api_op_ListSuppressedDestinations.go +++ b/service/sesv2/api_op_ListSuppressedDestinations.go @@ -105,7 +105,10 @@ func addOperationListSuppressedDestinationsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_ListTagsForResource.go b/service/sesv2/api_op_ListTagsForResource.go index 4725bf13d1d..8abea1475e8 100644 --- a/service/sesv2/api_op_ListTagsForResource.go +++ b/service/sesv2/api_op_ListTagsForResource.go @@ -82,7 +82,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go b/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go index c6b68693477..1e990e886e8 100644 --- a/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go +++ b/service/sesv2/api_op_PutAccountDedicatedIpWarmupAttributes.go @@ -72,7 +72,10 @@ func addOperationPutAccountDedicatedIpWarmupAttributesMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutAccountDetails.go b/service/sesv2/api_op_PutAccountDetails.go index 0a5fc61b4da..f7995f81a35 100644 --- a/service/sesv2/api_op_PutAccountDetails.go +++ b/service/sesv2/api_op_PutAccountDetails.go @@ -102,7 +102,10 @@ func addOperationPutAccountDetailsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutAccountSendingAttributes.go b/service/sesv2/api_op_PutAccountSendingAttributes.go index 08b2234d948..d0f2a3bf609 100644 --- a/service/sesv2/api_op_PutAccountSendingAttributes.go +++ b/service/sesv2/api_op_PutAccountSendingAttributes.go @@ -73,7 +73,10 @@ func addOperationPutAccountSendingAttributesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutAccountSuppressionAttributes.go b/service/sesv2/api_op_PutAccountSuppressionAttributes.go index 712bf77af7a..08f1497693d 100644 --- a/service/sesv2/api_op_PutAccountSuppressionAttributes.go +++ b/service/sesv2/api_op_PutAccountSuppressionAttributes.go @@ -81,7 +81,10 @@ func addOperationPutAccountSuppressionAttributesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go b/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go index a494f91dcb6..f46c8a7245d 100644 --- a/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetDeliveryOptions.go @@ -87,7 +87,10 @@ func addOperationPutConfigurationSetDeliveryOptionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutConfigurationSetReputationOptions.go b/service/sesv2/api_op_PutConfigurationSetReputationOptions.go index 9bb37e30ea8..959288bb962 100644 --- a/service/sesv2/api_op_PutConfigurationSetReputationOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetReputationOptions.go @@ -79,7 +79,10 @@ func addOperationPutConfigurationSetReputationOptionsMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutConfigurationSetSendingOptions.go b/service/sesv2/api_op_PutConfigurationSetSendingOptions.go index 52156d551d0..eabaa3dfbcd 100644 --- a/service/sesv2/api_op_PutConfigurationSetSendingOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetSendingOptions.go @@ -79,7 +79,10 @@ func addOperationPutConfigurationSetSendingOptionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go b/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go index 4eb0a26ffc5..82ae2f5a0e7 100644 --- a/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetSuppressionOptions.go @@ -87,7 +87,10 @@ func addOperationPutConfigurationSetSuppressionOptionsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go b/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go index 84ab92c4a20..792bb7b6f49 100644 --- a/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go +++ b/service/sesv2/api_op_PutConfigurationSetTrackingOptions.go @@ -78,7 +78,10 @@ func addOperationPutConfigurationSetTrackingOptionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutDedicatedIpInPool.go b/service/sesv2/api_op_PutDedicatedIpInPool.go index 3d80ccd937f..8ef1be7b684 100644 --- a/service/sesv2/api_op_PutDedicatedIpInPool.go +++ b/service/sesv2/api_op_PutDedicatedIpInPool.go @@ -83,7 +83,10 @@ func addOperationPutDedicatedIpInPoolMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go b/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go index cd3664c1e0c..0b73988ffb8 100644 --- a/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go +++ b/service/sesv2/api_op_PutDedicatedIpWarmupAttributes.go @@ -79,7 +79,10 @@ func addOperationPutDedicatedIpWarmupAttributesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutDeliverabilityDashboardOption.go b/service/sesv2/api_op_PutDeliverabilityDashboardOption.go index f6ed4f53e11..f99f5250a5f 100644 --- a/service/sesv2/api_op_PutDeliverabilityDashboardOption.go +++ b/service/sesv2/api_op_PutDeliverabilityDashboardOption.go @@ -92,7 +92,10 @@ func addOperationPutDeliverabilityDashboardOptionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go b/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go index 0165ae5787a..b4aa131404f 100644 --- a/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityDkimAttributes.go @@ -78,7 +78,10 @@ func addOperationPutEmailIdentityDkimAttributesMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go b/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go index 99bc5d6c5fc..7b1fb40434d 100644 --- a/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityDkimSigningAttributes.go @@ -150,7 +150,10 @@ func addOperationPutEmailIdentityDkimSigningAttributesMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go b/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go index eae8ae8e7f9..e234ecbe55e 100644 --- a/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityFeedbackAttributes.go @@ -92,7 +92,10 @@ func addOperationPutEmailIdentityFeedbackAttributesMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go b/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go index 66b55c276bf..0217e54e6c1 100644 --- a/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go +++ b/service/sesv2/api_op_PutEmailIdentityMailFromAttributes.go @@ -97,7 +97,10 @@ func addOperationPutEmailIdentityMailFromAttributesMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_PutSuppressedDestination.go b/service/sesv2/api_op_PutSuppressedDestination.go index 05d7f6c160a..1f1a3f17e18 100644 --- a/service/sesv2/api_op_PutSuppressedDestination.go +++ b/service/sesv2/api_op_PutSuppressedDestination.go @@ -79,7 +79,10 @@ func addOperationPutSuppressedDestinationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_SendBulkEmail.go b/service/sesv2/api_op_SendBulkEmail.go index 1de743b6663..3ea67763791 100644 --- a/service/sesv2/api_op_SendBulkEmail.go +++ b/service/sesv2/api_op_SendBulkEmail.go @@ -131,7 +131,10 @@ func addOperationSendBulkEmailMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_SendCustomVerificationEmail.go b/service/sesv2/api_op_SendCustomVerificationEmail.go index 9c55289bb2c..d1a3e81dafd 100644 --- a/service/sesv2/api_op_SendCustomVerificationEmail.go +++ b/service/sesv2/api_op_SendCustomVerificationEmail.go @@ -94,7 +94,10 @@ func addOperationSendCustomVerificationEmailMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_SendEmail.go b/service/sesv2/api_op_SendEmail.go index 9213aac8eeb..d5bef4dcc52 100644 --- a/service/sesv2/api_op_SendEmail.go +++ b/service/sesv2/api_op_SendEmail.go @@ -153,7 +153,10 @@ func addOperationSendEmailMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_TagResource.go b/service/sesv2/api_op_TagResource.go index cfcc5ff297d..06f771aac7c 100644 --- a/service/sesv2/api_op_TagResource.go +++ b/service/sesv2/api_op_TagResource.go @@ -85,7 +85,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_TestRenderEmailTemplate.go b/service/sesv2/api_op_TestRenderEmailTemplate.go index 6aa884c33ac..e588a4e4144 100644 --- a/service/sesv2/api_op_TestRenderEmailTemplate.go +++ b/service/sesv2/api_op_TestRenderEmailTemplate.go @@ -88,7 +88,10 @@ func addOperationTestRenderEmailTemplateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_UntagResource.go b/service/sesv2/api_op_UntagResource.go index 242d43a1ee6..0259ba8012a 100644 --- a/service/sesv2/api_op_UntagResource.go +++ b/service/sesv2/api_op_UntagResource.go @@ -79,7 +79,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go b/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go index c201e274108..7ef460860ba 100644 --- a/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go +++ b/service/sesv2/api_op_UpdateConfigurationSetEventDestination.go @@ -90,7 +90,10 @@ func addOperationUpdateConfigurationSetEventDestinationMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_UpdateContact.go b/service/sesv2/api_op_UpdateContact.go index 955ae760014..a5fb018728c 100644 --- a/service/sesv2/api_op_UpdateContact.go +++ b/service/sesv2/api_op_UpdateContact.go @@ -87,7 +87,10 @@ func addOperationUpdateContactMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_UpdateContactList.go b/service/sesv2/api_op_UpdateContactList.go index 536deed69d0..0ecd0c04ae0 100644 --- a/service/sesv2/api_op_UpdateContactList.go +++ b/service/sesv2/api_op_UpdateContactList.go @@ -77,7 +77,10 @@ func addOperationUpdateContactListMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go b/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go index 87e1047537e..333673eadac 100644 --- a/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go +++ b/service/sesv2/api_op_UpdateCustomVerificationEmailTemplate.go @@ -108,7 +108,10 @@ func addOperationUpdateCustomVerificationEmailTemplateMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_UpdateEmailIdentityPolicy.go b/service/sesv2/api_op_UpdateEmailIdentityPolicy.go index 7f1552b107b..be53d902489 100644 --- a/service/sesv2/api_op_UpdateEmailIdentityPolicy.go +++ b/service/sesv2/api_op_UpdateEmailIdentityPolicy.go @@ -98,7 +98,10 @@ func addOperationUpdateEmailIdentityPolicyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sesv2/api_op_UpdateEmailTemplate.go b/service/sesv2/api_op_UpdateEmailTemplate.go index 3589cbab9e1..bc567da1708 100644 --- a/service/sesv2/api_op_UpdateEmailTemplate.go +++ b/service/sesv2/api_op_UpdateEmailTemplate.go @@ -85,7 +85,10 @@ func addOperationUpdateEmailTemplateMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_CreateActivity.go b/service/sfn/api_op_CreateActivity.go index 86fda5a5346..e43dcce5925 100644 --- a/service/sfn/api_op_CreateActivity.go +++ b/service/sfn/api_op_CreateActivity.go @@ -124,7 +124,10 @@ func addOperationCreateActivityMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_CreateStateMachine.go b/service/sfn/api_op_CreateStateMachine.go index cccdb5a9456..c6321b4c1f5 100644 --- a/service/sfn/api_op_CreateStateMachine.go +++ b/service/sfn/api_op_CreateStateMachine.go @@ -148,7 +148,10 @@ func addOperationCreateStateMachineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_DeleteActivity.go b/service/sfn/api_op_DeleteActivity.go index 4bcbf31d876..3296a0444a7 100644 --- a/service/sfn/api_op_DeleteActivity.go +++ b/service/sfn/api_op_DeleteActivity.go @@ -69,7 +69,10 @@ func addOperationDeleteActivityMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_DeleteStateMachine.go b/service/sfn/api_op_DeleteStateMachine.go index 5adb670cde2..5feee5447fe 100644 --- a/service/sfn/api_op_DeleteStateMachine.go +++ b/service/sfn/api_op_DeleteStateMachine.go @@ -72,7 +72,10 @@ func addOperationDeleteStateMachineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_DescribeActivity.go b/service/sfn/api_op_DescribeActivity.go index 3ebe64a50cf..d03b2936141 100644 --- a/service/sfn/api_op_DescribeActivity.go +++ b/service/sfn/api_op_DescribeActivity.go @@ -102,7 +102,10 @@ func addOperationDescribeActivityMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_DescribeExecution.go b/service/sfn/api_op_DescribeExecution.go index b4839d8118f..f4347070676 100644 --- a/service/sfn/api_op_DescribeExecution.go +++ b/service/sfn/api_op_DescribeExecution.go @@ -134,7 +134,10 @@ func addOperationDescribeExecutionMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_DescribeStateMachine.go b/service/sfn/api_op_DescribeStateMachine.go index 1f1721b86ec..98ec05d41d9 100644 --- a/service/sfn/api_op_DescribeStateMachine.go +++ b/service/sfn/api_op_DescribeStateMachine.go @@ -132,7 +132,10 @@ func addOperationDescribeStateMachineMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_DescribeStateMachineForExecution.go b/service/sfn/api_op_DescribeStateMachineForExecution.go index 903adc6897d..e4764348cbd 100644 --- a/service/sfn/api_op_DescribeStateMachineForExecution.go +++ b/service/sfn/api_op_DescribeStateMachineForExecution.go @@ -112,7 +112,10 @@ func addOperationDescribeStateMachineForExecutionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_GetActivityTask.go b/service/sfn/api_op_GetActivityTask.go index 941ffab0b27..2151b3b3351 100644 --- a/service/sfn/api_op_GetActivityTask.go +++ b/service/sfn/api_op_GetActivityTask.go @@ -95,7 +95,10 @@ func addOperationGetActivityTaskMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_GetExecutionHistory.go b/service/sfn/api_op_GetExecutionHistory.go index 00399590271..50e1aaded18 100644 --- a/service/sfn/api_op_GetExecutionHistory.go +++ b/service/sfn/api_op_GetExecutionHistory.go @@ -113,7 +113,10 @@ func addOperationGetExecutionHistoryMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_ListActivities.go b/service/sfn/api_op_ListActivities.go index aa43031056d..b681f59a6be 100644 --- a/service/sfn/api_op_ListActivities.go +++ b/service/sfn/api_op_ListActivities.go @@ -99,7 +99,10 @@ func addOperationListActivitiesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_ListExecutions.go b/service/sfn/api_op_ListExecutions.go index 1de1b036c16..f795df02a49 100644 --- a/service/sfn/api_op_ListExecutions.go +++ b/service/sfn/api_op_ListExecutions.go @@ -110,7 +110,10 @@ func addOperationListExecutionsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_ListStateMachines.go b/service/sfn/api_op_ListStateMachines.go index 00792a6bca2..de5fadcd6ff 100644 --- a/service/sfn/api_op_ListStateMachines.go +++ b/service/sfn/api_op_ListStateMachines.go @@ -97,7 +97,10 @@ func addOperationListStateMachinesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_ListTagsForResource.go b/service/sfn/api_op_ListTagsForResource.go index 6d9cb009169..9f4477ee0ce 100644 --- a/service/sfn/api_op_ListTagsForResource.go +++ b/service/sfn/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_SendTaskFailure.go b/service/sfn/api_op_SendTaskFailure.go index fe21d2f2b29..06418019ede 100644 --- a/service/sfn/api_op_SendTaskFailure.go +++ b/service/sfn/api_op_SendTaskFailure.go @@ -80,7 +80,10 @@ func addOperationSendTaskFailureMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_SendTaskHeartbeat.go b/service/sfn/api_op_SendTaskHeartbeat.go index 7df5dbba90c..a1f8bd4ecac 100644 --- a/service/sfn/api_op_SendTaskHeartbeat.go +++ b/service/sfn/api_op_SendTaskHeartbeat.go @@ -87,7 +87,10 @@ func addOperationSendTaskHeartbeatMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_SendTaskSuccess.go b/service/sfn/api_op_SendTaskSuccess.go index afafed5f7be..ddc1a5416f5 100644 --- a/service/sfn/api_op_SendTaskSuccess.go +++ b/service/sfn/api_op_SendTaskSuccess.go @@ -81,7 +81,10 @@ func addOperationSendTaskSuccessMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_StartExecution.go b/service/sfn/api_op_StartExecution.go index 70757fd136b..4ff202930f9 100644 --- a/service/sfn/api_op_StartExecution.go +++ b/service/sfn/api_op_StartExecution.go @@ -119,7 +119,10 @@ func addOperationStartExecutionMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_StartSyncExecution.go b/service/sfn/api_op_StartSyncExecution.go index 0e640bd1981..d61dad053e7 100644 --- a/service/sfn/api_op_StartSyncExecution.go +++ b/service/sfn/api_op_StartSyncExecution.go @@ -142,7 +142,10 @@ func addOperationStartSyncExecutionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_StopExecution.go b/service/sfn/api_op_StopExecution.go index f29c5d43716..20b1cecf7e3 100644 --- a/service/sfn/api_op_StopExecution.go +++ b/service/sfn/api_op_StopExecution.go @@ -82,7 +82,10 @@ func addOperationStopExecutionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_TagResource.go b/service/sfn/api_op_TagResource.go index 551cc379d73..1ca7c0098df 100644 --- a/service/sfn/api_op_TagResource.go +++ b/service/sfn/api_op_TagResource.go @@ -83,7 +83,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_UntagResource.go b/service/sfn/api_op_UntagResource.go index d6fc27b364a..7857b3c8877 100644 --- a/service/sfn/api_op_UntagResource.go +++ b/service/sfn/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sfn/api_op_UpdateStateMachine.go b/service/sfn/api_op_UpdateStateMachine.go index ae0393ae2de..6443b377c09 100644 --- a/service/sfn/api_op_UpdateStateMachine.go +++ b/service/sfn/api_op_UpdateStateMachine.go @@ -97,7 +97,10 @@ func addOperationUpdateStateMachineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_AssociateDRTLogBucket.go b/service/shield/api_op_AssociateDRTLogBucket.go index 2a0b32ecfa8..67f1e3c4892 100644 --- a/service/shield/api_op_AssociateDRTLogBucket.go +++ b/service/shield/api_op_AssociateDRTLogBucket.go @@ -74,7 +74,10 @@ func addOperationAssociateDRTLogBucketMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_AssociateDRTRole.go b/service/shield/api_op_AssociateDRTRole.go index 1fe288cb51e..26f77e21803 100644 --- a/service/shield/api_op_AssociateDRTRole.go +++ b/service/shield/api_op_AssociateDRTRole.go @@ -101,7 +101,10 @@ func addOperationAssociateDRTRoleMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_AssociateHealthCheck.go b/service/shield/api_op_AssociateHealthCheck.go index b029e01830b..33e7a18bc20 100644 --- a/service/shield/api_op_AssociateHealthCheck.go +++ b/service/shield/api_op_AssociateHealthCheck.go @@ -84,7 +84,10 @@ func addOperationAssociateHealthCheckMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_AssociateProactiveEngagementDetails.go b/service/shield/api_op_AssociateProactiveEngagementDetails.go index 88c374f154d..114db4e4f39 100644 --- a/service/shield/api_op_AssociateProactiveEngagementDetails.go +++ b/service/shield/api_op_AssociateProactiveEngagementDetails.go @@ -86,7 +86,10 @@ func addOperationAssociateProactiveEngagementDetailsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_CreateProtection.go b/service/shield/api_op_CreateProtection.go index b0af52bda59..db961d9212c 100644 --- a/service/shield/api_op_CreateProtection.go +++ b/service/shield/api_op_CreateProtection.go @@ -109,7 +109,10 @@ func addOperationCreateProtectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_CreateProtectionGroup.go b/service/shield/api_op_CreateProtectionGroup.go index 3e3c94c43ac..d219425484b 100644 --- a/service/shield/api_op_CreateProtectionGroup.go +++ b/service/shield/api_op_CreateProtectionGroup.go @@ -114,7 +114,10 @@ func addOperationCreateProtectionGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_CreateSubscription.go b/service/shield/api_op_CreateSubscription.go index 156e42e05e7..8495a2959f0 100644 --- a/service/shield/api_op_CreateSubscription.go +++ b/service/shield/api_op_CreateSubscription.go @@ -67,7 +67,10 @@ func addOperationCreateSubscriptionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DeleteProtection.go b/service/shield/api_op_DeleteProtection.go index 0a108d6cf2b..be875e3834b 100644 --- a/service/shield/api_op_DeleteProtection.go +++ b/service/shield/api_op_DeleteProtection.go @@ -69,7 +69,10 @@ func addOperationDeleteProtectionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DeleteProtectionGroup.go b/service/shield/api_op_DeleteProtectionGroup.go index 70def33d899..6c5b38de4bf 100644 --- a/service/shield/api_op_DeleteProtectionGroup.go +++ b/service/shield/api_op_DeleteProtectionGroup.go @@ -71,7 +71,10 @@ func addOperationDeleteProtectionGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DeleteSubscription.go b/service/shield/api_op_DeleteSubscription.go index c8baced1369..033e3835e97 100644 --- a/service/shield/api_op_DeleteSubscription.go +++ b/service/shield/api_op_DeleteSubscription.go @@ -68,7 +68,10 @@ func addOperationDeleteSubscriptionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DescribeAttack.go b/service/shield/api_op_DescribeAttack.go index c15864d1308..5ec9b6abeec 100644 --- a/service/shield/api_op_DescribeAttack.go +++ b/service/shield/api_op_DescribeAttack.go @@ -74,7 +74,10 @@ func addOperationDescribeAttackMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DescribeAttackStatistics.go b/service/shield/api_op_DescribeAttackStatistics.go index 1deef6f1144..53e9c23935d 100644 --- a/service/shield/api_op_DescribeAttackStatistics.go +++ b/service/shield/api_op_DescribeAttackStatistics.go @@ -84,7 +84,10 @@ func addOperationDescribeAttackStatisticsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DescribeDRTAccess.go b/service/shield/api_op_DescribeDRTAccess.go index d7c92686467..9c4f3b1c6d4 100644 --- a/service/shield/api_op_DescribeDRTAccess.go +++ b/service/shield/api_op_DescribeDRTAccess.go @@ -74,7 +74,10 @@ func addOperationDescribeDRTAccessMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DescribeEmergencyContactSettings.go b/service/shield/api_op_DescribeEmergencyContactSettings.go index 00dd69afc14..c1f7eca8009 100644 --- a/service/shield/api_op_DescribeEmergencyContactSettings.go +++ b/service/shield/api_op_DescribeEmergencyContactSettings.go @@ -73,7 +73,10 @@ func addOperationDescribeEmergencyContactSettingsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DescribeProtection.go b/service/shield/api_op_DescribeProtection.go index b564654dd95..d50e25c6a0c 100644 --- a/service/shield/api_op_DescribeProtection.go +++ b/service/shield/api_op_DescribeProtection.go @@ -79,7 +79,10 @@ func addOperationDescribeProtectionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DescribeProtectionGroup.go b/service/shield/api_op_DescribeProtectionGroup.go index 65d224bc555..722fb27142b 100644 --- a/service/shield/api_op_DescribeProtectionGroup.go +++ b/service/shield/api_op_DescribeProtectionGroup.go @@ -80,7 +80,10 @@ func addOperationDescribeProtectionGroupMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DescribeSubscription.go b/service/shield/api_op_DescribeSubscription.go index 4af63d3033e..e73ff6f3d8a 100644 --- a/service/shield/api_op_DescribeSubscription.go +++ b/service/shield/api_op_DescribeSubscription.go @@ -69,7 +69,10 @@ func addOperationDescribeSubscriptionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DisableProactiveEngagement.go b/service/shield/api_op_DisableProactiveEngagement.go index 0042f26c82f..39560ff8f8e 100644 --- a/service/shield/api_op_DisableProactiveEngagement.go +++ b/service/shield/api_op_DisableProactiveEngagement.go @@ -65,7 +65,10 @@ func addOperationDisableProactiveEngagementMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DisassociateDRTLogBucket.go b/service/shield/api_op_DisassociateDRTLogBucket.go index 9417bc3a345..96c7a64c2ca 100644 --- a/service/shield/api_op_DisassociateDRTLogBucket.go +++ b/service/shield/api_op_DisassociateDRTLogBucket.go @@ -76,7 +76,10 @@ func addOperationDisassociateDRTLogBucketMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DisassociateDRTRole.go b/service/shield/api_op_DisassociateDRTRole.go index 98d30fc24eb..4a429f9bad1 100644 --- a/service/shield/api_op_DisassociateDRTRole.go +++ b/service/shield/api_op_DisassociateDRTRole.go @@ -70,7 +70,10 @@ func addOperationDisassociateDRTRoleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_DisassociateHealthCheck.go b/service/shield/api_op_DisassociateHealthCheck.go index 10ed70897fd..2ea974e4a5b 100644 --- a/service/shield/api_op_DisassociateHealthCheck.go +++ b/service/shield/api_op_DisassociateHealthCheck.go @@ -84,7 +84,10 @@ func addOperationDisassociateHealthCheckMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_EnableProactiveEngagement.go b/service/shield/api_op_EnableProactiveEngagement.go index b10aa2abd96..cefc230a7d4 100644 --- a/service/shield/api_op_EnableProactiveEngagement.go +++ b/service/shield/api_op_EnableProactiveEngagement.go @@ -66,7 +66,10 @@ func addOperationEnableProactiveEngagementMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_GetSubscriptionState.go b/service/shield/api_op_GetSubscriptionState.go index ca616aef97a..0d0a64457ef 100644 --- a/service/shield/api_op_GetSubscriptionState.go +++ b/service/shield/api_op_GetSubscriptionState.go @@ -71,7 +71,10 @@ func addOperationGetSubscriptionStateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_ListAttacks.go b/service/shield/api_op_ListAttacks.go index a9ac07b6988..6965c944e6d 100644 --- a/service/shield/api_op_ListAttacks.go +++ b/service/shield/api_op_ListAttacks.go @@ -111,7 +111,10 @@ func addOperationListAttacksMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_ListProtectionGroups.go b/service/shield/api_op_ListProtectionGroups.go index ac1a803c1b5..dad0bc1c19b 100644 --- a/service/shield/api_op_ListProtectionGroups.go +++ b/service/shield/api_op_ListProtectionGroups.go @@ -90,7 +90,10 @@ func addOperationListProtectionGroupsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_ListProtections.go b/service/shield/api_op_ListProtections.go index ce9d82bde05..94dce02ef7b 100644 --- a/service/shield/api_op_ListProtections.go +++ b/service/shield/api_op_ListProtections.go @@ -93,7 +93,10 @@ func addOperationListProtectionsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_ListResourcesInProtectionGroup.go b/service/shield/api_op_ListResourcesInProtectionGroup.go index 52b234b8aa0..37285105220 100644 --- a/service/shield/api_op_ListResourcesInProtectionGroup.go +++ b/service/shield/api_op_ListResourcesInProtectionGroup.go @@ -97,7 +97,10 @@ func addOperationListResourcesInProtectionGroupMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_UpdateEmergencyContactSettings.go b/service/shield/api_op_UpdateEmergencyContactSettings.go index e7a68e3dcc9..5270e08101b 100644 --- a/service/shield/api_op_UpdateEmergencyContactSettings.go +++ b/service/shield/api_op_UpdateEmergencyContactSettings.go @@ -73,7 +73,10 @@ func addOperationUpdateEmergencyContactSettingsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_UpdateProtectionGroup.go b/service/shield/api_op_UpdateProtectionGroup.go index c3e1a210f7a..e1a2a6ddd66 100644 --- a/service/shield/api_op_UpdateProtectionGroup.go +++ b/service/shield/api_op_UpdateProtectionGroup.go @@ -113,7 +113,10 @@ func addOperationUpdateProtectionGroupMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/shield/api_op_UpdateSubscription.go b/service/shield/api_op_UpdateSubscription.go index 1a0a00d277c..5fb1afd664f 100644 --- a/service/shield/api_op_UpdateSubscription.go +++ b/service/shield/api_op_UpdateSubscription.go @@ -73,7 +73,10 @@ func addOperationUpdateSubscriptionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_AddProfilePermission.go b/service/signer/api_op_AddProfilePermission.go index 106ebb07a35..996d6d080e7 100644 --- a/service/signer/api_op_AddProfilePermission.go +++ b/service/signer/api_op_AddProfilePermission.go @@ -95,7 +95,10 @@ func addOperationAddProfilePermissionMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_CancelSigningProfile.go b/service/signer/api_op_CancelSigningProfile.go index 93db9a0321c..169c90a4734 100644 --- a/service/signer/api_op_CancelSigningProfile.go +++ b/service/signer/api_op_CancelSigningProfile.go @@ -71,7 +71,10 @@ func addOperationCancelSigningProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_DescribeSigningJob.go b/service/signer/api_op_DescribeSigningJob.go index 8221ab53c09..451e451ea70 100644 --- a/service/signer/api_op_DescribeSigningJob.go +++ b/service/signer/api_op_DescribeSigningJob.go @@ -139,7 +139,10 @@ func addOperationDescribeSigningJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_GetSigningPlatform.go b/service/signer/api_op_GetSigningPlatform.go index a736689750d..63f944061f8 100644 --- a/service/signer/api_op_GetSigningPlatform.go +++ b/service/signer/api_op_GetSigningPlatform.go @@ -100,7 +100,10 @@ func addOperationGetSigningPlatformMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_GetSigningProfile.go b/service/signer/api_op_GetSigningProfile.go index 6f4a5d94dcf..d37110598fb 100644 --- a/service/signer/api_op_GetSigningProfile.go +++ b/service/signer/api_op_GetSigningProfile.go @@ -119,7 +119,10 @@ func addOperationGetSigningProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_ListProfilePermissions.go b/service/signer/api_op_ListProfilePermissions.go index 93a2e23c3e2..6c7671314e1 100644 --- a/service/signer/api_op_ListProfilePermissions.go +++ b/service/signer/api_op_ListProfilePermissions.go @@ -86,7 +86,10 @@ func addOperationListProfilePermissionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_ListSigningJobs.go b/service/signer/api_op_ListSigningJobs.go index 6ab33b4126f..865d2b220bc 100644 --- a/service/signer/api_op_ListSigningJobs.go +++ b/service/signer/api_op_ListSigningJobs.go @@ -116,7 +116,10 @@ func addOperationListSigningJobsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_ListSigningPlatforms.go b/service/signer/api_op_ListSigningPlatforms.go index 446753cbd7e..434ab7e2628 100644 --- a/service/signer/api_op_ListSigningPlatforms.go +++ b/service/signer/api_op_ListSigningPlatforms.go @@ -96,7 +96,10 @@ func addOperationListSigningPlatformsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_ListSigningProfiles.go b/service/signer/api_op_ListSigningProfiles.go index 3216e87c169..38d22f02f1f 100644 --- a/service/signer/api_op_ListSigningProfiles.go +++ b/service/signer/api_op_ListSigningProfiles.go @@ -99,7 +99,10 @@ func addOperationListSigningProfilesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_ListTagsForResource.go b/service/signer/api_op_ListTagsForResource.go index 81701343f77..ead87816d1e 100644 --- a/service/signer/api_op_ListTagsForResource.go +++ b/service/signer/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_PutSigningProfile.go b/service/signer/api_op_PutSigningProfile.go index 8de48638929..bf698618cec 100644 --- a/service/signer/api_op_PutSigningProfile.go +++ b/service/signer/api_op_PutSigningProfile.go @@ -108,7 +108,10 @@ func addOperationPutSigningProfileMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_RemoveProfilePermission.go b/service/signer/api_op_RemoveProfilePermission.go index e137de1a4a2..02cc9a6dc4d 100644 --- a/service/signer/api_op_RemoveProfilePermission.go +++ b/service/signer/api_op_RemoveProfilePermission.go @@ -83,7 +83,10 @@ func addOperationRemoveProfilePermissionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_RevokeSignature.go b/service/signer/api_op_RevokeSignature.go index d8a2c6f41e5..5eb74060557 100644 --- a/service/signer/api_op_RevokeSignature.go +++ b/service/signer/api_op_RevokeSignature.go @@ -78,7 +78,10 @@ func addOperationRevokeSignatureMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_RevokeSigningProfile.go b/service/signer/api_op_RevokeSigningProfile.go index a4f9acde7da..9cb9eb7f897 100644 --- a/service/signer/api_op_RevokeSigningProfile.go +++ b/service/signer/api_op_RevokeSigningProfile.go @@ -89,7 +89,10 @@ func addOperationRevokeSigningProfileMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_StartSigningJob.go b/service/signer/api_op_StartSigningJob.go index 1485add1507..73023084496 100644 --- a/service/signer/api_op_StartSigningJob.go +++ b/service/signer/api_op_StartSigningJob.go @@ -124,7 +124,10 @@ func addOperationStartSigningJobMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_TagResource.go b/service/signer/api_op_TagResource.go index f09228dfe1c..e08145d33a0 100644 --- a/service/signer/api_op_TagResource.go +++ b/service/signer/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/signer/api_op_UntagResource.go b/service/signer/api_op_UntagResource.go index 5c57344f9cd..21964514bbb 100644 --- a/service/signer/api_op_UntagResource.go +++ b/service/signer/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_CreateApp.go b/service/sms/api_op_CreateApp.go index bbe04f6b769..f8134a9c1e3 100644 --- a/service/sms/api_op_CreateApp.go +++ b/service/sms/api_op_CreateApp.go @@ -95,7 +95,10 @@ func addOperationCreateAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_CreateReplicationJob.go b/service/sms/api_op_CreateReplicationJob.go index b196189711b..039072df05d 100644 --- a/service/sms/api_op_CreateReplicationJob.go +++ b/service/sms/api_op_CreateReplicationJob.go @@ -121,7 +121,10 @@ func addOperationCreateReplicationJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_DeleteApp.go b/service/sms/api_op_DeleteApp.go index 62ac09d33d4..62cc71b76bb 100644 --- a/service/sms/api_op_DeleteApp.go +++ b/service/sms/api_op_DeleteApp.go @@ -77,7 +77,10 @@ func addOperationDeleteAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_DeleteAppLaunchConfiguration.go b/service/sms/api_op_DeleteAppLaunchConfiguration.go index c01f3007354..7639a613dcd 100644 --- a/service/sms/api_op_DeleteAppLaunchConfiguration.go +++ b/service/sms/api_op_DeleteAppLaunchConfiguration.go @@ -67,7 +67,10 @@ func addOperationDeleteAppLaunchConfigurationMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_DeleteAppReplicationConfiguration.go b/service/sms/api_op_DeleteAppReplicationConfiguration.go index db17c569b23..1a34759f80a 100644 --- a/service/sms/api_op_DeleteAppReplicationConfiguration.go +++ b/service/sms/api_op_DeleteAppReplicationConfiguration.go @@ -67,7 +67,10 @@ func addOperationDeleteAppReplicationConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_DeleteAppValidationConfiguration.go b/service/sms/api_op_DeleteAppValidationConfiguration.go index 8e941d26e67..aad2ed9e9be 100644 --- a/service/sms/api_op_DeleteAppValidationConfiguration.go +++ b/service/sms/api_op_DeleteAppValidationConfiguration.go @@ -69,7 +69,10 @@ func addOperationDeleteAppValidationConfigurationMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_DeleteReplicationJob.go b/service/sms/api_op_DeleteReplicationJob.go index 547cc3e391c..e3072d17eb5 100644 --- a/service/sms/api_op_DeleteReplicationJob.go +++ b/service/sms/api_op_DeleteReplicationJob.go @@ -72,7 +72,10 @@ func addOperationDeleteReplicationJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_DeleteServerCatalog.go b/service/sms/api_op_DeleteServerCatalog.go index 466ec3b35c0..5e60d5641f9 100644 --- a/service/sms/api_op_DeleteServerCatalog.go +++ b/service/sms/api_op_DeleteServerCatalog.go @@ -64,7 +64,10 @@ func addOperationDeleteServerCatalogMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_DisassociateConnector.go b/service/sms/api_op_DisassociateConnector.go index cd574c6c0c3..9d7a0de22b3 100644 --- a/service/sms/api_op_DisassociateConnector.go +++ b/service/sms/api_op_DisassociateConnector.go @@ -70,7 +70,10 @@ func addOperationDisassociateConnectorMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GenerateChangeSet.go b/service/sms/api_op_GenerateChangeSet.go index 9d1236635bc..10606355443 100644 --- a/service/sms/api_op_GenerateChangeSet.go +++ b/service/sms/api_op_GenerateChangeSet.go @@ -76,7 +76,10 @@ func addOperationGenerateChangeSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GenerateTemplate.go b/service/sms/api_op_GenerateTemplate.go index 38bc9d1e484..ec655b1eb45 100644 --- a/service/sms/api_op_GenerateTemplate.go +++ b/service/sms/api_op_GenerateTemplate.go @@ -77,7 +77,10 @@ func addOperationGenerateTemplateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GetApp.go b/service/sms/api_op_GetApp.go index 85fae1c05db..1b6fe9d8d2e 100644 --- a/service/sms/api_op_GetApp.go +++ b/service/sms/api_op_GetApp.go @@ -78,7 +78,10 @@ func addOperationGetAppMiddlewares(stack *middleware.Stack, options Options) (er if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GetAppLaunchConfiguration.go b/service/sms/api_op_GetAppLaunchConfiguration.go index c4a6d232d23..fe39bab7b4b 100644 --- a/service/sms/api_op_GetAppLaunchConfiguration.go +++ b/service/sms/api_op_GetAppLaunchConfiguration.go @@ -84,7 +84,10 @@ func addOperationGetAppLaunchConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GetAppReplicationConfiguration.go b/service/sms/api_op_GetAppReplicationConfiguration.go index 31fbd0d6f06..296fa4bf045 100644 --- a/service/sms/api_op_GetAppReplicationConfiguration.go +++ b/service/sms/api_op_GetAppReplicationConfiguration.go @@ -74,7 +74,10 @@ func addOperationGetAppReplicationConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GetAppValidationConfiguration.go b/service/sms/api_op_GetAppValidationConfiguration.go index c3d1141e5c6..64f7ab19e45 100644 --- a/service/sms/api_op_GetAppValidationConfiguration.go +++ b/service/sms/api_op_GetAppValidationConfiguration.go @@ -77,7 +77,10 @@ func addOperationGetAppValidationConfigurationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GetAppValidationOutput.go b/service/sms/api_op_GetAppValidationOutput.go index a8c8d01b46f..731caa4d815 100644 --- a/service/sms/api_op_GetAppValidationOutput.go +++ b/service/sms/api_op_GetAppValidationOutput.go @@ -74,7 +74,10 @@ func addOperationGetAppValidationOutputMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GetConnectors.go b/service/sms/api_op_GetConnectors.go index 1e3b3471a3c..a79055c1b3a 100644 --- a/service/sms/api_op_GetConnectors.go +++ b/service/sms/api_op_GetConnectors.go @@ -82,7 +82,10 @@ func addOperationGetConnectorsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GetReplicationJobs.go b/service/sms/api_op_GetReplicationJobs.go index a0ada3699ac..33df3152cbd 100644 --- a/service/sms/api_op_GetReplicationJobs.go +++ b/service/sms/api_op_GetReplicationJobs.go @@ -85,7 +85,10 @@ func addOperationGetReplicationJobsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GetReplicationRuns.go b/service/sms/api_op_GetReplicationRuns.go index 47d381a2f31..8d1a8a0c155 100644 --- a/service/sms/api_op_GetReplicationRuns.go +++ b/service/sms/api_op_GetReplicationRuns.go @@ -90,7 +90,10 @@ func addOperationGetReplicationRunsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_GetServers.go b/service/sms/api_op_GetServers.go index 1ff80fc62ef..a1216e32a8c 100644 --- a/service/sms/api_op_GetServers.go +++ b/service/sms/api_op_GetServers.go @@ -93,7 +93,10 @@ func addOperationGetServersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_ImportAppCatalog.go b/service/sms/api_op_ImportAppCatalog.go index c4a6650d18a..c5a0943ef48 100644 --- a/service/sms/api_op_ImportAppCatalog.go +++ b/service/sms/api_op_ImportAppCatalog.go @@ -71,7 +71,10 @@ func addOperationImportAppCatalogMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_ImportServerCatalog.go b/service/sms/api_op_ImportServerCatalog.go index b5143ad141b..24106e4c933 100644 --- a/service/sms/api_op_ImportServerCatalog.go +++ b/service/sms/api_op_ImportServerCatalog.go @@ -66,7 +66,10 @@ func addOperationImportServerCatalogMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_LaunchApp.go b/service/sms/api_op_LaunchApp.go index b0c857ed66b..37641b03daf 100644 --- a/service/sms/api_op_LaunchApp.go +++ b/service/sms/api_op_LaunchApp.go @@ -67,7 +67,10 @@ func addOperationLaunchAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_ListApps.go b/service/sms/api_op_ListApps.go index c9abbdaad72..b3eb747328a 100644 --- a/service/sms/api_op_ListApps.go +++ b/service/sms/api_op_ListApps.go @@ -84,7 +84,10 @@ func addOperationListAppsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_NotifyAppValidationOutput.go b/service/sms/api_op_NotifyAppValidationOutput.go index d4471143c5d..428cfea5aa7 100644 --- a/service/sms/api_op_NotifyAppValidationOutput.go +++ b/service/sms/api_op_NotifyAppValidationOutput.go @@ -74,7 +74,10 @@ func addOperationNotifyAppValidationOutputMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_PutAppLaunchConfiguration.go b/service/sms/api_op_PutAppLaunchConfiguration.go index 2bddcf7bec7..63af1fc887e 100644 --- a/service/sms/api_op_PutAppLaunchConfiguration.go +++ b/service/sms/api_op_PutAppLaunchConfiguration.go @@ -80,7 +80,10 @@ func addOperationPutAppLaunchConfigurationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_PutAppReplicationConfiguration.go b/service/sms/api_op_PutAppReplicationConfiguration.go index 784e6673347..e4e0558ca2b 100644 --- a/service/sms/api_op_PutAppReplicationConfiguration.go +++ b/service/sms/api_op_PutAppReplicationConfiguration.go @@ -72,7 +72,10 @@ func addOperationPutAppReplicationConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_PutAppValidationConfiguration.go b/service/sms/api_op_PutAppValidationConfiguration.go index 903143540ae..5c1759c6f1a 100644 --- a/service/sms/api_op_PutAppValidationConfiguration.go +++ b/service/sms/api_op_PutAppValidationConfiguration.go @@ -76,7 +76,10 @@ func addOperationPutAppValidationConfigurationMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_StartAppReplication.go b/service/sms/api_op_StartAppReplication.go index dfcc7e34b50..b5d3d3cefca 100644 --- a/service/sms/api_op_StartAppReplication.go +++ b/service/sms/api_op_StartAppReplication.go @@ -68,7 +68,10 @@ func addOperationStartAppReplicationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_StartOnDemandAppReplication.go b/service/sms/api_op_StartOnDemandAppReplication.go index b5214f2943c..c2bd39b7597 100644 --- a/service/sms/api_op_StartOnDemandAppReplication.go +++ b/service/sms/api_op_StartOnDemandAppReplication.go @@ -72,7 +72,10 @@ func addOperationStartOnDemandAppReplicationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_StartOnDemandReplicationRun.go b/service/sms/api_op_StartOnDemandReplicationRun.go index b058a98cff9..81da2edb91c 100644 --- a/service/sms/api_op_StartOnDemandReplicationRun.go +++ b/service/sms/api_op_StartOnDemandReplicationRun.go @@ -79,7 +79,10 @@ func addOperationStartOnDemandReplicationRunMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_StopAppReplication.go b/service/sms/api_op_StopAppReplication.go index 06e802928df..fb02a5698dd 100644 --- a/service/sms/api_op_StopAppReplication.go +++ b/service/sms/api_op_StopAppReplication.go @@ -68,7 +68,10 @@ func addOperationStopAppReplicationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_TerminateApp.go b/service/sms/api_op_TerminateApp.go index 3c90253a9a3..120716901e5 100644 --- a/service/sms/api_op_TerminateApp.go +++ b/service/sms/api_op_TerminateApp.go @@ -67,7 +67,10 @@ func addOperationTerminateAppMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_UpdateApp.go b/service/sms/api_op_UpdateApp.go index f38640ce269..c1d46106627 100644 --- a/service/sms/api_op_UpdateApp.go +++ b/service/sms/api_op_UpdateApp.go @@ -93,7 +93,10 @@ func addOperationUpdateAppMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sms/api_op_UpdateReplicationJob.go b/service/sms/api_op_UpdateReplicationJob.go index cf406217b9c..1c26b26aba2 100644 --- a/service/sms/api_op_UpdateReplicationJob.go +++ b/service/sms/api_op_UpdateReplicationJob.go @@ -111,7 +111,10 @@ func addOperationUpdateReplicationJobMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_CancelCluster.go b/service/snowball/api_op_CancelCluster.go index a255464595e..46d301fc147 100644 --- a/service/snowball/api_op_CancelCluster.go +++ b/service/snowball/api_op_CancelCluster.go @@ -72,7 +72,10 @@ func addOperationCancelClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_CancelJob.go b/service/snowball/api_op_CancelJob.go index 67d88bb7f9c..21034dfb9dd 100644 --- a/service/snowball/api_op_CancelJob.go +++ b/service/snowball/api_op_CancelJob.go @@ -72,7 +72,10 @@ func addOperationCancelJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_CreateAddress.go b/service/snowball/api_op_CreateAddress.go index 55ca2575670..16e0c169aa3 100644 --- a/service/snowball/api_op_CreateAddress.go +++ b/service/snowball/api_op_CreateAddress.go @@ -79,7 +79,10 @@ func addOperationCreateAddressMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_CreateCluster.go b/service/snowball/api_op_CreateCluster.go index 214a24cc15b..6de7a2d1d59 100644 --- a/service/snowball/api_op_CreateCluster.go +++ b/service/snowball/api_op_CreateCluster.go @@ -158,7 +158,10 @@ func addOperationCreateClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_CreateJob.go b/service/snowball/api_op_CreateJob.go index 14ef1da70b5..1799992811b 100644 --- a/service/snowball/api_op_CreateJob.go +++ b/service/snowball/api_op_CreateJob.go @@ -157,7 +157,10 @@ func addOperationCreateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_CreateReturnShippingLabel.go b/service/snowball/api_op_CreateReturnShippingLabel.go index 16ec615fe12..f2a0db9759e 100644 --- a/service/snowball/api_op_CreateReturnShippingLabel.go +++ b/service/snowball/api_op_CreateReturnShippingLabel.go @@ -81,7 +81,10 @@ func addOperationCreateReturnShippingLabelMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_DescribeAddress.go b/service/snowball/api_op_DescribeAddress.go index a04c1be30eb..3b8146c219d 100644 --- a/service/snowball/api_op_DescribeAddress.go +++ b/service/snowball/api_op_DescribeAddress.go @@ -76,7 +76,10 @@ func addOperationDescribeAddressMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_DescribeAddresses.go b/service/snowball/api_op_DescribeAddresses.go index bf3d6d5ee16..0e66eab9aef 100644 --- a/service/snowball/api_op_DescribeAddresses.go +++ b/service/snowball/api_op_DescribeAddresses.go @@ -85,7 +85,10 @@ func addOperationDescribeAddressesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_DescribeCluster.go b/service/snowball/api_op_DescribeCluster.go index e9231a6809c..980918c8a49 100644 --- a/service/snowball/api_op_DescribeCluster.go +++ b/service/snowball/api_op_DescribeCluster.go @@ -76,7 +76,10 @@ func addOperationDescribeClusterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_DescribeJob.go b/service/snowball/api_op_DescribeJob.go index 0692c152e55..6bdb384a3ea 100644 --- a/service/snowball/api_op_DescribeJob.go +++ b/service/snowball/api_op_DescribeJob.go @@ -81,7 +81,10 @@ func addOperationDescribeJobMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_DescribeReturnShippingLabel.go b/service/snowball/api_op_DescribeReturnShippingLabel.go index 8a5415d0382..440495b2e4a 100644 --- a/service/snowball/api_op_DescribeReturnShippingLabel.go +++ b/service/snowball/api_op_DescribeReturnShippingLabel.go @@ -79,7 +79,10 @@ func addOperationDescribeReturnShippingLabelMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_GetJobManifest.go b/service/snowball/api_op_GetJobManifest.go index c119659bd16..a45b2944f0f 100644 --- a/service/snowball/api_op_GetJobManifest.go +++ b/service/snowball/api_op_GetJobManifest.go @@ -87,7 +87,10 @@ func addOperationGetJobManifestMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_GetJobUnlockCode.go b/service/snowball/api_op_GetJobUnlockCode.go index 004a2ec33b0..bda51a51b57 100644 --- a/service/snowball/api_op_GetJobUnlockCode.go +++ b/service/snowball/api_op_GetJobUnlockCode.go @@ -83,7 +83,10 @@ func addOperationGetJobUnlockCodeMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_GetSnowballUsage.go b/service/snowball/api_op_GetSnowballUsage.go index f31c638e488..4da026445f0 100644 --- a/service/snowball/api_op_GetSnowballUsage.go +++ b/service/snowball/api_op_GetSnowballUsage.go @@ -75,7 +75,10 @@ func addOperationGetSnowballUsageMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_GetSoftwareUpdates.go b/service/snowball/api_op_GetSoftwareUpdates.go index 8b6b5856ad5..a8a3a0ba75d 100644 --- a/service/snowball/api_op_GetSoftwareUpdates.go +++ b/service/snowball/api_op_GetSoftwareUpdates.go @@ -78,7 +78,10 @@ func addOperationGetSoftwareUpdatesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_ListClusterJobs.go b/service/snowball/api_op_ListClusterJobs.go index 98fc7cb3601..a27d87e6a05 100644 --- a/service/snowball/api_op_ListClusterJobs.go +++ b/service/snowball/api_op_ListClusterJobs.go @@ -91,7 +91,10 @@ func addOperationListClusterJobsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_ListClusters.go b/service/snowball/api_op_ListClusters.go index 7679e28b893..9a1d2d68915 100644 --- a/service/snowball/api_op_ListClusters.go +++ b/service/snowball/api_op_ListClusters.go @@ -85,7 +85,10 @@ func addOperationListClustersMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_ListCompatibleImages.go b/service/snowball/api_op_ListCompatibleImages.go index 85d0175c2ff..26eaf65a887 100644 --- a/service/snowball/api_op_ListCompatibleImages.go +++ b/service/snowball/api_op_ListCompatibleImages.go @@ -87,7 +87,10 @@ func addOperationListCompatibleImagesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_ListJobs.go b/service/snowball/api_op_ListJobs.go index 8a5a7730712..bc7e82f2d53 100644 --- a/service/snowball/api_op_ListJobs.go +++ b/service/snowball/api_op_ListJobs.go @@ -88,7 +88,10 @@ func addOperationListJobsMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_UpdateCluster.go b/service/snowball/api_op_UpdateCluster.go index 3c34cbaea05..fb31cb3798c 100644 --- a/service/snowball/api_op_UpdateCluster.go +++ b/service/snowball/api_op_UpdateCluster.go @@ -100,7 +100,10 @@ func addOperationUpdateClusterMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_UpdateJob.go b/service/snowball/api_op_UpdateJob.go index c3fe3cc1955..de14de501ba 100644 --- a/service/snowball/api_op_UpdateJob.go +++ b/service/snowball/api_op_UpdateJob.go @@ -102,7 +102,10 @@ func addOperationUpdateJobMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/snowball/api_op_UpdateJobShipmentState.go b/service/snowball/api_op_UpdateJobShipmentState.go index 0c7884087fa..d398826c95f 100644 --- a/service/snowball/api_op_UpdateJobShipmentState.go +++ b/service/snowball/api_op_UpdateJobShipmentState.go @@ -78,7 +78,10 @@ func addOperationUpdateJobShipmentStateMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_AddPermission.go b/service/sns/api_op_AddPermission.go index b603ed36fef..28375b850ab 100644 --- a/service/sns/api_op_AddPermission.go +++ b/service/sns/api_op_AddPermission.go @@ -88,7 +88,10 @@ func addOperationAddPermissionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go b/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go index e7fb8fb1cfe..39df485f205 100644 --- a/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go +++ b/service/sns/api_op_CheckIfPhoneNumberIsOptedOut.go @@ -84,7 +84,10 @@ func addOperationCheckIfPhoneNumberIsOptedOutMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_ConfirmSubscription.go b/service/sns/api_op_ConfirmSubscription.go index 871de5924a1..ff1424a507c 100644 --- a/service/sns/api_op_ConfirmSubscription.go +++ b/service/sns/api_op_ConfirmSubscription.go @@ -90,7 +90,10 @@ func addOperationConfirmSubscriptionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_CreatePlatformApplication.go b/service/sns/api_op_CreatePlatformApplication.go index 5af29d19683..6584f905243 100644 --- a/service/sns/api_op_CreatePlatformApplication.go +++ b/service/sns/api_op_CreatePlatformApplication.go @@ -117,7 +117,10 @@ func addOperationCreatePlatformApplicationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_CreatePlatformEndpoint.go b/service/sns/api_op_CreatePlatformEndpoint.go index 6e68cb9990d..0201dc44e5c 100644 --- a/service/sns/api_op_CreatePlatformEndpoint.go +++ b/service/sns/api_op_CreatePlatformEndpoint.go @@ -106,7 +106,10 @@ func addOperationCreatePlatformEndpointMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_CreateTopic.go b/service/sns/api_op_CreateTopic.go index e9e8d9ce46a..b413a54022e 100644 --- a/service/sns/api_op_CreateTopic.go +++ b/service/sns/api_op_CreateTopic.go @@ -139,7 +139,10 @@ func addOperationCreateTopicMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_DeleteEndpoint.go b/service/sns/api_op_DeleteEndpoint.go index 457f3ce033d..638d0eefe9d 100644 --- a/service/sns/api_op_DeleteEndpoint.go +++ b/service/sns/api_op_DeleteEndpoint.go @@ -74,7 +74,10 @@ func addOperationDeleteEndpointMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_DeletePlatformApplication.go b/service/sns/api_op_DeletePlatformApplication.go index 45096f5c4ac..ed7ce2735bb 100644 --- a/service/sns/api_op_DeletePlatformApplication.go +++ b/service/sns/api_op_DeletePlatformApplication.go @@ -73,7 +73,10 @@ func addOperationDeletePlatformApplicationMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_DeleteTopic.go b/service/sns/api_op_DeleteTopic.go index 8338fe3cf57..af462b90585 100644 --- a/service/sns/api_op_DeleteTopic.go +++ b/service/sns/api_op_DeleteTopic.go @@ -72,7 +72,10 @@ func addOperationDeleteTopicMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_GetEndpointAttributes.go b/service/sns/api_op_GetEndpointAttributes.go index ae442e3f846..6fe808b0f03 100644 --- a/service/sns/api_op_GetEndpointAttributes.go +++ b/service/sns/api_op_GetEndpointAttributes.go @@ -93,7 +93,10 @@ func addOperationGetEndpointAttributesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_GetPlatformApplicationAttributes.go b/service/sns/api_op_GetPlatformApplicationAttributes.go index 77f8158a29e..6b8f7f8af65 100644 --- a/service/sns/api_op_GetPlatformApplicationAttributes.go +++ b/service/sns/api_op_GetPlatformApplicationAttributes.go @@ -92,7 +92,10 @@ func addOperationGetPlatformApplicationAttributesMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_GetSMSAttributes.go b/service/sns/api_op_GetSMSAttributes.go index 175965e3ce2..a43038f84d4 100644 --- a/service/sns/api_op_GetSMSAttributes.go +++ b/service/sns/api_op_GetSMSAttributes.go @@ -77,7 +77,10 @@ func addOperationGetSMSAttributesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_GetSubscriptionAttributes.go b/service/sns/api_op_GetSubscriptionAttributes.go index 9454f64d89c..11fe611185f 100644 --- a/service/sns/api_op_GetSubscriptionAttributes.go +++ b/service/sns/api_op_GetSubscriptionAttributes.go @@ -116,7 +116,10 @@ func addOperationGetSubscriptionAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_GetTopicAttributes.go b/service/sns/api_op_GetTopicAttributes.go index f85468c703c..95978ed9e35 100644 --- a/service/sns/api_op_GetTopicAttributes.go +++ b/service/sns/api_op_GetTopicAttributes.go @@ -139,7 +139,10 @@ func addOperationGetTopicAttributesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_ListEndpointsByPlatformApplication.go b/service/sns/api_op_ListEndpointsByPlatformApplication.go index c29308b70cd..dec4bf37f09 100644 --- a/service/sns/api_op_ListEndpointsByPlatformApplication.go +++ b/service/sns/api_op_ListEndpointsByPlatformApplication.go @@ -95,7 +95,10 @@ func addOperationListEndpointsByPlatformApplicationMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_ListPhoneNumbersOptedOut.go b/service/sns/api_op_ListPhoneNumbersOptedOut.go index a47fc6b09c7..17d9bc58912 100644 --- a/service/sns/api_op_ListPhoneNumbersOptedOut.go +++ b/service/sns/api_op_ListPhoneNumbersOptedOut.go @@ -85,7 +85,10 @@ func addOperationListPhoneNumbersOptedOutMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_ListPlatformApplications.go b/service/sns/api_op_ListPlatformApplications.go index dbbde1c6a82..9edb51187e7 100644 --- a/service/sns/api_op_ListPlatformApplications.go +++ b/service/sns/api_op_ListPlatformApplications.go @@ -89,7 +89,10 @@ func addOperationListPlatformApplicationsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_ListSubscriptions.go b/service/sns/api_op_ListSubscriptions.go index ff837a58372..9527f3510e1 100644 --- a/service/sns/api_op_ListSubscriptions.go +++ b/service/sns/api_op_ListSubscriptions.go @@ -83,7 +83,10 @@ func addOperationListSubscriptionsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_ListSubscriptionsByTopic.go b/service/sns/api_op_ListSubscriptionsByTopic.go index a2d1105870f..3aec40743ec 100644 --- a/service/sns/api_op_ListSubscriptionsByTopic.go +++ b/service/sns/api_op_ListSubscriptionsByTopic.go @@ -88,7 +88,10 @@ func addOperationListSubscriptionsByTopicMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_ListTagsForResource.go b/service/sns/api_op_ListTagsForResource.go index 14bfbcdbfea..b3f8022e461 100644 --- a/service/sns/api_op_ListTagsForResource.go +++ b/service/sns/api_op_ListTagsForResource.go @@ -76,7 +76,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_ListTopics.go b/service/sns/api_op_ListTopics.go index 631ca99ceab..75aab431b6f 100644 --- a/service/sns/api_op_ListTopics.go +++ b/service/sns/api_op_ListTopics.go @@ -81,7 +81,10 @@ func addOperationListTopicsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_OptInPhoneNumber.go b/service/sns/api_op_OptInPhoneNumber.go index eb062111ce5..c0f80bd0fe4 100644 --- a/service/sns/api_op_OptInPhoneNumber.go +++ b/service/sns/api_op_OptInPhoneNumber.go @@ -73,7 +73,10 @@ func addOperationOptInPhoneNumberMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_Publish.go b/service/sns/api_op_Publish.go index e0320933456..98ae02142cb 100644 --- a/service/sns/api_op_Publish.go +++ b/service/sns/api_op_Publish.go @@ -204,7 +204,10 @@ func addOperationPublishMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_RemovePermission.go b/service/sns/api_op_RemovePermission.go index 63ca667286b..858ad448c46 100644 --- a/service/sns/api_op_RemovePermission.go +++ b/service/sns/api_op_RemovePermission.go @@ -75,7 +75,10 @@ func addOperationRemovePermissionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_SetEndpointAttributes.go b/service/sns/api_op_SetEndpointAttributes.go index b0e4a4878c6..dca617731e8 100644 --- a/service/sns/api_op_SetEndpointAttributes.go +++ b/service/sns/api_op_SetEndpointAttributes.go @@ -93,7 +93,10 @@ func addOperationSetEndpointAttributesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_SetPlatformApplicationAttributes.go b/service/sns/api_op_SetPlatformApplicationAttributes.go index 504a5d25980..e263906a27e 100644 --- a/service/sns/api_op_SetPlatformApplicationAttributes.go +++ b/service/sns/api_op_SetPlatformApplicationAttributes.go @@ -117,7 +117,10 @@ func addOperationSetPlatformApplicationAttributesMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_SetSMSAttributes.go b/service/sns/api_op_SetSMSAttributes.go index 67b570eedce..8a6136ce3ba 100644 --- a/service/sns/api_op_SetSMSAttributes.go +++ b/service/sns/api_op_SetSMSAttributes.go @@ -143,7 +143,10 @@ func addOperationSetSMSAttributesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_SetSubscriptionAttributes.go b/service/sns/api_op_SetSubscriptionAttributes.go index 8eaaa2f93e5..f01452d65ca 100644 --- a/service/sns/api_op_SetSubscriptionAttributes.go +++ b/service/sns/api_op_SetSubscriptionAttributes.go @@ -100,7 +100,10 @@ func addOperationSetSubscriptionAttributesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_SetTopicAttributes.go b/service/sns/api_op_SetTopicAttributes.go index b38fdc0f0c3..7839e27ba74 100644 --- a/service/sns/api_op_SetTopicAttributes.go +++ b/service/sns/api_op_SetTopicAttributes.go @@ -122,7 +122,10 @@ func addOperationSetTopicAttributesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_Subscribe.go b/service/sns/api_op_Subscribe.go index 266f68d35ac..f1b370549e6 100644 --- a/service/sns/api_op_Subscribe.go +++ b/service/sns/api_op_Subscribe.go @@ -173,7 +173,10 @@ func addOperationSubscribeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_TagResource.go b/service/sns/api_op_TagResource.go index 736c602b503..1e858ad51cd 100644 --- a/service/sns/api_op_TagResource.go +++ b/service/sns/api_op_TagResource.go @@ -95,7 +95,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_Unsubscribe.go b/service/sns/api_op_Unsubscribe.go index cc954e49ae6..6731c46aefd 100644 --- a/service/sns/api_op_Unsubscribe.go +++ b/service/sns/api_op_Unsubscribe.go @@ -76,7 +76,10 @@ func addOperationUnsubscribeMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sns/api_op_UntagResource.go b/service/sns/api_op_UntagResource.go index 195c4c531c1..0a403e49046 100644 --- a/service/sns/api_op_UntagResource.go +++ b/service/sns/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_AddPermission.go b/service/sqs/api_op_AddPermission.go index 25efdc8199c..f19edaec7dc 100644 --- a/service/sqs/api_op_AddPermission.go +++ b/service/sqs/api_op_AddPermission.go @@ -132,7 +132,10 @@ func addOperationAddPermissionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_ChangeMessageVisibility.go b/service/sqs/api_op_ChangeMessageVisibility.go index 98426637818..3b399e94582 100644 --- a/service/sqs/api_op_ChangeMessageVisibility.go +++ b/service/sqs/api_op_ChangeMessageVisibility.go @@ -126,7 +126,10 @@ func addOperationChangeMessageVisibilityMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_ChangeMessageVisibilityBatch.go b/service/sqs/api_op_ChangeMessageVisibilityBatch.go index d31b13c3416..ebfd13b1e3c 100644 --- a/service/sqs/api_op_ChangeMessageVisibilityBatch.go +++ b/service/sqs/api_op_ChangeMessageVisibilityBatch.go @@ -102,7 +102,10 @@ func addOperationChangeMessageVisibilityBatchMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_CreateQueue.go b/service/sqs/api_op_CreateQueue.go index 4e24a2241f3..e34e968b6c2 100644 --- a/service/sqs/api_op_CreateQueue.go +++ b/service/sqs/api_op_CreateQueue.go @@ -330,7 +330,10 @@ func addOperationCreateQueueMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_DeleteMessage.go b/service/sqs/api_op_DeleteMessage.go index 6ebe4818a47..a7c25389cb3 100644 --- a/service/sqs/api_op_DeleteMessage.go +++ b/service/sqs/api_op_DeleteMessage.go @@ -92,7 +92,10 @@ func addOperationDeleteMessageMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_DeleteMessageBatch.go b/service/sqs/api_op_DeleteMessageBatch.go index 4586932fb09..4de7bacce8d 100644 --- a/service/sqs/api_op_DeleteMessageBatch.go +++ b/service/sqs/api_op_DeleteMessageBatch.go @@ -99,7 +99,10 @@ func addOperationDeleteMessageBatchMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_DeleteQueue.go b/service/sqs/api_op_DeleteQueue.go index c0843326613..cb413dd9f18 100644 --- a/service/sqs/api_op_DeleteQueue.go +++ b/service/sqs/api_op_DeleteQueue.go @@ -81,7 +81,10 @@ func addOperationDeleteQueueMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_GetQueueAttributes.go b/service/sqs/api_op_GetQueueAttributes.go index 2423f129359..dcef531cc09 100644 --- a/service/sqs/api_op_GetQueueAttributes.go +++ b/service/sqs/api_op_GetQueueAttributes.go @@ -237,7 +237,10 @@ func addOperationGetQueueAttributesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_GetQueueUrl.go b/service/sqs/api_op_GetQueueUrl.go index 8cdb4040ebd..6b679b09a54 100644 --- a/service/sqs/api_op_GetQueueUrl.go +++ b/service/sqs/api_op_GetQueueUrl.go @@ -88,7 +88,10 @@ func addOperationGetQueueUrlMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_ListDeadLetterSourceQueues.go b/service/sqs/api_op_ListDeadLetterSourceQueues.go index 2ee7029e476..e04c3c187f7 100644 --- a/service/sqs/api_op_ListDeadLetterSourceQueues.go +++ b/service/sqs/api_op_ListDeadLetterSourceQueues.go @@ -102,7 +102,10 @@ func addOperationListDeadLetterSourceQueuesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_ListQueueTags.go b/service/sqs/api_op_ListQueueTags.go index 32470bea515..a711dc126d3 100644 --- a/service/sqs/api_op_ListQueueTags.go +++ b/service/sqs/api_op_ListQueueTags.go @@ -80,7 +80,10 @@ func addOperationListQueueTagsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_ListQueues.go b/service/sqs/api_op_ListQueues.go index faa3a16ae6c..45e07571bb1 100644 --- a/service/sqs/api_op_ListQueues.go +++ b/service/sqs/api_op_ListQueues.go @@ -101,7 +101,10 @@ func addOperationListQueuesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_PurgeQueue.go b/service/sqs/api_op_PurgeQueue.go index daf7810002c..e3e659a88cd 100644 --- a/service/sqs/api_op_PurgeQueue.go +++ b/service/sqs/api_op_PurgeQueue.go @@ -77,7 +77,10 @@ func addOperationPurgeQueueMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_ReceiveMessage.go b/service/sqs/api_op_ReceiveMessage.go index b42c00d7a06..acc5e81e88e 100644 --- a/service/sqs/api_op_ReceiveMessage.go +++ b/service/sqs/api_op_ReceiveMessage.go @@ -264,7 +264,10 @@ func addOperationReceiveMessageMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_RemovePermission.go b/service/sqs/api_op_RemovePermission.go index 546020ffa3c..dedd5bb4189 100644 --- a/service/sqs/api_op_RemovePermission.go +++ b/service/sqs/api_op_RemovePermission.go @@ -90,7 +90,10 @@ func addOperationRemovePermissionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_SendMessage.go b/service/sqs/api_op_SendMessage.go index 464b8cddfb6..7d0ef7c23ba 100644 --- a/service/sqs/api_op_SendMessage.go +++ b/service/sqs/api_op_SendMessage.go @@ -220,7 +220,10 @@ func addOperationSendMessageMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_SendMessageBatch.go b/service/sqs/api_op_SendMessageBatch.go index 44054fb29ec..538395cc36e 100644 --- a/service/sqs/api_op_SendMessageBatch.go +++ b/service/sqs/api_op_SendMessageBatch.go @@ -110,7 +110,10 @@ func addOperationSendMessageBatchMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_SetQueueAttributes.go b/service/sqs/api_op_SetQueueAttributes.go index 5b659911abd..18229a467bf 100644 --- a/service/sqs/api_op_SetQueueAttributes.go +++ b/service/sqs/api_op_SetQueueAttributes.go @@ -254,7 +254,10 @@ func addOperationSetQueueAttributesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_TagQueue.go b/service/sqs/api_op_TagQueue.go index 83a47224fe6..77fb2cab406 100644 --- a/service/sqs/api_op_TagQueue.go +++ b/service/sqs/api_op_TagQueue.go @@ -98,7 +98,10 @@ func addOperationTagQueueMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sqs/api_op_UntagQueue.go b/service/sqs/api_op_UntagQueue.go index 39fca7fc81f..13ecc7e1b83 100644 --- a/service/sqs/api_op_UntagQueue.go +++ b/service/sqs/api_op_UntagQueue.go @@ -81,7 +81,10 @@ func addOperationUntagQueueMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_AddTagsToResource.go b/service/ssm/api_op_AddTagsToResource.go index bb887c0fc33..648ef247cfe 100644 --- a/service/ssm/api_op_AddTagsToResource.go +++ b/service/ssm/api_op_AddTagsToResource.go @@ -106,7 +106,10 @@ func addOperationAddTagsToResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CancelCommand.go b/service/ssm/api_op_CancelCommand.go index 556e37864cd..1c7b1bf931d 100644 --- a/service/ssm/api_op_CancelCommand.go +++ b/service/ssm/api_op_CancelCommand.go @@ -79,7 +79,10 @@ func addOperationCancelCommandMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CancelMaintenanceWindowExecution.go b/service/ssm/api_op_CancelMaintenanceWindowExecution.go index 3263569e8e7..aaed3cc2dd8 100644 --- a/service/ssm/api_op_CancelMaintenanceWindowExecution.go +++ b/service/ssm/api_op_CancelMaintenanceWindowExecution.go @@ -75,7 +75,10 @@ func addOperationCancelMaintenanceWindowExecutionMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CreateActivation.go b/service/ssm/api_op_CreateActivation.go index 4971bedff34..66cecca054f 100644 --- a/service/ssm/api_op_CreateActivation.go +++ b/service/ssm/api_op_CreateActivation.go @@ -137,7 +137,10 @@ func addOperationCreateActivationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CreateAssociation.go b/service/ssm/api_op_CreateAssociation.go index 308fc6a0ccd..acd5b7d6d5a 100644 --- a/service/ssm/api_op_CreateAssociation.go +++ b/service/ssm/api_op_CreateAssociation.go @@ -178,7 +178,10 @@ func addOperationCreateAssociationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CreateAssociationBatch.go b/service/ssm/api_op_CreateAssociationBatch.go index 4de567f84c6..fb85c9ae512 100644 --- a/service/ssm/api_op_CreateAssociationBatch.go +++ b/service/ssm/api_op_CreateAssociationBatch.go @@ -82,7 +82,10 @@ func addOperationCreateAssociationBatchMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CreateDocument.go b/service/ssm/api_op_CreateDocument.go index d9962a1822a..eb72230a240 100644 --- a/service/ssm/api_op_CreateDocument.go +++ b/service/ssm/api_op_CreateDocument.go @@ -157,7 +157,10 @@ func addOperationCreateDocumentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CreateMaintenanceWindow.go b/service/ssm/api_op_CreateMaintenanceWindow.go index a4f4fbbb95f..ef1536e510f 100644 --- a/service/ssm/api_op_CreateMaintenanceWindow.go +++ b/service/ssm/api_op_CreateMaintenanceWindow.go @@ -155,7 +155,10 @@ func addOperationCreateMaintenanceWindowMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CreateOpsItem.go b/service/ssm/api_op_CreateOpsItem.go index 8c9da4cf047..0ef93aee9ad 100644 --- a/service/ssm/api_op_CreateOpsItem.go +++ b/service/ssm/api_op_CreateOpsItem.go @@ -162,7 +162,10 @@ func addOperationCreateOpsItemMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CreateOpsMetadata.go b/service/ssm/api_op_CreateOpsMetadata.go index 3fe852994b6..2a5d2b454f5 100644 --- a/service/ssm/api_op_CreateOpsMetadata.go +++ b/service/ssm/api_op_CreateOpsMetadata.go @@ -80,7 +80,10 @@ func addOperationCreateOpsMetadataMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CreatePatchBaseline.go b/service/ssm/api_op_CreatePatchBaseline.go index 35e33d11dde..e2befb8fea8 100644 --- a/service/ssm/api_op_CreatePatchBaseline.go +++ b/service/ssm/api_op_CreatePatchBaseline.go @@ -151,7 +151,10 @@ func addOperationCreatePatchBaselineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_CreateResourceDataSync.go b/service/ssm/api_op_CreateResourceDataSync.go index 768b52c0d12..04cc33af068 100644 --- a/service/ssm/api_op_CreateResourceDataSync.go +++ b/service/ssm/api_op_CreateResourceDataSync.go @@ -108,7 +108,10 @@ func addOperationCreateResourceDataSyncMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeleteActivation.go b/service/ssm/api_op_DeleteActivation.go index 7c9834c1528..68fe6f4c60a 100644 --- a/service/ssm/api_op_DeleteActivation.go +++ b/service/ssm/api_op_DeleteActivation.go @@ -72,7 +72,10 @@ func addOperationDeleteActivationMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeleteAssociation.go b/service/ssm/api_op_DeleteAssociation.go index cf8835951fc..47ac8402696 100644 --- a/service/ssm/api_op_DeleteAssociation.go +++ b/service/ssm/api_op_DeleteAssociation.go @@ -77,7 +77,10 @@ func addOperationDeleteAssociationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeleteDocument.go b/service/ssm/api_op_DeleteDocument.go index d1e4d9d5c36..9d586bb8f38 100644 --- a/service/ssm/api_op_DeleteDocument.go +++ b/service/ssm/api_op_DeleteDocument.go @@ -86,7 +86,10 @@ func addOperationDeleteDocumentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeleteInventory.go b/service/ssm/api_op_DeleteInventory.go index 9f88c8b8549..a6d6d50c8cb 100644 --- a/service/ssm/api_op_DeleteInventory.go +++ b/service/ssm/api_op_DeleteInventory.go @@ -110,7 +110,10 @@ func addOperationDeleteInventoryMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeleteMaintenanceWindow.go b/service/ssm/api_op_DeleteMaintenanceWindow.go index 003713144f1..dccdf0f68cc 100644 --- a/service/ssm/api_op_DeleteMaintenanceWindow.go +++ b/service/ssm/api_op_DeleteMaintenanceWindow.go @@ -73,7 +73,10 @@ func addOperationDeleteMaintenanceWindowMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeleteOpsMetadata.go b/service/ssm/api_op_DeleteOpsMetadata.go index 29c882a842f..6bdfd99e792 100644 --- a/service/ssm/api_op_DeleteOpsMetadata.go +++ b/service/ssm/api_op_DeleteOpsMetadata.go @@ -69,7 +69,10 @@ func addOperationDeleteOpsMetadataMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeleteParameter.go b/service/ssm/api_op_DeleteParameter.go index ffcb07baee0..08a4cf08392 100644 --- a/service/ssm/api_op_DeleteParameter.go +++ b/service/ssm/api_op_DeleteParameter.go @@ -69,7 +69,10 @@ func addOperationDeleteParameterMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeleteParameters.go b/service/ssm/api_op_DeleteParameters.go index 5e4095abfdb..929fe18c7b9 100644 --- a/service/ssm/api_op_DeleteParameters.go +++ b/service/ssm/api_op_DeleteParameters.go @@ -77,7 +77,10 @@ func addOperationDeleteParametersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeletePatchBaseline.go b/service/ssm/api_op_DeletePatchBaseline.go index f4278c74530..a5dc83d09bd 100644 --- a/service/ssm/api_op_DeletePatchBaseline.go +++ b/service/ssm/api_op_DeletePatchBaseline.go @@ -73,7 +73,10 @@ func addOperationDeletePatchBaselineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeleteResourceDataSync.go b/service/ssm/api_op_DeleteResourceDataSync.go index 7696665667f..0f61d0bd420 100644 --- a/service/ssm/api_op_DeleteResourceDataSync.go +++ b/service/ssm/api_op_DeleteResourceDataSync.go @@ -74,7 +74,10 @@ func addOperationDeleteResourceDataSyncMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeregisterManagedInstance.go b/service/ssm/api_op_DeregisterManagedInstance.go index 0fb5ee39652..0facc1c9f18 100644 --- a/service/ssm/api_op_DeregisterManagedInstance.go +++ b/service/ssm/api_op_DeregisterManagedInstance.go @@ -72,7 +72,10 @@ func addOperationDeregisterManagedInstanceMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go b/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go index 4cb25e31c79..5ad47decc56 100644 --- a/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go +++ b/service/ssm/api_op_DeregisterPatchBaselineForPatchGroup.go @@ -81,7 +81,10 @@ func addOperationDeregisterPatchBaselineForPatchGroupMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go b/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go index b6987c55db0..11af8bf39d4 100644 --- a/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go +++ b/service/ssm/api_op_DeregisterTargetFromMaintenanceWindow.go @@ -86,7 +86,10 @@ func addOperationDeregisterTargetFromMaintenanceWindowMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go b/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go index c67cc7fbad5..4c771502fd7 100644 --- a/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go +++ b/service/ssm/api_op_DeregisterTaskFromMaintenanceWindow.go @@ -81,7 +81,10 @@ func addOperationDeregisterTaskFromMaintenanceWindowMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeActivations.go b/service/ssm/api_op_DescribeActivations.go index 07faff4814a..85776c39208 100644 --- a/service/ssm/api_op_DescribeActivations.go +++ b/service/ssm/api_op_DescribeActivations.go @@ -86,7 +86,10 @@ func addOperationDescribeActivationsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeAssociation.go b/service/ssm/api_op_DescribeAssociation.go index b237c5aabae..d5f1c57247d 100644 --- a/service/ssm/api_op_DescribeAssociation.go +++ b/service/ssm/api_op_DescribeAssociation.go @@ -88,7 +88,10 @@ func addOperationDescribeAssociationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeAssociationExecutionTargets.go b/service/ssm/api_op_DescribeAssociationExecutionTargets.go index f24d68ee7bb..94fdde580de 100644 --- a/service/ssm/api_op_DescribeAssociationExecutionTargets.go +++ b/service/ssm/api_op_DescribeAssociationExecutionTargets.go @@ -97,7 +97,10 @@ func addOperationDescribeAssociationExecutionTargetsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeAssociationExecutions.go b/service/ssm/api_op_DescribeAssociationExecutions.go index 4e02aceab1e..6f14346599f 100644 --- a/service/ssm/api_op_DescribeAssociationExecutions.go +++ b/service/ssm/api_op_DescribeAssociationExecutions.go @@ -90,7 +90,10 @@ func addOperationDescribeAssociationExecutionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeAutomationExecutions.go b/service/ssm/api_op_DescribeAutomationExecutions.go index 08f63d7c3f8..a3f47670249 100644 --- a/service/ssm/api_op_DescribeAutomationExecutions.go +++ b/service/ssm/api_op_DescribeAutomationExecutions.go @@ -86,7 +86,10 @@ func addOperationDescribeAutomationExecutionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeAutomationStepExecutions.go b/service/ssm/api_op_DescribeAutomationStepExecutions.go index 84aa8360402..f15ef774cf9 100644 --- a/service/ssm/api_op_DescribeAutomationStepExecutions.go +++ b/service/ssm/api_op_DescribeAutomationStepExecutions.go @@ -97,7 +97,10 @@ func addOperationDescribeAutomationStepExecutionsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeAvailablePatches.go b/service/ssm/api_op_DescribeAvailablePatches.go index fd0dae35643..026e24e55b8 100644 --- a/service/ssm/api_op_DescribeAvailablePatches.go +++ b/service/ssm/api_op_DescribeAvailablePatches.go @@ -84,7 +84,10 @@ func addOperationDescribeAvailablePatchesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeDocument.go b/service/ssm/api_op_DescribeDocument.go index e6f7b252246..aff1eeb6e40 100644 --- a/service/ssm/api_op_DescribeDocument.go +++ b/service/ssm/api_op_DescribeDocument.go @@ -83,7 +83,10 @@ func addOperationDescribeDocumentMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeDocumentPermission.go b/service/ssm/api_op_DescribeDocumentPermission.go index d07e7d1639a..5c474de590d 100644 --- a/service/ssm/api_op_DescribeDocumentPermission.go +++ b/service/ssm/api_op_DescribeDocumentPermission.go @@ -86,7 +86,10 @@ func addOperationDescribeDocumentPermissionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go b/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go index a342eb8c160..1a074bf4c97 100644 --- a/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go +++ b/service/ssm/api_op_DescribeEffectiveInstanceAssociations.go @@ -87,7 +87,10 @@ func addOperationDescribeEffectiveInstanceAssociationsMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go b/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go index ef9f93a6492..5109501c552 100644 --- a/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go +++ b/service/ssm/api_op_DescribeEffectivePatchesForPatchBaseline.go @@ -88,7 +88,10 @@ func addOperationDescribeEffectivePatchesForPatchBaselineMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeInstanceAssociationsStatus.go b/service/ssm/api_op_DescribeInstanceAssociationsStatus.go index 58fe0e14827..d5bda7a93ff 100644 --- a/service/ssm/api_op_DescribeInstanceAssociationsStatus.go +++ b/service/ssm/api_op_DescribeInstanceAssociationsStatus.go @@ -87,7 +87,10 @@ func addOperationDescribeInstanceAssociationsStatusMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeInstanceInformation.go b/service/ssm/api_op_DescribeInstanceInformation.go index 322abdd13fd..21f49336eef 100644 --- a/service/ssm/api_op_DescribeInstanceInformation.go +++ b/service/ssm/api_op_DescribeInstanceInformation.go @@ -101,7 +101,10 @@ func addOperationDescribeInstanceInformationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeInstancePatchStates.go b/service/ssm/api_op_DescribeInstancePatchStates.go index 9dcd722825e..4fbcdbe0959 100644 --- a/service/ssm/api_op_DescribeInstancePatchStates.go +++ b/service/ssm/api_op_DescribeInstancePatchStates.go @@ -86,7 +86,10 @@ func addOperationDescribeInstancePatchStatesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go b/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go index c7fda8fc3a6..4790a717987 100644 --- a/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go +++ b/service/ssm/api_op_DescribeInstancePatchStatesForPatchGroup.go @@ -93,7 +93,10 @@ func addOperationDescribeInstancePatchStatesForPatchGroupMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeInstancePatches.go b/service/ssm/api_op_DescribeInstancePatches.go index 51c959d8b5a..d432cc54e36 100644 --- a/service/ssm/api_op_DescribeInstancePatches.go +++ b/service/ssm/api_op_DescribeInstancePatches.go @@ -94,7 +94,10 @@ func addOperationDescribeInstancePatchesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeInventoryDeletions.go b/service/ssm/api_op_DescribeInventoryDeletions.go index d3135e2938c..7e97309559b 100644 --- a/service/ssm/api_op_DescribeInventoryDeletions.go +++ b/service/ssm/api_op_DescribeInventoryDeletions.go @@ -85,7 +85,10 @@ func addOperationDescribeInventoryDeletionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go index 889939fed17..5ece26f3125 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTaskInvocations.go @@ -99,7 +99,10 @@ func addOperationDescribeMaintenanceWindowExecutionTaskInvocationsMiddlewares(st if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go index dc139e98eda..b5aa3f7517c 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowExecutionTasks.go @@ -93,7 +93,10 @@ func addOperationDescribeMaintenanceWindowExecutionTasksMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go b/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go index e5fb026696d..715b7bbc7cb 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowExecutions.go @@ -95,7 +95,10 @@ func addOperationDescribeMaintenanceWindowExecutionsMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go b/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go index 5c6a6de05a3..18c12031896 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowSchedule.go @@ -98,7 +98,10 @@ func addOperationDescribeMaintenanceWindowScheduleMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeMaintenanceWindowTargets.go b/service/ssm/api_op_DescribeMaintenanceWindowTargets.go index b44acb8acc1..2c170257cb2 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowTargets.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowTargets.go @@ -92,7 +92,10 @@ func addOperationDescribeMaintenanceWindowTargetsMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeMaintenanceWindowTasks.go b/service/ssm/api_op_DescribeMaintenanceWindowTasks.go index 2c0b04439a1..4428998cea4 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowTasks.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowTasks.go @@ -95,7 +95,10 @@ func addOperationDescribeMaintenanceWindowTasksMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeMaintenanceWindows.go b/service/ssm/api_op_DescribeMaintenanceWindows.go index 38bff9298a2..6ab0044450d 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindows.go +++ b/service/ssm/api_op_DescribeMaintenanceWindows.go @@ -86,7 +86,10 @@ func addOperationDescribeMaintenanceWindowsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go b/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go index 23b56f33364..b1bf0a25568 100644 --- a/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go +++ b/service/ssm/api_op_DescribeMaintenanceWindowsForTarget.go @@ -95,7 +95,10 @@ func addOperationDescribeMaintenanceWindowsForTargetMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeOpsItems.go b/service/ssm/api_op_DescribeOpsItems.go index f67418b05d9..1bc5434e883 100644 --- a/service/ssm/api_op_DescribeOpsItems.go +++ b/service/ssm/api_op_DescribeOpsItems.go @@ -131,7 +131,10 @@ func addOperationDescribeOpsItemsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeParameters.go b/service/ssm/api_op_DescribeParameters.go index cd19edeb4d9..45a73158352 100644 --- a/service/ssm/api_op_DescribeParameters.go +++ b/service/ssm/api_op_DescribeParameters.go @@ -93,7 +93,10 @@ func addOperationDescribeParametersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribePatchBaselines.go b/service/ssm/api_op_DescribePatchBaselines.go index 71aafafca8a..7f0ca8212ec 100644 --- a/service/ssm/api_op_DescribePatchBaselines.go +++ b/service/ssm/api_op_DescribePatchBaselines.go @@ -86,7 +86,10 @@ func addOperationDescribePatchBaselinesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribePatchGroupState.go b/service/ssm/api_op_DescribePatchGroupState.go index dfa3fb17cad..be4550a495c 100644 --- a/service/ssm/api_op_DescribePatchGroupState.go +++ b/service/ssm/api_op_DescribePatchGroupState.go @@ -106,7 +106,10 @@ func addOperationDescribePatchGroupStateMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribePatchGroups.go b/service/ssm/api_op_DescribePatchGroups.go index c72dfef1f69..f2c4625e56e 100644 --- a/service/ssm/api_op_DescribePatchGroups.go +++ b/service/ssm/api_op_DescribePatchGroups.go @@ -101,7 +101,10 @@ func addOperationDescribePatchGroupsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribePatchProperties.go b/service/ssm/api_op_DescribePatchProperties.go index 3c0d4441a0b..7d3026f9649 100644 --- a/service/ssm/api_op_DescribePatchProperties.go +++ b/service/ssm/api_op_DescribePatchProperties.go @@ -109,7 +109,10 @@ func addOperationDescribePatchPropertiesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_DescribeSessions.go b/service/ssm/api_op_DescribeSessions.go index eb2584a7747..d4fc273f802 100644 --- a/service/ssm/api_op_DescribeSessions.go +++ b/service/ssm/api_op_DescribeSessions.go @@ -91,7 +91,10 @@ func addOperationDescribeSessionsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetAutomationExecution.go b/service/ssm/api_op_GetAutomationExecution.go index 0169c11fd52..fb4cfa6995d 100644 --- a/service/ssm/api_op_GetAutomationExecution.go +++ b/service/ssm/api_op_GetAutomationExecution.go @@ -76,7 +76,10 @@ func addOperationGetAutomationExecutionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetCalendarState.go b/service/ssm/api_op_GetCalendarState.go index 1b0cabe1826..972ab2aac45 100644 --- a/service/ssm/api_op_GetCalendarState.go +++ b/service/ssm/api_op_GetCalendarState.go @@ -104,7 +104,10 @@ func addOperationGetCalendarStateMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetCommandInvocation.go b/service/ssm/api_op_GetCommandInvocation.go index e74cc5c281d..9f4fd748cf5 100644 --- a/service/ssm/api_op_GetCommandInvocation.go +++ b/service/ssm/api_op_GetCommandInvocation.go @@ -212,7 +212,10 @@ func addOperationGetCommandInvocationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetConnectionStatus.go b/service/ssm/api_op_GetConnectionStatus.go index 58fad1db2f1..7e71687e0a2 100644 --- a/service/ssm/api_op_GetConnectionStatus.go +++ b/service/ssm/api_op_GetConnectionStatus.go @@ -79,7 +79,10 @@ func addOperationGetConnectionStatusMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetDefaultPatchBaseline.go b/service/ssm/api_op_GetDefaultPatchBaseline.go index 326ccc4c62c..a1c249e208c 100644 --- a/service/ssm/api_op_GetDefaultPatchBaseline.go +++ b/service/ssm/api_op_GetDefaultPatchBaseline.go @@ -78,7 +78,10 @@ func addOperationGetDefaultPatchBaselineMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go b/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go index e3d569a847a..b24e57871f8 100644 --- a/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go +++ b/service/ssm/api_op_GetDeployablePatchSnapshotForInstance.go @@ -90,7 +90,10 @@ func addOperationGetDeployablePatchSnapshotForInstanceMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetDocument.go b/service/ssm/api_op_GetDocument.go index 3b2227aa6db..32e32b906db 100644 --- a/service/ssm/api_op_GetDocument.go +++ b/service/ssm/api_op_GetDocument.go @@ -130,7 +130,10 @@ func addOperationGetDocumentMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetInventory.go b/service/ssm/api_op_GetInventory.go index 3bbb50cb2ca..dd6e26ebfba 100644 --- a/service/ssm/api_op_GetInventory.go +++ b/service/ssm/api_op_GetInventory.go @@ -94,7 +94,10 @@ func addOperationGetInventoryMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetInventorySchema.go b/service/ssm/api_op_GetInventorySchema.go index 397d3d4e1e0..c25ff6b192b 100644 --- a/service/ssm/api_op_GetInventorySchema.go +++ b/service/ssm/api_op_GetInventorySchema.go @@ -94,7 +94,10 @@ func addOperationGetInventorySchemaMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetMaintenanceWindow.go b/service/ssm/api_op_GetMaintenanceWindow.go index 5ff68e47aa8..13313044469 100644 --- a/service/ssm/api_op_GetMaintenanceWindow.go +++ b/service/ssm/api_op_GetMaintenanceWindow.go @@ -127,7 +127,10 @@ func addOperationGetMaintenanceWindowMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetMaintenanceWindowExecution.go b/service/ssm/api_op_GetMaintenanceWindowExecution.go index df6d70e8516..a893c2fe5f6 100644 --- a/service/ssm/api_op_GetMaintenanceWindowExecution.go +++ b/service/ssm/api_op_GetMaintenanceWindowExecution.go @@ -90,7 +90,10 @@ func addOperationGetMaintenanceWindowExecutionMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go b/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go index 1c7b762be7d..d645f207970 100644 --- a/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go +++ b/service/ssm/api_op_GetMaintenanceWindowExecutionTask.go @@ -126,7 +126,10 @@ func addOperationGetMaintenanceWindowExecutionTaskMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go b/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go index 0c68db886a3..932e1b7c6ef 100644 --- a/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go +++ b/service/ssm/api_op_GetMaintenanceWindowExecutionTaskInvocation.go @@ -122,7 +122,10 @@ func addOperationGetMaintenanceWindowExecutionTaskInvocationMiddlewares(stack *m if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetMaintenanceWindowTask.go b/service/ssm/api_op_GetMaintenanceWindowTask.go index a1d588f8879..da0b5f6c64e 100644 --- a/service/ssm/api_op_GetMaintenanceWindowTask.go +++ b/service/ssm/api_op_GetMaintenanceWindowTask.go @@ -144,7 +144,10 @@ func addOperationGetMaintenanceWindowTaskMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetOpsItem.go b/service/ssm/api_op_GetOpsItem.go index 74a9838f419..dc8909aec2f 100644 --- a/service/ssm/api_op_GetOpsItem.go +++ b/service/ssm/api_op_GetOpsItem.go @@ -83,7 +83,10 @@ func addOperationGetOpsItemMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetOpsMetadata.go b/service/ssm/api_op_GetOpsMetadata.go index ba23fbd591b..d357f5a0d7b 100644 --- a/service/ssm/api_op_GetOpsMetadata.go +++ b/service/ssm/api_op_GetOpsMetadata.go @@ -88,7 +88,10 @@ func addOperationGetOpsMetadataMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetOpsSummary.go b/service/ssm/api_op_GetOpsSummary.go index a3b85a9c013..e4014db2840 100644 --- a/service/ssm/api_op_GetOpsSummary.go +++ b/service/ssm/api_op_GetOpsSummary.go @@ -94,7 +94,10 @@ func addOperationGetOpsSummaryMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetParameter.go b/service/ssm/api_op_GetParameter.go index d426cc1da5a..9c59a8d5f1f 100644 --- a/service/ssm/api_op_GetParameter.go +++ b/service/ssm/api_op_GetParameter.go @@ -79,7 +79,10 @@ func addOperationGetParameterMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetParameterHistory.go b/service/ssm/api_op_GetParameterHistory.go index a999a654bd2..78e8f813940 100644 --- a/service/ssm/api_op_GetParameterHistory.go +++ b/service/ssm/api_op_GetParameterHistory.go @@ -91,7 +91,10 @@ func addOperationGetParameterHistoryMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetParameters.go b/service/ssm/api_op_GetParameters.go index 2c0a03beaf8..3b25cf995be 100644 --- a/service/ssm/api_op_GetParameters.go +++ b/service/ssm/api_op_GetParameters.go @@ -83,7 +83,10 @@ func addOperationGetParametersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetParametersByPath.go b/service/ssm/api_op_GetParametersByPath.go index 8363cf58e4f..ad7b71a44d7 100644 --- a/service/ssm/api_op_GetParametersByPath.go +++ b/service/ssm/api_op_GetParametersByPath.go @@ -111,7 +111,10 @@ func addOperationGetParametersByPathMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetPatchBaseline.go b/service/ssm/api_op_GetPatchBaseline.go index 448f51152a9..45f7596dac0 100644 --- a/service/ssm/api_op_GetPatchBaseline.go +++ b/service/ssm/api_op_GetPatchBaseline.go @@ -123,7 +123,10 @@ func addOperationGetPatchBaselineMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetPatchBaselineForPatchGroup.go b/service/ssm/api_op_GetPatchBaselineForPatchGroup.go index 65cadc10b40..45e691fc9c9 100644 --- a/service/ssm/api_op_GetPatchBaselineForPatchGroup.go +++ b/service/ssm/api_op_GetPatchBaselineForPatchGroup.go @@ -84,7 +84,10 @@ func addOperationGetPatchBaselineForPatchGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_GetServiceSetting.go b/service/ssm/api_op_GetServiceSetting.go index 6964bac66d9..31379d8ee66 100644 --- a/service/ssm/api_op_GetServiceSetting.go +++ b/service/ssm/api_op_GetServiceSetting.go @@ -91,7 +91,10 @@ func addOperationGetServiceSettingMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_LabelParameterVersion.go b/service/ssm/api_op_LabelParameterVersion.go index 2757d49a63b..4d962c30eb4 100644 --- a/service/ssm/api_op_LabelParameterVersion.go +++ b/service/ssm/api_op_LabelParameterVersion.go @@ -122,7 +122,10 @@ func addOperationLabelParameterVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListAssociationVersions.go b/service/ssm/api_op_ListAssociationVersions.go index d1f8b7b25eb..d8de4d0ff26 100644 --- a/service/ssm/api_op_ListAssociationVersions.go +++ b/service/ssm/api_op_ListAssociationVersions.go @@ -87,7 +87,10 @@ func addOperationListAssociationVersionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListAssociations.go b/service/ssm/api_op_ListAssociations.go index b6b8b51e094..7c737e2bc43 100644 --- a/service/ssm/api_op_ListAssociations.go +++ b/service/ssm/api_op_ListAssociations.go @@ -91,7 +91,10 @@ func addOperationListAssociationsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListCommandInvocations.go b/service/ssm/api_op_ListCommandInvocations.go index 481d7b0357b..2e9c5afed4a 100644 --- a/service/ssm/api_op_ListCommandInvocations.go +++ b/service/ssm/api_op_ListCommandInvocations.go @@ -101,7 +101,10 @@ func addOperationListCommandInvocationsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListCommands.go b/service/ssm/api_op_ListCommands.go index 84712ff49a6..67ae7278fb4 100644 --- a/service/ssm/api_op_ListCommands.go +++ b/service/ssm/api_op_ListCommands.go @@ -95,7 +95,10 @@ func addOperationListCommandsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListComplianceItems.go b/service/ssm/api_op_ListComplianceItems.go index f0980190221..b0a5e1af7a4 100644 --- a/service/ssm/api_op_ListComplianceItems.go +++ b/service/ssm/api_op_ListComplianceItems.go @@ -96,7 +96,10 @@ func addOperationListComplianceItemsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListComplianceSummaries.go b/service/ssm/api_op_ListComplianceSummaries.go index 3fb5317f5b0..5397920486b 100644 --- a/service/ssm/api_op_ListComplianceSummaries.go +++ b/service/ssm/api_op_ListComplianceSummaries.go @@ -91,7 +91,10 @@ func addOperationListComplianceSummariesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListDocumentMetadataHistory.go b/service/ssm/api_op_ListDocumentMetadataHistory.go index 76d9af940aa..e327fdae923 100644 --- a/service/ssm/api_op_ListDocumentMetadataHistory.go +++ b/service/ssm/api_op_ListDocumentMetadataHistory.go @@ -104,7 +104,10 @@ func addOperationListDocumentMetadataHistoryMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListDocumentVersions.go b/service/ssm/api_op_ListDocumentVersions.go index c9a10bf0908..8dca950dd13 100644 --- a/service/ssm/api_op_ListDocumentVersions.go +++ b/service/ssm/api_op_ListDocumentVersions.go @@ -87,7 +87,10 @@ func addOperationListDocumentVersionsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListDocuments.go b/service/ssm/api_op_ListDocuments.go index 5a3415ebdb7..76e4f774c6d 100644 --- a/service/ssm/api_op_ListDocuments.go +++ b/service/ssm/api_op_ListDocuments.go @@ -94,7 +94,10 @@ func addOperationListDocumentsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListInventoryEntries.go b/service/ssm/api_op_ListInventoryEntries.go index 69b792f8578..3d8b15e1411 100644 --- a/service/ssm/api_op_ListInventoryEntries.go +++ b/service/ssm/api_op_ListInventoryEntries.go @@ -106,7 +106,10 @@ func addOperationListInventoryEntriesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListOpsItemEvents.go b/service/ssm/api_op_ListOpsItemEvents.go index 027e3ff9574..f7df7053eb9 100644 --- a/service/ssm/api_op_ListOpsItemEvents.go +++ b/service/ssm/api_op_ListOpsItemEvents.go @@ -87,7 +87,10 @@ func addOperationListOpsItemEventsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListOpsMetadata.go b/service/ssm/api_op_ListOpsMetadata.go index 56463778e9b..bc455a12bea 100644 --- a/service/ssm/api_op_ListOpsMetadata.go +++ b/service/ssm/api_op_ListOpsMetadata.go @@ -86,7 +86,10 @@ func addOperationListOpsMetadataMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListResourceComplianceSummaries.go b/service/ssm/api_op_ListResourceComplianceSummaries.go index 0b954faf3fd..fa8052fd58d 100644 --- a/service/ssm/api_op_ListResourceComplianceSummaries.go +++ b/service/ssm/api_op_ListResourceComplianceSummaries.go @@ -89,7 +89,10 @@ func addOperationListResourceComplianceSummariesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListResourceDataSync.go b/service/ssm/api_op_ListResourceDataSync.go index 63e791adb3c..26ef1200edb 100644 --- a/service/ssm/api_op_ListResourceDataSync.go +++ b/service/ssm/api_op_ListResourceDataSync.go @@ -95,7 +95,10 @@ func addOperationListResourceDataSyncMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ListTagsForResource.go b/service/ssm/api_op_ListTagsForResource.go index 100c8d7391e..7e89fab85b2 100644 --- a/service/ssm/api_op_ListTagsForResource.go +++ b/service/ssm/api_op_ListTagsForResource.go @@ -79,7 +79,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ModifyDocumentPermission.go b/service/ssm/api_op_ModifyDocumentPermission.go index bece5d43d4c..dc5189f5f1e 100644 --- a/service/ssm/api_op_ModifyDocumentPermission.go +++ b/service/ssm/api_op_ModifyDocumentPermission.go @@ -92,7 +92,10 @@ func addOperationModifyDocumentPermissionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_PutComplianceItems.go b/service/ssm/api_op_PutComplianceItems.go index 4f12a7b5414..d35be971fe6 100644 --- a/service/ssm/api_op_PutComplianceItems.go +++ b/service/ssm/api_op_PutComplianceItems.go @@ -160,7 +160,10 @@ func addOperationPutComplianceItemsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_PutInventory.go b/service/ssm/api_op_PutInventory.go index 4d3b7547bbc..71de74cc027 100644 --- a/service/ssm/api_op_PutInventory.go +++ b/service/ssm/api_op_PutInventory.go @@ -81,7 +81,10 @@ func addOperationPutInventoryMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_PutParameter.go b/service/ssm/api_op_PutParameter.go index 8a48ea54aac..31b920b72c8 100644 --- a/service/ssm/api_op_PutParameter.go +++ b/service/ssm/api_op_PutParameter.go @@ -269,7 +269,10 @@ func addOperationPutParameterMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_RegisterDefaultPatchBaseline.go b/service/ssm/api_op_RegisterDefaultPatchBaseline.go index 99a9db44b81..462d5b83f65 100644 --- a/service/ssm/api_op_RegisterDefaultPatchBaseline.go +++ b/service/ssm/api_op_RegisterDefaultPatchBaseline.go @@ -77,7 +77,10 @@ func addOperationRegisterDefaultPatchBaselineMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go b/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go index bcf114ac3f8..5c7d019d4a0 100644 --- a/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go +++ b/service/ssm/api_op_RegisterPatchBaselineForPatchGroup.go @@ -81,7 +81,10 @@ func addOperationRegisterPatchBaselineForPatchGroupMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go b/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go index 4392633a12d..f02ec2b46ce 100644 --- a/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go +++ b/service/ssm/api_op_RegisterTargetWithMaintenanceWindow.go @@ -115,7 +115,10 @@ func addOperationRegisterTargetWithMaintenanceWindowMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go b/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go index 368b50cf3dd..22dea168ecd 100644 --- a/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go +++ b/service/ssm/api_op_RegisterTaskWithMaintenanceWindow.go @@ -159,7 +159,10 @@ func addOperationRegisterTaskWithMaintenanceWindowMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_RemoveTagsFromResource.go b/service/ssm/api_op_RemoveTagsFromResource.go index 6a60fde0c56..40e31b7bb8e 100644 --- a/service/ssm/api_op_RemoveTagsFromResource.go +++ b/service/ssm/api_op_RemoveTagsFromResource.go @@ -88,7 +88,10 @@ func addOperationRemoveTagsFromResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ResetServiceSetting.go b/service/ssm/api_op_ResetServiceSetting.go index ce70e4e349e..876edc3de97 100644 --- a/service/ssm/api_op_ResetServiceSetting.go +++ b/service/ssm/api_op_ResetServiceSetting.go @@ -93,7 +93,10 @@ func addOperationResetServiceSettingMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_ResumeSession.go b/service/ssm/api_op_ResumeSession.go index aac2411d4c1..65f30a89cba 100644 --- a/service/ssm/api_op_ResumeSession.go +++ b/service/ssm/api_op_ResumeSession.go @@ -91,7 +91,10 @@ func addOperationResumeSessionMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_SendAutomationSignal.go b/service/ssm/api_op_SendAutomationSignal.go index fd4d5eeed1d..4e26c2caea7 100644 --- a/service/ssm/api_op_SendAutomationSignal.go +++ b/service/ssm/api_op_SendAutomationSignal.go @@ -87,7 +87,10 @@ func addOperationSendAutomationSignalMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_SendCommand.go b/service/ssm/api_op_SendCommand.go index 11b51d4cb32..ef8daeef30b 100644 --- a/service/ssm/api_op_SendCommand.go +++ b/service/ssm/api_op_SendCommand.go @@ -163,7 +163,10 @@ func addOperationSendCommandMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_StartAssociationsOnce.go b/service/ssm/api_op_StartAssociationsOnce.go index e6257ce0814..290cb570f98 100644 --- a/service/ssm/api_op_StartAssociationsOnce.go +++ b/service/ssm/api_op_StartAssociationsOnce.go @@ -70,7 +70,10 @@ func addOperationStartAssociationsOnceMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_StartAutomationExecution.go b/service/ssm/api_op_StartAutomationExecution.go index 4e246ff1320..8999eab5f1a 100644 --- a/service/ssm/api_op_StartAutomationExecution.go +++ b/service/ssm/api_op_StartAutomationExecution.go @@ -143,7 +143,10 @@ func addOperationStartAutomationExecutionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_StartChangeRequestExecution.go b/service/ssm/api_op_StartChangeRequestExecution.go index e7d14f6dd70..c1e95954b7a 100644 --- a/service/ssm/api_op_StartChangeRequestExecution.go +++ b/service/ssm/api_op_StartChangeRequestExecution.go @@ -117,7 +117,10 @@ func addOperationStartChangeRequestExecutionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_StartSession.go b/service/ssm/api_op_StartSession.go index 793a5f5158a..65afbf10759 100644 --- a/service/ssm/api_op_StartSession.go +++ b/service/ssm/api_op_StartSession.go @@ -107,7 +107,10 @@ func addOperationStartSessionMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_StopAutomationExecution.go b/service/ssm/api_op_StopAutomationExecution.go index 171b3b5ef94..0fafe11a2a8 100644 --- a/service/ssm/api_op_StopAutomationExecution.go +++ b/service/ssm/api_op_StopAutomationExecution.go @@ -74,7 +74,10 @@ func addOperationStopAutomationExecutionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_TerminateSession.go b/service/ssm/api_op_TerminateSession.go index 500f5898db4..e2cb1865b77 100644 --- a/service/ssm/api_op_TerminateSession.go +++ b/service/ssm/api_op_TerminateSession.go @@ -75,7 +75,10 @@ func addOperationTerminateSessionMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateAssociation.go b/service/ssm/api_op_UpdateAssociation.go index c0ec2051c34..5f0ebfdcbc1 100644 --- a/service/ssm/api_op_UpdateAssociation.go +++ b/service/ssm/api_op_UpdateAssociation.go @@ -176,7 +176,10 @@ func addOperationUpdateAssociationMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateAssociationStatus.go b/service/ssm/api_op_UpdateAssociationStatus.go index 791a730866d..1b5ca97ad55 100644 --- a/service/ssm/api_op_UpdateAssociationStatus.go +++ b/service/ssm/api_op_UpdateAssociationStatus.go @@ -85,7 +85,10 @@ func addOperationUpdateAssociationStatusMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateDocument.go b/service/ssm/api_op_UpdateDocument.go index 8eef0ab1bb9..e66cf6e829a 100644 --- a/service/ssm/api_op_UpdateDocument.go +++ b/service/ssm/api_op_UpdateDocument.go @@ -100,7 +100,10 @@ func addOperationUpdateDocumentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateDocumentDefaultVersion.go b/service/ssm/api_op_UpdateDocumentDefaultVersion.go index 66609dec399..c723a56246e 100644 --- a/service/ssm/api_op_UpdateDocumentDefaultVersion.go +++ b/service/ssm/api_op_UpdateDocumentDefaultVersion.go @@ -80,7 +80,10 @@ func addOperationUpdateDocumentDefaultVersionMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateDocumentMetadata.go b/service/ssm/api_op_UpdateDocumentMetadata.go index c5accdbcc26..cf9b2b882a7 100644 --- a/service/ssm/api_op_UpdateDocumentMetadata.go +++ b/service/ssm/api_op_UpdateDocumentMetadata.go @@ -79,7 +79,10 @@ func addOperationUpdateDocumentMetadataMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateMaintenanceWindow.go b/service/ssm/api_op_UpdateMaintenanceWindow.go index a65e5a03654..fdf0788a875 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindow.go +++ b/service/ssm/api_op_UpdateMaintenanceWindow.go @@ -174,7 +174,10 @@ func addOperationUpdateMaintenanceWindowMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateMaintenanceWindowTarget.go b/service/ssm/api_op_UpdateMaintenanceWindowTarget.go index c975c7dd0a8..5f733b78add 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindowTarget.go +++ b/service/ssm/api_op_UpdateMaintenanceWindowTarget.go @@ -130,7 +130,10 @@ func addOperationUpdateMaintenanceWindowTargetMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateMaintenanceWindowTask.go b/service/ssm/api_op_UpdateMaintenanceWindowTask.go index 9a5437b7cf7..d209cc700cf 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindowTask.go +++ b/service/ssm/api_op_UpdateMaintenanceWindowTask.go @@ -250,7 +250,10 @@ func addOperationUpdateMaintenanceWindowTaskMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateManagedInstanceRole.go b/service/ssm/api_op_UpdateManagedInstanceRole.go index 878c8c3da9b..f796ad5c28c 100644 --- a/service/ssm/api_op_UpdateManagedInstanceRole.go +++ b/service/ssm/api_op_UpdateManagedInstanceRole.go @@ -77,7 +77,10 @@ func addOperationUpdateManagedInstanceRoleMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateOpsItem.go b/service/ssm/api_op_UpdateOpsItem.go index 97f3d300e97..cd01b1171bb 100644 --- a/service/ssm/api_op_UpdateOpsItem.go +++ b/service/ssm/api_op_UpdateOpsItem.go @@ -151,7 +151,10 @@ func addOperationUpdateOpsItemMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateOpsMetadata.go b/service/ssm/api_op_UpdateOpsMetadata.go index 22acaf9f90b..be46dc680fe 100644 --- a/service/ssm/api_op_UpdateOpsMetadata.go +++ b/service/ssm/api_op_UpdateOpsMetadata.go @@ -81,7 +81,10 @@ func addOperationUpdateOpsMetadataMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdatePatchBaseline.go b/service/ssm/api_op_UpdatePatchBaseline.go index ccd373d774a..b62da9b25d0 100644 --- a/service/ssm/api_op_UpdatePatchBaseline.go +++ b/service/ssm/api_op_UpdatePatchBaseline.go @@ -181,7 +181,10 @@ func addOperationUpdatePatchBaselineMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateResourceDataSync.go b/service/ssm/api_op_UpdateResourceDataSync.go index 8fb0bb4c3e6..74433978789 100644 --- a/service/ssm/api_op_UpdateResourceDataSync.go +++ b/service/ssm/api_op_UpdateResourceDataSync.go @@ -86,7 +86,10 @@ func addOperationUpdateResourceDataSyncMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssm/api_op_UpdateServiceSetting.go b/service/ssm/api_op_UpdateServiceSetting.go index 7dae88cb35a..c32c0a6521b 100644 --- a/service/ssm/api_op_UpdateServiceSetting.go +++ b/service/ssm/api_op_UpdateServiceSetting.go @@ -111,7 +111,10 @@ func addOperationUpdateServiceSettingMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sso/api_op_GetRoleCredentials.go b/service/sso/api_op_GetRoleCredentials.go index 245a5e1c5b3..3190c7dcce7 100644 --- a/service/sso/api_op_GetRoleCredentials.go +++ b/service/sso/api_op_GetRoleCredentials.go @@ -81,7 +81,10 @@ func addOperationGetRoleCredentialsMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sso/api_op_ListAccountRoles.go b/service/sso/api_op_ListAccountRoles.go index 28823f4ef8f..6f65fb74916 100644 --- a/service/sso/api_op_ListAccountRoles.go +++ b/service/sso/api_op_ListAccountRoles.go @@ -87,7 +87,10 @@ func addOperationListAccountRolesMiddlewares(stack *middleware.Stack, options Op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sso/api_op_ListAccounts.go b/service/sso/api_op_ListAccounts.go index bfc3ca357d2..b224d25042f 100644 --- a/service/sso/api_op_ListAccounts.go +++ b/service/sso/api_op_ListAccounts.go @@ -85,7 +85,10 @@ func addOperationListAccountsMiddlewares(stack *middleware.Stack, options Option if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sso/api_op_Logout.go b/service/sso/api_op_Logout.go index 5aca9a3c267..2a4f90a4b1f 100644 --- a/service/sso/api_op_Logout.go +++ b/service/sso/api_op_Logout.go @@ -65,7 +65,10 @@ func addOperationLogoutMiddlewares(stack *middleware.Stack, options Options) (er if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go b/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go index 41300229755..8dba7e4cad2 100644 --- a/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go +++ b/service/ssoadmin/api_op_AttachManagedPolicyToPermissionSet.go @@ -84,7 +84,10 @@ func addOperationAttachManagedPolicyToPermissionSetMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_CreateAccountAssignment.go b/service/ssoadmin/api_op_CreateAccountAssignment.go index c94bde93d11..50956207d83 100644 --- a/service/ssoadmin/api_op_CreateAccountAssignment.go +++ b/service/ssoadmin/api_op_CreateAccountAssignment.go @@ -113,7 +113,10 @@ func addOperationCreateAccountAssignmentMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go index 6c38942b4d2..943a24eea8d 100644 --- a/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_CreateInstanceAccessControlAttributeConfiguration.go @@ -83,7 +83,10 @@ func addOperationCreateInstanceAccessControlAttributeConfigurationMiddlewares(st if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_CreatePermissionSet.go b/service/ssoadmin/api_op_CreatePermissionSet.go index 38711ac92d9..5c8e1b6ab22 100644 --- a/service/ssoadmin/api_op_CreatePermissionSet.go +++ b/service/ssoadmin/api_op_CreatePermissionSet.go @@ -96,7 +96,10 @@ func addOperationCreatePermissionSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DeleteAccountAssignment.go b/service/ssoadmin/api_op_DeleteAccountAssignment.go index 096008ba30c..42ffffcb723 100644 --- a/service/ssoadmin/api_op_DeleteAccountAssignment.go +++ b/service/ssoadmin/api_op_DeleteAccountAssignment.go @@ -106,7 +106,10 @@ func addOperationDeleteAccountAssignmentMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go b/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go index 0bd643afbdd..52b097a6a9e 100644 --- a/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go +++ b/service/ssoadmin/api_op_DeleteInlinePolicyFromPermissionSet.go @@ -76,7 +76,10 @@ func addOperationDeleteInlinePolicyFromPermissionSetMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go index 5fcbeb6fc87..8a714c54cf3 100644 --- a/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_DeleteInstanceAccessControlAttributeConfiguration.go @@ -74,7 +74,10 @@ func addOperationDeleteInstanceAccessControlAttributeConfigurationMiddlewares(st if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DeletePermissionSet.go b/service/ssoadmin/api_op_DeletePermissionSet.go index 7a30b135c8b..86ba9ceb99f 100644 --- a/service/ssoadmin/api_op_DeletePermissionSet.go +++ b/service/ssoadmin/api_op_DeletePermissionSet.go @@ -76,7 +76,10 @@ func addOperationDeletePermissionSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go b/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go index 5e401e2c5c8..bb4ac7c7dc9 100644 --- a/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go +++ b/service/ssoadmin/api_op_DescribeAccountAssignmentCreationStatus.go @@ -81,7 +81,10 @@ func addOperationDescribeAccountAssignmentCreationStatusMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go b/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go index 98544ab92a1..503514462ba 100644 --- a/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go +++ b/service/ssoadmin/api_op_DescribeAccountAssignmentDeletionStatus.go @@ -81,7 +81,10 @@ func addOperationDescribeAccountAssignmentDeletionStatusMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go index 8ff98ec040d..b0804cb8d02 100644 --- a/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_DescribeInstanceAccessControlAttributeConfiguration.go @@ -85,7 +85,10 @@ func addOperationDescribeInstanceAccessControlAttributeConfigurationMiddlewares( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DescribePermissionSet.go b/service/ssoadmin/api_op_DescribePermissionSet.go index 6bac8467b92..6fb00f67883 100644 --- a/service/ssoadmin/api_op_DescribePermissionSet.go +++ b/service/ssoadmin/api_op_DescribePermissionSet.go @@ -81,7 +81,10 @@ func addOperationDescribePermissionSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go b/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go index 31beafda1c4..3caac8e0846 100644 --- a/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go +++ b/service/ssoadmin/api_op_DescribePermissionSetProvisioningStatus.go @@ -82,7 +82,10 @@ func addOperationDescribePermissionSetProvisioningStatusMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go b/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go index 564c0d0d44c..d33c57f2e12 100644 --- a/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go +++ b/service/ssoadmin/api_op_DetachManagedPolicyFromPermissionSet.go @@ -81,7 +81,10 @@ func addOperationDetachManagedPolicyFromPermissionSetMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go b/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go index 68a1affe5b6..57a5698aa67 100644 --- a/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go +++ b/service/ssoadmin/api_op_GetInlinePolicyForPermissionSet.go @@ -80,7 +80,10 @@ func addOperationGetInlinePolicyForPermissionSetMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go b/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go index 5370228f860..83ac63af72b 100644 --- a/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go +++ b/service/ssoadmin/api_op_ListAccountAssignmentCreationStatus.go @@ -92,7 +92,10 @@ func addOperationListAccountAssignmentCreationStatusMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go b/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go index 2e5c97f82e9..3f8605c277f 100644 --- a/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go +++ b/service/ssoadmin/api_op_ListAccountAssignmentDeletionStatus.go @@ -92,7 +92,10 @@ func addOperationListAccountAssignmentDeletionStatusMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListAccountAssignments.go b/service/ssoadmin/api_op_ListAccountAssignments.go index 3f74e0f4db3..746449628bc 100644 --- a/service/ssoadmin/api_op_ListAccountAssignments.go +++ b/service/ssoadmin/api_op_ListAccountAssignments.go @@ -99,7 +99,10 @@ func addOperationListAccountAssignmentsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go b/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go index 7f005f37b50..661e172c267 100644 --- a/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go +++ b/service/ssoadmin/api_op_ListAccountsForProvisionedPermissionSet.go @@ -97,7 +97,10 @@ func addOperationListAccountsForProvisionedPermissionSetMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListInstances.go b/service/ssoadmin/api_op_ListInstances.go index d6469a878dc..f824767ac19 100644 --- a/service/ssoadmin/api_op_ListInstances.go +++ b/service/ssoadmin/api_op_ListInstances.go @@ -81,7 +81,10 @@ func addOperationListInstancesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go b/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go index d414faaee69..5aacbae4f98 100644 --- a/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go +++ b/service/ssoadmin/api_op_ListManagedPoliciesInPermissionSet.go @@ -93,7 +93,10 @@ func addOperationListManagedPoliciesInPermissionSetMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go b/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go index 4611e5b0d18..17fa42ea049 100644 --- a/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go +++ b/service/ssoadmin/api_op_ListPermissionSetProvisioningStatus.go @@ -92,7 +92,10 @@ func addOperationListPermissionSetProvisioningStatusMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListPermissionSets.go b/service/ssoadmin/api_op_ListPermissionSets.go index 006b19e9209..50aa0c0c244 100644 --- a/service/ssoadmin/api_op_ListPermissionSets.go +++ b/service/ssoadmin/api_op_ListPermissionSets.go @@ -87,7 +87,10 @@ func addOperationListPermissionSetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go b/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go index 5d63979f19e..ed975778882 100644 --- a/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go +++ b/service/ssoadmin/api_op_ListPermissionSetsProvisionedToAccount.go @@ -96,7 +96,10 @@ func addOperationListPermissionSetsProvisionedToAccountMiddlewares(stack *middle if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ListTagsForResource.go b/service/ssoadmin/api_op_ListTagsForResource.go index 0461ef4b7dd..ff0f3256ec1 100644 --- a/service/ssoadmin/api_op_ListTagsForResource.go +++ b/service/ssoadmin/api_op_ListTagsForResource.go @@ -90,7 +90,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_ProvisionPermissionSet.go b/service/ssoadmin/api_op_ProvisionPermissionSet.go index caaf52bbe7b..87ca84dfdad 100644 --- a/service/ssoadmin/api_op_ProvisionPermissionSet.go +++ b/service/ssoadmin/api_op_ProvisionPermissionSet.go @@ -91,7 +91,10 @@ func addOperationProvisionPermissionSetMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go b/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go index b0df6a584a4..4d52ccb89c0 100644 --- a/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go +++ b/service/ssoadmin/api_op_PutInlinePolicyToPermissionSet.go @@ -84,7 +84,10 @@ func addOperationPutInlinePolicyToPermissionSetMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_TagResource.go b/service/ssoadmin/api_op_TagResource.go index ae1c70d6b3b..db8425312dc 100644 --- a/service/ssoadmin/api_op_TagResource.go +++ b/service/ssoadmin/api_op_TagResource.go @@ -82,7 +82,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_UntagResource.go b/service/ssoadmin/api_op_UntagResource.go index 6ee3bc8ba9b..9011355fd42 100644 --- a/service/ssoadmin/api_op_UntagResource.go +++ b/service/ssoadmin/api_op_UntagResource.go @@ -81,7 +81,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go b/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go index 52b5c82226b..6d24e90d546 100644 --- a/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go +++ b/service/ssoadmin/api_op_UpdateInstanceAccessControlAttributeConfiguration.go @@ -82,7 +82,10 @@ func addOperationUpdateInstanceAccessControlAttributeConfigurationMiddlewares(st if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssoadmin/api_op_UpdatePermissionSet.go b/service/ssoadmin/api_op_UpdatePermissionSet.go index 1ccc391e5d9..f1d1b2ee96a 100644 --- a/service/ssoadmin/api_op_UpdatePermissionSet.go +++ b/service/ssoadmin/api_op_UpdatePermissionSet.go @@ -87,7 +87,10 @@ func addOperationUpdatePermissionSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssooidc/api_op_CreateToken.go b/service/ssooidc/api_op_CreateToken.go index 60a52bbd442..befe0e49dea 100644 --- a/service/ssooidc/api_op_CreateToken.go +++ b/service/ssooidc/api_op_CreateToken.go @@ -118,7 +118,10 @@ func addOperationCreateTokenMiddlewares(stack *middleware.Stack, options Options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssooidc/api_op_RegisterClient.go b/service/ssooidc/api_op_RegisterClient.go index 36d88a86910..adaef8d7033 100644 --- a/service/ssooidc/api_op_RegisterClient.go +++ b/service/ssooidc/api_op_RegisterClient.go @@ -95,7 +95,10 @@ func addOperationRegisterClientMiddlewares(stack *middleware.Stack, options Opti if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/ssooidc/api_op_StartDeviceAuthorization.go b/service/ssooidc/api_op_StartDeviceAuthorization.go index 5a93c8b71e6..5d741955c1e 100644 --- a/service/ssooidc/api_op_StartDeviceAuthorization.go +++ b/service/ssooidc/api_op_StartDeviceAuthorization.go @@ -104,7 +104,10 @@ func addOperationStartDeviceAuthorizationMiddlewares(stack *middleware.Stack, op if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ActivateGateway.go b/service/storagegateway/api_op_ActivateGateway.go index 06a6cbbde5c..fd4b98eb3f0 100644 --- a/service/storagegateway/api_op_ActivateGateway.go +++ b/service/storagegateway/api_op_ActivateGateway.go @@ -162,7 +162,10 @@ func addOperationActivateGatewayMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_AddCache.go b/service/storagegateway/api_op_AddCache.go index fd51f0d2d0c..c2585387edf 100644 --- a/service/storagegateway/api_op_AddCache.go +++ b/service/storagegateway/api_op_AddCache.go @@ -87,7 +87,10 @@ func addOperationAddCacheMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_AddTagsToResource.go b/service/storagegateway/api_op_AddTagsToResource.go index 93c19d9d3d9..6bf02adbf71 100644 --- a/service/storagegateway/api_op_AddTagsToResource.go +++ b/service/storagegateway/api_op_AddTagsToResource.go @@ -102,7 +102,10 @@ func addOperationAddTagsToResourceMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_AddUploadBuffer.go b/service/storagegateway/api_op_AddUploadBuffer.go index 3bf3250ba26..5e84daf3989 100644 --- a/service/storagegateway/api_op_AddUploadBuffer.go +++ b/service/storagegateway/api_op_AddUploadBuffer.go @@ -86,7 +86,10 @@ func addOperationAddUploadBufferMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_AddWorkingStorage.go b/service/storagegateway/api_op_AddWorkingStorage.go index 438bc660f7c..0794ca79adc 100644 --- a/service/storagegateway/api_op_AddWorkingStorage.go +++ b/service/storagegateway/api_op_AddWorkingStorage.go @@ -95,7 +95,10 @@ func addOperationAddWorkingStorageMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_AssignTapePool.go b/service/storagegateway/api_op_AssignTapePool.go index d248f5b90bf..d5b5392f3a2 100644 --- a/service/storagegateway/api_op_AssignTapePool.go +++ b/service/storagegateway/api_op_AssignTapePool.go @@ -96,7 +96,10 @@ func addOperationAssignTapePoolMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_AttachVolume.go b/service/storagegateway/api_op_AttachVolume.go index 95fb73e987b..d68e75be97d 100644 --- a/service/storagegateway/api_op_AttachVolume.go +++ b/service/storagegateway/api_op_AttachVolume.go @@ -110,7 +110,10 @@ func addOperationAttachVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CancelArchival.go b/service/storagegateway/api_op_CancelArchival.go index c02ba3d3358..2c7499b133e 100644 --- a/service/storagegateway/api_op_CancelArchival.go +++ b/service/storagegateway/api_op_CancelArchival.go @@ -85,7 +85,10 @@ func addOperationCancelArchivalMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CancelRetrieval.go b/service/storagegateway/api_op_CancelRetrieval.go index c8c71a4278a..8d50ba6394a 100644 --- a/service/storagegateway/api_op_CancelRetrieval.go +++ b/service/storagegateway/api_op_CancelRetrieval.go @@ -85,7 +85,10 @@ func addOperationCancelRetrievalMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CreateCachediSCSIVolume.go b/service/storagegateway/api_op_CreateCachediSCSIVolume.go index a1c6f878d33..bf9150f2ef9 100644 --- a/service/storagegateway/api_op_CreateCachediSCSIVolume.go +++ b/service/storagegateway/api_op_CreateCachediSCSIVolume.go @@ -150,7 +150,10 @@ func addOperationCreateCachediSCSIVolumeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CreateNFSFileShare.go b/service/storagegateway/api_op_CreateNFSFileShare.go index b2eb0c206bd..e78fd94df3a 100644 --- a/service/storagegateway/api_op_CreateNFSFileShare.go +++ b/service/storagegateway/api_op_CreateNFSFileShare.go @@ -178,7 +178,10 @@ func addOperationCreateNFSFileShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CreateSMBFileShare.go b/service/storagegateway/api_op_CreateSMBFileShare.go index ee775c1b563..ee537802346 100644 --- a/service/storagegateway/api_op_CreateSMBFileShare.go +++ b/service/storagegateway/api_op_CreateSMBFileShare.go @@ -203,7 +203,10 @@ func addOperationCreateSMBFileShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CreateSnapshot.go b/service/storagegateway/api_op_CreateSnapshot.go index 2acc3329d38..5d2dd58dcb6 100644 --- a/service/storagegateway/api_op_CreateSnapshot.go +++ b/service/storagegateway/api_op_CreateSnapshot.go @@ -125,7 +125,10 @@ func addOperationCreateSnapshotMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go b/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go index 3c03b46ee7d..b37f150c477 100644 --- a/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go +++ b/service/storagegateway/api_op_CreateSnapshotFromVolumeRecoveryPoint.go @@ -114,7 +114,10 @@ func addOperationCreateSnapshotFromVolumeRecoveryPointMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CreateStorediSCSIVolume.go b/service/storagegateway/api_op_CreateStorediSCSIVolume.go index 282a4834b48..84ee139e987 100644 --- a/service/storagegateway/api_op_CreateStorediSCSIVolume.go +++ b/service/storagegateway/api_op_CreateStorediSCSIVolume.go @@ -163,7 +163,10 @@ func addOperationCreateStorediSCSIVolumeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CreateTapePool.go b/service/storagegateway/api_op_CreateTapePool.go index fe0286b87a3..e3953cf6aac 100644 --- a/service/storagegateway/api_op_CreateTapePool.go +++ b/service/storagegateway/api_op_CreateTapePool.go @@ -103,7 +103,10 @@ func addOperationCreateTapePoolMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CreateTapeWithBarcode.go b/service/storagegateway/api_op_CreateTapeWithBarcode.go index f789e488dee..18d0af2ba75 100644 --- a/service/storagegateway/api_op_CreateTapeWithBarcode.go +++ b/service/storagegateway/api_op_CreateTapeWithBarcode.go @@ -123,7 +123,10 @@ func addOperationCreateTapeWithBarcodeMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_CreateTapes.go b/service/storagegateway/api_op_CreateTapes.go index 07392b16873..f7cb47027b9 100644 --- a/service/storagegateway/api_op_CreateTapes.go +++ b/service/storagegateway/api_op_CreateTapes.go @@ -134,7 +134,10 @@ func addOperationCreateTapesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go b/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go index 9581f31d537..cdca5123f3f 100644 --- a/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go +++ b/service/storagegateway/api_op_DeleteAutomaticTapeCreationPolicy.go @@ -77,7 +77,10 @@ func addOperationDeleteAutomaticTapeCreationPolicyMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteBandwidthRateLimit.go b/service/storagegateway/api_op_DeleteBandwidthRateLimit.go index 2f794e34d35..9f3fec79180 100644 --- a/service/storagegateway/api_op_DeleteBandwidthRateLimit.go +++ b/service/storagegateway/api_op_DeleteBandwidthRateLimit.go @@ -92,7 +92,10 @@ func addOperationDeleteBandwidthRateLimitMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteChapCredentials.go b/service/storagegateway/api_op_DeleteChapCredentials.go index 96ce3ed7b24..396d097b967 100644 --- a/service/storagegateway/api_op_DeleteChapCredentials.go +++ b/service/storagegateway/api_op_DeleteChapCredentials.go @@ -92,7 +92,10 @@ func addOperationDeleteChapCredentialsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteFileShare.go b/service/storagegateway/api_op_DeleteFileShare.go index 199ba40fbb7..afe93c2cc8f 100644 --- a/service/storagegateway/api_op_DeleteFileShare.go +++ b/service/storagegateway/api_op_DeleteFileShare.go @@ -82,7 +82,10 @@ func addOperationDeleteFileShareMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteGateway.go b/service/storagegateway/api_op_DeleteGateway.go index cd0dd6b4fa6..94c1c43318f 100644 --- a/service/storagegateway/api_op_DeleteGateway.go +++ b/service/storagegateway/api_op_DeleteGateway.go @@ -89,7 +89,10 @@ func addOperationDeleteGatewayMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteSnapshotSchedule.go b/service/storagegateway/api_op_DeleteSnapshotSchedule.go index 71eb84c90d7..1d500442860 100644 --- a/service/storagegateway/api_op_DeleteSnapshotSchedule.go +++ b/service/storagegateway/api_op_DeleteSnapshotSchedule.go @@ -82,7 +82,10 @@ func addOperationDeleteSnapshotScheduleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteTape.go b/service/storagegateway/api_op_DeleteTape.go index 4bc9156df07..82308f3f9fe 100644 --- a/service/storagegateway/api_op_DeleteTape.go +++ b/service/storagegateway/api_op_DeleteTape.go @@ -89,7 +89,10 @@ func addOperationDeleteTapeMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteTapeArchive.go b/service/storagegateway/api_op_DeleteTapeArchive.go index fc591e3ce94..de7e4296e4c 100644 --- a/service/storagegateway/api_op_DeleteTapeArchive.go +++ b/service/storagegateway/api_op_DeleteTapeArchive.go @@ -84,7 +84,10 @@ func addOperationDeleteTapeArchiveMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteTapePool.go b/service/storagegateway/api_op_DeleteTapePool.go index d8673e3da29..729282f6b74 100644 --- a/service/storagegateway/api_op_DeleteTapePool.go +++ b/service/storagegateway/api_op_DeleteTapePool.go @@ -75,7 +75,10 @@ func addOperationDeleteTapePoolMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DeleteVolume.go b/service/storagegateway/api_op_DeleteVolume.go index bc1ff961130..d9202a1207e 100644 --- a/service/storagegateway/api_op_DeleteVolume.go +++ b/service/storagegateway/api_op_DeleteVolume.go @@ -90,7 +90,10 @@ func addOperationDeleteVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go b/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go index ed8c44f862f..9a1fdfe9729 100644 --- a/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go +++ b/service/storagegateway/api_op_DescribeAvailabilityMonitorTest.go @@ -87,7 +87,10 @@ func addOperationDescribeAvailabilityMonitorTestMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeBandwidthRateLimit.go b/service/storagegateway/api_op_DescribeBandwidthRateLimit.go index f39db4a1df9..6dd02525496 100644 --- a/service/storagegateway/api_op_DescribeBandwidthRateLimit.go +++ b/service/storagegateway/api_op_DescribeBandwidthRateLimit.go @@ -91,7 +91,10 @@ func addOperationDescribeBandwidthRateLimitMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go b/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go index ef5bf62e32d..ea55a0e0137 100644 --- a/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go +++ b/service/storagegateway/api_op_DescribeBandwidthRateLimitSchedule.go @@ -93,7 +93,10 @@ func addOperationDescribeBandwidthRateLimitScheduleMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeCache.go b/service/storagegateway/api_op_DescribeCache.go index 751bc1b74ae..4c9f650a08d 100644 --- a/service/storagegateway/api_op_DescribeCache.go +++ b/service/storagegateway/api_op_DescribeCache.go @@ -104,7 +104,10 @@ func addOperationDescribeCacheMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go b/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go index d67d95ef72a..b5afbf34d6e 100644 --- a/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go +++ b/service/storagegateway/api_op_DescribeCachediSCSIVolumes.go @@ -81,7 +81,10 @@ func addOperationDescribeCachediSCSIVolumesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeChapCredentials.go b/service/storagegateway/api_op_DescribeChapCredentials.go index 3ef17a97801..f01d54d2e9b 100644 --- a/service/storagegateway/api_op_DescribeChapCredentials.go +++ b/service/storagegateway/api_op_DescribeChapCredentials.go @@ -99,7 +99,10 @@ func addOperationDescribeChapCredentialsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeGatewayInformation.go b/service/storagegateway/api_op_DescribeGatewayInformation.go index 2642d2589f7..4c7342e8843 100644 --- a/service/storagegateway/api_op_DescribeGatewayInformation.go +++ b/service/storagegateway/api_op_DescribeGatewayInformation.go @@ -145,7 +145,10 @@ func addOperationDescribeGatewayInformationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeMaintenanceStartTime.go b/service/storagegateway/api_op_DescribeMaintenanceStartTime.go index e569b77dbfc..7baa3964463 100644 --- a/service/storagegateway/api_op_DescribeMaintenanceStartTime.go +++ b/service/storagegateway/api_op_DescribeMaintenanceStartTime.go @@ -116,7 +116,10 @@ func addOperationDescribeMaintenanceStartTimeMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeNFSFileShares.go b/service/storagegateway/api_op_DescribeNFSFileShares.go index 47bea62836e..c2a1f257bc3 100644 --- a/service/storagegateway/api_op_DescribeNFSFileShares.go +++ b/service/storagegateway/api_op_DescribeNFSFileShares.go @@ -78,7 +78,10 @@ func addOperationDescribeNFSFileSharesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeSMBFileShares.go b/service/storagegateway/api_op_DescribeSMBFileShares.go index 2843f860da8..17889ebf6d3 100644 --- a/service/storagegateway/api_op_DescribeSMBFileShares.go +++ b/service/storagegateway/api_op_DescribeSMBFileShares.go @@ -78,7 +78,10 @@ func addOperationDescribeSMBFileSharesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeSMBSettings.go b/service/storagegateway/api_op_DescribeSMBSettings.go index b8660323183..e492dd388c1 100644 --- a/service/storagegateway/api_op_DescribeSMBSettings.go +++ b/service/storagegateway/api_op_DescribeSMBSettings.go @@ -132,7 +132,10 @@ func addOperationDescribeSMBSettingsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeSnapshotSchedule.go b/service/storagegateway/api_op_DescribeSnapshotSchedule.go index b04f4ac3dbe..9877952220f 100644 --- a/service/storagegateway/api_op_DescribeSnapshotSchedule.go +++ b/service/storagegateway/api_op_DescribeSnapshotSchedule.go @@ -99,7 +99,10 @@ func addOperationDescribeSnapshotScheduleMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go b/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go index 5fd3f39cc1a..f5cc765c7b7 100644 --- a/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go +++ b/service/storagegateway/api_op_DescribeStorediSCSIVolumes.go @@ -135,7 +135,10 @@ func addOperationDescribeStorediSCSIVolumesMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeTapeArchives.go b/service/storagegateway/api_op_DescribeTapeArchives.go index 1098c9e26e8..4f029d22b12 100644 --- a/service/storagegateway/api_op_DescribeTapeArchives.go +++ b/service/storagegateway/api_op_DescribeTapeArchives.go @@ -98,7 +98,10 @@ func addOperationDescribeTapeArchivesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go b/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go index 7a1a498c580..b515bdde458 100644 --- a/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go +++ b/service/storagegateway/api_op_DescribeTapeRecoveryPoints.go @@ -101,7 +101,10 @@ func addOperationDescribeTapeRecoveryPointsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeTapes.go b/service/storagegateway/api_op_DescribeTapes.go index 182cf16970e..fcc49c9c947 100644 --- a/service/storagegateway/api_op_DescribeTapes.go +++ b/service/storagegateway/api_op_DescribeTapes.go @@ -101,7 +101,10 @@ func addOperationDescribeTapesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeUploadBuffer.go b/service/storagegateway/api_op_DescribeUploadBuffer.go index b00bc698573..dc514104678 100644 --- a/service/storagegateway/api_op_DescribeUploadBuffer.go +++ b/service/storagegateway/api_op_DescribeUploadBuffer.go @@ -90,7 +90,10 @@ func addOperationDescribeUploadBufferMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeVTLDevices.go b/service/storagegateway/api_op_DescribeVTLDevices.go index 245fd4b301b..2760fba659a 100644 --- a/service/storagegateway/api_op_DescribeVTLDevices.go +++ b/service/storagegateway/api_op_DescribeVTLDevices.go @@ -105,7 +105,10 @@ func addOperationDescribeVTLDevicesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DescribeWorkingStorage.go b/service/storagegateway/api_op_DescribeWorkingStorage.go index b5b85aec1ee..8eabef200da 100644 --- a/service/storagegateway/api_op_DescribeWorkingStorage.go +++ b/service/storagegateway/api_op_DescribeWorkingStorage.go @@ -97,7 +97,10 @@ func addOperationDescribeWorkingStorageMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DetachVolume.go b/service/storagegateway/api_op_DetachVolume.go index cb6a1a321d4..977bcb9e8e7 100644 --- a/service/storagegateway/api_op_DetachVolume.go +++ b/service/storagegateway/api_op_DetachVolume.go @@ -86,7 +86,10 @@ func addOperationDetachVolumeMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_DisableGateway.go b/service/storagegateway/api_op_DisableGateway.go index 2b420cc9407..abf14fb3333 100644 --- a/service/storagegateway/api_op_DisableGateway.go +++ b/service/storagegateway/api_op_DisableGateway.go @@ -80,7 +80,10 @@ func addOperationDisableGatewayMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_JoinDomain.go b/service/storagegateway/api_op_JoinDomain.go index e28217dc0ca..215fa4c9cef 100644 --- a/service/storagegateway/api_op_JoinDomain.go +++ b/service/storagegateway/api_op_JoinDomain.go @@ -137,7 +137,10 @@ func addOperationJoinDomainMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go b/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go index 636586b0d36..e72e10368a4 100644 --- a/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go +++ b/service/storagegateway/api_op_ListAutomaticTapeCreationPolicies.go @@ -77,7 +77,10 @@ func addOperationListAutomaticTapeCreationPoliciesMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListFileShares.go b/service/storagegateway/api_op_ListFileShares.go index 8bc2bf86350..63e034b3a98 100644 --- a/service/storagegateway/api_op_ListFileShares.go +++ b/service/storagegateway/api_op_ListFileShares.go @@ -96,7 +96,10 @@ func addOperationListFileSharesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListGateways.go b/service/storagegateway/api_op_ListGateways.go index 8b5bf99da61..55be3493aac 100644 --- a/service/storagegateway/api_op_ListGateways.go +++ b/service/storagegateway/api_op_ListGateways.go @@ -96,7 +96,10 @@ func addOperationListGatewaysMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListLocalDisks.go b/service/storagegateway/api_op_ListLocalDisks.go index db74baa3ac6..8df8982acb7 100644 --- a/service/storagegateway/api_op_ListLocalDisks.go +++ b/service/storagegateway/api_op_ListLocalDisks.go @@ -89,7 +89,10 @@ func addOperationListLocalDisksMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListTagsForResource.go b/service/storagegateway/api_op_ListTagsForResource.go index 931eed5a113..338d210d2fc 100644 --- a/service/storagegateway/api_op_ListTagsForResource.go +++ b/service/storagegateway/api_op_ListTagsForResource.go @@ -93,7 +93,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListTapePools.go b/service/storagegateway/api_op_ListTapePools.go index de279d1ca1e..0f9344c940d 100644 --- a/service/storagegateway/api_op_ListTapePools.go +++ b/service/storagegateway/api_op_ListTapePools.go @@ -96,7 +96,10 @@ func addOperationListTapePoolsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListTapes.go b/service/storagegateway/api_op_ListTapes.go index 74f3c61223e..0ab2c7916e5 100644 --- a/service/storagegateway/api_op_ListTapes.go +++ b/service/storagegateway/api_op_ListTapes.go @@ -112,7 +112,10 @@ func addOperationListTapesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListVolumeInitiators.go b/service/storagegateway/api_op_ListVolumeInitiators.go index 1c15024cfde..dd64ba831dc 100644 --- a/service/storagegateway/api_op_ListVolumeInitiators.go +++ b/service/storagegateway/api_op_ListVolumeInitiators.go @@ -79,7 +79,10 @@ func addOperationListVolumeInitiatorsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListVolumeRecoveryPoints.go b/service/storagegateway/api_op_ListVolumeRecoveryPoints.go index 29fabbe41c8..edb99614d34 100644 --- a/service/storagegateway/api_op_ListVolumeRecoveryPoints.go +++ b/service/storagegateway/api_op_ListVolumeRecoveryPoints.go @@ -84,7 +84,10 @@ func addOperationListVolumeRecoveryPointsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ListVolumes.go b/service/storagegateway/api_op_ListVolumes.go index 95c6a981b8f..dcba7c9526b 100644 --- a/service/storagegateway/api_op_ListVolumes.go +++ b/service/storagegateway/api_op_ListVolumes.go @@ -114,7 +114,10 @@ func addOperationListVolumesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_NotifyWhenUploaded.go b/service/storagegateway/api_op_NotifyWhenUploaded.go index 17f95069d02..5366d83e07e 100644 --- a/service/storagegateway/api_op_NotifyWhenUploaded.go +++ b/service/storagegateway/api_op_NotifyWhenUploaded.go @@ -88,7 +88,10 @@ func addOperationNotifyWhenUploadedMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_RefreshCache.go b/service/storagegateway/api_op_RefreshCache.go index a9ff49292ab..a02d8217ba4 100644 --- a/service/storagegateway/api_op_RefreshCache.go +++ b/service/storagegateway/api_op_RefreshCache.go @@ -117,7 +117,10 @@ func addOperationRefreshCacheMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_RemoveTagsFromResource.go b/service/storagegateway/api_op_RemoveTagsFromResource.go index a92d54a5a99..9c3e7936494 100644 --- a/service/storagegateway/api_op_RemoveTagsFromResource.go +++ b/service/storagegateway/api_op_RemoveTagsFromResource.go @@ -82,7 +82,10 @@ func addOperationRemoveTagsFromResourceMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ResetCache.go b/service/storagegateway/api_op_ResetCache.go index d738932b2c0..fd47238eef8 100644 --- a/service/storagegateway/api_op_ResetCache.go +++ b/service/storagegateway/api_op_ResetCache.go @@ -85,7 +85,10 @@ func addOperationResetCacheMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_RetrieveTapeArchive.go b/service/storagegateway/api_op_RetrieveTapeArchive.go index 4048221686e..9fcb749451a 100644 --- a/service/storagegateway/api_op_RetrieveTapeArchive.go +++ b/service/storagegateway/api_op_RetrieveTapeArchive.go @@ -91,7 +91,10 @@ func addOperationRetrieveTapeArchiveMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go b/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go index ca79f6f3f95..b44cb8ae56a 100644 --- a/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go +++ b/service/storagegateway/api_op_RetrieveTapeRecoveryPoint.go @@ -89,7 +89,10 @@ func addOperationRetrieveTapeRecoveryPointMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_SetLocalConsolePassword.go b/service/storagegateway/api_op_SetLocalConsolePassword.go index 53cfa5587d0..9bf943bd5f3 100644 --- a/service/storagegateway/api_op_SetLocalConsolePassword.go +++ b/service/storagegateway/api_op_SetLocalConsolePassword.go @@ -84,7 +84,10 @@ func addOperationSetLocalConsolePasswordMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_SetSMBGuestPassword.go b/service/storagegateway/api_op_SetSMBGuestPassword.go index 52f936b70b8..7b58e1e7f03 100644 --- a/service/storagegateway/api_op_SetSMBGuestPassword.go +++ b/service/storagegateway/api_op_SetSMBGuestPassword.go @@ -82,7 +82,10 @@ func addOperationSetSMBGuestPasswordMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_ShutdownGateway.go b/service/storagegateway/api_op_ShutdownGateway.go index c55c8276952..9d11154f48d 100644 --- a/service/storagegateway/api_op_ShutdownGateway.go +++ b/service/storagegateway/api_op_ShutdownGateway.go @@ -93,7 +93,10 @@ func addOperationShutdownGatewayMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_StartAvailabilityMonitorTest.go b/service/storagegateway/api_op_StartAvailabilityMonitorTest.go index f7a12de6ffd..a14827f8c3f 100644 --- a/service/storagegateway/api_op_StartAvailabilityMonitorTest.go +++ b/service/storagegateway/api_op_StartAvailabilityMonitorTest.go @@ -80,7 +80,10 @@ func addOperationStartAvailabilityMonitorTestMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_StartGateway.go b/service/storagegateway/api_op_StartGateway.go index 1dde32dc63d..a7d1313eb17 100644 --- a/service/storagegateway/api_op_StartGateway.go +++ b/service/storagegateway/api_op_StartGateway.go @@ -86,7 +86,10 @@ func addOperationStartGatewayMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go b/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go index 6baafd1a502..07ee5583427 100644 --- a/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go +++ b/service/storagegateway/api_op_UpdateAutomaticTapeCreationPolicy.go @@ -85,7 +85,10 @@ func addOperationUpdateAutomaticTapeCreationPolicyMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateBandwidthRateLimit.go b/service/storagegateway/api_op_UpdateBandwidthRateLimit.go index 32e6106d4da..24b298c0770 100644 --- a/service/storagegateway/api_op_UpdateBandwidthRateLimit.go +++ b/service/storagegateway/api_op_UpdateBandwidthRateLimit.go @@ -97,7 +97,10 @@ func addOperationUpdateBandwidthRateLimitMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go b/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go index ad6c1f56086..d74035b6b74 100644 --- a/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go +++ b/service/storagegateway/api_op_UpdateBandwidthRateLimitSchedule.go @@ -86,7 +86,10 @@ func addOperationUpdateBandwidthRateLimitScheduleMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateChapCredentials.go b/service/storagegateway/api_op_UpdateChapCredentials.go index 1da8eeebde9..c5d7d0f5584 100644 --- a/service/storagegateway/api_op_UpdateChapCredentials.go +++ b/service/storagegateway/api_op_UpdateChapCredentials.go @@ -117,7 +117,10 @@ func addOperationUpdateChapCredentialsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateGatewayInformation.go b/service/storagegateway/api_op_UpdateGatewayInformation.go index 0476d2076f8..0b518e05ff5 100644 --- a/service/storagegateway/api_op_UpdateGatewayInformation.go +++ b/service/storagegateway/api_op_UpdateGatewayInformation.go @@ -96,7 +96,10 @@ func addOperationUpdateGatewayInformationMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go b/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go index b13826efc8e..3cead31620f 100644 --- a/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go +++ b/service/storagegateway/api_op_UpdateGatewaySoftwareNow.go @@ -91,7 +91,10 @@ func addOperationUpdateGatewaySoftwareNowMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateMaintenanceStartTime.go b/service/storagegateway/api_op_UpdateMaintenanceStartTime.go index fb0d1769eb3..a9900b8a1e7 100644 --- a/service/storagegateway/api_op_UpdateMaintenanceStartTime.go +++ b/service/storagegateway/api_op_UpdateMaintenanceStartTime.go @@ -113,7 +113,10 @@ func addOperationUpdateMaintenanceStartTimeMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateNFSFileShare.go b/service/storagegateway/api_op_UpdateNFSFileShare.go index 6de720cd299..f33327e6ab9 100644 --- a/service/storagegateway/api_op_UpdateNFSFileShare.go +++ b/service/storagegateway/api_op_UpdateNFSFileShare.go @@ -156,7 +156,10 @@ func addOperationUpdateNFSFileShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateSMBFileShare.go b/service/storagegateway/api_op_UpdateSMBFileShare.go index b5ddce2971e..97b39624833 100644 --- a/service/storagegateway/api_op_UpdateSMBFileShare.go +++ b/service/storagegateway/api_op_UpdateSMBFileShare.go @@ -171,7 +171,10 @@ func addOperationUpdateSMBFileShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go b/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go index fa8072ece42..2013f504d78 100644 --- a/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go +++ b/service/storagegateway/api_op_UpdateSMBFileShareVisibility.go @@ -81,7 +81,10 @@ func addOperationUpdateSMBFileShareVisibilityMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go b/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go index de1970a5c87..f064afbb509 100644 --- a/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go +++ b/service/storagegateway/api_op_UpdateSMBSecurityStrategy.go @@ -93,7 +93,10 @@ func addOperationUpdateSMBSecurityStrategyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateSnapshotSchedule.go b/service/storagegateway/api_op_UpdateSnapshotSchedule.go index 57b49a13057..4ab8b82f568 100644 --- a/service/storagegateway/api_op_UpdateSnapshotSchedule.go +++ b/service/storagegateway/api_op_UpdateSnapshotSchedule.go @@ -119,7 +119,10 @@ func addOperationUpdateSnapshotScheduleMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/storagegateway/api_op_UpdateVTLDeviceType.go b/service/storagegateway/api_op_UpdateVTLDeviceType.go index cd0a47fd5e5..26a7ad50432 100644 --- a/service/storagegateway/api_op_UpdateVTLDeviceType.go +++ b/service/storagegateway/api_op_UpdateVTLDeviceType.go @@ -83,7 +83,10 @@ func addOperationUpdateVTLDeviceTypeMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sts/api_op_AssumeRole.go b/service/sts/api_op_AssumeRole.go index 7db120cefb5..a37c514bc48 100644 --- a/service/sts/api_op_AssumeRole.go +++ b/service/sts/api_op_AssumeRole.go @@ -344,7 +344,10 @@ func addOperationAssumeRoleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sts/api_op_AssumeRoleWithSAML.go b/service/sts/api_op_AssumeRoleWithSAML.go index aa17aab942a..8e7690be952 100644 --- a/service/sts/api_op_AssumeRoleWithSAML.go +++ b/service/sts/api_op_AssumeRoleWithSAML.go @@ -290,7 +290,10 @@ func addOperationAssumeRoleWithSAMLMiddlewares(stack *middleware.Stack, options if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sts/api_op_AssumeRoleWithWebIdentity.go b/service/sts/api_op_AssumeRoleWithWebIdentity.go index 372d2bdd645..aaaa8a04102 100644 --- a/service/sts/api_op_AssumeRoleWithWebIdentity.go +++ b/service/sts/api_op_AssumeRoleWithWebIdentity.go @@ -316,7 +316,10 @@ func addOperationAssumeRoleWithWebIdentityMiddlewares(stack *middleware.Stack, o if err = addRetryMiddlewares(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sts/api_op_DecodeAuthorizationMessage.go b/service/sts/api_op_DecodeAuthorizationMessage.go index 39c7abea0f0..a6069be32ab 100644 --- a/service/sts/api_op_DecodeAuthorizationMessage.go +++ b/service/sts/api_op_DecodeAuthorizationMessage.go @@ -105,7 +105,10 @@ func addOperationDecodeAuthorizationMessageMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sts/api_op_GetAccessKeyInfo.go b/service/sts/api_op_GetAccessKeyInfo.go index c0c6ee4c0f0..0a537cf141f 100644 --- a/service/sts/api_op_GetAccessKeyInfo.go +++ b/service/sts/api_op_GetAccessKeyInfo.go @@ -94,7 +94,10 @@ func addOperationGetAccessKeyInfoMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sts/api_op_GetCallerIdentity.go b/service/sts/api_op_GetCallerIdentity.go index 65b1861e721..6f4a73e7e6c 100644 --- a/service/sts/api_op_GetCallerIdentity.go +++ b/service/sts/api_op_GetCallerIdentity.go @@ -89,7 +89,10 @@ func addOperationGetCallerIdentityMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sts/api_op_GetFederationToken.go b/service/sts/api_op_GetFederationToken.go index ab5880c0701..415352578e1 100644 --- a/service/sts/api_op_GetFederationToken.go +++ b/service/sts/api_op_GetFederationToken.go @@ -267,7 +267,10 @@ func addOperationGetFederationTokenMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/sts/api_op_GetSessionToken.go b/service/sts/api_op_GetSessionToken.go index d6bb97c8bbf..45dd197044b 100644 --- a/service/sts/api_op_GetSessionToken.go +++ b/service/sts/api_op_GetSessionToken.go @@ -147,7 +147,10 @@ func addOperationGetSessionTokenMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_AddAttachmentsToSet.go b/service/support/api_op_AddAttachmentsToSet.go index 32921b16273..a2964997345 100644 --- a/service/support/api_op_AddAttachmentsToSet.go +++ b/service/support/api_op_AddAttachmentsToSet.go @@ -105,7 +105,10 @@ func addOperationAddAttachmentsToSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_AddCommunicationToCase.go b/service/support/api_op_AddCommunicationToCase.go index 022f3ec05e6..5579e778199 100644 --- a/service/support/api_op_AddCommunicationToCase.go +++ b/service/support/api_op_AddCommunicationToCase.go @@ -99,7 +99,10 @@ func addOperationAddCommunicationToCaseMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_CreateCase.go b/service/support/api_op_CreateCase.go index db80771f3d4..20c1f02480f 100644 --- a/service/support/api_op_CreateCase.go +++ b/service/support/api_op_CreateCase.go @@ -152,7 +152,10 @@ func addOperationCreateCaseMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_DescribeAttachment.go b/service/support/api_op_DescribeAttachment.go index 1457f75451c..3255dfd942f 100644 --- a/service/support/api_op_DescribeAttachment.go +++ b/service/support/api_op_DescribeAttachment.go @@ -93,7 +93,10 @@ func addOperationDescribeAttachmentMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_DescribeCases.go b/service/support/api_op_DescribeCases.go index 2382b1af8ba..2befde1713e 100644 --- a/service/support/api_op_DescribeCases.go +++ b/service/support/api_op_DescribeCases.go @@ -134,7 +134,10 @@ func addOperationDescribeCasesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_DescribeCommunications.go b/service/support/api_op_DescribeCommunications.go index 4022b8e3f56..6c06f448e0c 100644 --- a/service/support/api_op_DescribeCommunications.go +++ b/service/support/api_op_DescribeCommunications.go @@ -111,7 +111,10 @@ func addOperationDescribeCommunicationsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_DescribeServices.go b/service/support/api_op_DescribeServices.go index cf3bab311f2..b6cf213f628 100644 --- a/service/support/api_op_DescribeServices.go +++ b/service/support/api_op_DescribeServices.go @@ -96,7 +96,10 @@ func addOperationDescribeServicesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_DescribeSeverityLevels.go b/service/support/api_op_DescribeSeverityLevels.go index 7182ddfad56..93b0511fb41 100644 --- a/service/support/api_op_DescribeSeverityLevels.go +++ b/service/support/api_op_DescribeSeverityLevels.go @@ -87,7 +87,10 @@ func addOperationDescribeSeverityLevelsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go b/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go index 4dc8c5040c6..65e19956c8b 100644 --- a/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go +++ b/service/support/api_op_DescribeTrustedAdvisorCheckRefreshStatuses.go @@ -94,7 +94,10 @@ func addOperationDescribeTrustedAdvisorCheckRefreshStatusesMiddlewares(stack *mi if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_DescribeTrustedAdvisorCheckResult.go b/service/support/api_op_DescribeTrustedAdvisorCheckResult.go index 8970616124f..48c6d4f898e 100644 --- a/service/support/api_op_DescribeTrustedAdvisorCheckResult.go +++ b/service/support/api_op_DescribeTrustedAdvisorCheckResult.go @@ -113,7 +113,10 @@ func addOperationDescribeTrustedAdvisorCheckResultMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go b/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go index 5b61b501197..7200ad4f670 100644 --- a/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go +++ b/service/support/api_op_DescribeTrustedAdvisorCheckSummaries.go @@ -90,7 +90,10 @@ func addOperationDescribeTrustedAdvisorCheckSummariesMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_DescribeTrustedAdvisorChecks.go b/service/support/api_op_DescribeTrustedAdvisorChecks.go index d3e4c62611d..7b1aa747915 100644 --- a/service/support/api_op_DescribeTrustedAdvisorChecks.go +++ b/service/support/api_op_DescribeTrustedAdvisorChecks.go @@ -93,7 +93,10 @@ func addOperationDescribeTrustedAdvisorChecksMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_RefreshTrustedAdvisorCheck.go b/service/support/api_op_RefreshTrustedAdvisorCheck.go index a4e73b1c644..84e030e6a08 100644 --- a/service/support/api_op_RefreshTrustedAdvisorCheck.go +++ b/service/support/api_op_RefreshTrustedAdvisorCheck.go @@ -95,7 +95,10 @@ func addOperationRefreshTrustedAdvisorCheckMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/support/api_op_ResolveCase.go b/service/support/api_op_ResolveCase.go index a70fb0ea5be..c00f84144f4 100644 --- a/service/support/api_op_ResolveCase.go +++ b/service/support/api_op_ResolveCase.go @@ -87,7 +87,10 @@ func addOperationResolveCaseMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_CountClosedWorkflowExecutions.go b/service/swf/api_op_CountClosedWorkflowExecutions.go index 9af0ab0b051..97f3c268696 100644 --- a/service/swf/api_op_CountClosedWorkflowExecutions.go +++ b/service/swf/api_op_CountClosedWorkflowExecutions.go @@ -144,7 +144,10 @@ func addOperationCountClosedWorkflowExecutionsMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_CountOpenWorkflowExecutions.go b/service/swf/api_op_CountOpenWorkflowExecutions.go index 6940ea60735..094aa0e8c3d 100644 --- a/service/swf/api_op_CountOpenWorkflowExecutions.go +++ b/service/swf/api_op_CountOpenWorkflowExecutions.go @@ -133,7 +133,10 @@ func addOperationCountOpenWorkflowExecutionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_CountPendingActivityTasks.go b/service/swf/api_op_CountPendingActivityTasks.go index 13c7ae23323..e5c4b9b64d6 100644 --- a/service/swf/api_op_CountPendingActivityTasks.go +++ b/service/swf/api_op_CountPendingActivityTasks.go @@ -108,7 +108,10 @@ func addOperationCountPendingActivityTasksMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_CountPendingDecisionTasks.go b/service/swf/api_op_CountPendingDecisionTasks.go index c899ffec9a8..c731f9cb7ff 100644 --- a/service/swf/api_op_CountPendingDecisionTasks.go +++ b/service/swf/api_op_CountPendingDecisionTasks.go @@ -108,7 +108,10 @@ func addOperationCountPendingDecisionTasksMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_DeprecateActivityType.go b/service/swf/api_op_DeprecateActivityType.go index 2da3b9ca0e2..6b6a2ef79fa 100644 --- a/service/swf/api_op_DeprecateActivityType.go +++ b/service/swf/api_op_DeprecateActivityType.go @@ -104,7 +104,10 @@ func addOperationDeprecateActivityTypeMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_DeprecateDomain.go b/service/swf/api_op_DeprecateDomain.go index 6270a01e963..0955c8cb21c 100644 --- a/service/swf/api_op_DeprecateDomain.go +++ b/service/swf/api_op_DeprecateDomain.go @@ -94,7 +94,10 @@ func addOperationDeprecateDomainMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_DeprecateWorkflowType.go b/service/swf/api_op_DeprecateWorkflowType.go index 8645b04be5e..7df51d20f0c 100644 --- a/service/swf/api_op_DeprecateWorkflowType.go +++ b/service/swf/api_op_DeprecateWorkflowType.go @@ -105,7 +105,10 @@ func addOperationDeprecateWorkflowTypeMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_DescribeActivityType.go b/service/swf/api_op_DescribeActivityType.go index 4d63a83d350..7355c8f96d7 100644 --- a/service/swf/api_op_DescribeActivityType.go +++ b/service/swf/api_op_DescribeActivityType.go @@ -124,7 +124,10 @@ func addOperationDescribeActivityTypeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_DescribeDomain.go b/service/swf/api_op_DescribeDomain.go index 64c59e345ca..7f735a7ada1 100644 --- a/service/swf/api_op_DescribeDomain.go +++ b/service/swf/api_op_DescribeDomain.go @@ -102,7 +102,10 @@ func addOperationDescribeDomainMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_DescribeWorkflowExecution.go b/service/swf/api_op_DescribeWorkflowExecution.go index 89436fafb91..ee87a025d4e 100644 --- a/service/swf/api_op_DescribeWorkflowExecution.go +++ b/service/swf/api_op_DescribeWorkflowExecution.go @@ -126,7 +126,10 @@ func addOperationDescribeWorkflowExecutionMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_DescribeWorkflowType.go b/service/swf/api_op_DescribeWorkflowType.go index 8afb345b220..5f44b43b1d8 100644 --- a/service/swf/api_op_DescribeWorkflowType.go +++ b/service/swf/api_op_DescribeWorkflowType.go @@ -124,7 +124,10 @@ func addOperationDescribeWorkflowTypeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_GetWorkflowExecutionHistory.go b/service/swf/api_op_GetWorkflowExecutionHistory.go index 14b8d90a64a..7a2e99aa16c 100644 --- a/service/swf/api_op_GetWorkflowExecutionHistory.go +++ b/service/swf/api_op_GetWorkflowExecutionHistory.go @@ -131,7 +131,10 @@ func addOperationGetWorkflowExecutionHistoryMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_ListActivityTypes.go b/service/swf/api_op_ListActivityTypes.go index ebc23beb0e2..84d5abe90ea 100644 --- a/service/swf/api_op_ListActivityTypes.go +++ b/service/swf/api_op_ListActivityTypes.go @@ -133,7 +133,10 @@ func addOperationListActivityTypesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_ListClosedWorkflowExecutions.go b/service/swf/api_op_ListClosedWorkflowExecutions.go index 5b0fbc71380..fac88a3f587 100644 --- a/service/swf/api_op_ListClosedWorkflowExecutions.go +++ b/service/swf/api_op_ListClosedWorkflowExecutions.go @@ -172,7 +172,10 @@ func addOperationListClosedWorkflowExecutionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_ListDomains.go b/service/swf/api_op_ListDomains.go index 7523b07b0ca..6a98a30c0c3 100644 --- a/service/swf/api_op_ListDomains.go +++ b/service/swf/api_op_ListDomains.go @@ -126,7 +126,10 @@ func addOperationListDomainsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_ListOpenWorkflowExecutions.go b/service/swf/api_op_ListOpenWorkflowExecutions.go index b34c1aed59d..70a2e899666 100644 --- a/service/swf/api_op_ListOpenWorkflowExecutions.go +++ b/service/swf/api_op_ListOpenWorkflowExecutions.go @@ -155,7 +155,10 @@ func addOperationListOpenWorkflowExecutionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_ListTagsForResource.go b/service/swf/api_op_ListTagsForResource.go index e0a62df9fc5..647b0ff05f7 100644 --- a/service/swf/api_op_ListTagsForResource.go +++ b/service/swf/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_ListWorkflowTypes.go b/service/swf/api_op_ListWorkflowTypes.go index a7a924ef7c1..cd236cc1751 100644 --- a/service/swf/api_op_ListWorkflowTypes.go +++ b/service/swf/api_op_ListWorkflowTypes.go @@ -130,7 +130,10 @@ func addOperationListWorkflowTypesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_PollForActivityTask.go b/service/swf/api_op_PollForActivityTask.go index 8b76055b7a1..fdc6a5c8d5c 100644 --- a/service/swf/api_op_PollForActivityTask.go +++ b/service/swf/api_op_PollForActivityTask.go @@ -144,7 +144,10 @@ func addOperationPollForActivityTaskMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_PollForDecisionTask.go b/service/swf/api_op_PollForDecisionTask.go index c48bfa34d3d..e98ce4f4c62 100644 --- a/service/swf/api_op_PollForDecisionTask.go +++ b/service/swf/api_op_PollForDecisionTask.go @@ -185,7 +185,10 @@ func addOperationPollForDecisionTaskMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_RecordActivityTaskHeartbeat.go b/service/swf/api_op_RecordActivityTaskHeartbeat.go index f9d03617f53..0dd41b3c851 100644 --- a/service/swf/api_op_RecordActivityTaskHeartbeat.go +++ b/service/swf/api_op_RecordActivityTaskHeartbeat.go @@ -120,7 +120,10 @@ func addOperationRecordActivityTaskHeartbeatMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_RegisterActivityType.go b/service/swf/api_op_RegisterActivityType.go index 1d0237800b1..baec3778bf5 100644 --- a/service/swf/api_op_RegisterActivityType.go +++ b/service/swf/api_op_RegisterActivityType.go @@ -167,7 +167,10 @@ func addOperationRegisterActivityTypeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_RegisterDomain.go b/service/swf/api_op_RegisterDomain.go index 25b017a29ed..d0ee4a9e499 100644 --- a/service/swf/api_op_RegisterDomain.go +++ b/service/swf/api_op_RegisterDomain.go @@ -113,7 +113,10 @@ func addOperationRegisterDomainMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_RegisterWorkflowType.go b/service/swf/api_op_RegisterWorkflowType.go index 0bb02713d0b..028e714fcdd 100644 --- a/service/swf/api_op_RegisterWorkflowType.go +++ b/service/swf/api_op_RegisterWorkflowType.go @@ -184,7 +184,10 @@ func addOperationRegisterWorkflowTypeMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_RequestCancelWorkflowExecution.go b/service/swf/api_op_RequestCancelWorkflowExecution.go index 7936e317e90..bc929096d93 100644 --- a/service/swf/api_op_RequestCancelWorkflowExecution.go +++ b/service/swf/api_op_RequestCancelWorkflowExecution.go @@ -104,7 +104,10 @@ func addOperationRequestCancelWorkflowExecutionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_RespondActivityTaskCanceled.go b/service/swf/api_op_RespondActivityTaskCanceled.go index 0a12bb4915f..c681ec513c7 100644 --- a/service/swf/api_op_RespondActivityTaskCanceled.go +++ b/service/swf/api_op_RespondActivityTaskCanceled.go @@ -105,7 +105,10 @@ func addOperationRespondActivityTaskCanceledMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_RespondActivityTaskCompleted.go b/service/swf/api_op_RespondActivityTaskCompleted.go index 04347f55c2d..ed3ed287214 100644 --- a/service/swf/api_op_RespondActivityTaskCompleted.go +++ b/service/swf/api_op_RespondActivityTaskCompleted.go @@ -106,7 +106,10 @@ func addOperationRespondActivityTaskCompletedMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_RespondActivityTaskFailed.go b/service/swf/api_op_RespondActivityTaskFailed.go index 9265cc9aec5..60543ccc92e 100644 --- a/service/swf/api_op_RespondActivityTaskFailed.go +++ b/service/swf/api_op_RespondActivityTaskFailed.go @@ -105,7 +105,10 @@ func addOperationRespondActivityTaskFailedMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_RespondDecisionTaskCompleted.go b/service/swf/api_op_RespondDecisionTaskCompleted.go index 6752da1708f..6729e106c89 100644 --- a/service/swf/api_op_RespondDecisionTaskCompleted.go +++ b/service/swf/api_op_RespondDecisionTaskCompleted.go @@ -93,7 +93,10 @@ func addOperationRespondDecisionTaskCompletedMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_SignalWorkflowExecution.go b/service/swf/api_op_SignalWorkflowExecution.go index 819d25726ac..d9ee0028ded 100644 --- a/service/swf/api_op_SignalWorkflowExecution.go +++ b/service/swf/api_op_SignalWorkflowExecution.go @@ -111,7 +111,10 @@ func addOperationSignalWorkflowExecutionMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_StartWorkflowExecution.go b/service/swf/api_op_StartWorkflowExecution.go index bc423bb3fb2..56eb3fe81ef 100644 --- a/service/swf/api_op_StartWorkflowExecution.go +++ b/service/swf/api_op_StartWorkflowExecution.go @@ -224,7 +224,10 @@ func addOperationStartWorkflowExecutionMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_TagResource.go b/service/swf/api_op_TagResource.go index 493f9958a05..fee85e61812 100644 --- a/service/swf/api_op_TagResource.go +++ b/service/swf/api_op_TagResource.go @@ -77,7 +77,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_TerminateWorkflowExecution.go b/service/swf/api_op_TerminateWorkflowExecution.go index 8af9acdb835..cdb76f4734a 100644 --- a/service/swf/api_op_TerminateWorkflowExecution.go +++ b/service/swf/api_op_TerminateWorkflowExecution.go @@ -134,7 +134,10 @@ func addOperationTerminateWorkflowExecutionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_UndeprecateActivityType.go b/service/swf/api_op_UndeprecateActivityType.go index d3a7102e59b..6da69abe45c 100644 --- a/service/swf/api_op_UndeprecateActivityType.go +++ b/service/swf/api_op_UndeprecateActivityType.go @@ -103,7 +103,10 @@ func addOperationUndeprecateActivityTypeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_UndeprecateDomain.go b/service/swf/api_op_UndeprecateDomain.go index 30453a45361..aca31e5b957 100644 --- a/service/swf/api_op_UndeprecateDomain.go +++ b/service/swf/api_op_UndeprecateDomain.go @@ -91,7 +91,10 @@ func addOperationUndeprecateDomainMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_UndeprecateWorkflowType.go b/service/swf/api_op_UndeprecateWorkflowType.go index a25c0129659..d31096eedb8 100644 --- a/service/swf/api_op_UndeprecateWorkflowType.go +++ b/service/swf/api_op_UndeprecateWorkflowType.go @@ -103,7 +103,10 @@ func addOperationUndeprecateWorkflowTypeMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/swf/api_op_UntagResource.go b/service/swf/api_op_UntagResource.go index 3128345bcfd..9de6a5be5c7 100644 --- a/service/swf/api_op_UntagResource.go +++ b/service/swf/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_CreateCanary.go b/service/synthetics/api_op_CreateCanary.go index 8f3aa65b064..3c3c48abfc5 100644 --- a/service/synthetics/api_op_CreateCanary.go +++ b/service/synthetics/api_op_CreateCanary.go @@ -170,7 +170,10 @@ func addOperationCreateCanaryMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_DeleteCanary.go b/service/synthetics/api_op_DeleteCanary.go index 469041ff906..e1d278439a6 100644 --- a/service/synthetics/api_op_DeleteCanary.go +++ b/service/synthetics/api_op_DeleteCanary.go @@ -96,7 +96,10 @@ func addOperationDeleteCanaryMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_DescribeCanaries.go b/service/synthetics/api_op_DescribeCanaries.go index 265d9b5abff..1d5c88d03c0 100644 --- a/service/synthetics/api_op_DescribeCanaries.go +++ b/service/synthetics/api_op_DescribeCanaries.go @@ -88,7 +88,10 @@ func addOperationDescribeCanariesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_DescribeCanariesLastRun.go b/service/synthetics/api_op_DescribeCanariesLastRun.go index 7694d94c1bb..90d17d6c54c 100644 --- a/service/synthetics/api_op_DescribeCanariesLastRun.go +++ b/service/synthetics/api_op_DescribeCanariesLastRun.go @@ -85,7 +85,10 @@ func addOperationDescribeCanariesLastRunMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_DescribeRuntimeVersions.go b/service/synthetics/api_op_DescribeRuntimeVersions.go index 2fef33a2d6e..9359101809a 100644 --- a/service/synthetics/api_op_DescribeRuntimeVersions.go +++ b/service/synthetics/api_op_DescribeRuntimeVersions.go @@ -88,7 +88,10 @@ func addOperationDescribeRuntimeVersionsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_GetCanary.go b/service/synthetics/api_op_GetCanary.go index 1695ab858ea..61c596653ce 100644 --- a/service/synthetics/api_op_GetCanary.go +++ b/service/synthetics/api_op_GetCanary.go @@ -77,7 +77,10 @@ func addOperationGetCanaryMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_GetCanaryRuns.go b/service/synthetics/api_op_GetCanaryRuns.go index 1239fba7240..aa1de0436ba 100644 --- a/service/synthetics/api_op_GetCanaryRuns.go +++ b/service/synthetics/api_op_GetCanaryRuns.go @@ -88,7 +88,10 @@ func addOperationGetCanaryRunsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_ListTagsForResource.go b/service/synthetics/api_op_ListTagsForResource.go index 1d4b569311f..6ee3e2b42f5 100644 --- a/service/synthetics/api_op_ListTagsForResource.go +++ b/service/synthetics/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_StartCanary.go b/service/synthetics/api_op_StartCanary.go index 3f9bb458cd2..27ea367b4b1 100644 --- a/service/synthetics/api_op_StartCanary.go +++ b/service/synthetics/api_op_StartCanary.go @@ -74,7 +74,10 @@ func addOperationStartCanaryMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_StopCanary.go b/service/synthetics/api_op_StopCanary.go index d20bc74ff5a..d03c0783452 100644 --- a/service/synthetics/api_op_StopCanary.go +++ b/service/synthetics/api_op_StopCanary.go @@ -76,7 +76,10 @@ func addOperationStopCanaryMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_TagResource.go b/service/synthetics/api_op_TagResource.go index 7817d294484..e7b31e1099d 100644 --- a/service/synthetics/api_op_TagResource.go +++ b/service/synthetics/api_op_TagResource.go @@ -84,7 +84,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_UntagResource.go b/service/synthetics/api_op_UntagResource.go index 3ffca73a163..d49d65073df 100644 --- a/service/synthetics/api_op_UntagResource.go +++ b/service/synthetics/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/synthetics/api_op_UpdateCanary.go b/service/synthetics/api_op_UpdateCanary.go index 03070a0c4ea..0750ecd6eae 100644 --- a/service/synthetics/api_op_UpdateCanary.go +++ b/service/synthetics/api_op_UpdateCanary.go @@ -128,7 +128,10 @@ func addOperationUpdateCanaryMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/textract/api_op_AnalyzeDocument.go b/service/textract/api_op_AnalyzeDocument.go index acba4fe65b3..a6ad82f67a6 100644 --- a/service/textract/api_op_AnalyzeDocument.go +++ b/service/textract/api_op_AnalyzeDocument.go @@ -127,7 +127,10 @@ func addOperationAnalyzeDocumentMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/textract/api_op_DetectDocumentText.go b/service/textract/api_op_DetectDocumentText.go index dd0574b0eb5..1fc41c9f93f 100644 --- a/service/textract/api_op_DetectDocumentText.go +++ b/service/textract/api_op_DetectDocumentText.go @@ -95,7 +95,10 @@ func addOperationDetectDocumentTextMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/textract/api_op_GetDocumentAnalysis.go b/service/textract/api_op_GetDocumentAnalysis.go index f034cf39854..a3a71bb2740 100644 --- a/service/textract/api_op_GetDocumentAnalysis.go +++ b/service/textract/api_op_GetDocumentAnalysis.go @@ -145,7 +145,10 @@ func addOperationGetDocumentAnalysisMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/textract/api_op_GetDocumentTextDetection.go b/service/textract/api_op_GetDocumentTextDetection.go index 69703518779..34c7d8b25a1 100644 --- a/service/textract/api_op_GetDocumentTextDetection.go +++ b/service/textract/api_op_GetDocumentTextDetection.go @@ -130,7 +130,10 @@ func addOperationGetDocumentTextDetectionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/textract/api_op_StartDocumentAnalysis.go b/service/textract/api_op_StartDocumentAnalysis.go index 2e6f400fee7..1d0ca13b650 100644 --- a/service/textract/api_op_StartDocumentAnalysis.go +++ b/service/textract/api_op_StartDocumentAnalysis.go @@ -128,7 +128,10 @@ func addOperationStartDocumentAnalysisMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/textract/api_op_StartDocumentTextDetection.go b/service/textract/api_op_StartDocumentTextDetection.go index 5d14f07e0d2..bba815fef74 100644 --- a/service/textract/api_op_StartDocumentTextDetection.go +++ b/service/textract/api_op_StartDocumentTextDetection.go @@ -118,7 +118,10 @@ func addOperationStartDocumentTextDetectionMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamquery/api_op_CancelQuery.go b/service/timestreamquery/api_op_CancelQuery.go index a2a2b000a7d..ed8245ff211 100644 --- a/service/timestreamquery/api_op_CancelQuery.go +++ b/service/timestreamquery/api_op_CancelQuery.go @@ -79,7 +79,10 @@ func addOperationCancelQueryMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamquery/api_op_DescribeEndpoints.go b/service/timestreamquery/api_op_DescribeEndpoints.go index 926fed77dfb..a2b06eb6f3a 100644 --- a/service/timestreamquery/api_op_DescribeEndpoints.go +++ b/service/timestreamquery/api_op_DescribeEndpoints.go @@ -85,7 +85,10 @@ func addOperationDescribeEndpointsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamquery/api_op_Query.go b/service/timestreamquery/api_op_Query.go index 5520479e1f9..1ab21d07853 100644 --- a/service/timestreamquery/api_op_Query.go +++ b/service/timestreamquery/api_op_Query.go @@ -124,7 +124,10 @@ func addOperationQueryMiddlewares(stack *middleware.Stack, options Options) (err if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_CreateDatabase.go b/service/timestreamwrite/api_op_CreateDatabase.go index db489efcc31..5c3026a09bc 100644 --- a/service/timestreamwrite/api_op_CreateDatabase.go +++ b/service/timestreamwrite/api_op_CreateDatabase.go @@ -90,7 +90,10 @@ func addOperationCreateDatabaseMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_CreateTable.go b/service/timestreamwrite/api_op_CreateTable.go index 30489ccae2b..5b5a57c4e80 100644 --- a/service/timestreamwrite/api_op_CreateTable.go +++ b/service/timestreamwrite/api_op_CreateTable.go @@ -93,7 +93,10 @@ func addOperationCreateTableMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_DeleteDatabase.go b/service/timestreamwrite/api_op_DeleteDatabase.go index fde62ebd8f4..796cbb40b50 100644 --- a/service/timestreamwrite/api_op_DeleteDatabase.go +++ b/service/timestreamwrite/api_op_DeleteDatabase.go @@ -74,7 +74,10 @@ func addOperationDeleteDatabaseMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_DeleteTable.go b/service/timestreamwrite/api_op_DeleteTable.go index e53ca8bb190..498a8e9376e 100644 --- a/service/timestreamwrite/api_op_DeleteTable.go +++ b/service/timestreamwrite/api_op_DeleteTable.go @@ -78,7 +78,10 @@ func addOperationDeleteTableMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_DescribeDatabase.go b/service/timestreamwrite/api_op_DescribeDatabase.go index 001f1863b28..61eceaa255f 100644 --- a/service/timestreamwrite/api_op_DescribeDatabase.go +++ b/service/timestreamwrite/api_op_DescribeDatabase.go @@ -78,7 +78,10 @@ func addOperationDescribeDatabaseMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_DescribeEndpoints.go b/service/timestreamwrite/api_op_DescribeEndpoints.go index 240523676ee..0c410dde4fd 100644 --- a/service/timestreamwrite/api_op_DescribeEndpoints.go +++ b/service/timestreamwrite/api_op_DescribeEndpoints.go @@ -85,7 +85,10 @@ func addOperationDescribeEndpointsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_DescribeTable.go b/service/timestreamwrite/api_op_DescribeTable.go index e50d806d647..67f0b0c3b36 100644 --- a/service/timestreamwrite/api_op_DescribeTable.go +++ b/service/timestreamwrite/api_op_DescribeTable.go @@ -83,7 +83,10 @@ func addOperationDescribeTableMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_ListDatabases.go b/service/timestreamwrite/api_op_ListDatabases.go index 5eca52df846..9e609c40c31 100644 --- a/service/timestreamwrite/api_op_ListDatabases.go +++ b/service/timestreamwrite/api_op_ListDatabases.go @@ -86,7 +86,10 @@ func addOperationListDatabasesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_ListTables.go b/service/timestreamwrite/api_op_ListTables.go index 65f0de5212c..f48e537075c 100644 --- a/service/timestreamwrite/api_op_ListTables.go +++ b/service/timestreamwrite/api_op_ListTables.go @@ -88,7 +88,10 @@ func addOperationListTablesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_ListTagsForResource.go b/service/timestreamwrite/api_op_ListTagsForResource.go index 0ea3c4e49ba..eae9f9ba823 100644 --- a/service/timestreamwrite/api_op_ListTagsForResource.go +++ b/service/timestreamwrite/api_op_ListTagsForResource.go @@ -75,7 +75,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_TagResource.go b/service/timestreamwrite/api_op_TagResource.go index 45fde430eac..ff5d93b3c20 100644 --- a/service/timestreamwrite/api_op_TagResource.go +++ b/service/timestreamwrite/api_op_TagResource.go @@ -78,7 +78,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_UntagResource.go b/service/timestreamwrite/api_op_UntagResource.go index dbc9bcde693..086383a2f27 100644 --- a/service/timestreamwrite/api_op_UntagResource.go +++ b/service/timestreamwrite/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_UpdateDatabase.go b/service/timestreamwrite/api_op_UpdateDatabase.go index b8601051119..1604a53baa5 100644 --- a/service/timestreamwrite/api_op_UpdateDatabase.go +++ b/service/timestreamwrite/api_op_UpdateDatabase.go @@ -99,7 +99,10 @@ func addOperationUpdateDatabaseMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_UpdateTable.go b/service/timestreamwrite/api_op_UpdateTable.go index 0aed2c96832..f1b53c5b7a5 100644 --- a/service/timestreamwrite/api_op_UpdateTable.go +++ b/service/timestreamwrite/api_op_UpdateTable.go @@ -93,7 +93,10 @@ func addOperationUpdateTableMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/timestreamwrite/api_op_WriteRecords.go b/service/timestreamwrite/api_op_WriteRecords.go index 0bebbf46194..170f5432255 100644 --- a/service/timestreamwrite/api_op_WriteRecords.go +++ b/service/timestreamwrite/api_op_WriteRecords.go @@ -100,7 +100,10 @@ func addOperationWriteRecordsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_CreateLanguageModel.go b/service/transcribe/api_op_CreateLanguageModel.go index e1976f1e1be..98f2d794c11 100644 --- a/service/transcribe/api_op_CreateLanguageModel.go +++ b/service/transcribe/api_op_CreateLanguageModel.go @@ -111,7 +111,10 @@ func addOperationCreateLanguageModelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_CreateMedicalVocabulary.go b/service/transcribe/api_op_CreateMedicalVocabulary.go index aa350ef1a5e..a13bd65d9f2 100644 --- a/service/transcribe/api_op_CreateMedicalVocabulary.go +++ b/service/transcribe/api_op_CreateMedicalVocabulary.go @@ -118,7 +118,10 @@ func addOperationCreateMedicalVocabularyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_CreateVocabulary.go b/service/transcribe/api_op_CreateVocabulary.go index 4fdd34860be..5956ef8f27e 100644 --- a/service/transcribe/api_op_CreateVocabulary.go +++ b/service/transcribe/api_op_CreateVocabulary.go @@ -110,7 +110,10 @@ func addOperationCreateVocabularyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_CreateVocabularyFilter.go b/service/transcribe/api_op_CreateVocabularyFilter.go index b42e78538e8..e1c582aa681 100644 --- a/service/transcribe/api_op_CreateVocabularyFilter.go +++ b/service/transcribe/api_op_CreateVocabularyFilter.go @@ -109,7 +109,10 @@ func addOperationCreateVocabularyFilterMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_DeleteLanguageModel.go b/service/transcribe/api_op_DeleteLanguageModel.go index 5f0846ee4c2..b9a777b91d0 100644 --- a/service/transcribe/api_op_DeleteLanguageModel.go +++ b/service/transcribe/api_op_DeleteLanguageModel.go @@ -69,7 +69,10 @@ func addOperationDeleteLanguageModelMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go b/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go index cae72c77c30..b6e81836b9e 100644 --- a/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_DeleteMedicalTranscriptionJob.go @@ -71,7 +71,10 @@ func addOperationDeleteMedicalTranscriptionJobMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_DeleteMedicalVocabulary.go b/service/transcribe/api_op_DeleteMedicalVocabulary.go index a304d71c108..37b0d33e1e4 100644 --- a/service/transcribe/api_op_DeleteMedicalVocabulary.go +++ b/service/transcribe/api_op_DeleteMedicalVocabulary.go @@ -69,7 +69,10 @@ func addOperationDeleteMedicalVocabularyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_DeleteTranscriptionJob.go b/service/transcribe/api_op_DeleteTranscriptionJob.go index 7f44a7c4e0b..5cf0a2a0d66 100644 --- a/service/transcribe/api_op_DeleteTranscriptionJob.go +++ b/service/transcribe/api_op_DeleteTranscriptionJob.go @@ -70,7 +70,10 @@ func addOperationDeleteTranscriptionJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_DeleteVocabulary.go b/service/transcribe/api_op_DeleteVocabulary.go index ff69efbbf31..70f346921d8 100644 --- a/service/transcribe/api_op_DeleteVocabulary.go +++ b/service/transcribe/api_op_DeleteVocabulary.go @@ -69,7 +69,10 @@ func addOperationDeleteVocabularyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_DeleteVocabularyFilter.go b/service/transcribe/api_op_DeleteVocabularyFilter.go index 8e1ef8c4755..8016bdc43f7 100644 --- a/service/transcribe/api_op_DeleteVocabularyFilter.go +++ b/service/transcribe/api_op_DeleteVocabularyFilter.go @@ -69,7 +69,10 @@ func addOperationDeleteVocabularyFilterMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_DescribeLanguageModel.go b/service/transcribe/api_op_DescribeLanguageModel.go index d393fd3f8d3..e730c24ff86 100644 --- a/service/transcribe/api_op_DescribeLanguageModel.go +++ b/service/transcribe/api_op_DescribeLanguageModel.go @@ -80,7 +80,10 @@ func addOperationDescribeLanguageModelMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_GetMedicalTranscriptionJob.go b/service/transcribe/api_op_GetMedicalTranscriptionJob.go index 573cb0b4ea4..5ab34305640 100644 --- a/service/transcribe/api_op_GetMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_GetMedicalTranscriptionJob.go @@ -77,7 +77,10 @@ func addOperationGetMedicalTranscriptionJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_GetMedicalVocabulary.go b/service/transcribe/api_op_GetMedicalVocabulary.go index 76ba4b9d50e..866065bf82e 100644 --- a/service/transcribe/api_op_GetMedicalVocabulary.go +++ b/service/transcribe/api_op_GetMedicalVocabulary.go @@ -96,7 +96,10 @@ func addOperationGetMedicalVocabularyMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_GetTranscriptionJob.go b/service/transcribe/api_op_GetTranscriptionJob.go index 90738ac5a7f..91bb4520c7f 100644 --- a/service/transcribe/api_op_GetTranscriptionJob.go +++ b/service/transcribe/api_op_GetTranscriptionJob.go @@ -78,7 +78,10 @@ func addOperationGetTranscriptionJobMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_GetVocabulary.go b/service/transcribe/api_op_GetVocabulary.go index 318380edb3c..932da352755 100644 --- a/service/transcribe/api_op_GetVocabulary.go +++ b/service/transcribe/api_op_GetVocabulary.go @@ -93,7 +93,10 @@ func addOperationGetVocabularyMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_GetVocabularyFilter.go b/service/transcribe/api_op_GetVocabularyFilter.go index c7dff666986..2d1a38f7b06 100644 --- a/service/transcribe/api_op_GetVocabularyFilter.go +++ b/service/transcribe/api_op_GetVocabularyFilter.go @@ -85,7 +85,10 @@ func addOperationGetVocabularyFilterMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_ListLanguageModels.go b/service/transcribe/api_op_ListLanguageModels.go index 1a81f57b3b8..a14da80a6d2 100644 --- a/service/transcribe/api_op_ListLanguageModels.go +++ b/service/transcribe/api_op_ListLanguageModels.go @@ -97,7 +97,10 @@ func addOperationListLanguageModelsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_ListMedicalTranscriptionJobs.go b/service/transcribe/api_op_ListMedicalTranscriptionJobs.go index 62f33f33fd6..8f1a13352d1 100644 --- a/service/transcribe/api_op_ListMedicalTranscriptionJobs.go +++ b/service/transcribe/api_op_ListMedicalTranscriptionJobs.go @@ -100,7 +100,10 @@ func addOperationListMedicalTranscriptionJobsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_ListMedicalVocabularies.go b/service/transcribe/api_op_ListMedicalVocabularies.go index 8642b091c83..4025afd4f11 100644 --- a/service/transcribe/api_op_ListMedicalVocabularies.go +++ b/service/transcribe/api_op_ListMedicalVocabularies.go @@ -101,7 +101,10 @@ func addOperationListMedicalVocabulariesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_ListTranscriptionJobs.go b/service/transcribe/api_op_ListTranscriptionJobs.go index 49fa84bbae5..dc1e1f1f7ad 100644 --- a/service/transcribe/api_op_ListTranscriptionJobs.go +++ b/service/transcribe/api_op_ListTranscriptionJobs.go @@ -98,7 +98,10 @@ func addOperationListTranscriptionJobsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_ListVocabularies.go b/service/transcribe/api_op_ListVocabularies.go index 00a1055a454..450b4bab63a 100644 --- a/service/transcribe/api_op_ListVocabularies.go +++ b/service/transcribe/api_op_ListVocabularies.go @@ -100,7 +100,10 @@ func addOperationListVocabulariesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_ListVocabularyFilters.go b/service/transcribe/api_op_ListVocabularyFilters.go index fcbefec42e3..00dda19c5e5 100644 --- a/service/transcribe/api_op_ListVocabularyFilters.go +++ b/service/transcribe/api_op_ListVocabularyFilters.go @@ -92,7 +92,10 @@ func addOperationListVocabularyFiltersMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_StartMedicalTranscriptionJob.go b/service/transcribe/api_op_StartMedicalTranscriptionJob.go index 37960975eb6..8ff8e71846b 100644 --- a/service/transcribe/api_op_StartMedicalTranscriptionJob.go +++ b/service/transcribe/api_op_StartMedicalTranscriptionJob.go @@ -175,7 +175,10 @@ func addOperationStartMedicalTranscriptionJobMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_StartTranscriptionJob.go b/service/transcribe/api_op_StartTranscriptionJob.go index 4e500d0fb50..c5ab04208dd 100644 --- a/service/transcribe/api_op_StartTranscriptionJob.go +++ b/service/transcribe/api_op_StartTranscriptionJob.go @@ -181,7 +181,10 @@ func addOperationStartTranscriptionJobMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_UpdateMedicalVocabulary.go b/service/transcribe/api_op_UpdateMedicalVocabulary.go index 60e4976bf5c..61501908803 100644 --- a/service/transcribe/api_op_UpdateMedicalVocabulary.go +++ b/service/transcribe/api_op_UpdateMedicalVocabulary.go @@ -112,7 +112,10 @@ func addOperationUpdateMedicalVocabularyMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_UpdateVocabulary.go b/service/transcribe/api_op_UpdateVocabulary.go index c886bd3e041..c12dcc6e6db 100644 --- a/service/transcribe/api_op_UpdateVocabulary.go +++ b/service/transcribe/api_op_UpdateVocabulary.go @@ -107,7 +107,10 @@ func addOperationUpdateVocabularyMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transcribe/api_op_UpdateVocabularyFilter.go b/service/transcribe/api_op_UpdateVocabularyFilter.go index d186a9ec294..919925a0257 100644 --- a/service/transcribe/api_op_UpdateVocabularyFilter.go +++ b/service/transcribe/api_op_UpdateVocabularyFilter.go @@ -101,7 +101,10 @@ func addOperationUpdateVocabularyFilterMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_CreateServer.go b/service/transfer/api_op_CreateServer.go index 5b5e705a527..e4df7488548 100644 --- a/service/transfer/api_op_CreateServer.go +++ b/service/transfer/api_op_CreateServer.go @@ -177,7 +177,10 @@ func addOperationCreateServerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_CreateUser.go b/service/transfer/api_op_CreateUser.go index e5a414a3bb8..feecab3d88c 100644 --- a/service/transfer/api_op_CreateUser.go +++ b/service/transfer/api_op_CreateUser.go @@ -160,7 +160,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_DeleteServer.go b/service/transfer/api_op_DeleteServer.go index ed1df470b84..4edc3e7a356 100644 --- a/service/transfer/api_op_DeleteServer.go +++ b/service/transfer/api_op_DeleteServer.go @@ -70,7 +70,10 @@ func addOperationDeleteServerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_DeleteSshPublicKey.go b/service/transfer/api_op_DeleteSshPublicKey.go index 3e0b53d6436..1856f1ebc1c 100644 --- a/service/transfer/api_op_DeleteSshPublicKey.go +++ b/service/transfer/api_op_DeleteSshPublicKey.go @@ -81,7 +81,10 @@ func addOperationDeleteSshPublicKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_DeleteUser.go b/service/transfer/api_op_DeleteUser.go index 38e85f603ee..521d7a6d49a 100644 --- a/service/transfer/api_op_DeleteUser.go +++ b/service/transfer/api_op_DeleteUser.go @@ -77,7 +77,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_DescribeSecurityPolicy.go b/service/transfer/api_op_DescribeSecurityPolicy.go index a48ecd66c7c..e5d059aed96 100644 --- a/service/transfer/api_op_DescribeSecurityPolicy.go +++ b/service/transfer/api_op_DescribeSecurityPolicy.go @@ -80,7 +80,10 @@ func addOperationDescribeSecurityPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_DescribeServer.go b/service/transfer/api_op_DescribeServer.go index f093a6d568e..c6328d26248 100644 --- a/service/transfer/api_op_DescribeServer.go +++ b/service/transfer/api_op_DescribeServer.go @@ -79,7 +79,10 @@ func addOperationDescribeServerMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_DescribeUser.go b/service/transfer/api_op_DescribeUser.go index 07da53df1e2..00192a93667 100644 --- a/service/transfer/api_op_DescribeUser.go +++ b/service/transfer/api_op_DescribeUser.go @@ -92,7 +92,10 @@ func addOperationDescribeUserMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_ImportSshPublicKey.go b/service/transfer/api_op_ImportSshPublicKey.go index 0672af5664c..7a08d974f90 100644 --- a/service/transfer/api_op_ImportSshPublicKey.go +++ b/service/transfer/api_op_ImportSshPublicKey.go @@ -101,7 +101,10 @@ func addOperationImportSshPublicKeyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_ListSecurityPolicies.go b/service/transfer/api_op_ListSecurityPolicies.go index 7228a9367cc..6556b79efa2 100644 --- a/service/transfer/api_op_ListSecurityPolicies.go +++ b/service/transfer/api_op_ListSecurityPolicies.go @@ -87,7 +87,10 @@ func addOperationListSecurityPoliciesMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_ListServers.go b/service/transfer/api_op_ListServers.go index c0b07e472ce..8573bfbdbef 100644 --- a/service/transfer/api_op_ListServers.go +++ b/service/transfer/api_op_ListServers.go @@ -87,7 +87,10 @@ func addOperationListServersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_ListTagsForResource.go b/service/transfer/api_op_ListTagsForResource.go index 2f4933ec0fe..38b94e7bd30 100644 --- a/service/transfer/api_op_ListTagsForResource.go +++ b/service/transfer/api_op_ListTagsForResource.go @@ -96,7 +96,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_ListUsers.go b/service/transfer/api_op_ListUsers.go index 25241a4c6c1..b374f901812 100644 --- a/service/transfer/api_op_ListUsers.go +++ b/service/transfer/api_op_ListUsers.go @@ -97,7 +97,10 @@ func addOperationListUsersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_StartServer.go b/service/transfer/api_op_StartServer.go index f7ed8e5ad9d..4cea42fd45e 100644 --- a/service/transfer/api_op_StartServer.go +++ b/service/transfer/api_op_StartServer.go @@ -74,7 +74,10 @@ func addOperationStartServerMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_StopServer.go b/service/transfer/api_op_StopServer.go index 5616b45994a..87c4bbc141b 100644 --- a/service/transfer/api_op_StopServer.go +++ b/service/transfer/api_op_StopServer.go @@ -77,7 +77,10 @@ func addOperationStopServerMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_TagResource.go b/service/transfer/api_op_TagResource.go index 258a9f70476..a13c286680a 100644 --- a/service/transfer/api_op_TagResource.go +++ b/service/transfer/api_op_TagResource.go @@ -80,7 +80,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_TestIdentityProvider.go b/service/transfer/api_op_TestIdentityProvider.go index d2513069ea4..e1b508f7af6 100644 --- a/service/transfer/api_op_TestIdentityProvider.go +++ b/service/transfer/api_op_TestIdentityProvider.go @@ -115,7 +115,10 @@ func addOperationTestIdentityProviderMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_UntagResource.go b/service/transfer/api_op_UntagResource.go index f0ca8a8e92a..8ca548552af 100644 --- a/service/transfer/api_op_UntagResource.go +++ b/service/transfer/api_op_UntagResource.go @@ -80,7 +80,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_UpdateServer.go b/service/transfer/api_op_UpdateServer.go index 6247253f53e..7e5daf74abb 100644 --- a/service/transfer/api_op_UpdateServer.go +++ b/service/transfer/api_op_UpdateServer.go @@ -169,7 +169,10 @@ func addOperationUpdateServerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/transfer/api_op_UpdateUser.go b/service/transfer/api_op_UpdateUser.go index fff6ae95c7c..90c685bfb1c 100644 --- a/service/transfer/api_op_UpdateUser.go +++ b/service/transfer/api_op_UpdateUser.go @@ -152,7 +152,10 @@ func addOperationUpdateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_CreateParallelData.go b/service/translate/api_op_CreateParallelData.go index e760ad97524..3a4604561e0 100644 --- a/service/translate/api_op_CreateParallelData.go +++ b/service/translate/api_op_CreateParallelData.go @@ -100,7 +100,10 @@ func addOperationCreateParallelDataMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_DeleteParallelData.go b/service/translate/api_op_DeleteParallelData.go index f3f1e656a25..e600a6128fc 100644 --- a/service/translate/api_op_DeleteParallelData.go +++ b/service/translate/api_op_DeleteParallelData.go @@ -77,7 +77,10 @@ func addOperationDeleteParallelDataMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_DeleteTerminology.go b/service/translate/api_op_DeleteTerminology.go index b87d4cd07e1..f22e86d6e83 100644 --- a/service/translate/api_op_DeleteTerminology.go +++ b/service/translate/api_op_DeleteTerminology.go @@ -69,7 +69,10 @@ func addOperationDeleteTerminologyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_DescribeTextTranslationJob.go b/service/translate/api_op_DescribeTextTranslationJob.go index 2be4380fa7e..22e6cea8df2 100644 --- a/service/translate/api_op_DescribeTextTranslationJob.go +++ b/service/translate/api_op_DescribeTextTranslationJob.go @@ -78,7 +78,10 @@ func addOperationDescribeTextTranslationJobMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_GetParallelData.go b/service/translate/api_op_GetParallelData.go index 15eb9d4aad5..177bbb53770 100644 --- a/service/translate/api_op_GetParallelData.go +++ b/service/translate/api_op_GetParallelData.go @@ -91,7 +91,10 @@ func addOperationGetParallelDataMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_GetTerminology.go b/service/translate/api_op_GetTerminology.go index ab3d82c183a..64c774d8978 100644 --- a/service/translate/api_op_GetTerminology.go +++ b/service/translate/api_op_GetTerminology.go @@ -83,7 +83,10 @@ func addOperationGetTerminologyMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_ImportTerminology.go b/service/translate/api_op_ImportTerminology.go index c8f9c899eca..0e2dc6db420 100644 --- a/service/translate/api_op_ImportTerminology.go +++ b/service/translate/api_op_ImportTerminology.go @@ -100,7 +100,10 @@ func addOperationImportTerminologyMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_ListParallelData.go b/service/translate/api_op_ListParallelData.go index 5ab80433ab5..8e529ef1982 100644 --- a/service/translate/api_op_ListParallelData.go +++ b/service/translate/api_op_ListParallelData.go @@ -81,7 +81,10 @@ func addOperationListParallelDataMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_ListTerminologies.go b/service/translate/api_op_ListTerminologies.go index d2f1f8513b6..e7e7c145f13 100644 --- a/service/translate/api_op_ListTerminologies.go +++ b/service/translate/api_op_ListTerminologies.go @@ -81,7 +81,10 @@ func addOperationListTerminologiesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_ListTextTranslationJobs.go b/service/translate/api_op_ListTextTranslationJobs.go index 9f7ffff7dd0..d7bc64600ba 100644 --- a/service/translate/api_op_ListTextTranslationJobs.go +++ b/service/translate/api_op_ListTextTranslationJobs.go @@ -85,7 +85,10 @@ func addOperationListTextTranslationJobsMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_StartTextTranslationJob.go b/service/translate/api_op_StartTextTranslationJob.go index 1dab874219e..ab69f1a2f16 100644 --- a/service/translate/api_op_StartTextTranslationJob.go +++ b/service/translate/api_op_StartTextTranslationJob.go @@ -149,7 +149,10 @@ func addOperationStartTextTranslationJobMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_StopTextTranslationJob.go b/service/translate/api_op_StopTextTranslationJob.go index 03397b1eee0..da7046cd800 100644 --- a/service/translate/api_op_StopTextTranslationJob.go +++ b/service/translate/api_op_StopTextTranslationJob.go @@ -84,7 +84,10 @@ func addOperationStopTextTranslationJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_TranslateText.go b/service/translate/api_op_TranslateText.go index 15be3e6608b..59ba437581d 100644 --- a/service/translate/api_op_TranslateText.go +++ b/service/translate/api_op_TranslateText.go @@ -114,7 +114,10 @@ func addOperationTranslateTextMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/translate/api_op_UpdateParallelData.go b/service/translate/api_op_UpdateParallelData.go index ffdf44589bd..9e8bb522495 100644 --- a/service/translate/api_op_UpdateParallelData.go +++ b/service/translate/api_op_UpdateParallelData.go @@ -102,7 +102,10 @@ func addOperationUpdateParallelDataMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateByteMatchSet.go b/service/waf/api_op_CreateByteMatchSet.go index a31e5854d15..82bc3f9907f 100644 --- a/service/waf/api_op_CreateByteMatchSet.go +++ b/service/waf/api_op_CreateByteMatchSet.go @@ -115,7 +115,10 @@ func addOperationCreateByteMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateGeoMatchSet.go b/service/waf/api_op_CreateGeoMatchSet.go index bca9ac81109..35c7516bb08 100644 --- a/service/waf/api_op_CreateGeoMatchSet.go +++ b/service/waf/api_op_CreateGeoMatchSet.go @@ -115,7 +115,10 @@ func addOperationCreateGeoMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateIPSet.go b/service/waf/api_op_CreateIPSet.go index 29de440ebd5..f6d751c63e0 100644 --- a/service/waf/api_op_CreateIPSet.go +++ b/service/waf/api_op_CreateIPSet.go @@ -114,7 +114,10 @@ func addOperationCreateIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateRateBasedRule.go b/service/waf/api_op_CreateRateBasedRule.go index e3b5fd8e3bd..e96ee3f0935 100644 --- a/service/waf/api_op_CreateRateBasedRule.go +++ b/service/waf/api_op_CreateRateBasedRule.go @@ -183,7 +183,10 @@ func addOperationCreateRateBasedRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateRegexMatchSet.go b/service/waf/api_op_CreateRegexMatchSet.go index 099a639bb04..34c73ce5df2 100644 --- a/service/waf/api_op_CreateRegexMatchSet.go +++ b/service/waf/api_op_CreateRegexMatchSet.go @@ -116,7 +116,10 @@ func addOperationCreateRegexMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateRegexPatternSet.go b/service/waf/api_op_CreateRegexPatternSet.go index dbbc68d190b..b61e3f39d4d 100644 --- a/service/waf/api_op_CreateRegexPatternSet.go +++ b/service/waf/api_op_CreateRegexPatternSet.go @@ -112,7 +112,10 @@ func addOperationCreateRegexPatternSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateRule.go b/service/waf/api_op_CreateRule.go index b663c4d3b48..c28f6383013 100644 --- a/service/waf/api_op_CreateRule.go +++ b/service/waf/api_op_CreateRule.go @@ -143,7 +143,10 @@ func addOperationCreateRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateRuleGroup.go b/service/waf/api_op_CreateRuleGroup.go index 45775256498..30a0ea8d073 100644 --- a/service/waf/api_op_CreateRuleGroup.go +++ b/service/waf/api_op_CreateRuleGroup.go @@ -118,7 +118,10 @@ func addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateSizeConstraintSet.go b/service/waf/api_op_CreateSizeConstraintSet.go index a83c18b2794..c8f2d99fd12 100644 --- a/service/waf/api_op_CreateSizeConstraintSet.go +++ b/service/waf/api_op_CreateSizeConstraintSet.go @@ -116,7 +116,10 @@ func addOperationCreateSizeConstraintSetMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateSqlInjectionMatchSet.go b/service/waf/api_op_CreateSqlInjectionMatchSet.go index 2536ac7f7c5..d5ebe193494 100644 --- a/service/waf/api_op_CreateSqlInjectionMatchSet.go +++ b/service/waf/api_op_CreateSqlInjectionMatchSet.go @@ -115,7 +115,10 @@ func addOperationCreateSqlInjectionMatchSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateWebACL.go b/service/waf/api_op_CreateWebACL.go index cc7c04d943b..aabe14f3289 100644 --- a/service/waf/api_op_CreateWebACL.go +++ b/service/waf/api_op_CreateWebACL.go @@ -142,7 +142,10 @@ func addOperationCreateWebACLMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateWebACLMigrationStack.go b/service/waf/api_op_CreateWebACLMigrationStack.go index 785eafb7d17..f0f3544f052 100644 --- a/service/waf/api_op_CreateWebACLMigrationStack.go +++ b/service/waf/api_op_CreateWebACLMigrationStack.go @@ -111,7 +111,10 @@ func addOperationCreateWebACLMigrationStackMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_CreateXssMatchSet.go b/service/waf/api_op_CreateXssMatchSet.go index 3958e17a64e..80d7215c674 100644 --- a/service/waf/api_op_CreateXssMatchSet.go +++ b/service/waf/api_op_CreateXssMatchSet.go @@ -115,7 +115,10 @@ func addOperationCreateXssMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteByteMatchSet.go b/service/waf/api_op_DeleteByteMatchSet.go index 4cb05be3503..4709a2cbad0 100644 --- a/service/waf/api_op_DeleteByteMatchSet.go +++ b/service/waf/api_op_DeleteByteMatchSet.go @@ -100,7 +100,10 @@ func addOperationDeleteByteMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteGeoMatchSet.go b/service/waf/api_op_DeleteGeoMatchSet.go index 93d50234713..a5d08c4c593 100644 --- a/service/waf/api_op_DeleteGeoMatchSet.go +++ b/service/waf/api_op_DeleteGeoMatchSet.go @@ -100,7 +100,10 @@ func addOperationDeleteGeoMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteIPSet.go b/service/waf/api_op_DeleteIPSet.go index afb835d5d68..1d12a8ae7a1 100644 --- a/service/waf/api_op_DeleteIPSet.go +++ b/service/waf/api_op_DeleteIPSet.go @@ -99,7 +99,10 @@ func addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteLoggingConfiguration.go b/service/waf/api_op_DeleteLoggingConfiguration.go index 36ec0016a7e..bb3d4475cbe 100644 --- a/service/waf/api_op_DeleteLoggingConfiguration.go +++ b/service/waf/api_op_DeleteLoggingConfiguration.go @@ -77,7 +77,10 @@ func addOperationDeleteLoggingConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeletePermissionPolicy.go b/service/waf/api_op_DeletePermissionPolicy.go index 3c858d57aee..81901d6e0f4 100644 --- a/service/waf/api_op_DeletePermissionPolicy.go +++ b/service/waf/api_op_DeletePermissionPolicy.go @@ -77,7 +77,10 @@ func addOperationDeletePermissionPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteRateBasedRule.go b/service/waf/api_op_DeleteRateBasedRule.go index 3423146dc3f..a972d9ce372 100644 --- a/service/waf/api_op_DeleteRateBasedRule.go +++ b/service/waf/api_op_DeleteRateBasedRule.go @@ -100,7 +100,10 @@ func addOperationDeleteRateBasedRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteRegexMatchSet.go b/service/waf/api_op_DeleteRegexMatchSet.go index 63b8eb2d01f..e6da3bfaf26 100644 --- a/service/waf/api_op_DeleteRegexMatchSet.go +++ b/service/waf/api_op_DeleteRegexMatchSet.go @@ -101,7 +101,10 @@ func addOperationDeleteRegexMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteRegexPatternSet.go b/service/waf/api_op_DeleteRegexPatternSet.go index add402f23b5..8aa5b705791 100644 --- a/service/waf/api_op_DeleteRegexPatternSet.go +++ b/service/waf/api_op_DeleteRegexPatternSet.go @@ -90,7 +90,10 @@ func addOperationDeleteRegexPatternSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteRule.go b/service/waf/api_op_DeleteRule.go index 1bb2d5837c4..1a8d8c2d686 100644 --- a/service/waf/api_op_DeleteRule.go +++ b/service/waf/api_op_DeleteRule.go @@ -100,7 +100,10 @@ func addOperationDeleteRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteRuleGroup.go b/service/waf/api_op_DeleteRuleGroup.go index e542a2c5ead..d8f2c2f69d3 100644 --- a/service/waf/api_op_DeleteRuleGroup.go +++ b/service/waf/api_op_DeleteRuleGroup.go @@ -99,7 +99,10 @@ func addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteSizeConstraintSet.go b/service/waf/api_op_DeleteSizeConstraintSet.go index 2ca43071c11..7045ed24715 100644 --- a/service/waf/api_op_DeleteSizeConstraintSet.go +++ b/service/waf/api_op_DeleteSizeConstraintSet.go @@ -102,7 +102,10 @@ func addOperationDeleteSizeConstraintSetMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteSqlInjectionMatchSet.go b/service/waf/api_op_DeleteSqlInjectionMatchSet.go index 4da5e2c309e..8aee6e0080a 100644 --- a/service/waf/api_op_DeleteSqlInjectionMatchSet.go +++ b/service/waf/api_op_DeleteSqlInjectionMatchSet.go @@ -104,7 +104,10 @@ func addOperationDeleteSqlInjectionMatchSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteWebACL.go b/service/waf/api_op_DeleteWebACL.go index d0afa2831aa..f41a39a6f06 100644 --- a/service/waf/api_op_DeleteWebACL.go +++ b/service/waf/api_op_DeleteWebACL.go @@ -97,7 +97,10 @@ func addOperationDeleteWebACLMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_DeleteXssMatchSet.go b/service/waf/api_op_DeleteXssMatchSet.go index 4686f1bbc22..eef02d35875 100644 --- a/service/waf/api_op_DeleteXssMatchSet.go +++ b/service/waf/api_op_DeleteXssMatchSet.go @@ -102,7 +102,10 @@ func addOperationDeleteXssMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetByteMatchSet.go b/service/waf/api_op_GetByteMatchSet.go index 40579ebf947..bf472b711e6 100644 --- a/service/waf/api_op_GetByteMatchSet.go +++ b/service/waf/api_op_GetByteMatchSet.go @@ -92,7 +92,10 @@ func addOperationGetByteMatchSetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetChangeToken.go b/service/waf/api_op_GetChangeToken.go index 9b6b8b66de3..8ac9498c721 100644 --- a/service/waf/api_op_GetChangeToken.go +++ b/service/waf/api_op_GetChangeToken.go @@ -85,7 +85,10 @@ func addOperationGetChangeTokenMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetChangeTokenStatus.go b/service/waf/api_op_GetChangeTokenStatus.go index 483de4f78de..3bd91c8dab3 100644 --- a/service/waf/api_op_GetChangeTokenStatus.go +++ b/service/waf/api_op_GetChangeTokenStatus.go @@ -92,7 +92,10 @@ func addOperationGetChangeTokenStatusMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetGeoMatchSet.go b/service/waf/api_op_GetGeoMatchSet.go index 3ff06f8be74..cfab16f7286 100644 --- a/service/waf/api_op_GetGeoMatchSet.go +++ b/service/waf/api_op_GetGeoMatchSet.go @@ -83,7 +83,10 @@ func addOperationGetGeoMatchSetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetIPSet.go b/service/waf/api_op_GetIPSet.go index 2a3a91fec6f..a653ff6b416 100644 --- a/service/waf/api_op_GetIPSet.go +++ b/service/waf/api_op_GetIPSet.go @@ -88,7 +88,10 @@ func addOperationGetIPSetMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetLoggingConfiguration.go b/service/waf/api_op_GetLoggingConfiguration.go index b9b755521be..742f874c712 100644 --- a/service/waf/api_op_GetLoggingConfiguration.go +++ b/service/waf/api_op_GetLoggingConfiguration.go @@ -81,7 +81,10 @@ func addOperationGetLoggingConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetPermissionPolicy.go b/service/waf/api_op_GetPermissionPolicy.go index c6952876833..3e64df1fbdf 100644 --- a/service/waf/api_op_GetPermissionPolicy.go +++ b/service/waf/api_op_GetPermissionPolicy.go @@ -80,7 +80,10 @@ func addOperationGetPermissionPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetRateBasedRule.go b/service/waf/api_op_GetRateBasedRule.go index 28f3f57e13c..78878bf25f9 100644 --- a/service/waf/api_op_GetRateBasedRule.go +++ b/service/waf/api_op_GetRateBasedRule.go @@ -83,7 +83,10 @@ func addOperationGetRateBasedRuleMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetRateBasedRuleManagedKeys.go b/service/waf/api_op_GetRateBasedRuleManagedKeys.go index 80dc4c38de2..6791bdaa439 100644 --- a/service/waf/api_op_GetRateBasedRuleManagedKeys.go +++ b/service/waf/api_op_GetRateBasedRuleManagedKeys.go @@ -90,7 +90,10 @@ func addOperationGetRateBasedRuleManagedKeysMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetRegexMatchSet.go b/service/waf/api_op_GetRegexMatchSet.go index 3b42f13b58a..32f0de6ed10 100644 --- a/service/waf/api_op_GetRegexMatchSet.go +++ b/service/waf/api_op_GetRegexMatchSet.go @@ -82,7 +82,10 @@ func addOperationGetRegexMatchSetMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetRegexPatternSet.go b/service/waf/api_op_GetRegexPatternSet.go index 75075e1f9ad..394973540f7 100644 --- a/service/waf/api_op_GetRegexPatternSet.go +++ b/service/waf/api_op_GetRegexPatternSet.go @@ -84,7 +84,10 @@ func addOperationGetRegexPatternSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetRule.go b/service/waf/api_op_GetRule.go index f9d6bb74166..ded384a69c3 100644 --- a/service/waf/api_op_GetRule.go +++ b/service/waf/api_op_GetRule.go @@ -89,7 +89,10 @@ func addOperationGetRuleMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetRuleGroup.go b/service/waf/api_op_GetRuleGroup.go index b8eaaf5825a..57b7f1aa905 100644 --- a/service/waf/api_op_GetRuleGroup.go +++ b/service/waf/api_op_GetRuleGroup.go @@ -83,7 +83,10 @@ func addOperationGetRuleGroupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetSampledRequests.go b/service/waf/api_op_GetSampledRequests.go index 22b0714e726..8033bd3b5a5 100644 --- a/service/waf/api_op_GetSampledRequests.go +++ b/service/waf/api_op_GetSampledRequests.go @@ -132,7 +132,10 @@ func addOperationGetSampledRequestsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetSizeConstraintSet.go b/service/waf/api_op_GetSizeConstraintSet.go index 70f45ae5580..e06cfc762fd 100644 --- a/service/waf/api_op_GetSizeConstraintSet.go +++ b/service/waf/api_op_GetSizeConstraintSet.go @@ -93,7 +93,10 @@ func addOperationGetSizeConstraintSetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetSqlInjectionMatchSet.go b/service/waf/api_op_GetSqlInjectionMatchSet.go index be174f8524d..c98b676e8d4 100644 --- a/service/waf/api_op_GetSqlInjectionMatchSet.go +++ b/service/waf/api_op_GetSqlInjectionMatchSet.go @@ -96,7 +96,10 @@ func addOperationGetSqlInjectionMatchSetMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetWebACL.go b/service/waf/api_op_GetWebACL.go index 71dd68ef588..2be2fdf8e29 100644 --- a/service/waf/api_op_GetWebACL.go +++ b/service/waf/api_op_GetWebACL.go @@ -93,7 +93,10 @@ func addOperationGetWebACLMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_GetXssMatchSet.go b/service/waf/api_op_GetXssMatchSet.go index 63cccf7d9a8..59d8efd9977 100644 --- a/service/waf/api_op_GetXssMatchSet.go +++ b/service/waf/api_op_GetXssMatchSet.go @@ -93,7 +93,10 @@ func addOperationGetXssMatchSetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListActivatedRulesInRuleGroup.go b/service/waf/api_op_ListActivatedRulesInRuleGroup.go index 61368e6098e..6512ed5b9f2 100644 --- a/service/waf/api_op_ListActivatedRulesInRuleGroup.go +++ b/service/waf/api_op_ListActivatedRulesInRuleGroup.go @@ -99,7 +99,10 @@ func addOperationListActivatedRulesInRuleGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListByteMatchSets.go b/service/waf/api_op_ListByteMatchSets.go index 48103fc8d71..3a9af0d06b0 100644 --- a/service/waf/api_op_ListByteMatchSets.go +++ b/service/waf/api_op_ListByteMatchSets.go @@ -94,7 +94,10 @@ func addOperationListByteMatchSetsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListGeoMatchSets.go b/service/waf/api_op_ListGeoMatchSets.go index f66fa7f8900..fa503b9699d 100644 --- a/service/waf/api_op_ListGeoMatchSets.go +++ b/service/waf/api_op_ListGeoMatchSets.go @@ -94,7 +94,10 @@ func addOperationListGeoMatchSetsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListIPSets.go b/service/waf/api_op_ListIPSets.go index d5e7b090a22..40d0ef54375 100644 --- a/service/waf/api_op_ListIPSets.go +++ b/service/waf/api_op_ListIPSets.go @@ -91,7 +91,10 @@ func addOperationListIPSetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListLoggingConfigurations.go b/service/waf/api_op_ListLoggingConfigurations.go index 3c501f7c6af..6612948c599 100644 --- a/service/waf/api_op_ListLoggingConfigurations.go +++ b/service/waf/api_op_ListLoggingConfigurations.go @@ -96,7 +96,10 @@ func addOperationListLoggingConfigurationsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListRateBasedRules.go b/service/waf/api_op_ListRateBasedRules.go index 57a1998bce7..fc932771011 100644 --- a/service/waf/api_op_ListRateBasedRules.go +++ b/service/waf/api_op_ListRateBasedRules.go @@ -93,7 +93,10 @@ func addOperationListRateBasedRulesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListRegexMatchSets.go b/service/waf/api_op_ListRegexMatchSets.go index 7e34301e296..9d08ae8e6eb 100644 --- a/service/waf/api_op_ListRegexMatchSets.go +++ b/service/waf/api_op_ListRegexMatchSets.go @@ -95,7 +95,10 @@ func addOperationListRegexMatchSetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListRegexPatternSets.go b/service/waf/api_op_ListRegexPatternSets.go index 24221f71347..5a0beeb93d2 100644 --- a/service/waf/api_op_ListRegexPatternSets.go +++ b/service/waf/api_op_ListRegexPatternSets.go @@ -96,7 +96,10 @@ func addOperationListRegexPatternSetsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListRuleGroups.go b/service/waf/api_op_ListRuleGroups.go index 6770fc8c9a9..36da1119d4c 100644 --- a/service/waf/api_op_ListRuleGroups.go +++ b/service/waf/api_op_ListRuleGroups.go @@ -94,7 +94,10 @@ func addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListRules.go b/service/waf/api_op_ListRules.go index 7e0ec36ce76..d2c72d167a1 100644 --- a/service/waf/api_op_ListRules.go +++ b/service/waf/api_op_ListRules.go @@ -93,7 +93,10 @@ func addOperationListRulesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListSizeConstraintSets.go b/service/waf/api_op_ListSizeConstraintSets.go index 005773d292c..cc40b206183 100644 --- a/service/waf/api_op_ListSizeConstraintSets.go +++ b/service/waf/api_op_ListSizeConstraintSets.go @@ -95,7 +95,10 @@ func addOperationListSizeConstraintSetsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListSqlInjectionMatchSets.go b/service/waf/api_op_ListSqlInjectionMatchSets.go index c867b3ac976..867e8985de9 100644 --- a/service/waf/api_op_ListSqlInjectionMatchSets.go +++ b/service/waf/api_op_ListSqlInjectionMatchSets.go @@ -99,7 +99,10 @@ func addOperationListSqlInjectionMatchSetsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListSubscribedRuleGroups.go b/service/waf/api_op_ListSubscribedRuleGroups.go index 555c084ee64..9bb997bcdff 100644 --- a/service/waf/api_op_ListSubscribedRuleGroups.go +++ b/service/waf/api_op_ListSubscribedRuleGroups.go @@ -95,7 +95,10 @@ func addOperationListSubscribedRuleGroupsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListTagsForResource.go b/service/waf/api_op_ListTagsForResource.go index a1b8de73721..75a07562cce 100644 --- a/service/waf/api_op_ListTagsForResource.go +++ b/service/waf/api_op_ListTagsForResource.go @@ -96,7 +96,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListWebACLs.go b/service/waf/api_op_ListWebACLs.go index 6dd06afb382..838c98ab58e 100644 --- a/service/waf/api_op_ListWebACLs.go +++ b/service/waf/api_op_ListWebACLs.go @@ -94,7 +94,10 @@ func addOperationListWebACLsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_ListXssMatchSets.go b/service/waf/api_op_ListXssMatchSets.go index 4aa3a6b0a0f..ca73cbe5759 100644 --- a/service/waf/api_op_ListXssMatchSets.go +++ b/service/waf/api_op_ListXssMatchSets.go @@ -96,7 +96,10 @@ func addOperationListXssMatchSetsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_PutLoggingConfiguration.go b/service/waf/api_op_PutLoggingConfiguration.go index c485fe4f490..9d30852048e 100644 --- a/service/waf/api_op_PutLoggingConfiguration.go +++ b/service/waf/api_op_PutLoggingConfiguration.go @@ -101,7 +101,10 @@ func addOperationPutLoggingConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_PutPermissionPolicy.go b/service/waf/api_op_PutPermissionPolicy.go index f4972227150..8f2ca085eda 100644 --- a/service/waf/api_op_PutPermissionPolicy.go +++ b/service/waf/api_op_PutPermissionPolicy.go @@ -112,7 +112,10 @@ func addOperationPutPermissionPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_TagResource.go b/service/waf/api_op_TagResource.go index 6a3f018e22c..a9dcf9ee64f 100644 --- a/service/waf/api_op_TagResource.go +++ b/service/waf/api_op_TagResource.go @@ -88,7 +88,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UntagResource.go b/service/waf/api_op_UntagResource.go index c0f259191d9..acf35c74c4a 100644 --- a/service/waf/api_op_UntagResource.go +++ b/service/waf/api_op_UntagResource.go @@ -80,7 +80,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateByteMatchSet.go b/service/waf/api_op_UpdateByteMatchSet.go index bfb22c8da51..925ebda33d0 100644 --- a/service/waf/api_op_UpdateByteMatchSet.go +++ b/service/waf/api_op_UpdateByteMatchSet.go @@ -145,7 +145,10 @@ func addOperationUpdateByteMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateGeoMatchSet.go b/service/waf/api_op_UpdateGeoMatchSet.go index 05014d70853..0defa36ca75 100644 --- a/service/waf/api_op_UpdateGeoMatchSet.go +++ b/service/waf/api_op_UpdateGeoMatchSet.go @@ -133,7 +133,10 @@ func addOperationUpdateGeoMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateIPSet.go b/service/waf/api_op_UpdateIPSet.go index e6ecb3dbb8d..afd0de4c1a2 100644 --- a/service/waf/api_op_UpdateIPSet.go +++ b/service/waf/api_op_UpdateIPSet.go @@ -156,7 +156,10 @@ func addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateRateBasedRule.go b/service/waf/api_op_UpdateRateBasedRule.go index 05ee21ad8aa..5b85474b457 100644 --- a/service/waf/api_op_UpdateRateBasedRule.go +++ b/service/waf/api_op_UpdateRateBasedRule.go @@ -136,7 +136,10 @@ func addOperationUpdateRateBasedRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateRegexMatchSet.go b/service/waf/api_op_UpdateRegexMatchSet.go index e20353fb628..85db0c08e19 100644 --- a/service/waf/api_op_UpdateRegexMatchSet.go +++ b/service/waf/api_op_UpdateRegexMatchSet.go @@ -132,7 +132,10 @@ func addOperationUpdateRegexMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateRegexPatternSet.go b/service/waf/api_op_UpdateRegexPatternSet.go index 88c9d1a033a..b0f1403545d 100644 --- a/service/waf/api_op_UpdateRegexPatternSet.go +++ b/service/waf/api_op_UpdateRegexPatternSet.go @@ -132,7 +132,10 @@ func addOperationUpdateRegexPatternSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateRule.go b/service/waf/api_op_UpdateRule.go index 50b6e178b7e..3d118e4ecae 100644 --- a/service/waf/api_op_UpdateRule.go +++ b/service/waf/api_op_UpdateRule.go @@ -139,7 +139,10 @@ func addOperationUpdateRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateRuleGroup.go b/service/waf/api_op_UpdateRuleGroup.go index 42cc785f276..a22cd27ad19 100644 --- a/service/waf/api_op_UpdateRuleGroup.go +++ b/service/waf/api_op_UpdateRuleGroup.go @@ -118,7 +118,10 @@ func addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateSizeConstraintSet.go b/service/waf/api_op_UpdateSizeConstraintSet.go index d35652f27f8..7a6387af5ad 100644 --- a/service/waf/api_op_UpdateSizeConstraintSet.go +++ b/service/waf/api_op_UpdateSizeConstraintSet.go @@ -149,7 +149,10 @@ func addOperationUpdateSizeConstraintSetMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateSqlInjectionMatchSet.go b/service/waf/api_op_UpdateSqlInjectionMatchSet.go index c961fd7fc86..c976d34b682 100644 --- a/service/waf/api_op_UpdateSqlInjectionMatchSet.go +++ b/service/waf/api_op_UpdateSqlInjectionMatchSet.go @@ -144,7 +144,10 @@ func addOperationUpdateSqlInjectionMatchSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateWebACL.go b/service/waf/api_op_UpdateWebACL.go index 4af7ed3ac0d..582d2cf091c 100644 --- a/service/waf/api_op_UpdateWebACL.go +++ b/service/waf/api_op_UpdateWebACL.go @@ -167,7 +167,10 @@ func addOperationUpdateWebACLMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/waf/api_op_UpdateXssMatchSet.go b/service/waf/api_op_UpdateXssMatchSet.go index 8537f3c1b37..1dd924eca84 100644 --- a/service/waf/api_op_UpdateXssMatchSet.go +++ b/service/waf/api_op_UpdateXssMatchSet.go @@ -140,7 +140,10 @@ func addOperationUpdateXssMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_AssociateWebACL.go b/service/wafregional/api_op_AssociateWebACL.go index 5fb18f9cafb..25b2b0e9bd5 100644 --- a/service/wafregional/api_op_AssociateWebACL.go +++ b/service/wafregional/api_op_AssociateWebACL.go @@ -91,7 +91,10 @@ func addOperationAssociateWebACLMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateByteMatchSet.go b/service/wafregional/api_op_CreateByteMatchSet.go index ccbe7699e6b..dfaa7dd9f94 100644 --- a/service/wafregional/api_op_CreateByteMatchSet.go +++ b/service/wafregional/api_op_CreateByteMatchSet.go @@ -115,7 +115,10 @@ func addOperationCreateByteMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateGeoMatchSet.go b/service/wafregional/api_op_CreateGeoMatchSet.go index 17f807974ed..3077e25ddb9 100644 --- a/service/wafregional/api_op_CreateGeoMatchSet.go +++ b/service/wafregional/api_op_CreateGeoMatchSet.go @@ -115,7 +115,10 @@ func addOperationCreateGeoMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateIPSet.go b/service/wafregional/api_op_CreateIPSet.go index fb8bfc92de1..135ef3f0208 100644 --- a/service/wafregional/api_op_CreateIPSet.go +++ b/service/wafregional/api_op_CreateIPSet.go @@ -114,7 +114,10 @@ func addOperationCreateIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateRateBasedRule.go b/service/wafregional/api_op_CreateRateBasedRule.go index 417fa0da31b..c4f7a14bab0 100644 --- a/service/wafregional/api_op_CreateRateBasedRule.go +++ b/service/wafregional/api_op_CreateRateBasedRule.go @@ -183,7 +183,10 @@ func addOperationCreateRateBasedRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateRegexMatchSet.go b/service/wafregional/api_op_CreateRegexMatchSet.go index 61e34caada8..b17b98204cc 100644 --- a/service/wafregional/api_op_CreateRegexMatchSet.go +++ b/service/wafregional/api_op_CreateRegexMatchSet.go @@ -116,7 +116,10 @@ func addOperationCreateRegexMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateRegexPatternSet.go b/service/wafregional/api_op_CreateRegexPatternSet.go index a10d19e585b..be152231518 100644 --- a/service/wafregional/api_op_CreateRegexPatternSet.go +++ b/service/wafregional/api_op_CreateRegexPatternSet.go @@ -112,7 +112,10 @@ func addOperationCreateRegexPatternSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateRule.go b/service/wafregional/api_op_CreateRule.go index 3f3f653634b..d1a8deca9b5 100644 --- a/service/wafregional/api_op_CreateRule.go +++ b/service/wafregional/api_op_CreateRule.go @@ -143,7 +143,10 @@ func addOperationCreateRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateRuleGroup.go b/service/wafregional/api_op_CreateRuleGroup.go index aeb741420b6..61ee9d1cfe2 100644 --- a/service/wafregional/api_op_CreateRuleGroup.go +++ b/service/wafregional/api_op_CreateRuleGroup.go @@ -118,7 +118,10 @@ func addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateSizeConstraintSet.go b/service/wafregional/api_op_CreateSizeConstraintSet.go index 71e2209414b..d95537990c7 100644 --- a/service/wafregional/api_op_CreateSizeConstraintSet.go +++ b/service/wafregional/api_op_CreateSizeConstraintSet.go @@ -116,7 +116,10 @@ func addOperationCreateSizeConstraintSetMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateSqlInjectionMatchSet.go b/service/wafregional/api_op_CreateSqlInjectionMatchSet.go index 402adea6be1..4dd01beb09f 100644 --- a/service/wafregional/api_op_CreateSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_CreateSqlInjectionMatchSet.go @@ -115,7 +115,10 @@ func addOperationCreateSqlInjectionMatchSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateWebACL.go b/service/wafregional/api_op_CreateWebACL.go index 0be7ca019e0..c688b3b732a 100644 --- a/service/wafregional/api_op_CreateWebACL.go +++ b/service/wafregional/api_op_CreateWebACL.go @@ -142,7 +142,10 @@ func addOperationCreateWebACLMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateWebACLMigrationStack.go b/service/wafregional/api_op_CreateWebACLMigrationStack.go index 41e8f71c576..e0a19f4e08b 100644 --- a/service/wafregional/api_op_CreateWebACLMigrationStack.go +++ b/service/wafregional/api_op_CreateWebACLMigrationStack.go @@ -111,7 +111,10 @@ func addOperationCreateWebACLMigrationStackMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_CreateXssMatchSet.go b/service/wafregional/api_op_CreateXssMatchSet.go index b73e0c04492..3fa9874ba3b 100644 --- a/service/wafregional/api_op_CreateXssMatchSet.go +++ b/service/wafregional/api_op_CreateXssMatchSet.go @@ -115,7 +115,10 @@ func addOperationCreateXssMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteByteMatchSet.go b/service/wafregional/api_op_DeleteByteMatchSet.go index 10ad343e432..a56414f6c4f 100644 --- a/service/wafregional/api_op_DeleteByteMatchSet.go +++ b/service/wafregional/api_op_DeleteByteMatchSet.go @@ -100,7 +100,10 @@ func addOperationDeleteByteMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteGeoMatchSet.go b/service/wafregional/api_op_DeleteGeoMatchSet.go index f61cc1aa3c6..b73f939f819 100644 --- a/service/wafregional/api_op_DeleteGeoMatchSet.go +++ b/service/wafregional/api_op_DeleteGeoMatchSet.go @@ -100,7 +100,10 @@ func addOperationDeleteGeoMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteIPSet.go b/service/wafregional/api_op_DeleteIPSet.go index 5a3a9b4b250..2b4bdb1447a 100644 --- a/service/wafregional/api_op_DeleteIPSet.go +++ b/service/wafregional/api_op_DeleteIPSet.go @@ -99,7 +99,10 @@ func addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteLoggingConfiguration.go b/service/wafregional/api_op_DeleteLoggingConfiguration.go index 5dbee852714..b5ed18504f0 100644 --- a/service/wafregional/api_op_DeleteLoggingConfiguration.go +++ b/service/wafregional/api_op_DeleteLoggingConfiguration.go @@ -77,7 +77,10 @@ func addOperationDeleteLoggingConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeletePermissionPolicy.go b/service/wafregional/api_op_DeletePermissionPolicy.go index b0457966153..75496cb243d 100644 --- a/service/wafregional/api_op_DeletePermissionPolicy.go +++ b/service/wafregional/api_op_DeletePermissionPolicy.go @@ -77,7 +77,10 @@ func addOperationDeletePermissionPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteRateBasedRule.go b/service/wafregional/api_op_DeleteRateBasedRule.go index e74c7e7f35f..f496ec91d66 100644 --- a/service/wafregional/api_op_DeleteRateBasedRule.go +++ b/service/wafregional/api_op_DeleteRateBasedRule.go @@ -100,7 +100,10 @@ func addOperationDeleteRateBasedRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteRegexMatchSet.go b/service/wafregional/api_op_DeleteRegexMatchSet.go index 940f1aec358..af1f2eed5e8 100644 --- a/service/wafregional/api_op_DeleteRegexMatchSet.go +++ b/service/wafregional/api_op_DeleteRegexMatchSet.go @@ -101,7 +101,10 @@ func addOperationDeleteRegexMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteRegexPatternSet.go b/service/wafregional/api_op_DeleteRegexPatternSet.go index b5cb183aa85..8f55ecb74b5 100644 --- a/service/wafregional/api_op_DeleteRegexPatternSet.go +++ b/service/wafregional/api_op_DeleteRegexPatternSet.go @@ -90,7 +90,10 @@ func addOperationDeleteRegexPatternSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteRule.go b/service/wafregional/api_op_DeleteRule.go index c537bfec356..3ea9d8e1932 100644 --- a/service/wafregional/api_op_DeleteRule.go +++ b/service/wafregional/api_op_DeleteRule.go @@ -100,7 +100,10 @@ func addOperationDeleteRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteRuleGroup.go b/service/wafregional/api_op_DeleteRuleGroup.go index f64f44e2029..54f798a700f 100644 --- a/service/wafregional/api_op_DeleteRuleGroup.go +++ b/service/wafregional/api_op_DeleteRuleGroup.go @@ -99,7 +99,10 @@ func addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteSizeConstraintSet.go b/service/wafregional/api_op_DeleteSizeConstraintSet.go index 80ca2f76081..3794b7160a9 100644 --- a/service/wafregional/api_op_DeleteSizeConstraintSet.go +++ b/service/wafregional/api_op_DeleteSizeConstraintSet.go @@ -102,7 +102,10 @@ func addOperationDeleteSizeConstraintSetMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go b/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go index 91f76b77764..1fd11b95bb8 100644 --- a/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_DeleteSqlInjectionMatchSet.go @@ -104,7 +104,10 @@ func addOperationDeleteSqlInjectionMatchSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteWebACL.go b/service/wafregional/api_op_DeleteWebACL.go index 7cf538155bb..dfcf77c2235 100644 --- a/service/wafregional/api_op_DeleteWebACL.go +++ b/service/wafregional/api_op_DeleteWebACL.go @@ -97,7 +97,10 @@ func addOperationDeleteWebACLMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DeleteXssMatchSet.go b/service/wafregional/api_op_DeleteXssMatchSet.go index 3d1f07eed8a..f5dc1608c44 100644 --- a/service/wafregional/api_op_DeleteXssMatchSet.go +++ b/service/wafregional/api_op_DeleteXssMatchSet.go @@ -102,7 +102,10 @@ func addOperationDeleteXssMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_DisassociateWebACL.go b/service/wafregional/api_op_DisassociateWebACL.go index 0a674a63d5e..09e4bb222f7 100644 --- a/service/wafregional/api_op_DisassociateWebACL.go +++ b/service/wafregional/api_op_DisassociateWebACL.go @@ -87,7 +87,10 @@ func addOperationDisassociateWebACLMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetByteMatchSet.go b/service/wafregional/api_op_GetByteMatchSet.go index 4252a4e7eff..9e57be33e79 100644 --- a/service/wafregional/api_op_GetByteMatchSet.go +++ b/service/wafregional/api_op_GetByteMatchSet.go @@ -92,7 +92,10 @@ func addOperationGetByteMatchSetMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetChangeToken.go b/service/wafregional/api_op_GetChangeToken.go index 56f833a2f38..1353cae6d96 100644 --- a/service/wafregional/api_op_GetChangeToken.go +++ b/service/wafregional/api_op_GetChangeToken.go @@ -85,7 +85,10 @@ func addOperationGetChangeTokenMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetChangeTokenStatus.go b/service/wafregional/api_op_GetChangeTokenStatus.go index b2ad81f53f2..0e58a5c640e 100644 --- a/service/wafregional/api_op_GetChangeTokenStatus.go +++ b/service/wafregional/api_op_GetChangeTokenStatus.go @@ -92,7 +92,10 @@ func addOperationGetChangeTokenStatusMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetGeoMatchSet.go b/service/wafregional/api_op_GetGeoMatchSet.go index 4d28e66c94f..63b634521ef 100644 --- a/service/wafregional/api_op_GetGeoMatchSet.go +++ b/service/wafregional/api_op_GetGeoMatchSet.go @@ -83,7 +83,10 @@ func addOperationGetGeoMatchSetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetIPSet.go b/service/wafregional/api_op_GetIPSet.go index 5741bbf2bfc..1e82a58cb36 100644 --- a/service/wafregional/api_op_GetIPSet.go +++ b/service/wafregional/api_op_GetIPSet.go @@ -88,7 +88,10 @@ func addOperationGetIPSetMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetLoggingConfiguration.go b/service/wafregional/api_op_GetLoggingConfiguration.go index 006ad16f34b..e233fd6d42d 100644 --- a/service/wafregional/api_op_GetLoggingConfiguration.go +++ b/service/wafregional/api_op_GetLoggingConfiguration.go @@ -81,7 +81,10 @@ func addOperationGetLoggingConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetPermissionPolicy.go b/service/wafregional/api_op_GetPermissionPolicy.go index b34e152db2e..568baad3285 100644 --- a/service/wafregional/api_op_GetPermissionPolicy.go +++ b/service/wafregional/api_op_GetPermissionPolicy.go @@ -80,7 +80,10 @@ func addOperationGetPermissionPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetRateBasedRule.go b/service/wafregional/api_op_GetRateBasedRule.go index e61d811d783..6d5b10349e5 100644 --- a/service/wafregional/api_op_GetRateBasedRule.go +++ b/service/wafregional/api_op_GetRateBasedRule.go @@ -83,7 +83,10 @@ func addOperationGetRateBasedRuleMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go b/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go index 91dd7cc72f9..01ed1fe769d 100644 --- a/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go +++ b/service/wafregional/api_op_GetRateBasedRuleManagedKeys.go @@ -90,7 +90,10 @@ func addOperationGetRateBasedRuleManagedKeysMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetRegexMatchSet.go b/service/wafregional/api_op_GetRegexMatchSet.go index 7ac1e0aa86e..0fb39898781 100644 --- a/service/wafregional/api_op_GetRegexMatchSet.go +++ b/service/wafregional/api_op_GetRegexMatchSet.go @@ -82,7 +82,10 @@ func addOperationGetRegexMatchSetMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetRegexPatternSet.go b/service/wafregional/api_op_GetRegexPatternSet.go index fced5ce77f6..d4d00e36c12 100644 --- a/service/wafregional/api_op_GetRegexPatternSet.go +++ b/service/wafregional/api_op_GetRegexPatternSet.go @@ -84,7 +84,10 @@ func addOperationGetRegexPatternSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetRule.go b/service/wafregional/api_op_GetRule.go index b01e3ddefc9..995b41b93ee 100644 --- a/service/wafregional/api_op_GetRule.go +++ b/service/wafregional/api_op_GetRule.go @@ -89,7 +89,10 @@ func addOperationGetRuleMiddlewares(stack *middleware.Stack, options Options) (e if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetRuleGroup.go b/service/wafregional/api_op_GetRuleGroup.go index 1a2484217a3..2fec64cf7c5 100644 --- a/service/wafregional/api_op_GetRuleGroup.go +++ b/service/wafregional/api_op_GetRuleGroup.go @@ -83,7 +83,10 @@ func addOperationGetRuleGroupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetSampledRequests.go b/service/wafregional/api_op_GetSampledRequests.go index e4fc30a91ce..9bbb13f0483 100644 --- a/service/wafregional/api_op_GetSampledRequests.go +++ b/service/wafregional/api_op_GetSampledRequests.go @@ -132,7 +132,10 @@ func addOperationGetSampledRequestsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetSizeConstraintSet.go b/service/wafregional/api_op_GetSizeConstraintSet.go index 3a0491212b0..0afcd72f2d4 100644 --- a/service/wafregional/api_op_GetSizeConstraintSet.go +++ b/service/wafregional/api_op_GetSizeConstraintSet.go @@ -93,7 +93,10 @@ func addOperationGetSizeConstraintSetMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetSqlInjectionMatchSet.go b/service/wafregional/api_op_GetSqlInjectionMatchSet.go index 3d3573a4ed4..b8e43dd3d53 100644 --- a/service/wafregional/api_op_GetSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_GetSqlInjectionMatchSet.go @@ -96,7 +96,10 @@ func addOperationGetSqlInjectionMatchSetMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetWebACL.go b/service/wafregional/api_op_GetWebACL.go index 3d661e0c34d..5a4bb83bb30 100644 --- a/service/wafregional/api_op_GetWebACL.go +++ b/service/wafregional/api_op_GetWebACL.go @@ -93,7 +93,10 @@ func addOperationGetWebACLMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetWebACLForResource.go b/service/wafregional/api_op_GetWebACLForResource.go index 1b1de235156..c18550656be 100644 --- a/service/wafregional/api_op_GetWebACLForResource.go +++ b/service/wafregional/api_op_GetWebACLForResource.go @@ -92,7 +92,10 @@ func addOperationGetWebACLForResourceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_GetXssMatchSet.go b/service/wafregional/api_op_GetXssMatchSet.go index 8d5e8fe5cfa..b121161eb55 100644 --- a/service/wafregional/api_op_GetXssMatchSet.go +++ b/service/wafregional/api_op_GetXssMatchSet.go @@ -93,7 +93,10 @@ func addOperationGetXssMatchSetMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go b/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go index b42d6d98acf..190691a3f7e 100644 --- a/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go +++ b/service/wafregional/api_op_ListActivatedRulesInRuleGroup.go @@ -99,7 +99,10 @@ func addOperationListActivatedRulesInRuleGroupMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListByteMatchSets.go b/service/wafregional/api_op_ListByteMatchSets.go index be5c6f7e6b6..c0f767d1e61 100644 --- a/service/wafregional/api_op_ListByteMatchSets.go +++ b/service/wafregional/api_op_ListByteMatchSets.go @@ -94,7 +94,10 @@ func addOperationListByteMatchSetsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListGeoMatchSets.go b/service/wafregional/api_op_ListGeoMatchSets.go index 520bf193a79..1a35399ff77 100644 --- a/service/wafregional/api_op_ListGeoMatchSets.go +++ b/service/wafregional/api_op_ListGeoMatchSets.go @@ -94,7 +94,10 @@ func addOperationListGeoMatchSetsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListIPSets.go b/service/wafregional/api_op_ListIPSets.go index 50c20abe936..da7bdb3ad1e 100644 --- a/service/wafregional/api_op_ListIPSets.go +++ b/service/wafregional/api_op_ListIPSets.go @@ -91,7 +91,10 @@ func addOperationListIPSetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListLoggingConfigurations.go b/service/wafregional/api_op_ListLoggingConfigurations.go index 39860e19f8b..b74f68160ca 100644 --- a/service/wafregional/api_op_ListLoggingConfigurations.go +++ b/service/wafregional/api_op_ListLoggingConfigurations.go @@ -96,7 +96,10 @@ func addOperationListLoggingConfigurationsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListRateBasedRules.go b/service/wafregional/api_op_ListRateBasedRules.go index 6882d9b7770..d039a68dd45 100644 --- a/service/wafregional/api_op_ListRateBasedRules.go +++ b/service/wafregional/api_op_ListRateBasedRules.go @@ -93,7 +93,10 @@ func addOperationListRateBasedRulesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListRegexMatchSets.go b/service/wafregional/api_op_ListRegexMatchSets.go index 73260c2e565..0a698fe3b1a 100644 --- a/service/wafregional/api_op_ListRegexMatchSets.go +++ b/service/wafregional/api_op_ListRegexMatchSets.go @@ -95,7 +95,10 @@ func addOperationListRegexMatchSetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListRegexPatternSets.go b/service/wafregional/api_op_ListRegexPatternSets.go index 64e20cc9dbf..3b65218b150 100644 --- a/service/wafregional/api_op_ListRegexPatternSets.go +++ b/service/wafregional/api_op_ListRegexPatternSets.go @@ -96,7 +96,10 @@ func addOperationListRegexPatternSetsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListResourcesForWebACL.go b/service/wafregional/api_op_ListResourcesForWebACL.go index 92c05f8de47..53a0f83671d 100644 --- a/service/wafregional/api_op_ListResourcesForWebACL.go +++ b/service/wafregional/api_op_ListResourcesForWebACL.go @@ -88,7 +88,10 @@ func addOperationListResourcesForWebACLMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListRuleGroups.go b/service/wafregional/api_op_ListRuleGroups.go index b23fae7ec66..57d299b0b36 100644 --- a/service/wafregional/api_op_ListRuleGroups.go +++ b/service/wafregional/api_op_ListRuleGroups.go @@ -94,7 +94,10 @@ func addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListRules.go b/service/wafregional/api_op_ListRules.go index 7d92a2702a5..79cbbf0c94d 100644 --- a/service/wafregional/api_op_ListRules.go +++ b/service/wafregional/api_op_ListRules.go @@ -93,7 +93,10 @@ func addOperationListRulesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListSizeConstraintSets.go b/service/wafregional/api_op_ListSizeConstraintSets.go index ff029bed38d..4e7c4511fb4 100644 --- a/service/wafregional/api_op_ListSizeConstraintSets.go +++ b/service/wafregional/api_op_ListSizeConstraintSets.go @@ -95,7 +95,10 @@ func addOperationListSizeConstraintSetsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListSqlInjectionMatchSets.go b/service/wafregional/api_op_ListSqlInjectionMatchSets.go index 4a065793dcc..81bf4c16dc6 100644 --- a/service/wafregional/api_op_ListSqlInjectionMatchSets.go +++ b/service/wafregional/api_op_ListSqlInjectionMatchSets.go @@ -99,7 +99,10 @@ func addOperationListSqlInjectionMatchSetsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListSubscribedRuleGroups.go b/service/wafregional/api_op_ListSubscribedRuleGroups.go index 4cab6601507..5466607c244 100644 --- a/service/wafregional/api_op_ListSubscribedRuleGroups.go +++ b/service/wafregional/api_op_ListSubscribedRuleGroups.go @@ -95,7 +95,10 @@ func addOperationListSubscribedRuleGroupsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListTagsForResource.go b/service/wafregional/api_op_ListTagsForResource.go index 5aa0828a97a..8b732133d21 100644 --- a/service/wafregional/api_op_ListTagsForResource.go +++ b/service/wafregional/api_op_ListTagsForResource.go @@ -96,7 +96,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListWebACLs.go b/service/wafregional/api_op_ListWebACLs.go index a1366b7d999..31846b72b52 100644 --- a/service/wafregional/api_op_ListWebACLs.go +++ b/service/wafregional/api_op_ListWebACLs.go @@ -94,7 +94,10 @@ func addOperationListWebACLsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_ListXssMatchSets.go b/service/wafregional/api_op_ListXssMatchSets.go index 692c18e8d70..b35c8ec5ec6 100644 --- a/service/wafregional/api_op_ListXssMatchSets.go +++ b/service/wafregional/api_op_ListXssMatchSets.go @@ -96,7 +96,10 @@ func addOperationListXssMatchSetsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_PutLoggingConfiguration.go b/service/wafregional/api_op_PutLoggingConfiguration.go index 076764cf449..75a6f96c239 100644 --- a/service/wafregional/api_op_PutLoggingConfiguration.go +++ b/service/wafregional/api_op_PutLoggingConfiguration.go @@ -101,7 +101,10 @@ func addOperationPutLoggingConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_PutPermissionPolicy.go b/service/wafregional/api_op_PutPermissionPolicy.go index 92d24ee0b65..b245dd947c3 100644 --- a/service/wafregional/api_op_PutPermissionPolicy.go +++ b/service/wafregional/api_op_PutPermissionPolicy.go @@ -112,7 +112,10 @@ func addOperationPutPermissionPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_TagResource.go b/service/wafregional/api_op_TagResource.go index 8070fde9950..62c7204a65b 100644 --- a/service/wafregional/api_op_TagResource.go +++ b/service/wafregional/api_op_TagResource.go @@ -88,7 +88,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UntagResource.go b/service/wafregional/api_op_UntagResource.go index fe54ba8ba4c..051be89011c 100644 --- a/service/wafregional/api_op_UntagResource.go +++ b/service/wafregional/api_op_UntagResource.go @@ -80,7 +80,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateByteMatchSet.go b/service/wafregional/api_op_UpdateByteMatchSet.go index f0f8405a27b..31ff509fbba 100644 --- a/service/wafregional/api_op_UpdateByteMatchSet.go +++ b/service/wafregional/api_op_UpdateByteMatchSet.go @@ -145,7 +145,10 @@ func addOperationUpdateByteMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateGeoMatchSet.go b/service/wafregional/api_op_UpdateGeoMatchSet.go index c2aaa566799..b41ab81c87c 100644 --- a/service/wafregional/api_op_UpdateGeoMatchSet.go +++ b/service/wafregional/api_op_UpdateGeoMatchSet.go @@ -133,7 +133,10 @@ func addOperationUpdateGeoMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateIPSet.go b/service/wafregional/api_op_UpdateIPSet.go index 1b9c4ea67b2..fecee703980 100644 --- a/service/wafregional/api_op_UpdateIPSet.go +++ b/service/wafregional/api_op_UpdateIPSet.go @@ -156,7 +156,10 @@ func addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateRateBasedRule.go b/service/wafregional/api_op_UpdateRateBasedRule.go index 4cf32c6e1fd..b9d9881a8ce 100644 --- a/service/wafregional/api_op_UpdateRateBasedRule.go +++ b/service/wafregional/api_op_UpdateRateBasedRule.go @@ -136,7 +136,10 @@ func addOperationUpdateRateBasedRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateRegexMatchSet.go b/service/wafregional/api_op_UpdateRegexMatchSet.go index a1ff2df5537..9ab524c4cbe 100644 --- a/service/wafregional/api_op_UpdateRegexMatchSet.go +++ b/service/wafregional/api_op_UpdateRegexMatchSet.go @@ -132,7 +132,10 @@ func addOperationUpdateRegexMatchSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateRegexPatternSet.go b/service/wafregional/api_op_UpdateRegexPatternSet.go index 1bf6f1446de..d840264481e 100644 --- a/service/wafregional/api_op_UpdateRegexPatternSet.go +++ b/service/wafregional/api_op_UpdateRegexPatternSet.go @@ -132,7 +132,10 @@ func addOperationUpdateRegexPatternSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateRule.go b/service/wafregional/api_op_UpdateRule.go index d6d995b903d..dd92b0e0829 100644 --- a/service/wafregional/api_op_UpdateRule.go +++ b/service/wafregional/api_op_UpdateRule.go @@ -139,7 +139,10 @@ func addOperationUpdateRuleMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateRuleGroup.go b/service/wafregional/api_op_UpdateRuleGroup.go index adebabe70b4..566c2f60160 100644 --- a/service/wafregional/api_op_UpdateRuleGroup.go +++ b/service/wafregional/api_op_UpdateRuleGroup.go @@ -118,7 +118,10 @@ func addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateSizeConstraintSet.go b/service/wafregional/api_op_UpdateSizeConstraintSet.go index 8aba157dd0e..d0307ae1cea 100644 --- a/service/wafregional/api_op_UpdateSizeConstraintSet.go +++ b/service/wafregional/api_op_UpdateSizeConstraintSet.go @@ -149,7 +149,10 @@ func addOperationUpdateSizeConstraintSetMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go b/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go index 3c07cf4109d..550f89c8a42 100644 --- a/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go +++ b/service/wafregional/api_op_UpdateSqlInjectionMatchSet.go @@ -144,7 +144,10 @@ func addOperationUpdateSqlInjectionMatchSetMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateWebACL.go b/service/wafregional/api_op_UpdateWebACL.go index 00fd1314424..2f3eeb69941 100644 --- a/service/wafregional/api_op_UpdateWebACL.go +++ b/service/wafregional/api_op_UpdateWebACL.go @@ -167,7 +167,10 @@ func addOperationUpdateWebACLMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafregional/api_op_UpdateXssMatchSet.go b/service/wafregional/api_op_UpdateXssMatchSet.go index 53186a2aed7..3e0b46b90b6 100644 --- a/service/wafregional/api_op_UpdateXssMatchSet.go +++ b/service/wafregional/api_op_UpdateXssMatchSet.go @@ -140,7 +140,10 @@ func addOperationUpdateXssMatchSetMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_AssociateWebACL.go b/service/wafv2/api_op_AssociateWebACL.go index 3ef9f650f7b..4ce03d7bede 100644 --- a/service/wafv2/api_op_AssociateWebACL.go +++ b/service/wafv2/api_op_AssociateWebACL.go @@ -98,7 +98,10 @@ func addOperationAssociateWebACLMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_CheckCapacity.go b/service/wafv2/api_op_CheckCapacity.go index 02a34ebfaa1..14bc0aece4e 100644 --- a/service/wafv2/api_op_CheckCapacity.go +++ b/service/wafv2/api_op_CheckCapacity.go @@ -101,7 +101,10 @@ func addOperationCheckCapacityMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_CreateIPSet.go b/service/wafv2/api_op_CreateIPSet.go index 28992a2ad9b..584f7bb3c80 100644 --- a/service/wafv2/api_op_CreateIPSet.go +++ b/service/wafv2/api_op_CreateIPSet.go @@ -141,7 +141,10 @@ func addOperationCreateIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_CreateRegexPatternSet.go b/service/wafv2/api_op_CreateRegexPatternSet.go index ed841af9a87..4ad2caa4a2d 100644 --- a/service/wafv2/api_op_CreateRegexPatternSet.go +++ b/service/wafv2/api_op_CreateRegexPatternSet.go @@ -110,7 +110,10 @@ func addOperationCreateRegexPatternSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_CreateRuleGroup.go b/service/wafv2/api_op_CreateRuleGroup.go index 13b47c26833..971bee1ffdf 100644 --- a/service/wafv2/api_op_CreateRuleGroup.go +++ b/service/wafv2/api_op_CreateRuleGroup.go @@ -134,7 +134,10 @@ func addOperationCreateRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_CreateWebACL.go b/service/wafv2/api_op_CreateWebACL.go index 6f727ab151b..bad7e773802 100644 --- a/service/wafv2/api_op_CreateWebACL.go +++ b/service/wafv2/api_op_CreateWebACL.go @@ -128,7 +128,10 @@ func addOperationCreateWebACLMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go b/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go index 9468cf96a64..7dd3f4442cd 100644 --- a/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go +++ b/service/wafv2/api_op_DeleteFirewallManagerRuleGroups.go @@ -92,7 +92,10 @@ func addOperationDeleteFirewallManagerRuleGroupsMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_DeleteIPSet.go b/service/wafv2/api_op_DeleteIPSet.go index 9f23b9fc349..356e49dbedf 100644 --- a/service/wafv2/api_op_DeleteIPSet.go +++ b/service/wafv2/api_op_DeleteIPSet.go @@ -107,7 +107,10 @@ func addOperationDeleteIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_DeleteLoggingConfiguration.go b/service/wafv2/api_op_DeleteLoggingConfiguration.go index 04b13a0de0f..71d8be8ee20 100644 --- a/service/wafv2/api_op_DeleteLoggingConfiguration.go +++ b/service/wafv2/api_op_DeleteLoggingConfiguration.go @@ -74,7 +74,10 @@ func addOperationDeleteLoggingConfigurationMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_DeletePermissionPolicy.go b/service/wafv2/api_op_DeletePermissionPolicy.go index 9fa378b4390..c449d49cdad 100644 --- a/service/wafv2/api_op_DeletePermissionPolicy.go +++ b/service/wafv2/api_op_DeletePermissionPolicy.go @@ -71,7 +71,10 @@ func addOperationDeletePermissionPolicyMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_DeleteRegexPatternSet.go b/service/wafv2/api_op_DeleteRegexPatternSet.go index 322a2414d3e..ecb93920b3e 100644 --- a/service/wafv2/api_op_DeleteRegexPatternSet.go +++ b/service/wafv2/api_op_DeleteRegexPatternSet.go @@ -106,7 +106,10 @@ func addOperationDeleteRegexPatternSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_DeleteRuleGroup.go b/service/wafv2/api_op_DeleteRuleGroup.go index 9f38ba163fc..28eec74e352 100644 --- a/service/wafv2/api_op_DeleteRuleGroup.go +++ b/service/wafv2/api_op_DeleteRuleGroup.go @@ -107,7 +107,10 @@ func addOperationDeleteRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_DeleteWebACL.go b/service/wafv2/api_op_DeleteWebACL.go index 55f3c25b37b..f2b023b9c7d 100644 --- a/service/wafv2/api_op_DeleteWebACL.go +++ b/service/wafv2/api_op_DeleteWebACL.go @@ -108,7 +108,10 @@ func addOperationDeleteWebACLMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_DescribeManagedRuleGroup.go b/service/wafv2/api_op_DescribeManagedRuleGroup.go index 8761e290256..e3ebaff950d 100644 --- a/service/wafv2/api_op_DescribeManagedRuleGroup.go +++ b/service/wafv2/api_op_DescribeManagedRuleGroup.go @@ -109,7 +109,10 @@ func addOperationDescribeManagedRuleGroupMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_DisassociateWebACL.go b/service/wafv2/api_op_DisassociateWebACL.go index 8728d6435c2..d55535d087d 100644 --- a/service/wafv2/api_op_DisassociateWebACL.go +++ b/service/wafv2/api_op_DisassociateWebACL.go @@ -91,7 +91,10 @@ func addOperationDisassociateWebACLMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_GetIPSet.go b/service/wafv2/api_op_GetIPSet.go index 7823c2cf1f8..fffb95074eb 100644 --- a/service/wafv2/api_op_GetIPSet.go +++ b/service/wafv2/api_op_GetIPSet.go @@ -109,7 +109,10 @@ func addOperationGetIPSetMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_GetLoggingConfiguration.go b/service/wafv2/api_op_GetLoggingConfiguration.go index 0b9279c46db..15e63c67f81 100644 --- a/service/wafv2/api_op_GetLoggingConfiguration.go +++ b/service/wafv2/api_op_GetLoggingConfiguration.go @@ -79,7 +79,10 @@ func addOperationGetLoggingConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_GetPermissionPolicy.go b/service/wafv2/api_op_GetPermissionPolicy.go index feed222467e..bc6c2deea70 100644 --- a/service/wafv2/api_op_GetPermissionPolicy.go +++ b/service/wafv2/api_op_GetPermissionPolicy.go @@ -75,7 +75,10 @@ func addOperationGetPermissionPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go b/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go index f78105e29d1..29ddaf94854 100644 --- a/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go +++ b/service/wafv2/api_op_GetRateBasedStatementManagedKeys.go @@ -111,7 +111,10 @@ func addOperationGetRateBasedStatementManagedKeysMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_GetRegexPatternSet.go b/service/wafv2/api_op_GetRegexPatternSet.go index 7a4090e07c9..548adf663a7 100644 --- a/service/wafv2/api_op_GetRegexPatternSet.go +++ b/service/wafv2/api_op_GetRegexPatternSet.go @@ -108,7 +108,10 @@ func addOperationGetRegexPatternSetMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_GetRuleGroup.go b/service/wafv2/api_op_GetRuleGroup.go index 59c7105fdda..8c558673e16 100644 --- a/service/wafv2/api_op_GetRuleGroup.go +++ b/service/wafv2/api_op_GetRuleGroup.go @@ -109,7 +109,10 @@ func addOperationGetRuleGroupMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_GetSampledRequests.go b/service/wafv2/api_op_GetSampledRequests.go index 78eecca44eb..9c3159cbc77 100644 --- a/service/wafv2/api_op_GetSampledRequests.go +++ b/service/wafv2/api_op_GetSampledRequests.go @@ -138,7 +138,10 @@ func addOperationGetSampledRequestsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_GetWebACL.go b/service/wafv2/api_op_GetWebACL.go index d80a89da95e..2cb42fa7909 100644 --- a/service/wafv2/api_op_GetWebACL.go +++ b/service/wafv2/api_op_GetWebACL.go @@ -110,7 +110,10 @@ func addOperationGetWebACLMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_GetWebACLForResource.go b/service/wafv2/api_op_GetWebACLForResource.go index e4694806d70..e1880fa2638 100644 --- a/service/wafv2/api_op_GetWebACLForResource.go +++ b/service/wafv2/api_op_GetWebACLForResource.go @@ -79,7 +79,10 @@ func addOperationGetWebACLForResourceMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_ListAvailableManagedRuleGroups.go b/service/wafv2/api_op_ListAvailableManagedRuleGroups.go index 149132dfd69..8f6d84490fa 100644 --- a/service/wafv2/api_op_ListAvailableManagedRuleGroups.go +++ b/service/wafv2/api_op_ListAvailableManagedRuleGroups.go @@ -107,7 +107,10 @@ func addOperationListAvailableManagedRuleGroupsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_ListIPSets.go b/service/wafv2/api_op_ListIPSets.go index 6d0e4774569..b1e109db1e3 100644 --- a/service/wafv2/api_op_ListIPSets.go +++ b/service/wafv2/api_op_ListIPSets.go @@ -106,7 +106,10 @@ func addOperationListIPSetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_ListLoggingConfigurations.go b/service/wafv2/api_op_ListLoggingConfigurations.go index 7d947aa01c0..4c811df23da 100644 --- a/service/wafv2/api_op_ListLoggingConfigurations.go +++ b/service/wafv2/api_op_ListLoggingConfigurations.go @@ -103,7 +103,10 @@ func addOperationListLoggingConfigurationsMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_ListRegexPatternSets.go b/service/wafv2/api_op_ListRegexPatternSets.go index 53f284f4551..979786b5cf8 100644 --- a/service/wafv2/api_op_ListRegexPatternSets.go +++ b/service/wafv2/api_op_ListRegexPatternSets.go @@ -106,7 +106,10 @@ func addOperationListRegexPatternSetsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_ListResourcesForWebACL.go b/service/wafv2/api_op_ListResourcesForWebACL.go index a13ba140278..2f3dd5979a9 100644 --- a/service/wafv2/api_op_ListResourcesForWebACL.go +++ b/service/wafv2/api_op_ListResourcesForWebACL.go @@ -86,7 +86,10 @@ func addOperationListResourcesForWebACLMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_ListRuleGroups.go b/service/wafv2/api_op_ListRuleGroups.go index 53ed1d39670..673543e230e 100644 --- a/service/wafv2/api_op_ListRuleGroups.go +++ b/service/wafv2/api_op_ListRuleGroups.go @@ -106,7 +106,10 @@ func addOperationListRuleGroupsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_ListTagsForResource.go b/service/wafv2/api_op_ListTagsForResource.go index 7dd742c0419..194b6f9dd23 100644 --- a/service/wafv2/api_op_ListTagsForResource.go +++ b/service/wafv2/api_op_ListTagsForResource.go @@ -101,7 +101,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_ListWebACLs.go b/service/wafv2/api_op_ListWebACLs.go index 649b0c164e3..cde4f0d0627 100644 --- a/service/wafv2/api_op_ListWebACLs.go +++ b/service/wafv2/api_op_ListWebACLs.go @@ -105,7 +105,10 @@ func addOperationListWebACLsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_PutLoggingConfiguration.go b/service/wafv2/api_op_PutLoggingConfiguration.go index 2f0033e471f..8d2cbcb4faf 100644 --- a/service/wafv2/api_op_PutLoggingConfiguration.go +++ b/service/wafv2/api_op_PutLoggingConfiguration.go @@ -98,7 +98,10 @@ func addOperationPutLoggingConfigurationMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_PutPermissionPolicy.go b/service/wafv2/api_op_PutPermissionPolicy.go index 93a1ab03781..8e1d05fb51d 100644 --- a/service/wafv2/api_op_PutPermissionPolicy.go +++ b/service/wafv2/api_op_PutPermissionPolicy.go @@ -106,7 +106,10 @@ func addOperationPutPermissionPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_TagResource.go b/service/wafv2/api_op_TagResource.go index 4869961ef33..424a49a67eb 100644 --- a/service/wafv2/api_op_TagResource.go +++ b/service/wafv2/api_op_TagResource.go @@ -85,7 +85,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_UntagResource.go b/service/wafv2/api_op_UntagResource.go index 3c609ece11b..929de170c6c 100644 --- a/service/wafv2/api_op_UntagResource.go +++ b/service/wafv2/api_op_UntagResource.go @@ -81,7 +81,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_UpdateIPSet.go b/service/wafv2/api_op_UpdateIPSet.go index a1c62965514..a91ac23e44a 100644 --- a/service/wafv2/api_op_UpdateIPSet.go +++ b/service/wafv2/api_op_UpdateIPSet.go @@ -145,7 +145,10 @@ func addOperationUpdateIPSetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_UpdateRegexPatternSet.go b/service/wafv2/api_op_UpdateRegexPatternSet.go index aa8dba3dc4a..e4cde0bb426 100644 --- a/service/wafv2/api_op_UpdateRegexPatternSet.go +++ b/service/wafv2/api_op_UpdateRegexPatternSet.go @@ -120,7 +120,10 @@ func addOperationUpdateRegexPatternSetMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_UpdateRuleGroup.go b/service/wafv2/api_op_UpdateRuleGroup.go index bb0adf2c6da..432d62130a7 100644 --- a/service/wafv2/api_op_UpdateRuleGroup.go +++ b/service/wafv2/api_op_UpdateRuleGroup.go @@ -131,7 +131,10 @@ func addOperationUpdateRuleGroupMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wafv2/api_op_UpdateWebACL.go b/service/wafv2/api_op_UpdateWebACL.go index afeea2828cd..b27fd54e655 100644 --- a/service/wafv2/api_op_UpdateWebACL.go +++ b/service/wafv2/api_op_UpdateWebACL.go @@ -140,7 +140,10 @@ func addOperationUpdateWebACLMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_AssociateLenses.go b/service/wellarchitected/api_op_AssociateLenses.go index 0ee70b31632..b4ff5560daa 100644 --- a/service/wellarchitected/api_op_AssociateLenses.go +++ b/service/wellarchitected/api_op_AssociateLenses.go @@ -76,7 +76,10 @@ func addOperationAssociateLensesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_CreateMilestone.go b/service/wellarchitected/api_op_CreateMilestone.go index 2d2e3376984..f0340bf6d60 100644 --- a/service/wellarchitected/api_op_CreateMilestone.go +++ b/service/wellarchitected/api_op_CreateMilestone.go @@ -96,7 +96,10 @@ func addOperationCreateMilestoneMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_CreateWorkload.go b/service/wellarchitected/api_op_CreateWorkload.go index 10dce549753..d6fba1855f3 100644 --- a/service/wellarchitected/api_op_CreateWorkload.go +++ b/service/wellarchitected/api_op_CreateWorkload.go @@ -206,7 +206,10 @@ func addOperationCreateWorkloadMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_CreateWorkloadShare.go b/service/wellarchitected/api_op_CreateWorkloadShare.go index c238b3f7fc8..29161302961 100644 --- a/service/wellarchitected/api_op_CreateWorkloadShare.go +++ b/service/wellarchitected/api_op_CreateWorkloadShare.go @@ -106,7 +106,10 @@ func addOperationCreateWorkloadShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_DeleteWorkload.go b/service/wellarchitected/api_op_DeleteWorkload.go index dc6c0f6d4d2..986376243d8 100644 --- a/service/wellarchitected/api_op_DeleteWorkload.go +++ b/service/wellarchitected/api_op_DeleteWorkload.go @@ -82,7 +82,10 @@ func addOperationDeleteWorkloadMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_DeleteWorkloadShare.go b/service/wellarchitected/api_op_DeleteWorkloadShare.go index d6c13832bb5..32cd5729260 100644 --- a/service/wellarchitected/api_op_DeleteWorkloadShare.go +++ b/service/wellarchitected/api_op_DeleteWorkloadShare.go @@ -87,7 +87,10 @@ func addOperationDeleteWorkloadShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_DisassociateLenses.go b/service/wellarchitected/api_op_DisassociateLenses.go index 76df1f775b7..e0090bf1260 100644 --- a/service/wellarchitected/api_op_DisassociateLenses.go +++ b/service/wellarchitected/api_op_DisassociateLenses.go @@ -77,7 +77,10 @@ func addOperationDisassociateLensesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_GetAnswer.go b/service/wellarchitected/api_op_GetAnswer.go index 2307930d47d..78144ab706e 100644 --- a/service/wellarchitected/api_op_GetAnswer.go +++ b/service/wellarchitected/api_op_GetAnswer.go @@ -100,7 +100,10 @@ func addOperationGetAnswerMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_GetLensReview.go b/service/wellarchitected/api_op_GetLensReview.go index 85086bad7c7..415e9a94447 100644 --- a/service/wellarchitected/api_op_GetLensReview.go +++ b/service/wellarchitected/api_op_GetLensReview.go @@ -91,7 +91,10 @@ func addOperationGetLensReviewMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_GetLensReviewReport.go b/service/wellarchitected/api_op_GetLensReviewReport.go index 5bec2e4520e..b577cd3bc8a 100644 --- a/service/wellarchitected/api_op_GetLensReviewReport.go +++ b/service/wellarchitected/api_op_GetLensReviewReport.go @@ -91,7 +91,10 @@ func addOperationGetLensReviewReportMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_GetLensVersionDifference.go b/service/wellarchitected/api_op_GetLensVersionDifference.go index e39eeca3585..d00eb5bc79d 100644 --- a/service/wellarchitected/api_op_GetLensVersionDifference.go +++ b/service/wellarchitected/api_op_GetLensVersionDifference.go @@ -90,7 +90,10 @@ func addOperationGetLensVersionDifferenceMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_GetMilestone.go b/service/wellarchitected/api_op_GetMilestone.go index 7fb3b412aab..60bb13fab0f 100644 --- a/service/wellarchitected/api_op_GetMilestone.go +++ b/service/wellarchitected/api_op_GetMilestone.go @@ -84,7 +84,10 @@ func addOperationGetMilestoneMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_GetWorkload.go b/service/wellarchitected/api_op_GetWorkload.go index 4abc9fe9ed6..489fbd462e9 100644 --- a/service/wellarchitected/api_op_GetWorkload.go +++ b/service/wellarchitected/api_op_GetWorkload.go @@ -76,7 +76,10 @@ func addOperationGetWorkloadMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_ListAnswers.go b/service/wellarchitected/api_op_ListAnswers.go index ecd2e0c9830..36c9c15d4aa 100644 --- a/service/wellarchitected/api_op_ListAnswers.go +++ b/service/wellarchitected/api_op_ListAnswers.go @@ -109,7 +109,10 @@ func addOperationListAnswersMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_ListLensReviewImprovements.go b/service/wellarchitected/api_op_ListLensReviewImprovements.go index 3f809814e59..371f420c0d5 100644 --- a/service/wellarchitected/api_op_ListLensReviewImprovements.go +++ b/service/wellarchitected/api_op_ListLensReviewImprovements.go @@ -109,7 +109,10 @@ func addOperationListLensReviewImprovementsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_ListLensReviews.go b/service/wellarchitected/api_op_ListLensReviews.go index 193d4e305ee..deb073dae21 100644 --- a/service/wellarchitected/api_op_ListLensReviews.go +++ b/service/wellarchitected/api_op_ListLensReviews.go @@ -95,7 +95,10 @@ func addOperationListLensReviewsMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_ListLenses.go b/service/wellarchitected/api_op_ListLenses.go index f3cbe31f85a..ace3fa95a62 100644 --- a/service/wellarchitected/api_op_ListLenses.go +++ b/service/wellarchitected/api_op_ListLenses.go @@ -81,7 +81,10 @@ func addOperationListLensesMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_ListMilestones.go b/service/wellarchitected/api_op_ListMilestones.go index 644e4d59f11..1882bfa8764 100644 --- a/service/wellarchitected/api_op_ListMilestones.go +++ b/service/wellarchitected/api_op_ListMilestones.go @@ -89,7 +89,10 @@ func addOperationListMilestonesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_ListNotifications.go b/service/wellarchitected/api_op_ListNotifications.go index 8ec2675c204..2a0f4018548 100644 --- a/service/wellarchitected/api_op_ListNotifications.go +++ b/service/wellarchitected/api_op_ListNotifications.go @@ -82,7 +82,10 @@ func addOperationListNotificationsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_ListShareInvitations.go b/service/wellarchitected/api_op_ListShareInvitations.go index fd11ada4109..2df50e22baa 100644 --- a/service/wellarchitected/api_op_ListShareInvitations.go +++ b/service/wellarchitected/api_op_ListShareInvitations.go @@ -85,7 +85,10 @@ func addOperationListShareInvitationsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_ListWorkloadShares.go b/service/wellarchitected/api_op_ListWorkloadShares.go index 3390187cdf4..42c777c8c00 100644 --- a/service/wellarchitected/api_op_ListWorkloadShares.go +++ b/service/wellarchitected/api_op_ListWorkloadShares.go @@ -92,7 +92,10 @@ func addOperationListWorkloadSharesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_ListWorkloads.go b/service/wellarchitected/api_op_ListWorkloads.go index 23cc7f3bc76..b2347298881 100644 --- a/service/wellarchitected/api_op_ListWorkloads.go +++ b/service/wellarchitected/api_op_ListWorkloads.go @@ -85,7 +85,10 @@ func addOperationListWorkloadsMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_UpdateAnswer.go b/service/wellarchitected/api_op_UpdateAnswer.go index dd8e2510600..a3d5bac1714 100644 --- a/service/wellarchitected/api_op_UpdateAnswer.go +++ b/service/wellarchitected/api_op_UpdateAnswer.go @@ -103,7 +103,10 @@ func addOperationUpdateAnswerMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_UpdateLensReview.go b/service/wellarchitected/api_op_UpdateLensReview.go index 8e00310b350..c2d9bd8370d 100644 --- a/service/wellarchitected/api_op_UpdateLensReview.go +++ b/service/wellarchitected/api_op_UpdateLensReview.go @@ -91,7 +91,10 @@ func addOperationUpdateLensReviewMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_UpdateShareInvitation.go b/service/wellarchitected/api_op_UpdateShareInvitation.go index 035fdb322d1..b9f18965bfc 100644 --- a/service/wellarchitected/api_op_UpdateShareInvitation.go +++ b/service/wellarchitected/api_op_UpdateShareInvitation.go @@ -80,7 +80,10 @@ func addOperationUpdateShareInvitationMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_UpdateWorkload.go b/service/wellarchitected/api_op_UpdateWorkload.go index 9e4c9d5a764..517d9bbc6f1 100644 --- a/service/wellarchitected/api_op_UpdateWorkload.go +++ b/service/wellarchitected/api_op_UpdateWorkload.go @@ -187,7 +187,10 @@ func addOperationUpdateWorkloadMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_UpdateWorkloadShare.go b/service/wellarchitected/api_op_UpdateWorkloadShare.go index 88a31e9e4ff..bd0d807961a 100644 --- a/service/wellarchitected/api_op_UpdateWorkloadShare.go +++ b/service/wellarchitected/api_op_UpdateWorkloadShare.go @@ -89,7 +89,10 @@ func addOperationUpdateWorkloadShareMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/wellarchitected/api_op_UpgradeLensReview.go b/service/wellarchitected/api_op_UpgradeLensReview.go index 529acb32c0f..ed59a3de6ae 100644 --- a/service/wellarchitected/api_op_UpgradeLensReview.go +++ b/service/wellarchitected/api_op_UpgradeLensReview.go @@ -90,7 +90,10 @@ func addOperationUpgradeLensReviewMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_AbortDocumentVersionUpload.go b/service/workdocs/api_op_AbortDocumentVersionUpload.go index 7ef7a7c4522..8c22cbe8205 100644 --- a/service/workdocs/api_op_AbortDocumentVersionUpload.go +++ b/service/workdocs/api_op_AbortDocumentVersionUpload.go @@ -81,7 +81,10 @@ func addOperationAbortDocumentVersionUploadMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_ActivateUser.go b/service/workdocs/api_op_ActivateUser.go index 68b3f24c2d6..284ad983154 100644 --- a/service/workdocs/api_op_ActivateUser.go +++ b/service/workdocs/api_op_ActivateUser.go @@ -78,7 +78,10 @@ func addOperationActivateUserMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_AddResourcePermissions.go b/service/workdocs/api_op_AddResourcePermissions.go index 65796fd5b81..55ffc2f8406 100644 --- a/service/workdocs/api_op_AddResourcePermissions.go +++ b/service/workdocs/api_op_AddResourcePermissions.go @@ -88,7 +88,10 @@ func addOperationAddResourcePermissionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_CreateComment.go b/service/workdocs/api_op_CreateComment.go index 56618b435fa..16f0b726912 100644 --- a/service/workdocs/api_op_CreateComment.go +++ b/service/workdocs/api_op_CreateComment.go @@ -103,7 +103,10 @@ func addOperationCreateCommentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_CreateCustomMetadata.go b/service/workdocs/api_op_CreateCustomMetadata.go index 64ecb52fd48..459e413f606 100644 --- a/service/workdocs/api_op_CreateCustomMetadata.go +++ b/service/workdocs/api_op_CreateCustomMetadata.go @@ -83,7 +83,10 @@ func addOperationCreateCustomMetadataMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_CreateFolder.go b/service/workdocs/api_op_CreateFolder.go index fa14871a173..95048ac996e 100644 --- a/service/workdocs/api_op_CreateFolder.go +++ b/service/workdocs/api_op_CreateFolder.go @@ -81,7 +81,10 @@ func addOperationCreateFolderMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_CreateLabels.go b/service/workdocs/api_op_CreateLabels.go index f0ee4cd329a..1a8d1d092cc 100644 --- a/service/workdocs/api_op_CreateLabels.go +++ b/service/workdocs/api_op_CreateLabels.go @@ -78,7 +78,10 @@ func addOperationCreateLabelsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_CreateNotificationSubscription.go b/service/workdocs/api_op_CreateNotificationSubscription.go index b2df9a860f6..65fa5f07f10 100644 --- a/service/workdocs/api_op_CreateNotificationSubscription.go +++ b/service/workdocs/api_op_CreateNotificationSubscription.go @@ -95,7 +95,10 @@ func addOperationCreateNotificationSubscriptionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_CreateUser.go b/service/workdocs/api_op_CreateUser.go index 50290f5a239..fe41a1a16e8 100644 --- a/service/workdocs/api_op_CreateUser.go +++ b/service/workdocs/api_op_CreateUser.go @@ -106,7 +106,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DeactivateUser.go b/service/workdocs/api_op_DeactivateUser.go index b3bbd6dcf48..13dedd35acc 100644 --- a/service/workdocs/api_op_DeactivateUser.go +++ b/service/workdocs/api_op_DeactivateUser.go @@ -74,7 +74,10 @@ func addOperationDeactivateUserMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DeleteComment.go b/service/workdocs/api_op_DeleteComment.go index 924deeb65f9..60b3a314ade 100644 --- a/service/workdocs/api_op_DeleteComment.go +++ b/service/workdocs/api_op_DeleteComment.go @@ -83,7 +83,10 @@ func addOperationDeleteCommentMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DeleteCustomMetadata.go b/service/workdocs/api_op_DeleteCustomMetadata.go index 2890aadd507..bebd7e3c8f6 100644 --- a/service/workdocs/api_op_DeleteCustomMetadata.go +++ b/service/workdocs/api_op_DeleteCustomMetadata.go @@ -84,7 +84,10 @@ func addOperationDeleteCustomMetadataMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DeleteDocument.go b/service/workdocs/api_op_DeleteDocument.go index 8e92104fa32..5bbb7ccc2ea 100644 --- a/service/workdocs/api_op_DeleteDocument.go +++ b/service/workdocs/api_op_DeleteDocument.go @@ -73,7 +73,10 @@ func addOperationDeleteDocumentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DeleteFolder.go b/service/workdocs/api_op_DeleteFolder.go index 9d7888ae836..5f4522b3f6d 100644 --- a/service/workdocs/api_op_DeleteFolder.go +++ b/service/workdocs/api_op_DeleteFolder.go @@ -73,7 +73,10 @@ func addOperationDeleteFolderMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DeleteFolderContents.go b/service/workdocs/api_op_DeleteFolderContents.go index d03ad9703a7..261ed65360b 100644 --- a/service/workdocs/api_op_DeleteFolderContents.go +++ b/service/workdocs/api_op_DeleteFolderContents.go @@ -73,7 +73,10 @@ func addOperationDeleteFolderContentsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DeleteLabels.go b/service/workdocs/api_op_DeleteLabels.go index 1cbf6257d3c..e2619957e38 100644 --- a/service/workdocs/api_op_DeleteLabels.go +++ b/service/workdocs/api_op_DeleteLabels.go @@ -79,7 +79,10 @@ func addOperationDeleteLabelsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DeleteNotificationSubscription.go b/service/workdocs/api_op_DeleteNotificationSubscription.go index 8b4d5cad100..a156f4b86a6 100644 --- a/service/workdocs/api_op_DeleteNotificationSubscription.go +++ b/service/workdocs/api_op_DeleteNotificationSubscription.go @@ -74,7 +74,10 @@ func addOperationDeleteNotificationSubscriptionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DeleteUser.go b/service/workdocs/api_op_DeleteUser.go index 7947811e273..f2e8c14e9a0 100644 --- a/service/workdocs/api_op_DeleteUser.go +++ b/service/workdocs/api_op_DeleteUser.go @@ -73,7 +73,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DescribeActivities.go b/service/workdocs/api_op_DescribeActivities.go index ab98f2b2f23..548585de8eb 100644 --- a/service/workdocs/api_op_DescribeActivities.go +++ b/service/workdocs/api_op_DescribeActivities.go @@ -113,7 +113,10 @@ func addOperationDescribeActivitiesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DescribeComments.go b/service/workdocs/api_op_DescribeComments.go index 386ba984a82..92d58569724 100644 --- a/service/workdocs/api_op_DescribeComments.go +++ b/service/workdocs/api_op_DescribeComments.go @@ -94,7 +94,10 @@ func addOperationDescribeCommentsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DescribeDocumentVersions.go b/service/workdocs/api_op_DescribeDocumentVersions.go index 08961ec0bea..2f6732782dc 100644 --- a/service/workdocs/api_op_DescribeDocumentVersions.go +++ b/service/workdocs/api_op_DescribeDocumentVersions.go @@ -99,7 +99,10 @@ func addOperationDescribeDocumentVersionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DescribeFolderContents.go b/service/workdocs/api_op_DescribeFolderContents.go index bd2ccf96292..f0a335b739a 100644 --- a/service/workdocs/api_op_DescribeFolderContents.go +++ b/service/workdocs/api_op_DescribeFolderContents.go @@ -109,7 +109,10 @@ func addOperationDescribeFolderContentsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DescribeGroups.go b/service/workdocs/api_op_DescribeGroups.go index ee9e8bc565f..bff9ae36572 100644 --- a/service/workdocs/api_op_DescribeGroups.go +++ b/service/workdocs/api_op_DescribeGroups.go @@ -93,7 +93,10 @@ func addOperationDescribeGroupsMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DescribeNotificationSubscriptions.go b/service/workdocs/api_op_DescribeNotificationSubscriptions.go index 8b6765bb89c..f236f454a53 100644 --- a/service/workdocs/api_op_DescribeNotificationSubscriptions.go +++ b/service/workdocs/api_op_DescribeNotificationSubscriptions.go @@ -85,7 +85,10 @@ func addOperationDescribeNotificationSubscriptionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DescribeResourcePermissions.go b/service/workdocs/api_op_DescribeResourcePermissions.go index efca6dee172..4a68d1a5067 100644 --- a/service/workdocs/api_op_DescribeResourcePermissions.go +++ b/service/workdocs/api_op_DescribeResourcePermissions.go @@ -92,7 +92,10 @@ func addOperationDescribeResourcePermissionsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DescribeRootFolders.go b/service/workdocs/api_op_DescribeRootFolders.go index 506a2847efd..a779b24d2cc 100644 --- a/service/workdocs/api_op_DescribeRootFolders.go +++ b/service/workdocs/api_op_DescribeRootFolders.go @@ -91,7 +91,10 @@ func addOperationDescribeRootFoldersMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_DescribeUsers.go b/service/workdocs/api_op_DescribeUsers.go index 9e6a7f8a8ea..624fc01c9da 100644 --- a/service/workdocs/api_op_DescribeUsers.go +++ b/service/workdocs/api_op_DescribeUsers.go @@ -115,7 +115,10 @@ func addOperationDescribeUsersMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_GetCurrentUser.go b/service/workdocs/api_op_GetCurrentUser.go index 9d23e06e9c7..f7db3625086 100644 --- a/service/workdocs/api_op_GetCurrentUser.go +++ b/service/workdocs/api_op_GetCurrentUser.go @@ -80,7 +80,10 @@ func addOperationGetCurrentUserMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_GetDocument.go b/service/workdocs/api_op_GetDocument.go index bd0b261c152..d718996f94f 100644 --- a/service/workdocs/api_op_GetDocument.go +++ b/service/workdocs/api_op_GetDocument.go @@ -84,7 +84,10 @@ func addOperationGetDocumentMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_GetDocumentPath.go b/service/workdocs/api_op_GetDocumentPath.go index 09fb6196065..072ded6a1da 100644 --- a/service/workdocs/api_op_GetDocumentPath.go +++ b/service/workdocs/api_op_GetDocumentPath.go @@ -92,7 +92,10 @@ func addOperationGetDocumentPathMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_GetDocumentVersion.go b/service/workdocs/api_op_GetDocumentVersion.go index d93ba39d0bb..4bc5bfac2d8 100644 --- a/service/workdocs/api_op_GetDocumentVersion.go +++ b/service/workdocs/api_op_GetDocumentVersion.go @@ -93,7 +93,10 @@ func addOperationGetDocumentVersionMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_GetFolder.go b/service/workdocs/api_op_GetFolder.go index 63256a14537..b1d0ea56118 100644 --- a/service/workdocs/api_op_GetFolder.go +++ b/service/workdocs/api_op_GetFolder.go @@ -84,7 +84,10 @@ func addOperationGetFolderMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_GetFolderPath.go b/service/workdocs/api_op_GetFolderPath.go index f3927994df6..e9c5528aead 100644 --- a/service/workdocs/api_op_GetFolderPath.go +++ b/service/workdocs/api_op_GetFolderPath.go @@ -92,7 +92,10 @@ func addOperationGetFolderPathMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_GetResources.go b/service/workdocs/api_op_GetResources.go index 23322215d1d..dff55fff3f4 100644 --- a/service/workdocs/api_op_GetResources.go +++ b/service/workdocs/api_op_GetResources.go @@ -95,7 +95,10 @@ func addOperationGetResourcesMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_InitiateDocumentVersionUpload.go b/service/workdocs/api_op_InitiateDocumentVersionUpload.go index 87a230ba418..f4a2d720c15 100644 --- a/service/workdocs/api_op_InitiateDocumentVersionUpload.go +++ b/service/workdocs/api_op_InitiateDocumentVersionUpload.go @@ -105,7 +105,10 @@ func addOperationInitiateDocumentVersionUploadMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_RemoveAllResourcePermissions.go b/service/workdocs/api_op_RemoveAllResourcePermissions.go index ec0042fb8e4..1744cd85a6d 100644 --- a/service/workdocs/api_op_RemoveAllResourcePermissions.go +++ b/service/workdocs/api_op_RemoveAllResourcePermissions.go @@ -73,7 +73,10 @@ func addOperationRemoveAllResourcePermissionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_RemoveResourcePermission.go b/service/workdocs/api_op_RemoveResourcePermission.go index 980636cd1a2..4ab81558558 100644 --- a/service/workdocs/api_op_RemoveResourcePermission.go +++ b/service/workdocs/api_op_RemoveResourcePermission.go @@ -82,7 +82,10 @@ func addOperationRemoveResourcePermissionMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_UpdateDocument.go b/service/workdocs/api_op_UpdateDocument.go index d1f8d9f698d..f3fdea93f98 100644 --- a/service/workdocs/api_op_UpdateDocument.go +++ b/service/workdocs/api_op_UpdateDocument.go @@ -84,7 +84,10 @@ func addOperationUpdateDocumentMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_UpdateDocumentVersion.go b/service/workdocs/api_op_UpdateDocumentVersion.go index fe452d4ac46..413857a51ad 100644 --- a/service/workdocs/api_op_UpdateDocumentVersion.go +++ b/service/workdocs/api_op_UpdateDocumentVersion.go @@ -85,7 +85,10 @@ func addOperationUpdateDocumentVersionMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_UpdateFolder.go b/service/workdocs/api_op_UpdateFolder.go index 361733b6a9e..58fdb0e8879 100644 --- a/service/workdocs/api_op_UpdateFolder.go +++ b/service/workdocs/api_op_UpdateFolder.go @@ -85,7 +85,10 @@ func addOperationUpdateFolderMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workdocs/api_op_UpdateUser.go b/service/workdocs/api_op_UpdateUser.go index 23bd9545e3c..92bfc2ee59a 100644 --- a/service/workdocs/api_op_UpdateUser.go +++ b/service/workdocs/api_op_UpdateUser.go @@ -100,7 +100,10 @@ func addOperationUpdateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_AssociateDomain.go b/service/worklink/api_op_AssociateDomain.go index 0c42388ab58..d72c10bef1b 100644 --- a/service/worklink/api_op_AssociateDomain.go +++ b/service/worklink/api_op_AssociateDomain.go @@ -83,7 +83,10 @@ func addOperationAssociateDomainMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go b/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go index 7dd37ab07a9..ed09f7915ed 100644 --- a/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go +++ b/service/worklink/api_op_AssociateWebsiteAuthorizationProvider.go @@ -84,7 +84,10 @@ func addOperationAssociateWebsiteAuthorizationProviderMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go b/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go index c0be6b198c3..e4702601c3f 100644 --- a/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go +++ b/service/worklink/api_op_AssociateWebsiteCertificateAuthority.go @@ -82,7 +82,10 @@ func addOperationAssociateWebsiteCertificateAuthorityMiddlewares(stack *middlewa if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_CreateFleet.go b/service/worklink/api_op_CreateFleet.go index 0dc064094b5..2e74bcdf4d1 100644 --- a/service/worklink/api_op_CreateFleet.go +++ b/service/worklink/api_op_CreateFleet.go @@ -85,7 +85,10 @@ func addOperationCreateFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DeleteFleet.go b/service/worklink/api_op_DeleteFleet.go index 508462963c0..b2d82a239c3 100644 --- a/service/worklink/api_op_DeleteFleet.go +++ b/service/worklink/api_op_DeleteFleet.go @@ -69,7 +69,10 @@ func addOperationDeleteFleetMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DescribeAuditStreamConfiguration.go b/service/worklink/api_op_DescribeAuditStreamConfiguration.go index fd48c05ca77..b4170e9efa1 100644 --- a/service/worklink/api_op_DescribeAuditStreamConfiguration.go +++ b/service/worklink/api_op_DescribeAuditStreamConfiguration.go @@ -74,7 +74,10 @@ func addOperationDescribeAuditStreamConfigurationMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go b/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go index 6efbe0489b3..27436ba2ced 100644 --- a/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go +++ b/service/worklink/api_op_DescribeCompanyNetworkConfiguration.go @@ -81,7 +81,10 @@ func addOperationDescribeCompanyNetworkConfigurationMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DescribeDevice.go b/service/worklink/api_op_DescribeDevice.go index 335b4e251d0..7912c60bb6c 100644 --- a/service/worklink/api_op_DescribeDevice.go +++ b/service/worklink/api_op_DescribeDevice.go @@ -104,7 +104,10 @@ func addOperationDescribeDeviceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DescribeDevicePolicyConfiguration.go b/service/worklink/api_op_DescribeDevicePolicyConfiguration.go index 2a8a97cff6e..3e22d097771 100644 --- a/service/worklink/api_op_DescribeDevicePolicyConfiguration.go +++ b/service/worklink/api_op_DescribeDevicePolicyConfiguration.go @@ -74,7 +74,10 @@ func addOperationDescribeDevicePolicyConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DescribeDomain.go b/service/worklink/api_op_DescribeDomain.go index 5caccec262b..c1ead45fb98 100644 --- a/service/worklink/api_op_DescribeDomain.go +++ b/service/worklink/api_op_DescribeDomain.go @@ -93,7 +93,10 @@ func addOperationDescribeDomainMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DescribeFleetMetadata.go b/service/worklink/api_op_DescribeFleetMetadata.go index 787a58604a1..ed86fe7e1aa 100644 --- a/service/worklink/api_op_DescribeFleetMetadata.go +++ b/service/worklink/api_op_DescribeFleetMetadata.go @@ -98,7 +98,10 @@ func addOperationDescribeFleetMetadataMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DescribeIdentityProviderConfiguration.go b/service/worklink/api_op_DescribeIdentityProviderConfiguration.go index 23ad016b240..71d5730c6f0 100644 --- a/service/worklink/api_op_DescribeIdentityProviderConfiguration.go +++ b/service/worklink/api_op_DescribeIdentityProviderConfiguration.go @@ -80,7 +80,10 @@ func addOperationDescribeIdentityProviderConfigurationMiddlewares(stack *middlew if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go b/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go index ba09f3b4c6d..e01e2b3d6ae 100644 --- a/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go +++ b/service/worklink/api_op_DescribeWebsiteCertificateAuthority.go @@ -85,7 +85,10 @@ func addOperationDescribeWebsiteCertificateAuthorityMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DisassociateDomain.go b/service/worklink/api_op_DisassociateDomain.go index a0ec56bf11c..2c264341b3b 100644 --- a/service/worklink/api_op_DisassociateDomain.go +++ b/service/worklink/api_op_DisassociateDomain.go @@ -75,7 +75,10 @@ func addOperationDisassociateDomainMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go b/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go index 89fd309a17f..27a032780fc 100644 --- a/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go +++ b/service/worklink/api_op_DisassociateWebsiteAuthorizationProvider.go @@ -76,7 +76,10 @@ func addOperationDisassociateWebsiteAuthorizationProviderMiddlewares(stack *midd if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go b/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go index 60eb3357113..54ec2cd3818 100644 --- a/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go +++ b/service/worklink/api_op_DisassociateWebsiteCertificateAuthority.go @@ -74,7 +74,10 @@ func addOperationDisassociateWebsiteCertificateAuthorityMiddlewares(stack *middl if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_ListDevices.go b/service/worklink/api_op_ListDevices.go index 76a1ebb2efd..18a72a79343 100644 --- a/service/worklink/api_op_ListDevices.go +++ b/service/worklink/api_op_ListDevices.go @@ -86,7 +86,10 @@ func addOperationListDevicesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_ListDomains.go b/service/worklink/api_op_ListDomains.go index 6d5ea2c70c0..608e59375bd 100644 --- a/service/worklink/api_op_ListDomains.go +++ b/service/worklink/api_op_ListDomains.go @@ -86,7 +86,10 @@ func addOperationListDomainsMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_ListFleets.go b/service/worklink/api_op_ListFleets.go index 89d4c4afea9..e6aaadac672 100644 --- a/service/worklink/api_op_ListFleets.go +++ b/service/worklink/api_op_ListFleets.go @@ -81,7 +81,10 @@ func addOperationListFleetsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_ListTagsForResource.go b/service/worklink/api_op_ListTagsForResource.go index 1ee6c8f3254..7fb8c24a5d2 100644 --- a/service/worklink/api_op_ListTagsForResource.go +++ b/service/worklink/api_op_ListTagsForResource.go @@ -73,7 +73,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_ListWebsiteAuthorizationProviders.go b/service/worklink/api_op_ListWebsiteAuthorizationProviders.go index 0dbaaadb6d0..728032bf82e 100644 --- a/service/worklink/api_op_ListWebsiteAuthorizationProviders.go +++ b/service/worklink/api_op_ListWebsiteAuthorizationProviders.go @@ -87,7 +87,10 @@ func addOperationListWebsiteAuthorizationProvidersMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_ListWebsiteCertificateAuthorities.go b/service/worklink/api_op_ListWebsiteCertificateAuthorities.go index 5c3e7e6aaf2..75f72ff1ca0 100644 --- a/service/worklink/api_op_ListWebsiteCertificateAuthorities.go +++ b/service/worklink/api_op_ListWebsiteCertificateAuthorities.go @@ -87,7 +87,10 @@ func addOperationListWebsiteCertificateAuthoritiesMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_RestoreDomainAccess.go b/service/worklink/api_op_RestoreDomainAccess.go index 9c43734e346..508ca68f9c9 100644 --- a/service/worklink/api_op_RestoreDomainAccess.go +++ b/service/worklink/api_op_RestoreDomainAccess.go @@ -74,7 +74,10 @@ func addOperationRestoreDomainAccessMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_RevokeDomainAccess.go b/service/worklink/api_op_RevokeDomainAccess.go index 42efdc7f2cd..f052c446719 100644 --- a/service/worklink/api_op_RevokeDomainAccess.go +++ b/service/worklink/api_op_RevokeDomainAccess.go @@ -74,7 +74,10 @@ func addOperationRevokeDomainAccessMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_SignOutUser.go b/service/worklink/api_op_SignOutUser.go index 00e50499257..f2258d86ee7 100644 --- a/service/worklink/api_op_SignOutUser.go +++ b/service/worklink/api_op_SignOutUser.go @@ -75,7 +75,10 @@ func addOperationSignOutUserMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_TagResource.go b/service/worklink/api_op_TagResource.go index 74f9dc4249f..0a64e96916e 100644 --- a/service/worklink/api_op_TagResource.go +++ b/service/worklink/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_UntagResource.go b/service/worklink/api_op_UntagResource.go index d817494d719..f53cc538744 100644 --- a/service/worklink/api_op_UntagResource.go +++ b/service/worklink/api_op_UntagResource.go @@ -74,7 +74,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_UpdateAuditStreamConfiguration.go b/service/worklink/api_op_UpdateAuditStreamConfiguration.go index bc944a82b94..ccf538c0902 100644 --- a/service/worklink/api_op_UpdateAuditStreamConfiguration.go +++ b/service/worklink/api_op_UpdateAuditStreamConfiguration.go @@ -72,7 +72,10 @@ func addOperationUpdateAuditStreamConfigurationMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go b/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go index 8f17e898eb9..d1f1289dee7 100644 --- a/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go +++ b/service/worklink/api_op_UpdateCompanyNetworkConfiguration.go @@ -85,7 +85,10 @@ func addOperationUpdateCompanyNetworkConfigurationMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_UpdateDevicePolicyConfiguration.go b/service/worklink/api_op_UpdateDevicePolicyConfiguration.go index 6b20e240e43..8dd7ece68f4 100644 --- a/service/worklink/api_op_UpdateDevicePolicyConfiguration.go +++ b/service/worklink/api_op_UpdateDevicePolicyConfiguration.go @@ -73,7 +73,10 @@ func addOperationUpdateDevicePolicyConfigurationMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_UpdateDomainMetadata.go b/service/worklink/api_op_UpdateDomainMetadata.go index 7e35b46d7b8..07f81e110bf 100644 --- a/service/worklink/api_op_UpdateDomainMetadata.go +++ b/service/worklink/api_op_UpdateDomainMetadata.go @@ -77,7 +77,10 @@ func addOperationUpdateDomainMetadataMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_UpdateFleetMetadata.go b/service/worklink/api_op_UpdateFleetMetadata.go index 7be0cd804e2..9968280096d 100644 --- a/service/worklink/api_op_UpdateFleetMetadata.go +++ b/service/worklink/api_op_UpdateFleetMetadata.go @@ -76,7 +76,10 @@ func addOperationUpdateFleetMetadataMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/worklink/api_op_UpdateIdentityProviderConfiguration.go b/service/worklink/api_op_UpdateIdentityProviderConfiguration.go index c7bfca69c8c..f8f4a8e1c74 100644 --- a/service/worklink/api_op_UpdateIdentityProviderConfiguration.go +++ b/service/worklink/api_op_UpdateIdentityProviderConfiguration.go @@ -79,7 +79,10 @@ func addOperationUpdateIdentityProviderConfigurationMiddlewares(stack *middlewar if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_AssociateDelegateToResource.go b/service/workmail/api_op_AssociateDelegateToResource.go index 8e21486d161..881253ab48d 100644 --- a/service/workmail/api_op_AssociateDelegateToResource.go +++ b/service/workmail/api_op_AssociateDelegateToResource.go @@ -79,7 +79,10 @@ func addOperationAssociateDelegateToResourceMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_AssociateMemberToGroup.go b/service/workmail/api_op_AssociateMemberToGroup.go index 87f154ac213..64deb30bb75 100644 --- a/service/workmail/api_op_AssociateMemberToGroup.go +++ b/service/workmail/api_op_AssociateMemberToGroup.go @@ -79,7 +79,10 @@ func addOperationAssociateMemberToGroupMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_CancelMailboxExportJob.go b/service/workmail/api_op_CancelMailboxExportJob.go index c44ef493005..3142f1caacf 100644 --- a/service/workmail/api_op_CancelMailboxExportJob.go +++ b/service/workmail/api_op_CancelMailboxExportJob.go @@ -81,7 +81,10 @@ func addOperationCancelMailboxExportJobMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_CreateAlias.go b/service/workmail/api_op_CreateAlias.go index 420ac9ae8fd..220df5b349f 100644 --- a/service/workmail/api_op_CreateAlias.go +++ b/service/workmail/api_op_CreateAlias.go @@ -79,7 +79,10 @@ func addOperationCreateAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_CreateGroup.go b/service/workmail/api_op_CreateGroup.go index f75df5be175..c004cd7e90b 100644 --- a/service/workmail/api_op_CreateGroup.go +++ b/service/workmail/api_op_CreateGroup.go @@ -79,7 +79,10 @@ func addOperationCreateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_CreateOrganization.go b/service/workmail/api_op_CreateOrganization.go index 188a4a0528a..79a1d07c55c 100644 --- a/service/workmail/api_op_CreateOrganization.go +++ b/service/workmail/api_op_CreateOrganization.go @@ -109,7 +109,10 @@ func addOperationCreateOrganizationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_CreateResource.go b/service/workmail/api_op_CreateResource.go index 35874adabd8..6cc4cd12824 100644 --- a/service/workmail/api_op_CreateResource.go +++ b/service/workmail/api_op_CreateResource.go @@ -85,7 +85,10 @@ func addOperationCreateResourceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_CreateUser.go b/service/workmail/api_op_CreateUser.go index d7f2cff8440..1a8c6d34ab8 100644 --- a/service/workmail/api_op_CreateUser.go +++ b/service/workmail/api_op_CreateUser.go @@ -90,7 +90,10 @@ func addOperationCreateUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DeleteAccessControlRule.go b/service/workmail/api_op_DeleteAccessControlRule.go index 9d6f76a13fc..e9cde54a875 100644 --- a/service/workmail/api_op_DeleteAccessControlRule.go +++ b/service/workmail/api_op_DeleteAccessControlRule.go @@ -74,7 +74,10 @@ func addOperationDeleteAccessControlRuleMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DeleteAlias.go b/service/workmail/api_op_DeleteAlias.go index cceb667939e..20807062b39 100644 --- a/service/workmail/api_op_DeleteAlias.go +++ b/service/workmail/api_op_DeleteAlias.go @@ -81,7 +81,10 @@ func addOperationDeleteAliasMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DeleteGroup.go b/service/workmail/api_op_DeleteGroup.go index 9b63ddd4ad1..7172e43f19e 100644 --- a/service/workmail/api_op_DeleteGroup.go +++ b/service/workmail/api_op_DeleteGroup.go @@ -74,7 +74,10 @@ func addOperationDeleteGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DeleteMailboxPermissions.go b/service/workmail/api_op_DeleteMailboxPermissions.go index f083b66bcbe..79eabdd71b9 100644 --- a/service/workmail/api_op_DeleteMailboxPermissions.go +++ b/service/workmail/api_op_DeleteMailboxPermissions.go @@ -81,7 +81,10 @@ func addOperationDeleteMailboxPermissionsMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DeleteOrganization.go b/service/workmail/api_op_DeleteOrganization.go index 522d17770f9..27bb1506448 100644 --- a/service/workmail/api_op_DeleteOrganization.go +++ b/service/workmail/api_op_DeleteOrganization.go @@ -90,7 +90,10 @@ func addOperationDeleteOrganizationMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DeleteResource.go b/service/workmail/api_op_DeleteResource.go index 3f07ba94f22..5dd8a1e05dd 100644 --- a/service/workmail/api_op_DeleteResource.go +++ b/service/workmail/api_op_DeleteResource.go @@ -75,7 +75,10 @@ func addOperationDeleteResourceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DeleteRetentionPolicy.go b/service/workmail/api_op_DeleteRetentionPolicy.go index c0775864d1a..c2acc7d1f3c 100644 --- a/service/workmail/api_op_DeleteRetentionPolicy.go +++ b/service/workmail/api_op_DeleteRetentionPolicy.go @@ -74,7 +74,10 @@ func addOperationDeleteRetentionPolicyMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DeleteUser.go b/service/workmail/api_op_DeleteUser.go index e223f8463ea..fcb316a0d55 100644 --- a/service/workmail/api_op_DeleteUser.go +++ b/service/workmail/api_op_DeleteUser.go @@ -78,7 +78,10 @@ func addOperationDeleteUserMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DeregisterFromWorkMail.go b/service/workmail/api_op_DeregisterFromWorkMail.go index 9fad3fa9e18..c00710f403d 100644 --- a/service/workmail/api_op_DeregisterFromWorkMail.go +++ b/service/workmail/api_op_DeregisterFromWorkMail.go @@ -78,7 +78,10 @@ func addOperationDeregisterFromWorkMailMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DescribeGroup.go b/service/workmail/api_op_DescribeGroup.go index b1d6c33bb2e..838c7cc350b 100644 --- a/service/workmail/api_op_DescribeGroup.go +++ b/service/workmail/api_op_DescribeGroup.go @@ -98,7 +98,10 @@ func addOperationDescribeGroupMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DescribeMailboxExportJob.go b/service/workmail/api_op_DescribeMailboxExportJob.go index 7a8f726de1f..b387c9e4c96 100644 --- a/service/workmail/api_op_DescribeMailboxExportJob.go +++ b/service/workmail/api_op_DescribeMailboxExportJob.go @@ -115,7 +115,10 @@ func addOperationDescribeMailboxExportJobMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DescribeOrganization.go b/service/workmail/api_op_DescribeOrganization.go index f8c5b974059..87767a55eb2 100644 --- a/service/workmail/api_op_DescribeOrganization.go +++ b/service/workmail/api_op_DescribeOrganization.go @@ -102,7 +102,10 @@ func addOperationDescribeOrganizationMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DescribeResource.go b/service/workmail/api_op_DescribeResource.go index 7d4470bb227..5a22484fb7c 100644 --- a/service/workmail/api_op_DescribeResource.go +++ b/service/workmail/api_op_DescribeResource.go @@ -105,7 +105,10 @@ func addOperationDescribeResourceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DescribeUser.go b/service/workmail/api_op_DescribeUser.go index 9a4f2e8534b..23aa01b2c9d 100644 --- a/service/workmail/api_op_DescribeUser.go +++ b/service/workmail/api_op_DescribeUser.go @@ -109,7 +109,10 @@ func addOperationDescribeUserMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DisassociateDelegateFromResource.go b/service/workmail/api_op_DisassociateDelegateFromResource.go index f6dd08b3845..7194caa2bfb 100644 --- a/service/workmail/api_op_DisassociateDelegateFromResource.go +++ b/service/workmail/api_op_DisassociateDelegateFromResource.go @@ -80,7 +80,10 @@ func addOperationDisassociateDelegateFromResourceMiddlewares(stack *middleware.S if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_DisassociateMemberFromGroup.go b/service/workmail/api_op_DisassociateMemberFromGroup.go index f77a501be3b..2287007588b 100644 --- a/service/workmail/api_op_DisassociateMemberFromGroup.go +++ b/service/workmail/api_op_DisassociateMemberFromGroup.go @@ -79,7 +79,10 @@ func addOperationDisassociateMemberFromGroupMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_GetAccessControlEffect.go b/service/workmail/api_op_GetAccessControlEffect.go index a6aa7e5fd2d..9093096c883 100644 --- a/service/workmail/api_op_GetAccessControlEffect.go +++ b/service/workmail/api_op_GetAccessControlEffect.go @@ -94,7 +94,10 @@ func addOperationGetAccessControlEffectMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_GetDefaultRetentionPolicy.go b/service/workmail/api_op_GetDefaultRetentionPolicy.go index a3ae5c34652..9741f60f9aa 100644 --- a/service/workmail/api_op_GetDefaultRetentionPolicy.go +++ b/service/workmail/api_op_GetDefaultRetentionPolicy.go @@ -83,7 +83,10 @@ func addOperationGetDefaultRetentionPolicyMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_GetMailboxDetails.go b/service/workmail/api_op_GetMailboxDetails.go index 40abb3e18ac..dc4f81cf21f 100644 --- a/service/workmail/api_op_GetMailboxDetails.go +++ b/service/workmail/api_op_GetMailboxDetails.go @@ -82,7 +82,10 @@ func addOperationGetMailboxDetailsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListAccessControlRules.go b/service/workmail/api_op_ListAccessControlRules.go index 7f114b74cc4..e8148d84307 100644 --- a/service/workmail/api_op_ListAccessControlRules.go +++ b/service/workmail/api_op_ListAccessControlRules.go @@ -74,7 +74,10 @@ func addOperationListAccessControlRulesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListAliases.go b/service/workmail/api_op_ListAliases.go index d2fcc59fb7e..8ef643bb542 100644 --- a/service/workmail/api_op_ListAliases.go +++ b/service/workmail/api_op_ListAliases.go @@ -90,7 +90,10 @@ func addOperationListAliasesMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListGroupMembers.go b/service/workmail/api_op_ListGroupMembers.go index 92c8e797003..b0690ffa26d 100644 --- a/service/workmail/api_op_ListGroupMembers.go +++ b/service/workmail/api_op_ListGroupMembers.go @@ -93,7 +93,10 @@ func addOperationListGroupMembersMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListGroups.go b/service/workmail/api_op_ListGroups.go index ed7a506064a..6731e240d37 100644 --- a/service/workmail/api_op_ListGroups.go +++ b/service/workmail/api_op_ListGroups.go @@ -86,7 +86,10 @@ func addOperationListGroupsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListMailboxExportJobs.go b/service/workmail/api_op_ListMailboxExportJobs.go index d8fa1ca9f0a..6167dc622f6 100644 --- a/service/workmail/api_op_ListMailboxExportJobs.go +++ b/service/workmail/api_op_ListMailboxExportJobs.go @@ -85,7 +85,10 @@ func addOperationListMailboxExportJobsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListMailboxPermissions.go b/service/workmail/api_op_ListMailboxPermissions.go index 7154aec0164..7c23a771d7c 100644 --- a/service/workmail/api_op_ListMailboxPermissions.go +++ b/service/workmail/api_op_ListMailboxPermissions.go @@ -94,7 +94,10 @@ func addOperationListMailboxPermissionsMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListOrganizations.go b/service/workmail/api_op_ListOrganizations.go index 4c6e87063e0..71caffb4901 100644 --- a/service/workmail/api_op_ListOrganizations.go +++ b/service/workmail/api_op_ListOrganizations.go @@ -82,7 +82,10 @@ func addOperationListOrganizationsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListResourceDelegates.go b/service/workmail/api_op_ListResourceDelegates.go index 03bc22f2d90..0f30fbcec60 100644 --- a/service/workmail/api_op_ListResourceDelegates.go +++ b/service/workmail/api_op_ListResourceDelegates.go @@ -93,7 +93,10 @@ func addOperationListResourceDelegatesMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListResources.go b/service/workmail/api_op_ListResources.go index a8ff9771f59..48ceecc008e 100644 --- a/service/workmail/api_op_ListResources.go +++ b/service/workmail/api_op_ListResources.go @@ -87,7 +87,10 @@ func addOperationListResourcesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListTagsForResource.go b/service/workmail/api_op_ListTagsForResource.go index 10bbe19e178..d627eb67ae8 100644 --- a/service/workmail/api_op_ListTagsForResource.go +++ b/service/workmail/api_op_ListTagsForResource.go @@ -74,7 +74,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ListUsers.go b/service/workmail/api_op_ListUsers.go index 4125c93f647..f0d19baa933 100644 --- a/service/workmail/api_op_ListUsers.go +++ b/service/workmail/api_op_ListUsers.go @@ -86,7 +86,10 @@ func addOperationListUsersMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_PutAccessControlRule.go b/service/workmail/api_op_PutAccessControlRule.go index adcd1002d6e..42ad8e781a4 100644 --- a/service/workmail/api_op_PutAccessControlRule.go +++ b/service/workmail/api_op_PutAccessControlRule.go @@ -108,7 +108,10 @@ func addOperationPutAccessControlRuleMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_PutMailboxPermissions.go b/service/workmail/api_op_PutMailboxPermissions.go index 28fdad1db3b..6205c331c15 100644 --- a/service/workmail/api_op_PutMailboxPermissions.go +++ b/service/workmail/api_op_PutMailboxPermissions.go @@ -94,7 +94,10 @@ func addOperationPutMailboxPermissionsMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_PutRetentionPolicy.go b/service/workmail/api_op_PutRetentionPolicy.go index 2a0ae7d53aa..89d9bd8d3f2 100644 --- a/service/workmail/api_op_PutRetentionPolicy.go +++ b/service/workmail/api_op_PutRetentionPolicy.go @@ -86,7 +86,10 @@ func addOperationPutRetentionPolicyMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_RegisterToWorkMail.go b/service/workmail/api_op_RegisterToWorkMail.go index 7aaf8a62213..d624b70fc2e 100644 --- a/service/workmail/api_op_RegisterToWorkMail.go +++ b/service/workmail/api_op_RegisterToWorkMail.go @@ -87,7 +87,10 @@ func addOperationRegisterToWorkMailMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_ResetPassword.go b/service/workmail/api_op_ResetPassword.go index 51def3a1473..081d015fe83 100644 --- a/service/workmail/api_op_ResetPassword.go +++ b/service/workmail/api_op_ResetPassword.go @@ -80,7 +80,10 @@ func addOperationResetPasswordMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_StartMailboxExportJob.go b/service/workmail/api_op_StartMailboxExportJob.go index 7414021f61a..1e2eed98fb0 100644 --- a/service/workmail/api_op_StartMailboxExportJob.go +++ b/service/workmail/api_op_StartMailboxExportJob.go @@ -113,7 +113,10 @@ func addOperationStartMailboxExportJobMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_TagResource.go b/service/workmail/api_op_TagResource.go index 16c101ff427..960f636e7d1 100644 --- a/service/workmail/api_op_TagResource.go +++ b/service/workmail/api_op_TagResource.go @@ -76,7 +76,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_UntagResource.go b/service/workmail/api_op_UntagResource.go index 91a07b5a60c..4cb54d479d5 100644 --- a/service/workmail/api_op_UntagResource.go +++ b/service/workmail/api_op_UntagResource.go @@ -75,7 +75,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_UpdateMailboxQuota.go b/service/workmail/api_op_UpdateMailboxQuota.go index 986165207ec..8587e8add28 100644 --- a/service/workmail/api_op_UpdateMailboxQuota.go +++ b/service/workmail/api_op_UpdateMailboxQuota.go @@ -80,7 +80,10 @@ func addOperationUpdateMailboxQuotaMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_UpdatePrimaryEmailAddress.go b/service/workmail/api_op_UpdatePrimaryEmailAddress.go index c5a97f43e76..79a9a1cf7dd 100644 --- a/service/workmail/api_op_UpdatePrimaryEmailAddress.go +++ b/service/workmail/api_op_UpdatePrimaryEmailAddress.go @@ -82,7 +82,10 @@ func addOperationUpdatePrimaryEmailAddressMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmail/api_op_UpdateResource.go b/service/workmail/api_op_UpdateResource.go index 3a9088567c5..ff15f3f6dd2 100644 --- a/service/workmail/api_op_UpdateResource.go +++ b/service/workmail/api_op_UpdateResource.go @@ -84,7 +84,10 @@ func addOperationUpdateResourceMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workmailmessageflow/api_op_GetRawMessageContent.go b/service/workmailmessageflow/api_op_GetRawMessageContent.go index fe944f48318..3266403f01d 100644 --- a/service/workmailmessageflow/api_op_GetRawMessageContent.go +++ b/service/workmailmessageflow/api_op_GetRawMessageContent.go @@ -76,7 +76,10 @@ func addOperationGetRawMessageContentMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_AssociateConnectionAlias.go b/service/workspaces/api_op_AssociateConnectionAlias.go index 4cb257f0628..6783f085853 100644 --- a/service/workspaces/api_op_AssociateConnectionAlias.go +++ b/service/workspaces/api_op_AssociateConnectionAlias.go @@ -86,7 +86,10 @@ func addOperationAssociateConnectionAliasMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_AssociateIpGroups.go b/service/workspaces/api_op_AssociateIpGroups.go index b7cbd6d89f8..1997b39e008 100644 --- a/service/workspaces/api_op_AssociateIpGroups.go +++ b/service/workspaces/api_op_AssociateIpGroups.go @@ -74,7 +74,10 @@ func addOperationAssociateIpGroupsMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_AuthorizeIpRules.go b/service/workspaces/api_op_AuthorizeIpRules.go index d73700d0091..6d0efbad3b8 100644 --- a/service/workspaces/api_op_AuthorizeIpRules.go +++ b/service/workspaces/api_op_AuthorizeIpRules.go @@ -77,7 +77,10 @@ func addOperationAuthorizeIpRulesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_CopyWorkspaceImage.go b/service/workspaces/api_op_CopyWorkspaceImage.go index fa3f96f3761..9ad832ef479 100644 --- a/service/workspaces/api_op_CopyWorkspaceImage.go +++ b/service/workspaces/api_op_CopyWorkspaceImage.go @@ -102,7 +102,10 @@ func addOperationCopyWorkspaceImageMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_CreateConnectionAlias.go b/service/workspaces/api_op_CreateConnectionAlias.go index a5bc0c2cc78..0df567320c7 100644 --- a/service/workspaces/api_op_CreateConnectionAlias.go +++ b/service/workspaces/api_op_CreateConnectionAlias.go @@ -83,7 +83,10 @@ func addOperationCreateConnectionAliasMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_CreateIpGroup.go b/service/workspaces/api_op_CreateIpGroup.go index b535b427c56..b21a253cf1c 100644 --- a/service/workspaces/api_op_CreateIpGroup.go +++ b/service/workspaces/api_op_CreateIpGroup.go @@ -92,7 +92,10 @@ func addOperationCreateIpGroupMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_CreateTags.go b/service/workspaces/api_op_CreateTags.go index 0776016421c..4118d58eef3 100644 --- a/service/workspaces/api_op_CreateTags.go +++ b/service/workspaces/api_op_CreateTags.go @@ -77,7 +77,10 @@ func addOperationCreateTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_CreateWorkspaces.go b/service/workspaces/api_op_CreateWorkspaces.go index 5232a436f06..da53486dee8 100644 --- a/service/workspaces/api_op_CreateWorkspaces.go +++ b/service/workspaces/api_op_CreateWorkspaces.go @@ -81,7 +81,10 @@ func addOperationCreateWorkspacesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DeleteConnectionAlias.go b/service/workspaces/api_op_DeleteConnectionAlias.go index 7e32ac364f7..014230449f1 100644 --- a/service/workspaces/api_op_DeleteConnectionAlias.go +++ b/service/workspaces/api_op_DeleteConnectionAlias.go @@ -81,7 +81,10 @@ func addOperationDeleteConnectionAliasMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DeleteIpGroup.go b/service/workspaces/api_op_DeleteIpGroup.go index f07cc4e5793..47ef2cb8a89 100644 --- a/service/workspaces/api_op_DeleteIpGroup.go +++ b/service/workspaces/api_op_DeleteIpGroup.go @@ -70,7 +70,10 @@ func addOperationDeleteIpGroupMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DeleteTags.go b/service/workspaces/api_op_DeleteTags.go index 29f4edb07cb..ff970a8d7a6 100644 --- a/service/workspaces/api_op_DeleteTags.go +++ b/service/workspaces/api_op_DeleteTags.go @@ -76,7 +76,10 @@ func addOperationDeleteTagsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DeleteWorkspaceImage.go b/service/workspaces/api_op_DeleteWorkspaceImage.go index 0b5570940d5..3962cbe6b00 100644 --- a/service/workspaces/api_op_DeleteWorkspaceImage.go +++ b/service/workspaces/api_op_DeleteWorkspaceImage.go @@ -71,7 +71,10 @@ func addOperationDeleteWorkspaceImageMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DeregisterWorkspaceDirectory.go b/service/workspaces/api_op_DeregisterWorkspaceDirectory.go index ccee4136252..e00af69e109 100644 --- a/service/workspaces/api_op_DeregisterWorkspaceDirectory.go +++ b/service/workspaces/api_op_DeregisterWorkspaceDirectory.go @@ -83,7 +83,10 @@ func addOperationDeregisterWorkspaceDirectoryMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeAccount.go b/service/workspaces/api_op_DescribeAccount.go index e3bdac3393b..bce0de1bf62 100644 --- a/service/workspaces/api_op_DescribeAccount.go +++ b/service/workspaces/api_op_DescribeAccount.go @@ -77,7 +77,10 @@ func addOperationDescribeAccountMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeAccountModifications.go b/service/workspaces/api_op_DescribeAccountModifications.go index 8a3dbf2c121..28016bc43d1 100644 --- a/service/workspaces/api_op_DescribeAccountModifications.go +++ b/service/workspaces/api_op_DescribeAccountModifications.go @@ -78,7 +78,10 @@ func addOperationDescribeAccountModificationsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeClientProperties.go b/service/workspaces/api_op_DescribeClientProperties.go index 8076576af65..77ced8dffb8 100644 --- a/service/workspaces/api_op_DescribeClientProperties.go +++ b/service/workspaces/api_op_DescribeClientProperties.go @@ -74,7 +74,10 @@ func addOperationDescribeClientPropertiesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeConnectionAliasPermissions.go b/service/workspaces/api_op_DescribeConnectionAliasPermissions.go index 448f92f6ce3..fe29db3a0a5 100644 --- a/service/workspaces/api_op_DescribeConnectionAliasPermissions.go +++ b/service/workspaces/api_op_DescribeConnectionAliasPermissions.go @@ -91,7 +91,10 @@ func addOperationDescribeConnectionAliasPermissionsMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeConnectionAliases.go b/service/workspaces/api_op_DescribeConnectionAliases.go index 12678ec0f31..a3d08340e9b 100644 --- a/service/workspaces/api_op_DescribeConnectionAliases.go +++ b/service/workspaces/api_op_DescribeConnectionAliases.go @@ -89,7 +89,10 @@ func addOperationDescribeConnectionAliasesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeIpGroups.go b/service/workspaces/api_op_DescribeIpGroups.go index b55e756368b..d95d0e8892d 100644 --- a/service/workspaces/api_op_DescribeIpGroups.go +++ b/service/workspaces/api_op_DescribeIpGroups.go @@ -83,7 +83,10 @@ func addOperationDescribeIpGroupsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeTags.go b/service/workspaces/api_op_DescribeTags.go index ac004878d72..1742a6f809c 100644 --- a/service/workspaces/api_op_DescribeTags.go +++ b/service/workspaces/api_op_DescribeTags.go @@ -76,7 +76,10 @@ func addOperationDescribeTagsMiddlewares(stack *middleware.Stack, options Option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeWorkspaceBundles.go b/service/workspaces/api_op_DescribeWorkspaceBundles.go index a8e83031a02..20c5e31e850 100644 --- a/service/workspaces/api_op_DescribeWorkspaceBundles.go +++ b/service/workspaces/api_op_DescribeWorkspaceBundles.go @@ -89,7 +89,10 @@ func addOperationDescribeWorkspaceBundlesMiddlewares(stack *middleware.Stack, op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeWorkspaceDirectories.go b/service/workspaces/api_op_DescribeWorkspaceDirectories.go index 5a21ac74c7e..37fe84ca413 100644 --- a/service/workspaces/api_op_DescribeWorkspaceDirectories.go +++ b/service/workspaces/api_op_DescribeWorkspaceDirectories.go @@ -85,7 +85,10 @@ func addOperationDescribeWorkspaceDirectoriesMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go b/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go index 7cc9404e422..629474ad8c6 100644 --- a/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go +++ b/service/workspaces/api_op_DescribeWorkspaceImagePermissions.go @@ -89,7 +89,10 @@ func addOperationDescribeWorkspaceImagePermissionsMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeWorkspaceImages.go b/service/workspaces/api_op_DescribeWorkspaceImages.go index 49d3992cb3a..ac54bdbf258 100644 --- a/service/workspaces/api_op_DescribeWorkspaceImages.go +++ b/service/workspaces/api_op_DescribeWorkspaceImages.go @@ -87,7 +87,10 @@ func addOperationDescribeWorkspaceImagesMiddlewares(stack *middleware.Stack, opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeWorkspaceSnapshots.go b/service/workspaces/api_op_DescribeWorkspaceSnapshots.go index 95379a838f5..3688ebcddc0 100644 --- a/service/workspaces/api_op_DescribeWorkspaceSnapshots.go +++ b/service/workspaces/api_op_DescribeWorkspaceSnapshots.go @@ -79,7 +79,10 @@ func addOperationDescribeWorkspaceSnapshotsMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeWorkspaces.go b/service/workspaces/api_op_DescribeWorkspaces.go index 86b03700bc7..ef96124d976 100644 --- a/service/workspaces/api_op_DescribeWorkspaces.go +++ b/service/workspaces/api_op_DescribeWorkspaces.go @@ -103,7 +103,10 @@ func addOperationDescribeWorkspacesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go b/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go index 9db09f66a47..bde7a6ea528 100644 --- a/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go +++ b/service/workspaces/api_op_DescribeWorkspacesConnectionStatus.go @@ -80,7 +80,10 @@ func addOperationDescribeWorkspacesConnectionStatusMiddlewares(stack *middleware if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DisassociateConnectionAlias.go b/service/workspaces/api_op_DisassociateConnectionAlias.go index 4e71bcf2c66..f39ad4c2b1c 100644 --- a/service/workspaces/api_op_DisassociateConnectionAlias.go +++ b/service/workspaces/api_op_DisassociateConnectionAlias.go @@ -76,7 +76,10 @@ func addOperationDisassociateConnectionAliasMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_DisassociateIpGroups.go b/service/workspaces/api_op_DisassociateIpGroups.go index b80a6ddeaa8..5096cceee20 100644 --- a/service/workspaces/api_op_DisassociateIpGroups.go +++ b/service/workspaces/api_op_DisassociateIpGroups.go @@ -75,7 +75,10 @@ func addOperationDisassociateIpGroupsMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_ImportWorkspaceImage.go b/service/workspaces/api_op_ImportWorkspaceImage.go index ff986486e96..ec83936a505 100644 --- a/service/workspaces/api_op_ImportWorkspaceImage.go +++ b/service/workspaces/api_op_ImportWorkspaceImage.go @@ -108,7 +108,10 @@ func addOperationImportWorkspaceImageMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_ListAvailableManagementCidrRanges.go b/service/workspaces/api_op_ListAvailableManagementCidrRanges.go index db72287dc3f..f5aa668bfbe 100644 --- a/service/workspaces/api_op_ListAvailableManagementCidrRanges.go +++ b/service/workspaces/api_op_ListAvailableManagementCidrRanges.go @@ -93,7 +93,10 @@ func addOperationListAvailableManagementCidrRangesMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_MigrateWorkspace.go b/service/workspaces/api_op_MigrateWorkspace.go index a8453f966d8..7510880547a 100644 --- a/service/workspaces/api_op_MigrateWorkspace.go +++ b/service/workspaces/api_op_MigrateWorkspace.go @@ -93,7 +93,10 @@ func addOperationMigrateWorkspaceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_ModifyAccount.go b/service/workspaces/api_op_ModifyAccount.go index 14ea85fd61b..750836784e8 100644 --- a/service/workspaces/api_op_ModifyAccount.go +++ b/service/workspaces/api_op_ModifyAccount.go @@ -76,7 +76,10 @@ func addOperationModifyAccountMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_ModifyClientProperties.go b/service/workspaces/api_op_ModifyClientProperties.go index 204230fbd89..59f410ce6f3 100644 --- a/service/workspaces/api_op_ModifyClientProperties.go +++ b/service/workspaces/api_op_ModifyClientProperties.go @@ -75,7 +75,10 @@ func addOperationModifyClientPropertiesMiddlewares(stack *middleware.Stack, opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_ModifySelfservicePermissions.go b/service/workspaces/api_op_ModifySelfservicePermissions.go index f5ccc9fa5bb..05b3972274c 100644 --- a/service/workspaces/api_op_ModifySelfservicePermissions.go +++ b/service/workspaces/api_op_ModifySelfservicePermissions.go @@ -78,7 +78,10 @@ func addOperationModifySelfservicePermissionsMiddlewares(stack *middleware.Stack if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go b/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go index f094af68a09..161ae44b678 100644 --- a/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go +++ b/service/workspaces/api_op_ModifyWorkspaceAccessProperties.go @@ -77,7 +77,10 @@ func addOperationModifyWorkspaceAccessPropertiesMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go b/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go index c34b405e02c..30bf2756609 100644 --- a/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go +++ b/service/workspaces/api_op_ModifyWorkspaceCreationProperties.go @@ -75,7 +75,10 @@ func addOperationModifyWorkspaceCreationPropertiesMiddlewares(stack *middleware. if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_ModifyWorkspaceProperties.go b/service/workspaces/api_op_ModifyWorkspaceProperties.go index 71ecd563123..38ded906d2b 100644 --- a/service/workspaces/api_op_ModifyWorkspaceProperties.go +++ b/service/workspaces/api_op_ModifyWorkspaceProperties.go @@ -77,7 +77,10 @@ func addOperationModifyWorkspacePropertiesMiddlewares(stack *middleware.Stack, o if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_ModifyWorkspaceState.go b/service/workspaces/api_op_ModifyWorkspaceState.go index 2ddd24e7763..51751da1a41 100644 --- a/service/workspaces/api_op_ModifyWorkspaceState.go +++ b/service/workspaces/api_op_ModifyWorkspaceState.go @@ -79,7 +79,10 @@ func addOperationModifyWorkspaceStateMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_RebootWorkspaces.go b/service/workspaces/api_op_RebootWorkspaces.go index 1db580a1abf..a8e4090fbd6 100644 --- a/service/workspaces/api_op_RebootWorkspaces.go +++ b/service/workspaces/api_op_RebootWorkspaces.go @@ -76,7 +76,10 @@ func addOperationRebootWorkspacesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_RebuildWorkspaces.go b/service/workspaces/api_op_RebuildWorkspaces.go index 0f0d6416317..82737341e36 100644 --- a/service/workspaces/api_op_RebuildWorkspaces.go +++ b/service/workspaces/api_op_RebuildWorkspaces.go @@ -80,7 +80,10 @@ func addOperationRebuildWorkspacesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_RegisterWorkspaceDirectory.go b/service/workspaces/api_op_RegisterWorkspaceDirectory.go index c5bd38da22a..fde8aea1763 100644 --- a/service/workspaces/api_op_RegisterWorkspaceDirectory.go +++ b/service/workspaces/api_op_RegisterWorkspaceDirectory.go @@ -108,7 +108,10 @@ func addOperationRegisterWorkspaceDirectoryMiddlewares(stack *middleware.Stack, if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_RestoreWorkspace.go b/service/workspaces/api_op_RestoreWorkspace.go index c22bdcf81af..ecb6a0e9b49 100644 --- a/service/workspaces/api_op_RestoreWorkspace.go +++ b/service/workspaces/api_op_RestoreWorkspace.go @@ -75,7 +75,10 @@ func addOperationRestoreWorkspaceMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_RevokeIpRules.go b/service/workspaces/api_op_RevokeIpRules.go index 3389cb99cd3..7e608f65d0a 100644 --- a/service/workspaces/api_op_RevokeIpRules.go +++ b/service/workspaces/api_op_RevokeIpRules.go @@ -74,7 +74,10 @@ func addOperationRevokeIpRulesMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_StartWorkspaces.go b/service/workspaces/api_op_StartWorkspaces.go index f5ff05489d8..bf65a424100 100644 --- a/service/workspaces/api_op_StartWorkspaces.go +++ b/service/workspaces/api_op_StartWorkspaces.go @@ -75,7 +75,10 @@ func addOperationStartWorkspacesMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_StopWorkspaces.go b/service/workspaces/api_op_StopWorkspaces.go index 0e4e7920f82..78b262ca88e 100644 --- a/service/workspaces/api_op_StopWorkspaces.go +++ b/service/workspaces/api_op_StopWorkspaces.go @@ -76,7 +76,10 @@ func addOperationStopWorkspacesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_TerminateWorkspaces.go b/service/workspaces/api_op_TerminateWorkspaces.go index c97fd57ac6a..5bd7cb35e86 100644 --- a/service/workspaces/api_op_TerminateWorkspaces.go +++ b/service/workspaces/api_op_TerminateWorkspaces.go @@ -94,7 +94,10 @@ func addOperationTerminateWorkspacesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_UpdateConnectionAliasPermission.go b/service/workspaces/api_op_UpdateConnectionAliasPermission.go index 149cde4bcd2..1496237d5d0 100644 --- a/service/workspaces/api_op_UpdateConnectionAliasPermission.go +++ b/service/workspaces/api_op_UpdateConnectionAliasPermission.go @@ -94,7 +94,10 @@ func addOperationUpdateConnectionAliasPermissionMiddlewares(stack *middleware.St if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_UpdateRulesOfIpGroup.go b/service/workspaces/api_op_UpdateRulesOfIpGroup.go index 12679241137..40fb7786601 100644 --- a/service/workspaces/api_op_UpdateRulesOfIpGroup.go +++ b/service/workspaces/api_op_UpdateRulesOfIpGroup.go @@ -76,7 +76,10 @@ func addOperationUpdateRulesOfIpGroupMiddlewares(stack *middleware.Stack, option if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/workspaces/api_op_UpdateWorkspaceImagePermission.go b/service/workspaces/api_op_UpdateWorkspaceImagePermission.go index 24576f969c2..96ebddf3752 100644 --- a/service/workspaces/api_op_UpdateWorkspaceImagePermission.go +++ b/service/workspaces/api_op_UpdateWorkspaceImagePermission.go @@ -99,7 +99,10 @@ func addOperationUpdateWorkspaceImagePermissionMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_BatchGetTraces.go b/service/xray/api_op_BatchGetTraces.go index 5eb32f9c6e3..b7005055251 100644 --- a/service/xray/api_op_BatchGetTraces.go +++ b/service/xray/api_op_BatchGetTraces.go @@ -86,7 +86,10 @@ func addOperationBatchGetTracesMiddlewares(stack *middleware.Stack, options Opti if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_CreateGroup.go b/service/xray/api_op_CreateGroup.go index 4feacff1c7b..97a2d867104 100644 --- a/service/xray/api_op_CreateGroup.go +++ b/service/xray/api_op_CreateGroup.go @@ -115,7 +115,10 @@ func addOperationCreateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_CreateSamplingRule.go b/service/xray/api_op_CreateSamplingRule.go index 6e12b9ea305..7ea3ee9b7e9 100644 --- a/service/xray/api_op_CreateSamplingRule.go +++ b/service/xray/api_op_CreateSamplingRule.go @@ -103,7 +103,10 @@ func addOperationCreateSamplingRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_DeleteGroup.go b/service/xray/api_op_DeleteGroup.go index 92a06ceb148..c8ac78a0d8a 100644 --- a/service/xray/api_op_DeleteGroup.go +++ b/service/xray/api_op_DeleteGroup.go @@ -70,7 +70,10 @@ func addOperationDeleteGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_DeleteSamplingRule.go b/service/xray/api_op_DeleteSamplingRule.go index 1d2271c7e92..942e8539504 100644 --- a/service/xray/api_op_DeleteSamplingRule.go +++ b/service/xray/api_op_DeleteSamplingRule.go @@ -77,7 +77,10 @@ func addOperationDeleteSamplingRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetEncryptionConfig.go b/service/xray/api_op_GetEncryptionConfig.go index 7a470669823..0adc3095682 100644 --- a/service/xray/api_op_GetEncryptionConfig.go +++ b/service/xray/api_op_GetEncryptionConfig.go @@ -69,7 +69,10 @@ func addOperationGetEncryptionConfigMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetGroup.go b/service/xray/api_op_GetGroup.go index 5b2322f61d3..a9a1787704e 100644 --- a/service/xray/api_op_GetGroup.go +++ b/service/xray/api_op_GetGroup.go @@ -77,7 +77,10 @@ func addOperationGetGroupMiddlewares(stack *middleware.Stack, options Options) ( if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetGroups.go b/service/xray/api_op_GetGroups.go index 18e01fbcdb7..096dfbbaa55 100644 --- a/service/xray/api_op_GetGroups.go +++ b/service/xray/api_op_GetGroups.go @@ -76,7 +76,10 @@ func addOperationGetGroupsMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetInsight.go b/service/xray/api_op_GetInsight.go index ea469d0df63..b1dcff233f2 100644 --- a/service/xray/api_op_GetInsight.go +++ b/service/xray/api_op_GetInsight.go @@ -77,7 +77,10 @@ func addOperationGetInsightMiddlewares(stack *middleware.Stack, options Options) if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetInsightEvents.go b/service/xray/api_op_GetInsightEvents.go index 1a5d852bf58..901801049e3 100644 --- a/service/xray/api_op_GetInsightEvents.go +++ b/service/xray/api_op_GetInsightEvents.go @@ -90,7 +90,10 @@ func addOperationGetInsightEventsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetInsightImpactGraph.go b/service/xray/api_op_GetInsightImpactGraph.go index 89ebf0ed1df..20ef1a99e06 100644 --- a/service/xray/api_op_GetInsightImpactGraph.go +++ b/service/xray/api_op_GetInsightImpactGraph.go @@ -113,7 +113,10 @@ func addOperationGetInsightImpactGraphMiddlewares(stack *middleware.Stack, optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetInsightSummaries.go b/service/xray/api_op_GetInsightSummaries.go index 9b2e7f9a97d..622e7684370 100644 --- a/service/xray/api_op_GetInsightSummaries.go +++ b/service/xray/api_op_GetInsightSummaries.go @@ -106,7 +106,10 @@ func addOperationGetInsightSummariesMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetSamplingRules.go b/service/xray/api_op_GetSamplingRules.go index 2e83760e962..93b62dceff9 100644 --- a/service/xray/api_op_GetSamplingRules.go +++ b/service/xray/api_op_GetSamplingRules.go @@ -76,7 +76,10 @@ func addOperationGetSamplingRulesMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetSamplingStatisticSummaries.go b/service/xray/api_op_GetSamplingStatisticSummaries.go index 2705ad64726..54eaff51660 100644 --- a/service/xray/api_op_GetSamplingStatisticSummaries.go +++ b/service/xray/api_op_GetSamplingStatisticSummaries.go @@ -76,7 +76,10 @@ func addOperationGetSamplingStatisticSummariesMiddlewares(stack *middleware.Stac if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetSamplingTargets.go b/service/xray/api_op_GetSamplingTargets.go index d379ea635df..43efe421b2c 100644 --- a/service/xray/api_op_GetSamplingTargets.go +++ b/service/xray/api_op_GetSamplingTargets.go @@ -84,7 +84,10 @@ func addOperationGetSamplingTargetsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetServiceGraph.go b/service/xray/api_op_GetServiceGraph.go index aae37b37549..43ef62283e4 100644 --- a/service/xray/api_op_GetServiceGraph.go +++ b/service/xray/api_op_GetServiceGraph.go @@ -111,7 +111,10 @@ func addOperationGetServiceGraphMiddlewares(stack *middleware.Stack, options Opt if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetTimeSeriesServiceStatistics.go b/service/xray/api_op_GetTimeSeriesServiceStatistics.go index 054a187406c..b8b17b28385 100644 --- a/service/xray/api_op_GetTimeSeriesServiceStatistics.go +++ b/service/xray/api_op_GetTimeSeriesServiceStatistics.go @@ -110,7 +110,10 @@ func addOperationGetTimeSeriesServiceStatisticsMiddlewares(stack *middleware.Sta if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetTraceGraph.go b/service/xray/api_op_GetTraceGraph.go index f544e9a3152..96cf04460b9 100644 --- a/service/xray/api_op_GetTraceGraph.go +++ b/service/xray/api_op_GetTraceGraph.go @@ -81,7 +81,10 @@ func addOperationGetTraceGraphMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_GetTraceSummaries.go b/service/xray/api_op_GetTraceSummaries.go index f9e7dc32aed..9db2b0300ca 100644 --- a/service/xray/api_op_GetTraceSummaries.go +++ b/service/xray/api_op_GetTraceSummaries.go @@ -123,7 +123,10 @@ func addOperationGetTraceSummariesMiddlewares(stack *middleware.Stack, options O if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_ListTagsForResource.go b/service/xray/api_op_ListTagsForResource.go index 68ad7a7626f..27addb60f45 100644 --- a/service/xray/api_op_ListTagsForResource.go +++ b/service/xray/api_op_ListTagsForResource.go @@ -85,7 +85,10 @@ func addOperationListTagsForResourceMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_PutEncryptionConfig.go b/service/xray/api_op_PutEncryptionConfig.go index ec1841d5ca1..ab3c399de60 100644 --- a/service/xray/api_op_PutEncryptionConfig.go +++ b/service/xray/api_op_PutEncryptionConfig.go @@ -93,7 +93,10 @@ func addOperationPutEncryptionConfigMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_PutTelemetryRecords.go b/service/xray/api_op_PutTelemetryRecords.go index 8cab095a5e2..6e6ad9f2f22 100644 --- a/service/xray/api_op_PutTelemetryRecords.go +++ b/service/xray/api_op_PutTelemetryRecords.go @@ -79,7 +79,10 @@ func addOperationPutTelemetryRecordsMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_PutTraceSegments.go b/service/xray/api_op_PutTraceSegments.go index bc59b7fa27d..6a17510dc25 100644 --- a/service/xray/api_op_PutTraceSegments.go +++ b/service/xray/api_op_PutTraceSegments.go @@ -121,7 +121,10 @@ func addOperationPutTraceSegmentsMiddlewares(stack *middleware.Stack, options Op if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_TagResource.go b/service/xray/api_op_TagResource.go index db74ce8a0cc..1f47b31863a 100644 --- a/service/xray/api_op_TagResource.go +++ b/service/xray/api_op_TagResource.go @@ -96,7 +96,10 @@ func addOperationTagResourceMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_UntagResource.go b/service/xray/api_op_UntagResource.go index 759f03ca5b4..ddf75ff6c5b 100644 --- a/service/xray/api_op_UntagResource.go +++ b/service/xray/api_op_UntagResource.go @@ -76,7 +76,10 @@ func addOperationUntagResourceMiddlewares(stack *middleware.Stack, options Optio if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_UpdateGroup.go b/service/xray/api_op_UpdateGroup.go index 2116e928489..e4a24d6b3dc 100644 --- a/service/xray/api_op_UpdateGroup.go +++ b/service/xray/api_op_UpdateGroup.go @@ -91,7 +91,10 @@ func addOperationUpdateGroupMiddlewares(stack *middleware.Stack, options Options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil { diff --git a/service/xray/api_op_UpdateSamplingRule.go b/service/xray/api_op_UpdateSamplingRule.go index 66fccedaec6..8730b395cdd 100644 --- a/service/xray/api_op_UpdateSamplingRule.go +++ b/service/xray/api_op_UpdateSamplingRule.go @@ -74,7 +74,10 @@ func addOperationUpdateSamplingRuleMiddlewares(stack *middleware.Stack, options if err = addHTTPSignerV4Middleware(stack, options); err != nil { return err } - if err = awsmiddleware.AddAttemptClockSkewMiddleware(stack); err != nil { + if err = awsmiddleware.AddRawResponseToMetadata(stack); err != nil { + return err + } + if err = awsmiddleware.AddRecordResponseTiming(stack); err != nil { return err } if err = addClientUserAgent(stack); err != nil {